@Override public ItemStack getStackInSlot(int slot) { if (side.isClient()) { return NEIClientConfig.creativeInv[slot]; } return playerSave.creativeInv[slot]; }
@Override public void setInventorySlotContents(int slot, ItemStack stack) { if (side.isClient()) { NEIClientConfig.creativeInv[slot] = stack; } else { playerSave.creativeInv[slot] = stack; } markDirty(); }
@Override protected final boolean isValidOnSide(Side side) { return side.isClient(); }