Skip to content

FarmingSystems

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

public class FarmingSystems

Container class for all farming-related ECS systems. Contains static inner classes that handle soil lifecycle, farm block initialization, crop growth ticking, coop management, and data migration. Registered as systems by FarmingPlugin during setup.

TypeKindDescription
CoopResidentEntitySystemclassHandles coop resident entity add/remove events on EntityStore.
CoopResidentTickingclassTicks coop residents, removing those marked for despawn.
MigrateFarmingclassDeprecated migration system converting old FarmingBlockState to FarmingBlock.
OnCoopAddedclassSchedules coop block ticks when a coop block entity is added.
OnFarmBlockAddedclassInitializes farming state when a FarmingBlock component is added.
OnSoilAddedclassSchedules soil decay ticks when a TilledSoilBlock is added.
TickingclassMain block-tick system for farming, soil, and coop blocks in ChunkStore.
ModifierReturn TypeSignature
private staticbooleanhasCropAbove(@Nonnull BlockChunk blockChunk, int x, int y, int z)
private staticbooleanupdateSoilDecayTime(@Nonnull CommandBuffer<ChunkStore> commandBuffer, @Nonnull TilledSoilBlock soilBlock, @Nullable BlockType blockType)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.