Skip to main content

VoxelHand

Complete API reference for VoxelHand, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Voxels

Component: yes


public class VoxelHand extends Component

Constructors

SignatureDescription
VoxelHand(VoxelHand)Executes VoxelHand and returns after the underlying engine call finishes.
VoxelHand(Engine)Executes VoxelHand and returns after the underlying engine call finishes.
VoxelHand()Creates a new instance of VoxelHand.

Attributes

NameTypeDescription
componentVoxelHandRepresents the component value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
blockBrokenbooleangetVirtual attribute exposed by isBlockBroken. Access it like a field to read or write the underlying value.
blockPlacedbooleangetVirtual attribute exposed by isBlockPlaced. Access it like a field to read or write the underlying value.
crossHairColorColorgetVirtual attribute exposed by getCrossHairColor. Access it like a field to read or write the underlying value.
crossHairSizeColorget/setVirtual attribute exposed by getCrossHairSize. Access it like a field to read or write the underlying value.
crossHairTextureTextureget/setVirtual attribute exposed by getCrossHairTexture. Access it like a field to read or write the underlying value.
distancefloatget/setVirtual attribute exposed by getDistance. Access it like a field to read or write the underlying value.
lastHitBlockIDintgetVirtual attribute exposed by getLastHitBlockID. Access it like a field to read or write the underlying value.
listenerListenersetVirtual attribute exposed by setListener. Access it like a field to read or write the underlying value.
selectedBlockIDintget/setVirtual attribute exposed by getSelectedBlockID. Access it like a field to read or write the underlying value.
showCrosshairbooleanget/setVirtual attribute exposed by isShowCrosshair. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
requestPut()voidExecutes requestPut and returns after the underlying engine call finishes.
requestBreak()voidExecutes requestBreak and returns after the underlying engine call finishes.
componentClassMatch(Component, Component)booleanExecutes componentClassMatch and returns after the underlying engine call finishes.
getEngineComponent()ComponentExecutes getEngineComponent and returns after the underlying engine call finishes.