Example #1
0
 public override void readFromNBT(NBTTagCompound nbttagcompound)
 {
     base.readFromNBT(nbttagcompound);
     note = nbttagcompound.getByte("note");
     if (note < 0)
     {
         note = 0;
     }
     if (note > 24)
     {
         note = 24;
     }
 }
Example #2
0
 public override void readFromNBT(NBTTagCompound nbttagcompound)
 {
     base.readFromNBT(nbttagcompound);
     note = nbttagcompound.getByte("note");
     if (note < 0)
     {
         note = 0;
     }
     if (note > 24)
     {
         note = 24;
     }
 }
Example #3
0
 public override void readEntityFromNBT(NBTTagCompound nbttagcompound)
 {
     blockID = nbttagcompound.getByte("Tile") & 0xff;
 }
Example #4
0
 public override void readEntityFromNBT(NBTTagCompound nbttagcompound)
 {
     blockID = nbttagcompound.getByte("Tile") & 0xff;
 }