public class BlockModule extends JavaPlugin
Class BlockModule. Provides blockmodule functionality for the Hytale server.
java.lang.Object > JavaPlugin > BlockModule
Field Summary
blockType
Field blockType.
data
Field data.
state
Field state.
holder
Field holder.
chunk
Field chunk.
column
Field column.
sections
Field sections.
blockComponentModule
Field blockComponentModule.
section
Field section.
sectionYBlock
Field sectionYBlock.
y
Field y.
blockId
Field blockId.
index
Field index.
position
Field position.
blockState
Field blockState.
chunkStore
Field chunkStore.
chunkRef
Field chunkRef.
blockComponentChunk
Field blockComponentChunk.
blockIndex
Field blockIndex.
blockRef
Field blockRef.
needRebuild
Field needRebuild.
unknown
Field unknown.
launchPad
Field launchPad.
Method Detail
setup
void
setup
()
Method setup.
BlockStateInfoRefSystem
new
BlockStateInfoRefSystem
(this.blockStateInfoComponentType)
Method BlockStateInfoRefSystem.
- Parameters:
this.blockStateInfoComponentTypethis.blockStateInfoComponentType
MigrateLaunchPad
new
MigrateLaunchPad
()
Method MigrateLaunchPad.
ensureBlockEntity
Method ensureBlockEntity.
- Parameters:
final WorldChunkchunkfinal intxfinal intyfinal intz
BlockStateInfo
new
BlockStateInfo
(ChunkUtil.indexBlockInColumn(x, y, z)
Method BlockStateInfo.
- Parameters:
ChunkUtil.indexBlockInColumn(xChunkUtil.indexBlockInColumn(xyyzz
onChunkPreLoadProcessEnsureBlockEntity
Method onChunkPreLoadProcessEnsureBlockEntity.
- Parameters:
@Nonnull final ChunkPreLoadProcessEventevent
getMigrationSystemType
MigrationSystem>
getMigrationSystemType
()
Method getMigrationSystemType.
getBlockStateInfoComponentType
BlockStateInfo>
getBlockStateInfoComponentType
()
Method getBlockStateInfoComponentType.
getLaunchPadComponentType
LaunchPad>
getLaunchPadComponentType
()
Method getLaunchPadComponentType.
getRespawnBlockComponentType
RespawnBlock>
getRespawnBlockComponentType
()
Method getRespawnBlockComponentType.
getBlockMapMarkerComponentType
BlockMapMarker>
getBlockMapMarkerComponentType
()
Method getBlockMapMarkerComponentType.
getBlockMapMarkersResourceType
BlockMapMarkersResource>
getBlockMapMarkersResourceType
()
Method getBlockMapMarkersResourceType.
getBlockStateInfoNeedRebuildResourceType
BlockStateInfoNeedRebuild>
getBlockStateInfoNeedRebuildResourceType
()
Method getBlockStateInfoNeedRebuildResourceType.
getBlockEntity
Method getBlockEntity.
- Parameters:
@Nonnull final Worldworldfinal intxfinal intyfinal intz
getComponent
T
getComponent
(final ComponentType componentType, final World world, final int x, final int y, final int z)
Method getComponent.
- Parameters:
final ComponentTypecomponentTypefinal Worldworldfinal intxfinal intyfinal intz
getResourceType
BlockStateInfoNeedRebuild>
getResourceType
()
Method getResourceType.
BlockStateInfoNeedRebuild
public
BlockStateInfoNeedRebuild
()
Method BlockStateInfoNeedRebuild.
invalidateAndReturnIfNeedRebuild
boolean
invalidateAndReturnIfNeedRebuild
()
Method invalidateAndReturnIfNeedRebuild.
markAsNeedRebuild
void
markAsNeedRebuild
()
Method markAsNeedRebuild.
getComponentType
BlockStateInfo>
getComponentType
()
Method getComponentType.
getIndex
int
getIndex
()
Method getIndex.
markNeedsSaving
void
markNeedsSaving
()
Method markNeedsSaving.
onEntityAdded
void
onEntityAdded
(@Nonnull final Ref ref, @Nonnull final AddReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onEntityAdded.
- Parameters:
@Nonnull final Refref@Nonnull final AddReasonreason@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
onEntityRemove
void
onEntityRemove
(@Nonnull final Ref ref, @Nonnull final RemoveReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onEntityRemove.
- Parameters:
@Nonnull final Refref@Nonnull final RemoveReasonreason@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
toString
String
toString
()
Method toString.
onEntityAdd
void
onEntityAdd
(@Nonnull final Holder holder, @Nonnull final AddReason reason, @Nonnull final Store store)
Method onEntityAdd.
- Parameters:
@Nonnull final Holderholder@Nonnull final AddReasonreason@Nonnull final Storestore
onEntityRemoved
void
onEntityRemoved
(@Nonnull final Holder holder, @Nonnull final RemoveReason reason, @Nonnull final Store store)
Method onEntityRemoved.
- Parameters:
@Nonnull final Holderholder@Nonnull final RemoveReasonreason@Nonnull final Storestore