HyCodeYourTale
classpublicPriority 1

BlockSpawnerPlugin

com.hypixel.hytale.builtin.blockspawner.BlockSpawnerPlugin

extends JavaPlugin

4

Methods

4

Public Methods

2

Fields

1

Constructors

Constants

ComponentType<ChunkStore, BlockModule.BlockStateInfo>BLOCK_INFO_COMPONENT_TYPE= BlockModule.BlockStateInfo.getComponentType()
ComponentType<ChunkStore, BlockSpawner>COMPONENT_TYPE= BlockSpawner.getComponentType()
HytaleLoggerLOGGER= HytaleLogger.forEnclosingClass()
Query<ChunkStore>QUERY= Query.and(COMPONENT_TYPE, BLOCK_INFO_COMPONENT_TYPE)

Constructors

public
BlockSpawnerPlugin(JavaPluginInit init)

Methods

Public Methods (4)

public
ComponentType<ChunkStore, BlockSpawner> getBlockSpawnerComponentType()
public
Query<ChunkStore> getQuery()
@Override
public
void onEntityAdd(Holder<ChunkStore> holder, AddReason reason, Store<ChunkStore> store)
@Override
public
void onEntityRemoved(Holder<ChunkStore> holder, RemoveReason reason, Store<ChunkStore> store)
@Override

Fields

Private/Package Fields (2)

privateBlockSpawnerPlugin INSTANCE
privateComponentType<ChunkStore, BlockSpawner> blockSpawnerComponentType

Related Classes