Example #1
0
 @Override
 public float getPartStrength(EntityHuman entityhuman, int i) {
   BlockMachine blockmachine = RedPowerMachine.blockMachine;
   if (i == 29) {
     return entityhuman.getCurrentPlayerStrVsBlock(blockmachine, 0) / (blockmachine.m() * 30F);
   } else {
     return super.getPartStrength(entityhuman, i);
   }
 }