Class SproutPool
java.lang.Object
nokunami.floral_warfare.data.sprout.SproutPool
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SproutPool>static final com.mojang.serialization.Codec<List<SproutPool>> -
Constructor Summary
ConstructorsConstructorDescriptionSproutPool(net.minecraft.resources.ResourceLocation id, boolean required, float weight) -
Method Summary
-
Field Details
-
CODEC
-
LIST_CODEC
-
-
Constructor Details
-
SproutPool
public SproutPool(net.minecraft.resources.ResourceLocation id, boolean required, float weight)
-
-
Method Details
-
getId
public net.minecraft.resources.ResourceLocation getId() -
isRequired
public boolean isRequired() -
getWeight
public float getWeight() -
getFile
public net.minecraft.resources.ResourceLocation getFile() -
setFile
public void setFile(net.minecraft.resources.ResourceLocation file)
-