Class AttributeSupplier.Builder
java.lang.Object
net.minecraft.world.entity.ai.attributes.AttributeSupplier.Builder
- Enclosing class:
AttributeSupplier
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<Holder<Attribute>, AttributeInstance> private booleanprivate final List<AttributeSupplier.Builder> Neo: holds the builder which were combined with this builder -
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Builder(AttributeSupplier attributeMap) Neo: create a builder from an existing attribute supplier -
Method Summary
Modifier and TypeMethodDescriptionbuild()voidcombine(AttributeSupplier.Builder other) Neo: combine this builder with the given oneprivate AttributeInstancebooleanhasAttribute(Holder<Attribute> attribute) Neo: Returns whether this builder has the given attribute.
-
Field Details
-
builder
-
instanceFrozen
private boolean instanceFrozen -
others
Neo: holds the builder which were combined with this builder
-
-
Constructor Details
-
Builder
public Builder() -
Builder
Neo: create a builder from an existing attribute supplier
-
-
Method Details
-
combine
Neo: combine this builder with the given one -
hasAttribute
-
create
-
add
-
add
-
build
-