コード例 #1
0
ファイル: MEConduit.java プロジェクト: Reyls/EnderIO
 @Override
 public void readFromNBT(NBTTagCompound nbtRoot, short nbtVersion) {
   super.readFromNBT(nbtRoot, nbtVersion);
   isDense = nbtRoot.getBoolean("isDense");
   if (nbtRoot.hasKey("playerID")) {
     playerID = nbtRoot.getInteger("playerID");
   } else {
     playerID = -1;
   }
 }