Class LodestoneAttributeBuilder
java.lang.Object
team.lodestar.lodestone.systems.attribute.LodestoneAttributeBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal doublebooleanfinal net.minecraft.resources.ResourceLocationbooleanfinal doublefinal doublenet.minecraft.world.entity.ai.attributes.Attribute.Sentimentboolean -
Constructor Summary
ConstructorsConstructorDescriptionLodestoneAttributeBuilder(net.minecraft.resources.ResourceLocation id, double defaultValue) LodestoneAttributeBuilder(net.minecraft.resources.ResourceLocation id, double defaultValue, double minValue, double maxValue) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.ai.attributes.Attributebuild()setSentiment(net.minecraft.world.entity.ai.attributes.Attribute.Sentiment sentiment) setSyncable(boolean syncable)
-
Field Details
-
id
public final net.minecraft.resources.ResourceLocation id -
defaultValue
public final double defaultValue -
minValue
public final double minValue -
maxValue
public final double maxValue -
isBase
public boolean isBase -
forcePercentage
public boolean forcePercentage -
syncable
public boolean syncable -
sentiment
public net.minecraft.world.entity.ai.attributes.Attribute.Sentiment sentiment
-
-
Constructor Details
-
LodestoneAttributeBuilder
public LodestoneAttributeBuilder(net.minecraft.resources.ResourceLocation id, double defaultValue) -
LodestoneAttributeBuilder
public LodestoneAttributeBuilder(net.minecraft.resources.ResourceLocation id, double defaultValue, double minValue, double maxValue)
-
-
Method Details
-
setAsBaseAttribute
-
forcePercentageDisplay
-
setSyncable
-
setSentiment
public LodestoneAttributeBuilder setSentiment(net.minecraft.world.entity.ai.attributes.Attribute.Sentiment sentiment) -
build
public net.minecraft.world.entity.ai.attributes.Attribute build()
-