ConfigurableInstanceBlock

public class ConfigurableInstanceBlock implements Component

Class ConfigurableInstanceBlock. Provides configurableinstanceblock functionality for the Hytale server.

java.lang.Object > ConfigurableInstanceBlock

Field Summary

worldUUID

protected UUID worldUUID

Field worldUUID.

worldFuture

protected CompletableFuture worldFuture

Field worldFuture.

closeOnRemove

protected boolean closeOnRemove

Field closeOnRemove.

instanceName

private String instanceName

Field instanceName.

instanceKey

private String instanceKey

Field instanceKey.

positionOffset

private Vector3d positionOffset

Field positionOffset.

rotation

private Vector3f rotation

Field rotation.

personalReturnPoint

private boolean personalReturnPoint

Field personalReturnPoint.

removeBlockAfter

private double removeBlockAfter

Field removeBlockAfter.

instance

final ConfigurableInstanceBlock instance

Field instance.

Method Detail

getComponentType

public ConfigurableInstanceBlock> getComponentType ()

Method getComponentType.

ConfigurableInstanceBlock

public public ConfigurableInstanceBlock ()

Method ConfigurableInstanceBlock.

getWorldUUID

public UUID getWorldUUID ()

Method getWorldUUID.

setWorldUUID

public void setWorldUUID (final UUID worldUUID)

Method setWorldUUID.

Parameters:
final UUID worldUUID

getWorldFuture

public CompletableFuture getWorldFuture ()

Method getWorldFuture.

setWorldFuture

public void setWorldFuture (final CompletableFuture worldFuture)

Method setWorldFuture.

Parameters:
final CompletableFuture worldFuture

isCloseOnRemove

public boolean isCloseOnRemove ()

Method isCloseOnRemove.

setCloseOnRemove

public void setCloseOnRemove (final boolean closeOnRemove)

Method setCloseOnRemove.

Parameters:
final boolean closeOnRemove

getInstanceName

public String getInstanceName ()

Method getInstanceName.

setInstanceName

public void setInstanceName (@Nonnull final String instanceName)

Method setInstanceName.

Parameters:
@Nonnull final String instanceName

getInstanceKey

public String getInstanceKey ()

Method getInstanceKey.

setInstanceKey

public void setInstanceKey (@Nonnull final String instanceKey)

Method setInstanceKey.

Parameters:
@Nonnull final String instanceKey

getPositionOffset

public Vector3d getPositionOffset ()

Method getPositionOffset.

setPositionOffset

public void setPositionOffset (@Nullable final Vector3d positionOffset)

Method setPositionOffset.

Parameters:
@Nullable final Vector3d positionOffset

getRotation

public Vector3f getRotation ()

Method getRotation.

setRotation

public void setRotation (@Nullable final Vector3f rotation)

Method setRotation.

Parameters:
@Nullable final Vector3f rotation

isPersonalReturnPoint

public boolean isPersonalReturnPoint ()

Method isPersonalReturnPoint.

setPersonalReturnPoint

public void setPersonalReturnPoint (final boolean personalReturnPoint)

Method setPersonalReturnPoint.

Parameters:
final boolean personalReturnPoint

getRemoveBlockAfter

public double getRemoveBlockAfter ()

Method getRemoveBlockAfter.

setRemoveBlockAfter

public void setRemoveBlockAfter (final double removeBlockAfter)

Method setRemoveBlockAfter.

Parameters:
final double removeBlockAfter

clone

public Component clone ()

Method clone.

onEntityAdded

public void onEntityAdded (@Nonnull final Ref ref, @Nonnull final AddReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onEntityAdded.

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

onEntityRemove

public void onEntityRemove (@Nonnull final Ref ref, @Nonnull final RemoveReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onEntityRemove.

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

if

public else if (instance.worldFuture != null)

Method if.

Parameters:
instance.worldFuture != null

getQuery

public Query getQuery ()

Method getQuery.