FarmingPlugin

public class FarmingPlugin extends JavaPlugin

The main plugin class for Farming. This plugin provides gameplay features for the Hytale server. Extend this class to create a plugin.

java.lang.Object > JavaPlugin > FarmingPlugin

Field Summary

components

final BlockComponentChunk components

Field components.

holders

final Int2ObjectMap> holders

Field holders.

farming

final FarmingBlock farming

Field farming.

Method Detail

get

static FarmingPlugin get ()

Method get.

FarmingPlugin

public public FarmingPlugin (@Nonnull final JavaPluginInit init)

Method FarmingPlugin.

Parameters:
@Nonnull final JavaPluginInit init

setup

protected void setup ()

Method setup.

DefaultAssetMap

public new DefaultAssetMap ()

Method DefaultAssetMap.

preventSpreadOnNew

static void preventSpreadOnNew (final ChunkPreLoadProcessEvent event)

Method preventSpreadOnNew.

Parameters:
final ChunkPreLoadProcessEvent event

getTiledSoilBlockComponentType

public TilledSoilBlock> getTiledSoilBlockComponentType ()

Method getTiledSoilBlockComponentType.

getFarmingBlockComponentType

public FarmingBlock> getFarmingBlockComponentType ()

Method getFarmingBlockComponentType.

getFarmingBlockStateComponentType

public FarmingBlockState> getFarmingBlockStateComponentType ()

Method getFarmingBlockStateComponentType.

getCoopBlockStateComponentType

public CoopBlock> getCoopBlockStateComponentType ()

Method getCoopBlockStateComponentType.

getCoopResidentComponentType

public CoopResidentComponent> getCoopResidentComponentType ()

Method getCoopResidentComponentType.