BlockWindow

abstract class BlockWindow extends Window implements ValidatedWindow

Class BlockWindow. Provides blockwindow functionality for the Hytale server.

java.lang.Object > Window > BlockWindow

Field Summary

blockType

protected BlockType blockType

Field blockType.

maxDistance

private double maxDistance

Field maxDistance.

maxDistanceSqr

private double maxDistanceSqr

Field maxDistanceSqr.

playerRef

final PlayerRef playerRef

Field playerRef.

ref

final Ref ref

Field ref.

store

final Store store

Field store.

world

final World world

Field world.

transformComponent

final TransformComponent transformComponent

Field transformComponent.

worldChunk

final WorldChunk worldChunk

Field worldChunk.

currentBlockType

final BlockType currentBlockType

Field currentBlockType.

currentItem

final Item currentItem

Field currentItem.

Method Detail

BlockWindow

public public BlockWindow (@Nonnull final WindowType windowType, final int x, final int y, final int z, final int rotationIndex, @Nonnull final BlockType blockType)

Method BlockWindow.

Parameters:
@Nonnull final WindowType windowType
final int x
final int y
final int z
final int rotationIndex
@Nonnull final BlockType blockType

getX

public int getX ()

Method getX.

getY

public int getY ()

Method getY.

getZ

public int getZ ()

Method getZ.

getRotationIndex

public int getRotationIndex ()

Method getRotationIndex.

getBlockType

public BlockType getBlockType ()

Method getBlockType.

setMaxDistance

public void setMaxDistance (final double maxDistance)

Method setMaxDistance.

Parameters:
final double maxDistance

getMaxDistance

public double getMaxDistance ()

Method getMaxDistance.

validate

public boolean validate ()

Method validate.