Package net.minecraft.entity.attribute
Class DefaultAttributeContainer.Builder
java.lang.Object
net.minecraft.entity.attribute.DefaultAttributeContainer.Builder
- Enclosing class:
- DefaultAttributeContainer
public static class DefaultAttributeContainer.Builder extends Object
-
Field Summary
Fields Modifier and Type Field Description private Map<EntityAttribute,EntityAttributeInstance>
instances
private boolean
unmodifiable
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DefaultAttributeContainer.Builder
add(EntityAttribute attribute)
DefaultAttributeContainer.Builder
add(EntityAttribute attribute, double baseValue)
DefaultAttributeContainer
build()
private EntityAttributeInstance
checkedAdd(EntityAttribute attribute)
-
Field Details
-
instances
-
unmodifiable
private boolean unmodifiable
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
checkedAdd
-
add
-
add
-
build
-