Esempio n. 1
0
 public static void restoreBasicInfoNBT(INPC entity, NBTTagCompound nbttagcompound) {
   try {
     entity.setDamageable(nbttagcompound.getBoolean("damageable"));
     entity.setGravity(nbttagcompound.getBoolean("gravity"));
     entity.setFreezing(nbttagcompound.getBoolean("freezing"));
   } catch (Exception e) {
     e.printStackTrace();
   }
 }