Skip to content

WaterGrowthModifierAsset

Package: com.hypixel.hytale.builtin.adventure.farming.config.modifiers

public class WaterGrowthModifierAsset extends GrowthModifierAsset

Applies a growth speed multiplier when the crop has access to water. Water can come from adjacent fluid blocks (checked via FluidSection), active rain weather (checked via WeatherResource with line-of-sight to sky), or manual watering (via TilledSoilBlock.wateredUntil set by UseWateringCanInteraction). Also updates the soil’s externalWater flag and schedules soil ticks when water state changes.

ModifierReturn TypeSignature
publicdoublegetCurrentGrowthMultiplier(@Nonnull CommandBuffer<ChunkStore> commandBuffer, @Nonnull Ref<ChunkStore> sectionRef, @Nonnull Ref<ChunkStore> blockRef, int x, int y, int z, boolean initialTick)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.