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
| Signature | Description |
|---|---|
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
| Name | Type | Description |
|---|---|---|
component | VoxelHand | Represents the component value stored on this instance. Read or assign to update the property. |
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
blockBroken | boolean | get | Virtual attribute exposed by isBlockBroken. Access it like a field to read or write the underlying value. |
blockPlaced | boolean | get | Virtual attribute exposed by isBlockPlaced. Access it like a field to read or write the underlying value. |
crossHairColor | Color | get | Virtual attribute exposed by getCrossHairColor. Access it like a field to read or write the underlying value. |
crossHairSize | Color | get/set | Virtual attribute exposed by getCrossHairSize. Access it like a field to read or write the underlying value. |
crossHairTexture | Texture | get/set | Virtual attribute exposed by getCrossHairTexture. Access it like a field to read or write the underlying value. |
distance | float | get/set | Virtual attribute exposed by getDistance. Access it like a field to read or write the underlying value. |
lastHitBlockID | int | get | Virtual attribute exposed by getLastHitBlockID. Access it like a field to read or write the underlying value. |
listener | Listener | set | Virtual attribute exposed by setListener. Access it like a field to read or write the underlying value. |
selectedBlockID | int | get/set | Virtual attribute exposed by getSelectedBlockID. Access it like a field to read or write the underlying value. |
showCrosshair | boolean | get/set | Virtual attribute exposed by isShowCrosshair. Access it like a field to read or write the underlying value. |
Methods
| Signature | Returns | Description |
|---|---|---|
requestPut() | void | Executes requestPut and returns after the underlying engine call finishes. |
requestBreak() | void | Executes requestBreak and returns after the underlying engine call finishes. |
componentClassMatch(Component, Component) | boolean | Executes componentClassMatch and returns after the underlying engine call finishes. |
getEngineComponent() | Component | Executes getEngineComponent and returns after the underlying engine call finishes. |