Skip to content

LightLevelGrowthModifierAsset

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

public class LightLevelGrowthModifierAsset extends GrowthModifierAsset

Applies a growth speed multiplier based on ambient light conditions. Supports both artificial RGB light ranges and sunlight intensity ranges. Can require both conditions (requireBoth) or either. When only sunlight is active during the initial tick, applies a 0.6x penalty to the base multiplier.

ModifierReturn TypeSignature
publicdoublegetCurrentGrowthMultiplier(@Nonnull CommandBuffer<ChunkStore> commandBuffer, @Nonnull Ref<ChunkStore> sectionRef, @Nonnull Ref<ChunkStore> blockRef, int x, int y, int z, boolean initialTick)

class — Inner class holding red/green/blue Range thresholds for artificial light validation.

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.