abstract class BlockWindow extendsWindowimplementsValidatedWindow
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 WindowTypewindowTypefinal intxfinal intyfinal intzfinal introtationIndex@Nonnull final BlockTypeblockType
getX
public
int
getX
()
Method getX.
getY
public
int
getY
()
Method getY.
getZ
public
int
getZ
()
Method getZ.
getRotationIndex
public
int
getRotationIndex
()
Method getRotationIndex.
setMaxDistance
public
void
setMaxDistance
(final double maxDistance)
Method setMaxDistance.
- Parameters:
final doublemaxDistance
getMaxDistance
public
double
getMaxDistance
()
Method getMaxDistance.
validate
public
boolean
validate
()
Method validate.