package-info upd- I mean 1.9.4 update

These are now "required" thanks to Mojang giving us some annotations. Yay..?
This commit is contained in:
Nicholas Ignoffo 2016-05-19 17:43:33 -07:00
parent cb05e643a3
commit de5e23e6c4
132 changed files with 1174 additions and 67 deletions

View file

@ -74,7 +74,7 @@ public class TileInventory extends TileEntity implements IInventory
}
@Override
public void writeToNBT(NBTTagCompound tagCompound)
public NBTTagCompound writeToNBT(NBTTagCompound tagCompound)
{
super.writeToNBT(tagCompound);
NBTTagList tags = new NBTTagList();
@ -91,10 +91,11 @@ public class TileInventory extends TileEntity implements IInventory
}
tagCompound.setTag("Items", tags);
return tagCompound;
}
@Override
public Packet getDescriptionPacket()
public SPacketUpdateTileEntity getUpdatePacket()
{
NBTTagCompound nbt = new NBTTagCompound();
writeToNBT(nbt);