@minecraft
    正在准备搜索索引...

    类 PlayerPlaceBlockBeforeEvent实验性

    Contains information regarding an event before a player places a block.

    层级 (查看层级一览)

    索引

    属性

    block: Block

    Block currently in the world at the location of this event.

    cancel: boolean

    If set to true, cancels the block place event.

    dimension: Dimension

    Dimension that contains the block that is the subject of this event.

    face: Direction

    The face of the block that the new block is being placed on.

    faceLocation: Vector3

    Location relative to the bottom north-west corner of the block where the new block is being placed onto.

    permutationToPlace: BlockPermutation

    The block permutation that will be placed if the event is not cancelled.

    player: Player

    Player that is placing the block for this event.