mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 02:55:17 +00:00
1.9.4 Update.
Major things to note: Class renames: https://gist.github.com/LexManos/44dd211f90f498ad4015279b103dff86 Tile Entities are now packed in the ChunkData packet. Forge intends to work around this to better support large moded worlds, but for the time being modders should implement the new function carefully and only send what data they need to! Minecraft's codebase now has annotations, these are directly from Mojang and should be adheared to! Added support for package-info.java's containing @Nullable information for all MC code base.
This commit is contained in:
1 parent
5d5c005aae
commit
b9ac73b0f1
257 files changed
+2398
-1919
No files matched your search
@@ -369,16 +369,17 @@ public class DynBucketTest
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToNBT(NBTTagCompound tags)
|
||||
public NBTTagCompound func_189515_b(NBTTagCompound tags)
|
||||
{
|
||||
super.writeToNBT(tags);
|
||||
tags = super.func_189515_b(tags);
|
||||
tank.writeToNBT(tags);
|
||||
return tags;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Packet<?> getDescriptionPacket() {
|
||||
public SPacketUpdateTileEntity func_189518_D_() {
|
||||
NBTTagCompound tag = new NBTTagCompound();
|
||||
writeToNBT(tag);
|
||||
func_189515_b(tag);
|
||||
return new SPacketUpdateTileEntity(this.getPos(), this.getBlockMetadata(), tag);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user