Search in sources :

Example 36 with S35PacketUpdateTileEntity

use of net.minecraft.network.play.server.S35PacketUpdateTileEntity in project ArsMagica2 by Mithion.

the class TileEntitySummoner 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;
}
Also used : S35PacketUpdateTileEntity(net.minecraft.network.play.server.S35PacketUpdateTileEntity) NBTTagCompound(net.minecraft.nbt.NBTTagCompound)

Example 37 with S35PacketUpdateTileEntity

use of net.minecraft.network.play.server.S35PacketUpdateTileEntity in project ArsMagica2 by Mithion.

the class TileEntityObelisk 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;
}
Also used : S35PacketUpdateTileEntity(net.minecraft.network.play.server.S35PacketUpdateTileEntity) NBTTagCompound(net.minecraft.nbt.NBTTagCompound)

Example 38 with S35PacketUpdateTileEntity

use of net.minecraft.network.play.server.S35PacketUpdateTileEntity in project ArsMagica2 by Mithion.

the class TileEntitySeerStone method getDescriptionPacket.

@Override
public Packet getDescriptionPacket() {
    NBTTagCompound compound = new NBTTagCompound();
    this.writeToNBT(compound);
    return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, worldObj.getBlockMetadata(xCoord, yCoord, zCoord), compound);
}
Also used : S35PacketUpdateTileEntity(net.minecraft.network.play.server.S35PacketUpdateTileEntity) NBTTagCompound(net.minecraft.nbt.NBTTagCompound)

Example 39 with S35PacketUpdateTileEntity

use of net.minecraft.network.play.server.S35PacketUpdateTileEntity in project OpenLights by PC-Logix.

the class OpenLightTE method getDescriptionPacket.

@Override
public Packet getDescriptionPacket() {
    NBTTagCompound tagCom = new NBTTagCompound();
    this.writeToNBT(tagCom);
    return new S35PacketUpdateTileEntity(this.xCoord, this.yCoord, this.zCoord, this.blockMetadata, tagCom);
}
Also used : S35PacketUpdateTileEntity(net.minecraft.network.play.server.S35PacketUpdateTileEntity) NBTTagCompound(net.minecraft.nbt.NBTTagCompound)

Example 40 with S35PacketUpdateTileEntity

use of net.minecraft.network.play.server.S35PacketUpdateTileEntity in project SecurityCraft by Geforce132.

the class TileEntityKeypadChest method getDescriptionPacket.

public Packet getDescriptionPacket() {
    NBTTagCompound tag = new NBTTagCompound();
    this.writeToNBT(tag);
    return new S35PacketUpdateTileEntity(pos, 1, tag);
}
Also used : S35PacketUpdateTileEntity(net.minecraft.network.play.server.S35PacketUpdateTileEntity) NBTTagCompound(net.minecraft.nbt.NBTTagCompound)

Aggregations

S35PacketUpdateTileEntity (net.minecraft.network.play.server.S35PacketUpdateTileEntity)40 NBTTagCompound (net.minecraft.nbt.NBTTagCompound)39 Entity (net.minecraft.entity.Entity)1 TileEntity (net.minecraft.tileentity.TileEntity)1 EntityDrone (pneumaticCraft.common.entity.living.EntityDrone)1