CloseWorldWhenBreakingDeviceSystems

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

static void maybeCloseFragmentWorld (@Nullable final PortalDevice device)

Method maybeCloseFragmentWorld.

Parameters:
@Nullable final PortalDevice device

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 Ref ref
@NonNullDecl final PortalDevice component
@NonNullDecl final Store store
@NonNullDecl final CommandBuffer commandBuffer

onComponentSet

Method onComponentSet.

Parameters:
@NonNullDecl final Ref ref
@NullableDecl final PortalDevice oldComponent
@NonNullDecl final PortalDevice newComponent
@NonNullDecl final Store store
@NonNullDecl final CommandBuffer commandBuffer

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 Ref ref
@NonNullDecl final PortalDevice component
@NonNullDecl final Store store
@NonNullDecl final CommandBuffer commandBuffer

getQuery

public Query getQuery ()

Method getQuery.

onEntityAdded

Method onEntityAdded.

Parameters:
@NonNullDecl final Ref ref
@NonNullDecl final AddReason reason
@NonNullDecl final Store store
@NonNullDecl final CommandBuffer commandBuffer

onEntityRemove

Method onEntityRemove.

Parameters:
@NonNullDecl final Ref ref
@NonNullDecl final RemoveReason reason
@NonNullDecl final Store store
@NonNullDecl final CommandBuffer commandBuffer