类 AttributeSupplier
java.lang.Object
net.minecraft.world.entity.ai.attributes.AttributeSupplier
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static AttributeSupplier.Builder
builder()
createInstance
(Consumer<AttributeInstance> pOnChangedCallback, Attribute pAttribute) private AttributeInstance
getAttributeInstance
(Attribute pAttribute) double
getBaseValue
(Attribute pAttribute) double
getModifierValue
(Attribute pAttribute, UUID pId) double
boolean
hasAttribute
(Attribute pAttribute) boolean
hasModifier
(Attribute pAttribute, UUID pId)
-
字段详细资料
-
instances
-
-
构造器详细资料
-
AttributeSupplier
-
-
方法详细资料
-
getAttributeInstance
-
getValue
-
getBaseValue
-
getModifierValue
-
createInstance
@Nullable public AttributeInstance createInstance(Consumer<AttributeInstance> pOnChangedCallback, Attribute pAttribute) -
builder
-
hasAttribute
-
hasModifier
-