Constructs new BlockSource object from an existing InnerCoreBlockSource object.
New implementation of InnerCoreBlockSource.getBiome, which gets the biome on given coordinates, even if the needed chunk is not loaded (takes from 3 to 5 ms in this case)
numeric ID of the biome on given coordinates
Purely experimental variant of getBiome, which doesn't support modded biomes, gives 15-35% speed increase in the overworld, and 700-1000% increase in the nether
numeric ID of the biome on given coordinates
BlockState object to access block properties on given Math.BlockPos, or null if something went wrong getting the block state
BlockState object to access block properties on given coordinates, or null if something went wrong getting the block state
wrapper TileEntityModule.BlockActor object for the custom native block entity on given Math.BlockPos, or null if there is no custom block entity found
wrapper TileEntityModule.BlockActor object for the custom native block entity on given coords, or null if there is no custom block entity found
Dimension that owns the following BlockSource or null if this BlockSource is not owned by a Dimension for some reason
Level that owns the dimension of the following BlockSource or null if this BlockSource is not owned by a Level for some reason
Sets block properties object on given coordinates. Has to be called whenever you want to make changes to a certain block in the world. BlockState.setValue returns another BlockState object, which has to be specified here.
whether the block state was set successfully or not
Same as setBlockState but without firing a block update event
whether the block state was set successfully or not
BlockSource object for the current client
BlockSource object for world generation
BlockSource object of the dimension where the given Actor is (null if the given Actor is not valid or the dimension is not loaded and BlockSource hasn't been created yet)
BlockSource object of the dimension where the given entity is (null if the given entity does not exist or the dimension is not loaded and BlockSource hasn't been created yet)
BlockSource object of the given dimension by default (null if the given dimension is not loaded and BlockSource hasn't been created yet)
Converts given InnerCore's BlockSource
object to KEX BlockSource
object.
Generated using TypeDoc
Class extending InnerCoreBlockSource and adding some new methods not implemented in InnerCore API.
3.0