Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void readFromNBT(NBTTagCompound tagCompound){
- super.readFromNBT(tagCompound);
- this.force_lasers_ions = tagCompound.getInteger("IonCount");
- }
- @Override
- public void writeToNBT(NBTTagCompound tagCompound){
- super.writeToNBT(tagCompound);
- NBTTagList itemList = new NBTTagList();
- tagCompound.setTag("Inventory", itemList);
- tagCompound.setInteger("IonCount", force_lasers_ions);
- }
Advertisement
Add Comment
Please, Sign In to add comment