2930313233343536
public void onInventoryChanged() { super.onInventoryChanged(); if (gridTE != null && gridTE.getGrid() != null) { MinecraftForge.EVENT_BUS.post(new GridPatternUpdateEvent(gridTE.getWorld(), gridTE.getLocation(), gridTE.getGrid())); } }