BlockManager
interface BlockManager
Functions
Link copied to clipboard
Gets the NovaBlockState at that location.
Link copied to clipboard
Gets the drops of the Nova block at that location or null if there is no Nova block there.
Gets the drops of the Nova block at that location as if it was mined with the given tool or null if there is no Nova block there.
Gets the drops of the Nova block at that location as if it was mined by source with the given tool or null if there is no Nova block there.
Link copied to clipboard
Checks if there is a NovaBlockState at that location.
Link copied to clipboard
Places the block at that location.
abstract fun placeBlock(location: Location, material: NovaMaterial, source: Any, playSound: Boolean)
Places the material at that location.
Link copied to clipboard
Removes the Nova block at that location.
open fun removeBlock(location: Location, source: Any, playSound: Boolean, showParticles: Boolean): Boolean
Removes the Nova block at that location as if it was destroyed by source.