Finished fixing SRG method and field names

This commit is contained in:
tterrag1098 committed 2013-09-20 00:29:09 -04:00
1 parent adac460196
commit 0586ac1540
12 files changed
+39 -36

No files matched your search

+12 -9
View File
@@ -1,9 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="common"/>
<classpathentry kind="src" path="resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry exported="true" kind="lib" path="lib/cglib-nodep-2.2.3.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/Minecraft"/>
<classpathentry kind="output" path="eclipseBin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="common"/>
<classpathentry kind="src" path="resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry exported="true" kind="lib" path="lib/cglib-nodep-2.2.3.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/Minecraft"/>
<classpathentry kind="lib" path="/Minecraft/jars/libraries/org/lwjgl/lwjgl/lwjgl/2.9.0/lwjgl-2.9.0.jar" sourcepath="/Minecraft/jars/libraries/org/lwjgl/lwjgl/lwjgl/2.9.0/lwjgl-2.9.0-sources.jar"/>
<classpathentry kind="lib" path="/Minecraft/jars/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar" sourcepath="/Minecraft/jars/libraries/commons-io/commons-io/2.4/commons-io-2.4-sources.jar"/>
<classpathentry kind="lib" path="/Minecraft/jars/libraries/com/google/guava/guava/14.0/guava-14.0.jar" sourcepath="/Minecraft/jars/libraries/com/google/guava/guava/14.0/guava-14.0-sources.jar"/>
<classpathentry kind="output" path="eclipseBin"/>
</classpath>
@@ -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);
}
@@ -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);
}
}
@@ -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);
}
@@ -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;
}
@@ -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);
}
@@ -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);
}
@@ -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);
}
@@ -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);
}
@@ -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);
}
@@ -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;
}
+8 -8
View File
@@ -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() {