FarmingSystems
Package: com.hypixel.hytale.builtin.adventure.farming
public class FarmingSystemsContainer 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.
Inner Classes
Section titled “Inner Classes”| Type | Kind | Description |
|---|---|---|
| CoopResidentEntitySystem | class | Handles coop resident entity add/remove events on EntityStore. |
| CoopResidentTicking | class | Ticks coop residents, removing those marked for despawn. |
| MigrateFarming | class | Deprecated migration system converting old FarmingBlockState to FarmingBlock. |
| OnCoopAdded | class | Schedules coop block ticks when a coop block entity is added. |
| OnFarmBlockAdded | class | Initializes farming state when a FarmingBlock component is added. |
| OnSoilAdded | class | Schedules soil decay ticks when a TilledSoilBlock is added. |
| Ticking | class | Main block-tick system for farming, soil, and coop blocks in ChunkStore. |
Private Methods
Section titled “Private Methods”| Modifier | Return Type | Signature |
|---|---|---|
private static | boolean | hasCropAbove(@Nonnull BlockChunk blockChunk, int x, int y, int z) |
private static | boolean | updateSoilDecayTime(@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.