rename tag methods

This commit is contained in:
Sen 2025-05-27 22:57:25 +02:00
parent c527989ada
commit 753b4b8b5d
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
57 changed files with 276 additions and 276 deletions

View file

@ -96,7 +96,7 @@ import common.packet.SPacketSignEditorOpen;
import common.packet.SPacketPlayerListItem;
import common.packet.SPacketPlayerAbilities;
import common.packet.SPacketTabComplete;
import common.packet.SPacketUpdateEntityNBT;
import common.packet.SPacketUpdateEntityTags;
import common.packet.SPacketAnimation;
import common.packet.SPacketBiome;
import common.packet.SPacketBlockAction;
@ -1345,7 +1345,7 @@ public class ClientPlayer extends NetHandler implements IClientPlayer
if (tileentity != null && packetIn.isTileEntityType(tileentity)) // i == 1 && tileentity instanceof TileEntityMobSpawner || /* i == 2 && tileentity instanceof TileEntityCommandBlock || */ i == 3 && tileentity instanceof TileEntityBeacon || i == 4 && tileentity instanceof TileEntitySkull || /* i == 5 && tileentity instanceof TileEntityFlowerPot || */ i == 6 && tileentity instanceof TileEntityBanner || i == 7 && tileentity instanceof TileEntityMachine)
{
tileentity.readFromNBT(packetIn.getNbtCompound());
tileentity.readTags(packetIn.getNbtCompound());
}
}
}
@ -1714,7 +1714,7 @@ public class ClientPlayer extends NetHandler implements IClientPlayer
//// }
// }
public void handleEntityNBT(SPacketUpdateEntityNBT packetIn)
public void handleEntityNBT(SPacketUpdateEntityTags packetIn)
{
NetHandler.checkThread(packetIn, this, this.gameController, this.clientWorldController);
Entity entity = packetIn.getEntity(this.clientWorldController);

View file

@ -206,7 +206,7 @@ public class EntityFirework
if (p_i46464_15_ != null)
{
this.fireworkExplosions = p_i46464_15_.getTagList("Explosions");
this.fireworkExplosions = p_i46464_15_.getObjectList("Explosions");
if (this.fireworkExplosions.size() == 0)
{