Protocol: LegacyPlayerBreakBlockBeforeEvent
class LegacyPlayerBreakBlockBeforeEvent(Protocol)
Related API: BlockVector3, Dimension, Entity, Player
Properties
cancel
cancel: bool
Set to true before the handler returns to cancel the action.
level
@property
def level(self) -> Dimension:
Related API: Dimension
player
@property
def player(self) -> Player:
Related API: Player
pos
@property
def pos(self) -> BlockVector3:
Related API: BlockVector3
resource
@property
def resource(self) -> str:
state
@property
def state(self) -> Mapping[str, Any]:
entity
@property
def entity(self) -> Optional[Entity]:
Related API: Entity