Esempio n. 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;
     }
 }
Esempio n. 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;
     }
 }
Esempio n. 3
0
 public override void readEntityFromNBT(NBTTagCompound nbttagcompound)
 {
     blockID = nbttagcompound.getByte("Tile") & 0xff;
 }
Esempio n. 4
0
 public override void readEntityFromNBT(NBTTagCompound nbttagcompound)
 {
     blockID = nbttagcompound.getByte("Tile") & 0xff;
 }