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