BlockGetter
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Methods
Return Type: double
Parameter | Type |
---|---|
Parameter pos | Type BlockPos |
Gets the block state at a given position.
Returns: The block state at the position.
Return Type: BlockState
Parameter | Type | Description |
---|---|---|
Parameter pos | Type BlockPos | Description The position to look up. |
Return Type: int
Parameter | Type |
---|---|
Parameter pos | Type BlockPos |
Properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name maxLightLevel | Type int | Has Getter true | Has Setter false |