public void onBlockBreak(BlockBreakEvent event) { if (event.isCancelled()) return; mechanicsHandler.callBlockEvent(event); }
public void onBlockRedstoneChange(BlockRedstoneEvent event) { if (event.getNewCurrent() == event.getOldCurrent() || event.getNewCurrent() > 0 && event.getOldCurrent() > 0) return; mechanicsHandler.callRedstoneEvent(event); }