package net.minecraft.tileentity; import net.minecraft.nbt.NBTTagCompound; public class TileEntityComparator extends TileEntity { private int field_96101_a = 0; /** * Writes a tile entity to NBT. */ public void writeToNBT(NBTTagCompound par1NBTTagCompound) { super.writeToNBT(par1NBTTagCompound); par1NBTTagCompound.setInteger("OutputSignal", this.field_96101_a); } /** * Reads a tile entity from NBT. */ public void readFromNBT(NBTTagCompound par1NBTTagCompound) { super.readFromNBT(par1NBTTagCompound); this.field_96101_a = par1NBTTagCompound.getInteger("OutputSignal"); } public int func_96100_a() { return this.field_96101_a; } public void func_96099_a(int par1) { this.field_96101_a = par1; } }