Added defaults to some switches to remove compile warnings.

This commit is contained in:
Vasco Lavos committed 2016-09-29 19:40:20 +01:00
1 parent 790f9fb120
commit a87912c727
7 files changed
+8 -1

No files matched your search

@@ -33,7 +33,7 @@ public class RenderThornChakram extends Render<EntityThornChakram> {
@Override
public void doRender(@Nonnull EntityThornChakram c, double x, double y, double z, float entityYaw, float partialTicks) {
boolean fire = c.isFire();
TextureAtlasSprite iicon = null;//ModItems.thornChakram.getIconFromDamage(fire ? 1 : 0);
TextureAtlasSprite iicon = null;//ModItems.thornChakram.getIconFromDamage(fire ? 1 : 0); TODO does this work?
if(iicon != null) {
GlStateManager.pushMatrix();
@@ -92,6 +92,7 @@ public class SubTileDaffomill extends SubTileFunctional {
break;
case EAST :
axis = new AxisAlignedBB(x + 1, y - h, z - w, x + l + 1, y + h, z + w + 1);
default: break;
}
return axis;
}
@@ -259,6 +259,7 @@ public class TileEnchanter extends TileMod implements ISparkAttachable {
break;
}
default: break;
}
}
@@ -93,6 +93,7 @@ public class TileBellows extends TileMod {
case SOUTH:
worldObj.spawnParticle(EnumParticleTypes.SMOKE_NORMAL, d0 + d4, d1, d2 + d3, 0.0D, 0.0D, 0.0D);
worldObj.spawnParticle(EnumParticleTypes.FLAME, d0 + d4, d1, d2 + d3, 0.0D, 0.0D, 0.0D);
default: break;
}
}
}
@@ -161,6 +161,7 @@ public class EntityThornChakram extends EntityThrowable {
break;
}
default: break;
}
}
@@ -246,6 +246,7 @@ public class ItemBaubleCosmetic extends ItemBauble implements ICosmeticBauble {
GlStateManager.translate(0F, 1F, 0.3F);
renderItem();
break;
default: break;
}
} else {
Helper.rotateIfSneaking(player);
@@ -299,6 +300,7 @@ public class ItemBaubleCosmetic extends ItemBauble implements ICosmeticBauble {
GlStateManager.rotate(8F, 0F, 0F, 1F);
renderItem();
break;
default: break;
}
}
}
@@ -173,6 +173,7 @@ public class ItemRainbowRod extends ItemMod implements IManaUsingItem, IAvatarWi
break;
case EAST :
axis = new AxisAlignedBB(tePos.add(1, -h, -w), tePos.add(l + 1, h, w + 1));
default: break;
}
List<EntityPlayer> players = world.getEntitiesWithinAABB(EntityPlayer.class, axis);