Syntax formatting, inventory and NBT stuff and fixes