Ejemplo n.º 1
0
 public void setPartBounds(BlockMultipart var1, int var2) {
   if (var2 == 29) {
     var1.setBlockBounds(0.25F, 0.25F, 0.25F, 0.75F, 0.75F, 0.75F);
   } else {
     super.setPartBounds(var1, var2);
   }
 }
Ejemplo n.º 2
0
 @Override
 public void setPartBounds(BlockMultipart bl, int part) {
   if (part != super.Rotation >> 2) {
     super.setPartBounds(bl, part);
   } else {
     switch (part) {
       case 0:
         bl.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.75F, 1.0F);
         break;
       case 1:
         bl.setBlockBounds(0.0F, 0.15F, 0.0F, 1.0F, 1.0F, 1.0F);
         break;
       case 2:
         bl.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 0.75F);
         break;
       case 3:
         bl.setBlockBounds(0.0F, 0.0F, 0.15F, 1.0F, 1.0F, 1.0F);
         break;
       case 4:
         bl.setBlockBounds(0.0F, 0.0F, 0.0F, 0.75F, 1.0F, 1.0F);
         break;
       case 5:
         bl.setBlockBounds(0.15F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
     }
   }
 }
 public void setPartBounds(BlockMultipart var1, int var2) {
   var1.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
 }