8889909192939495
public void addBlock(Block block) { block.getSubBlocks(Item.getItemFromBlock(block), this, creativeTabQueue); } public void addAllItemsAndBlocks() { Collections.sort(creativeTabQueue, new ItemStackCompatator()); list.addAll(creativeTabQueue); }