Skip to content

FarmingPlugin

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

public class FarmingPlugin extends JavaPlugin

The main plugin class for the farming system. Registers all farming-related components, interactions, codec types, growth modifiers, farming stage data types, and ECS systems with the server plugin framework.

On setup, this plugin:

ModifierTypeName
protected staticFarmingPlugininstance
privateComponentType<ChunkStore, TilledSoilBlock>tiledSoilBlockComponentType
privateComponentType<ChunkStore, FarmingBlock>farmingBlockComponentType
privateComponentType<ChunkStore, FarmingBlockState>farmingBlockStateComponentType
privateComponentType<ChunkStore, CoopBlock>coopBlockStateComponentType
privateComponentType<EntityStore, CoopResidentComponent>coopResidentComponentType
ModifierReturn TypeSignature
public staticFarmingPluginget()
publicFarmingPlugin(@Nonnull JavaPluginInit init)
protectedvoidsetup()
publicComponentType<ChunkStore, TilledSoilBlock>getTiledSoilBlockComponentType()
publicComponentType<ChunkStore, FarmingBlock>getFarmingBlockComponentType()
publicComponentType<ChunkStore, FarmingBlockState>getFarmingBlockStateComponentType()
publicComponentType<ChunkStore, CoopBlock>getCoopBlockStateComponentType()
publicComponentType<EntityStore, CoopResidentComponent>getCoopResidentComponentType()
  • FarmingSystems — ECS systems registered by this plugin
  • FarmingUtil — utility methods for farming tick logic and harvesting
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.