Skip to content

BlockSpawnerPlugin

Package: com.hypixel.hytale.builtin.blockspawner

public class BlockSpawnerPlugin extends JavaPlugin

Plugin class that registers components, systems, and commands for the blockspawner subsystem.

ModifierTypeName
privateComponentType<ChunkStore, BlockSpawner>blockSpawnerComponentType
ModifierReturn TypeSignature
public static BlockSpawnerPluginget()
super(init)
@Override protectedvoidsetup()
private static voidvalidatePrefabBlock(@Nonnull PrefabBufferValidator.ValidateBlockEvent validateBlockEvent)
public ComponentType<ChunkStore, BlockSpawner>getBlockSpawnerComponentType()
publicBlockSpawnerSystem()
@Override publicQuery<ChunkStore>getQuery()
@Override publicvoidonEntityAdded(@Nonnull Ref<ChunkStore> ref, @Nonnull AddReason reason, @Nonnull Store<ChunkStore> store, @Nonnull CommandBuffer<ChunkStore> commandBuffer)
@Override publicvoidonEntityRemove(@Nonnull Ref<ChunkStore> ref, @Nonnull RemoveReason reason, @Nonnull Store<ChunkStore> store, @Nonnull CommandBuffer<ChunkStore> commandBuffer)
@Override publicvoidonEntityAdd(@Nonnull Holder<ChunkStore> holder, @Nonnull AddReason reason, @Nonnull Store<ChunkStore> store)
@Override publicvoidonEntityRemoved(@Nonnull Holder<ChunkStore> holder, @Nonnull RemoveReason reason, @Nonnull Store<ChunkStore> store)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.