diff --git a/.classpath b/.classpath index 1feff903..8023a443 100644 --- a/.classpath +++ b/.classpath @@ -1,9 +1,12 @@ - - - - - - - - - + + + + + + + + + + + + diff --git a/common/crazypants/enderio/conduit/BlockConduitBundle.java b/common/crazypants/enderio/conduit/BlockConduitBundle.java index 82b53389..6f9f0960 100644 --- a/common/crazypants/enderio/conduit/BlockConduitBundle.java +++ b/common/crazypants/enderio/conduit/BlockConduitBundle.java @@ -110,7 +110,7 @@ public class BlockConduitBundle extends Block implements ITileEntityProvider { int i2 = this.rand.nextInt(6); EntityDiggingFX fx = new EntityDiggingFX(world, d0, d1, d2, d0 - x - 0.5D, d1 - y - 0.5D, d2 - z - 0.5D, this, i2, 0).applyColourMultiplier(x, y, z); - fx.func_110125_a(tex); + fx.setParticleIcon(tex)setParticleIcon; effectRenderer.addEffect(fx); } } @@ -146,7 +146,7 @@ public class BlockConduitBundle extends Block implements ITileEntityProvider { 0.0D, this, side, 0); digFX.applyColourMultiplier(x, y, z).multiplyVelocity(0.2F).multipleParticleScaleBy(0.6F); - digFX.func_110125_a(tex); + digFX.setParticleIcon(tex); effectRenderer.addEffect(digFX); } diff --git a/common/crazypants/enderio/conduit/liquid/LiquidConduit.java b/common/crazypants/enderio/conduit/liquid/LiquidConduit.java index 230cca66..6ab2248a 100644 --- a/common/crazypants/enderio/conduit/liquid/LiquidConduit.java +++ b/common/crazypants/enderio/conduit/liquid/LiquidConduit.java @@ -155,7 +155,7 @@ public class LiquidConduit extends AbstractConduit implements ILiquidConduit { if (!getBundle().getEntity().worldObj.isRemote) { if (network != null && (network.getFluidType() == null || network.getTotalVolume() < 500)) { network.setFluidType(fluid); - ChatMessageComponent c = ChatMessageComponent.func_111066_d("Fluid type set to " + FluidRegistry.getFluidName(fluid)); + ChatMessageComponent c = ChatMessageComponent.createFromText("Fluid type set to " + FluidRegistry.getFluidName(fluid)); player.sendChatToPlayer(c); } } diff --git a/common/crazypants/enderio/enderface/BlockEnderIO.java b/common/crazypants/enderio/enderface/BlockEnderIO.java index d8b9dcc5..e4b5aa76 100644 --- a/common/crazypants/enderio/enderface/BlockEnderIO.java +++ b/common/crazypants/enderio/enderface/BlockEnderIO.java @@ -63,7 +63,7 @@ public class BlockEnderIO extends Block implements ITileEntityProvider { entityPlayer.setCurrentItemOrArmor(0, enderFaceStack); if (world.isRemote) { - ChatMessageComponent c = ChatMessageComponent.func_111066_d("EnderIO Interface Selected"); + ChatMessageComponent c = ChatMessageComponent.createFromText("EnderIO Interface Selected"); entityPlayer.sendChatToPlayer(c); } diff --git a/common/crazypants/enderio/enderface/ItemEnderface.java b/common/crazypants/enderio/enderface/ItemEnderface.java index d6489edc..54b29dfb 100644 --- a/common/crazypants/enderio/enderface/ItemEnderface.java +++ b/common/crazypants/enderio/enderface/ItemEnderface.java @@ -93,27 +93,27 @@ public class ItemEnderface extends Item implements IGuiHandler { int dimension = tag.getInteger(KEY_DIMENSION); if (world.provider.dimensionId != dimension) { - ChatMessageComponent c = ChatMessageComponent.func_111066_d("EnderIO block is in a different dimension."); + ChatMessageComponent c = ChatMessageComponent.createFromText("EnderIO block is in a different dimension."); entityPlayer.sendChatToPlayer(c); return itemStack; } Chunk c = world.getChunkFromBlockCoords(x, z); if (c == null || !c.isChunkLoaded) { - ChatMessageComponent cm = ChatMessageComponent.func_111066_d("EnderIO block's chunk is not loaded."); + ChatMessageComponent cm = ChatMessageComponent.createFromText("EnderIO block's chunk is not loaded."); entityPlayer.sendChatToPlayer(cm); return itemStack; } int blockId = world.getBlockId(x, y, z); if (blockId != EnderIO.blockEnderIo.blockID) { - ChatMessageComponent cm = ChatMessageComponent.func_111066_d("EnderIO block has been destroyed."); + ChatMessageComponent cm = ChatMessageComponent.createFromText("EnderIO block has been destroyed."); entityPlayer.sendChatToPlayer(cm); return itemStack; } entityPlayer.openGui(EnderIO.instance, GuiHandler.GUI_ID_ENDERFACE, world, x, y, z); return itemStack; } - ChatMessageComponent cm = ChatMessageComponent.func_111066_d(" Enderface not synchronized with EnderIO."); + ChatMessageComponent cm = ChatMessageComponent.createFromText(" Enderface not synchronized with EnderIO."); entityPlayer.sendChatToPlayer(cm); return itemStack; } diff --git a/common/crazypants/enderio/machine/painter/BlockCustomFence.java b/common/crazypants/enderio/machine/painter/BlockCustomFence.java index 7a078a20..2f9cc9f0 100644 --- a/common/crazypants/enderio/machine/painter/BlockCustomFence.java +++ b/common/crazypants/enderio/machine/painter/BlockCustomFence.java @@ -96,7 +96,7 @@ public class BlockCustomFence extends BlockFence implements ITileEntityProvider int i2 = this.rand.nextInt(6); EntityDiggingFX fx = new EntityDiggingFX(world, d0, d1, d2, d0 - x - 0.5D, d1 - y - 0.5D, d2 - z - 0.5D, this, i2, 0).applyColourMultiplier(x, y, z); - fx.func_110125_a(tex); + fx.setParticleIcon(tex); effectRenderer.addEffect(fx); } } @@ -132,7 +132,7 @@ public class BlockCustomFence extends BlockFence implements ITileEntityProvider 0.0D, this, side, 0); digFX.applyColourMultiplier(x, y, z).multiplyVelocity(0.2F).multipleParticleScaleBy(0.6F); - digFX.func_110125_a(tex); + digFX.setParticleIcon(tex); effectRenderer.addEffect(digFX); } diff --git a/common/crazypants/enderio/machine/painter/BlockCustomFenceGate.java b/common/crazypants/enderio/machine/painter/BlockCustomFenceGate.java index 95099d46..c1299e56 100644 --- a/common/crazypants/enderio/machine/painter/BlockCustomFenceGate.java +++ b/common/crazypants/enderio/machine/painter/BlockCustomFenceGate.java @@ -91,7 +91,7 @@ public class BlockCustomFenceGate extends BlockFenceGate implements ITileEntityP int i2 = this.rand.nextInt(6); EntityDiggingFX fx = new EntityDiggingFX(world, d0, d1, d2, d0 - x - 0.5D, d1 - y - 0.5D, d2 - z - 0.5D, this, i2, 0).applyColourMultiplier(x, y, z); - fx.func_110125_a(tex); + fx.setParticleIcon(tex); effectRenderer.addEffect(fx); } } @@ -127,7 +127,7 @@ public class BlockCustomFenceGate extends BlockFenceGate implements ITileEntityP 0.0D, this, side, 0); digFX.applyColourMultiplier(x, y, z).multiplyVelocity(0.2F).multipleParticleScaleBy(0.6F); - digFX.func_110125_a(tex); + digFX.setParticleIcon(tex); effectRenderer.addEffect(digFX); } diff --git a/common/crazypants/enderio/machine/painter/BlockCustomSlab.java b/common/crazypants/enderio/machine/painter/BlockCustomSlab.java index 24ac2f6a..09df4da0 100644 --- a/common/crazypants/enderio/machine/painter/BlockCustomSlab.java +++ b/common/crazypants/enderio/machine/painter/BlockCustomSlab.java @@ -121,7 +121,7 @@ public class BlockCustomSlab extends BlockHalfSlab implements ITileEntityProvide int i2 = this.rand.nextInt(6); EntityDiggingFX fx = new EntityDiggingFX(world, d0, d1, d2, d0 - x - 0.5D, d1 - y - 0.5D, d2 - z - 0.5D, this, i2, 0).applyColourMultiplier(x, y, z); - fx.func_110125_a(tex); + fx.setParticleIcon(tex); effectRenderer.addEffect(fx); } } @@ -157,7 +157,7 @@ public class BlockCustomSlab extends BlockHalfSlab implements ITileEntityProvide 0.0D, this, side, 0); digFX.applyColourMultiplier(x, y, z).multiplyVelocity(0.2F).multipleParticleScaleBy(0.6F); - digFX.func_110125_a(tex); + digFX.setParticleIcon(tex); effectRenderer.addEffect(digFX); } diff --git a/common/crazypants/enderio/machine/painter/BlockCustomStair.java b/common/crazypants/enderio/machine/painter/BlockCustomStair.java index 71d97bbd..b05aa30f 100644 --- a/common/crazypants/enderio/machine/painter/BlockCustomStair.java +++ b/common/crazypants/enderio/machine/painter/BlockCustomStair.java @@ -94,7 +94,7 @@ public class BlockCustomStair extends BlockStairs implements ITileEntityProvider int i2 = this.rand.nextInt(6); EntityDiggingFX fx = new EntityDiggingFX(world, d0, d1, d2, d0 - x - 0.5D, d1 - y - 0.5D, d2 - z - 0.5D, this, i2, 0).applyColourMultiplier(x, y, z); - fx.func_110125_a(tex); + fx.setParticleIcon(tex); effectRenderer.addEffect(fx); } } @@ -130,7 +130,7 @@ public class BlockCustomStair extends BlockStairs implements ITileEntityProvider 0.0D, this, side, 0); digFX.applyColourMultiplier(x, y, z).multiplyVelocity(0.2F).multipleParticleScaleBy(0.6F); - digFX.func_110125_a(tex); + digFX.setParticleIcon(tex); effectRenderer.addEffect(digFX); } diff --git a/common/crazypants/enderio/machine/painter/BlockCustomWall.java b/common/crazypants/enderio/machine/painter/BlockCustomWall.java index b27b5527..110797cf 100644 --- a/common/crazypants/enderio/machine/painter/BlockCustomWall.java +++ b/common/crazypants/enderio/machine/painter/BlockCustomWall.java @@ -91,7 +91,7 @@ public class BlockCustomWall extends BlockWall implements ITileEntityProvider { int i2 = this.rand.nextInt(6); EntityDiggingFX fx = new EntityDiggingFX(world, d0, d1, d2, d0 - x - 0.5D, d1 - y - 0.5D, d2 - z - 0.5D, this, i2, 0).applyColourMultiplier(x, y, z); - fx.func_110125_a(tex); + fx.setParticleIcon(tex); effectRenderer.addEffect(fx); } } @@ -127,7 +127,7 @@ public class BlockCustomWall extends BlockWall implements ITileEntityProvider { 0.0D, this, side, 0); digFX.applyColourMultiplier(x, y, z).multiplyVelocity(0.2F).multipleParticleScaleBy(0.6F); - digFX.func_110125_a(tex); + digFX.setParticleIcon(tex); effectRenderer.addEffect(digFX); } diff --git a/common/crazypants/enderio/machine/reservoir/ReservoirRenderer.java b/common/crazypants/enderio/machine/reservoir/ReservoirRenderer.java index 8055b57c..1f536fc9 100644 --- a/common/crazypants/enderio/machine/reservoir/ReservoirRenderer.java +++ b/common/crazypants/enderio/machine/reservoir/ReservoirRenderer.java @@ -160,7 +160,7 @@ public class ReservoirRenderer extends TileEntitySpecialRenderer { private ResourceLocation getLiquidSheet() { if(texName == null) { - texName = TextureMap.field_110575_b; + texName = TextureMap.locationBlocksTexture; } return texName; } diff --git a/common/crazypants/render/RenderUtil.java b/common/crazypants/render/RenderUtil.java index 0056a0f1..2f7ca9b8 100644 --- a/common/crazypants/render/RenderUtil.java +++ b/common/crazypants/render/RenderUtil.java @@ -44,9 +44,9 @@ public class RenderUtil { private static final FloatBuffer MATRIX_BUFFER = GLAllocation.createDirectFloatBuffer(16); - public static final ResourceLocation BLOCK_TEX = TextureMap.field_110575_b; + public static final ResourceLocation BLOCK_TEX = TextureMap.locationBlocksTexture; - public static final ResourceLocation ITEM_TEX = TextureMap.field_110576_c; + public static final ResourceLocation ITEM_TEX = TextureMap.locationItemsTexture; public static final ResourceLocation GLINT_TEX = new ResourceLocation("textures/misc/enchanted_item_glint.png"); @@ -77,27 +77,27 @@ public class RenderUtil { } public static void bindItemTexture(ItemStack stack) { - engine().func_110577_a(stack.getItemSpriteNumber() == 0 ? BLOCK_TEX : ITEM_TEX); + engine().bindTexture(stack.getItemSpriteNumber() == 0 ? BLOCK_TEX : ITEM_TEX); } public static void bindItemTexture() { - engine().func_110577_a(ITEM_TEX); + engine().bindTexture(ITEM_TEX); } public static void bindBlockTexture() { - engine().func_110577_a(BLOCK_TEX); + engine().bindTexture(BLOCK_TEX); } public static void bindGlintTexture() { - engine().func_110577_a(BLOCK_TEX); + engine().bindTexture(BLOCK_TEX); } public static void bindTexture(String string) { - engine().func_110577_a(new ResourceLocation(string)); + engine().bindTexture(new ResourceLocation(string)); } public static void bindTexture(ResourceLocation tex) { - engine().func_110577_a(tex); + engine().bindTexture(tex); } public static FontRenderer fontRenderer() {