LevelReader
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.
Implemented Interfaces
LevelReader implements the following interfaces. That means all methods defined in these interfaces are also available in LevelReader
Methods
Return Type: boolean
Parameter | Type |
---|---|
Parameter pos | Type BlockPos |
Return Type: boolean
Parameter | Type |
---|---|
Parameter x | Type int |
Parameter z | Type int |
Checks if the block at a given position is empty.
Returns: Whether the block is empty.
Return Type: boolean
Parameter | Type | Description |
---|---|---|
Parameter pos | Type BlockPos | Description The position to look up. |
Properties
Name | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Name isClientSide | Type boolean | Has Getter true | Has Setter false | Description |
Name seaLevel | Type int | Has Getter true | Has Setter false | Description Gets the height of the sea level. |
Name skyDarken | Type int | Has Getter true | Has Setter false | Description |