use of net.minecraft.network.play.server.S35PacketUpdateTileEntity in project BluePower by Qmunity.
the class TileEngine method getDescriptionPacket.
@Override
public Packet getDescriptionPacket() {
NBTTagCompound nbtTag = new NBTTagCompound();
this.writeToNBT(nbtTag);
return new S35PacketUpdateTileEntity(this.xCoord, this.yCoord, this.zCoord, 1, nbtTag);
}
use of net.minecraft.network.play.server.S35PacketUpdateTileEntity in project PneumaticCraft by MineMaarten.
the class TileEntityDroneInterface method getDescriptionPacket.
@Override
public Packet getDescriptionPacket() {
NBTTagCompound tag = new NBTTagCompound();
tag.setInteger("drone", drone != null ? drone.getEntityId() : -1);
return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 0, tag);
}
use of net.minecraft.network.play.server.S35PacketUpdateTileEntity in project ArsMagica2 by Mithion.
the class TileEntityArcaneReconstructor method getDescriptionPacket.
@Override
public Packet getDescriptionPacket() {
NBTTagCompound compound = new NBTTagCompound();
writeToNBT(compound);
S35PacketUpdateTileEntity packet = new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, worldObj.getBlockMetadata(xCoord, yCoord, zCoord), compound);
return packet;
}
use of net.minecraft.network.play.server.S35PacketUpdateTileEntity in project ArsMagica2 by Mithion.
the class TileEntityAstralBarrier method getDescriptionPacket.
@Override
public Packet getDescriptionPacket() {
NBTTagCompound compound = new NBTTagCompound();
writeToNBT(compound);
S35PacketUpdateTileEntity packet = new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, worldObj.getBlockMetadata(xCoord, yCoord, zCoord), compound);
return packet;
}
use of net.minecraft.network.play.server.S35PacketUpdateTileEntity in project ArsMagica2 by Mithion.
the class TileEntityCalefactor method getDescriptionPacket.
@Override
public Packet getDescriptionPacket() {
NBTTagCompound compound = new NBTTagCompound();
this.writeToNBT(compound);
S35PacketUpdateTileEntity packet = new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, worldObj.getBlockMetadata(xCoord, yCoord, zCoord), compound);
return packet;
}
Aggregations