use of net.minecraft.network.play.server.S35PacketUpdateTileEntity in project ArsMagica2 by Mithion.
the class TileEntityArmorImbuer method getDescriptionPacket.
/*
@Override
public ItemStack[] getRunesInKey(){
return new ItemStack[]{
inventory[1],
inventory[2],
inventory[3]
};
}
*/
@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 TileEntityFlickerHabitat method getDescriptionPacket.
@Override
public Packet getDescriptionPacket() {
NBTTagCompound nbt = new NBTTagCompound();
this.writeToNBT(nbt);
return new S35PacketUpdateTileEntity(this.xCoord, this.yCoord, this.zCoord, 1, nbt);
}
use of net.minecraft.network.play.server.S35PacketUpdateTileEntity in project ArsMagica2 by Mithion.
the class TileEntityCraftingAltar 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;
}
use of net.minecraft.network.play.server.S35PacketUpdateTileEntity in project ArsMagica2 by Mithion.
the class TileEntityParticleEmitter 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;
}
use of net.minecraft.network.play.server.S35PacketUpdateTileEntity in project ArsMagica2 by Mithion.
the class TileEntityManaBattery 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