@Override
 protected ElementTagCompound getRequiredEnergy() {
   ElementTagCompound tag = new ElementTagCompound();
   tag.addTag(
       CrystalElement.GREEN,
       this.getMaxStorage(CrystalElement.GREEN) - energy.getValue(CrystalElement.GREEN));
   tag.addTag(
       CrystalElement.PURPLE,
       this.getMaxStorage(CrystalElement.PURPLE) - energy.getValue(CrystalElement.PURPLE));
   return tag;
 }
Пример #2
0
 static {
   required.addTag(CrystalElement.YELLOW, 50);
   required.addTag(CrystalElement.LIME, 30);
   required.addTag(CrystalElement.GRAY, 20);
   required.addTag(CrystalElement.BROWN, 40);
 }