change nbt format: change class names

This commit is contained in:
Sen 2025-05-27 21:46:30 +02:00
parent 4433d3b3df
commit 47a69ce8bc
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
143 changed files with 1207 additions and 1207 deletions

View file

@ -13,7 +13,7 @@ import common.init.Config;
import common.init.Items;
import common.item.Item;
import common.item.ItemStack;
import common.nbt.NBTTagCompound;
import common.nbt.TagObject;
import common.tileentity.IWorldNameable;
import common.util.BlockPos;
import common.util.BoundingBox;
@ -753,7 +753,7 @@ public abstract class EntityCart extends Entity implements IWorldNameable
/**
* (abstract) Protected helper method to read subclass entity data from NBT.
*/
protected void readEntityFromNBT(NBTTagCompound tagCompund)
protected void readEntityFromNBT(TagObject tagCompund)
{
if (tagCompund.getBool("CustomDisplayTile"))
{
@ -798,7 +798,7 @@ public abstract class EntityCart extends Entity implements IWorldNameable
/**
* (abstract) Protected helper method to write subclass entity data to NBT.
*/
protected void writeEntityToNBT(NBTTagCompound tagCompound)
protected void writeEntityToNBT(TagObject tagCompound)
{
if (this.hasDisplayTile())
{