Package com.chattriggers.ctjs.minecraft.wrappers.world.block

Types

Link copied to clipboard
open class Block(type: BlockType, pos: BlockPos, face: BlockFace?)

An immutable reference to a placed block in the world. It has a block type, a position, and optionally a specific face.

Link copied to clipboard
enum BlockFace : Enum<BlockFace> , IStringSerializable
Link copied to clipboard
class BlockPos(x: Number, y: Number, z: Number) : Vec3i
Link copied to clipboard
class BlockType(mcBlock: MCBlock)

An immutable wrapper around Minecraft's Block object. Note that this references a block "type", and not an actual block in the world. If a reference to a particular block is needed, use Block

Link copied to clipboard
class Sign(block: Block) : Block

Creates a new Sign object wrapper. Returned with com.chattriggers.ctjs.minecraft.wrappers.Player.lookingAt when looking at a sign. Extends Block.