Class FertilizerGrowthModifierAsset
java.lang.Object
com.hypixel.hytale.server.core.asset.type.blocktype.config.farming.GrowthModifierAsset
com.hypixel.hytale.builtin.adventure.farming.config.modifiers.FertilizerGrowthModifierAsset
- All Implemented Interfaces:
JsonAsset<String>,JsonAssetWithMap<String,DefaultAssetMap<String, GrowthModifierAsset>>
-
Field Summary
FieldsFields inherited from class com.hypixel.hytale.server.core.asset.type.blocktype.config.farming.GrowthModifierAsset
ABSTRACT_CODEC, CHILD_ASSET_CODEC, CHILD_ASSET_CODEC_ARRAY, id, modifier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetCurrentGrowthMultiplier(CommandBuffer<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int x, int y, int z, boolean initialTick) Methods inherited from class com.hypixel.hytale.server.core.asset.type.blocktype.config.farming.GrowthModifierAsset
getAssetMap, getAssetStore, getId, getModifier, toString
-
Field Details
-
CODEC
-
-
Constructor Details
-
FertilizerGrowthModifierAsset
public FertilizerGrowthModifierAsset()
-
-
Method Details
-
getCurrentGrowthMultiplier
public double getCurrentGrowthMultiplier(CommandBuffer<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int x, int y, int z, boolean initialTick) - Overrides:
getCurrentGrowthMultiplierin classGrowthModifierAsset
-