rename tag methods
This commit is contained in:
parent
c527989ada
commit
753b4b8b5d
57 changed files with 276 additions and 276 deletions
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue