final class CloseWorldWhenBreakingDeviceSystems
Class CloseWorldWhenBreakingDeviceSystems. Provides closeworldwhenbreakingdevicesystems functionality for the Hytale server.
java.lang.Object > CloseWorldWhenBreakingDeviceSystems
Field Summary
world
final
World
world
Field world.
device
final
PortalDevice
device
Field device.
Method Detail
CloseWorldWhenBreakingDeviceSystems
public
private
CloseWorldWhenBreakingDeviceSystems
()
Method CloseWorldWhenBreakingDeviceSystems.
maybeCloseFragmentWorld
Method maybeCloseFragmentWorld.
- Parameters:
@Nullable final PortalDevicedevice
componentType
public
PortalDevice>
componentType
()
Method componentType.
onComponentAdded
public
void
onComponentAdded
(@NonNullDecl final Ref ref, @NonNullDecl final PortalDevice component, @NonNullDecl final Store store, @NonNullDecl final CommandBuffer commandBuffer)
Method onComponentAdded.
- Parameters:
@NonNullDecl final Refref@NonNullDecl final PortalDevicecomponent@NonNullDecl final Storestore@NonNullDecl final CommandBuffercommandBuffer
onComponentSet
public
void
onComponentSet
(@NonNullDecl final Ref ref, @NullableDecl final PortalDevice oldComponent, @NonNullDecl final PortalDevice newComponent, @NonNullDecl final Store store, @NonNullDecl final CommandBuffer commandBuffer)
Method onComponentSet.
- Parameters:
@NonNullDecl final Refref@NullableDecl final PortalDeviceoldComponent@NonNullDecl final PortalDevicenewComponent@NonNullDecl final Storestore@NonNullDecl final CommandBuffercommandBuffer
onComponentRemoved
public
void
onComponentRemoved
(@NonNullDecl final Ref ref, @NonNullDecl final PortalDevice component, @NonNullDecl final Store store, @NonNullDecl final CommandBuffer commandBuffer)
Method onComponentRemoved.
- Parameters:
@NonNullDecl final Refref@NonNullDecl final PortalDevicecomponent@NonNullDecl final Storestore@NonNullDecl final CommandBuffercommandBuffer
onEntityAdded
public
void
onEntityAdded
(@NonNullDecl final Ref ref, @NonNullDecl final AddReason reason, @NonNullDecl final Store store, @NonNullDecl final CommandBuffer commandBuffer)
Method onEntityAdded.
- Parameters:
@NonNullDecl final Refref@NonNullDecl final AddReasonreason@NonNullDecl final Storestore@NonNullDecl final CommandBuffercommandBuffer
onEntityRemove
public
void
onEntityRemove
(@NonNullDecl final Ref ref, @NonNullDecl final RemoveReason reason, @NonNullDecl final Store store, @NonNullDecl final CommandBuffer commandBuffer)
Method onEntityRemove.
- Parameters:
@NonNullDecl final Refref@NonNullDecl final RemoveReasonreason@NonNullDecl final Storestore@NonNullDecl final CommandBuffercommandBuffer