BlockListener

public class BlockListener implements Listener

方块物品监听器

Properties

Link copied to clipboard
public final static BlockListener INSTANCE

Functions

Link copied to clipboard
public final Unit onBlockBreakEvent(BlockBreakEvent event)
Link copied to clipboard
public final Unit onBlockExplodeEvent(BlockExplodeEvent event)
Link copied to clipboard
public final Unit onBlockFrom(BlockFromToEvent event)
Link copied to clipboard
public final Unit onBlockMultiPlaceEvent(BlockMultiPlaceEvent event)

多方快放置

Link copied to clipboard
public final Unit onBlockPhysicsEvent(BlockPhysicsEvent event)
Link copied to clipboard
public final Unit onBlockPistonExtendEvent(BlockPistonExtendEvent event)
Link copied to clipboard
public final Unit onBlockPistonRetractEvent(BlockPistonRetractEvent event)
Link copied to clipboard
public final Unit onBlockPlaceEvent(BlockPlaceEvent event)

方块放置

Link copied to clipboard
public final Unit onEntityChangeBlockEvent(EntityChangeBlockEvent event)

方块变实体,实体变方块

Link copied to clipboard
public final Unit onEntityExplodeEvent(EntityExplodeEvent event)
Link copied to clipboard
public final Unit onItemSpawnEvent(ItemSpawnEvent event)
Link copied to clipboard
public final Unit onLeftClick(PlayerInteractEvent event)
Link copied to clipboard
public final Unit onPlayerInteractEvent(PlayerInteractEvent event)

玩家与方块互动