LightLevelGrowthModifierAsset
Package: com.hypixel.hytale.builtin.adventure.farming.config.modifiers
public class LightLevelGrowthModifierAsset extends GrowthModifierAssetApplies 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.
Key Methods
Section titled “Key Methods”| Modifier | Return Type | Signature |
|---|---|---|
public | double | getCurrentGrowthMultiplier(@Nonnull CommandBuffer<ChunkStore> commandBuffer, @Nonnull Ref<ChunkStore> sectionRef, @Nonnull Ref<ChunkStore> blockRef, int x, int y, int z, boolean initialTick) |
Inner Class: ArtificialLight
Section titled “Inner Class: ArtificialLight”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.