diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 244a668..1eed3a5 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Wed Mar 26 13:33:58 CDT 2014 +#Thu Apr 24 12:13:23 VLAT 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-bin.zip +distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip diff --git a/src/main/java/Start.java b/src/main/java/Start.java index 1505fad..44a04a9 100644 --- a/src/main/java/Start.java +++ b/src/main/java/Start.java @@ -25,7 +25,7 @@ for( int x = 0; x < args.length; x++) { - if (args[x].equals("--username")) userIndex = x + 1; + if (args[x].equals("--username")) userIndex = x + 1; else if (args[x].equals("--password")) passIndex = x + 1; else if (args[x].equals("--session")) sessIndex = x + 1; else if (args[x].equals("--version")) versIndex = x + 1; diff --git a/src/main/java/cpw/mods/fml/client/CustomModLoadingErrorDisplayException.java b/src/main/java/cpw/mods/fml/client/CustomModLoadingErrorDisplayException.java index 0795ff1..fa95a64 100644 --- a/src/main/java/cpw/mods/fml/client/CustomModLoadingErrorDisplayException.java +++ b/src/main/java/cpw/mods/fml/client/CustomModLoadingErrorDisplayException.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.client; diff --git a/src/main/java/cpw/mods/fml/client/FMLClientHandler.java b/src/main/java/cpw/mods/fml/client/FMLClientHandler.java index b0d03fa..762711a 100644 --- a/src/main/java/cpw/mods/fml/client/FMLClientHandler.java +++ b/src/main/java/cpw/mods/fml/client/FMLClientHandler.java @@ -509,7 +509,7 @@ public void displayMissingMods(Object modMissingPacket) { -// showGuiScreen(new GuiModsMissingForServer(modMissingPacket)); +// showGuiScreen(new GuiModsMissingForServer(modMissingPacket)); } /** diff --git a/src/main/java/cpw/mods/fml/client/FMLFileResourcePack.java b/src/main/java/cpw/mods/fml/client/FMLFileResourcePack.java index 9948f4a..7b12fae 100644 --- a/src/main/java/cpw/mods/fml/client/FMLFileResourcePack.java +++ b/src/main/java/cpw/mods/fml/client/FMLFileResourcePack.java @@ -44,8 +44,8 @@ FMLLog.log(container.getName(), Level.DEBUG, "Mod %s is missing a pack.mcmeta file, substituting a dummy one", container.getName()); return new ByteArrayInputStream(("{\n" + " \"pack\": {\n"+ - " \"description\": \"dummy FML pack for "+container.getName()+"\",\n"+ - " \"pack_format\": 1\n"+ + " \"description\": \"dummy FML pack for "+container.getName()+"\",\n"+ + " \"pack_format\": 1\n"+ "}\n" + "}").getBytes(Charsets.UTF_8)); } diff --git a/src/main/java/cpw/mods/fml/client/FMLFolderResourcePack.java b/src/main/java/cpw/mods/fml/client/FMLFolderResourcePack.java index 7361157..5505a29 100644 --- a/src/main/java/cpw/mods/fml/client/FMLFolderResourcePack.java +++ b/src/main/java/cpw/mods/fml/client/FMLFolderResourcePack.java @@ -49,8 +49,8 @@ FMLLog.log(container.getName(), Level.DEBUG, "Mod %s is missing a pack.mcmeta file, substituting a dummy one", container.getName()); return new ByteArrayInputStream(("{\n" + " \"pack\": {\n"+ - " \"description\": \"dummy FML pack for "+container.getName()+"\",\n"+ - " \"pack_format\": 1\n"+ + " \"description\": \"dummy FML pack for "+container.getName()+"\",\n"+ + " \"pack_format\": 1\n"+ "}\n" + "}").getBytes(Charsets.UTF_8)); } diff --git a/src/main/java/cpw/mods/fml/client/GuiAccessDenied.java b/src/main/java/cpw/mods/fml/client/GuiAccessDenied.java index a47fe85..efdc2d7 100644 --- a/src/main/java/cpw/mods/fml/client/GuiAccessDenied.java +++ b/src/main/java/cpw/mods/fml/client/GuiAccessDenied.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.client; diff --git a/src/main/java/cpw/mods/fml/client/GuiBackupFailed.java b/src/main/java/cpw/mods/fml/client/GuiBackupFailed.java index df9af95..e0d78eb 100644 --- a/src/main/java/cpw/mods/fml/client/GuiBackupFailed.java +++ b/src/main/java/cpw/mods/fml/client/GuiBackupFailed.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.client; diff --git a/src/main/java/cpw/mods/fml/client/GuiCustomModLoadingErrorScreen.java b/src/main/java/cpw/mods/fml/client/GuiCustomModLoadingErrorScreen.java index 1686543..370bdad 100644 --- a/src/main/java/cpw/mods/fml/client/GuiCustomModLoadingErrorScreen.java +++ b/src/main/java/cpw/mods/fml/client/GuiCustomModLoadingErrorScreen.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.client; diff --git a/src/main/java/cpw/mods/fml/client/GuiDupesFound.java b/src/main/java/cpw/mods/fml/client/GuiDupesFound.java index 28d7ddd..91e2eb0 100644 --- a/src/main/java/cpw/mods/fml/client/GuiDupesFound.java +++ b/src/main/java/cpw/mods/fml/client/GuiDupesFound.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.client; diff --git a/src/main/java/cpw/mods/fml/client/GuiModList.java b/src/main/java/cpw/mods/fml/client/GuiModList.java index c327701..69fdc32 100644 --- a/src/main/java/cpw/mods/fml/client/GuiModList.java +++ b/src/main/java/cpw/mods/fml/client/GuiModList.java @@ -142,7 +142,7 @@ { this.modList.drawScreen(p_571_1_, p_571_2_, p_571_3_); this.drawCenteredString(this.fontRendererObj, "Mod List", this.width / 2, 16, 0xFFFFFF); - int offset = this.listWidth + 20; + int offset = this.listWidth + 20; if (selectedMod != null) { GL11.glEnable(GL11.GL_BLEND); if (!selectedMod.getMetadata().autogenerated) { @@ -195,10 +195,10 @@ int top = 32; Tessellator tess = Tessellator.instance; tess.startDrawingQuads(); - tess.addVertexWithUV(offset, top + cachedLogoDimensions.height, zLevel, 0, 1); + tess.addVertexWithUV(offset, top + cachedLogoDimensions.height, zLevel, 0, 1); tess.addVertexWithUV(offset + cachedLogoDimensions.width, top + cachedLogoDimensions.height, zLevel, 1, 1); - tess.addVertexWithUV(offset + cachedLogoDimensions.width, top, zLevel, 1, 0); - tess.addVertexWithUV(offset, top, zLevel, 0, 0); + tess.addVertexWithUV(offset + cachedLogoDimensions.width, top, zLevel, 1, 0); + tess.addVertexWithUV(offset, top, zLevel, 0, 0); tess.draw(); shifty += 65; diff --git a/src/main/java/cpw/mods/fml/client/GuiModsMissing.java b/src/main/java/cpw/mods/fml/client/GuiModsMissing.java index 50567b0..7efed2e 100644 --- a/src/main/java/cpw/mods/fml/client/GuiModsMissing.java +++ b/src/main/java/cpw/mods/fml/client/GuiModsMissing.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.client; diff --git a/src/main/java/cpw/mods/fml/client/GuiModsMissingForServer.java b/src/main/java/cpw/mods/fml/client/GuiModsMissingForServer.java index bf34378..0e951b7 100644 --- a/src/main/java/cpw/mods/fml/client/GuiModsMissingForServer.java +++ b/src/main/java/cpw/mods/fml/client/GuiModsMissingForServer.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.client; diff --git a/src/main/java/cpw/mods/fml/client/GuiScrollingList.java b/src/main/java/cpw/mods/fml/client/GuiScrollingList.java index a31da14..6be9cdb 100644 --- a/src/main/java/cpw/mods/fml/client/GuiScrollingList.java +++ b/src/main/java/cpw/mods/fml/client/GuiScrollingList.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.client; @@ -283,7 +283,7 @@ var18.addVertexWithUV((double)this.left, (double)this.top, 0.0D, (double)((float)this.left / var17), (double)((float)(this.top + (int)this.scrollDistance) / var17)); var18.draw(); } - // boxRight = this.listWidth / 2 - 92 - 16; + // boxRight = this.listWidth / 2 - 92 - 16; var10 = this.top + 4 - (int)this.scrollDistance; if (this.field_27262_q) diff --git a/src/main/java/cpw/mods/fml/client/GuiSlotModList.java b/src/main/java/cpw/mods/fml/client/GuiSlotModList.java index cc5f543..7a02e2d 100644 --- a/src/main/java/cpw/mods/fml/client/GuiSlotModList.java +++ b/src/main/java/cpw/mods/fml/client/GuiSlotModList.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.client; diff --git a/src/main/java/cpw/mods/fml/client/GuiWrongMinecraft.java b/src/main/java/cpw/mods/fml/client/GuiWrongMinecraft.java index 6746f20..d64f24c 100644 --- a/src/main/java/cpw/mods/fml/client/GuiWrongMinecraft.java +++ b/src/main/java/cpw/mods/fml/client/GuiWrongMinecraft.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.client; diff --git a/src/main/java/cpw/mods/fml/client/IModGuiFactory.java b/src/main/java/cpw/mods/fml/client/IModGuiFactory.java index 5be73c5..080eaa1 100644 --- a/src/main/java/cpw/mods/fml/client/IModGuiFactory.java +++ b/src/main/java/cpw/mods/fml/client/IModGuiFactory.java @@ -32,7 +32,7 @@ * can be changed here. * * @return A class that will be instantiated on clicks on the config button - * or null if no GUI is desired. + * or null if no GUI is desired. */ public Class extends GuiScreen> mainConfigGuiClass(); diff --git a/src/main/java/cpw/mods/fml/client/registry/ClientRegistry.java b/src/main/java/cpw/mods/fml/client/registry/ClientRegistry.java index 2f20c31..a0041fa 100644 --- a/src/main/java/cpw/mods/fml/client/registry/ClientRegistry.java +++ b/src/main/java/cpw/mods/fml/client/registry/ClientRegistry.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.client.registry; diff --git a/src/main/java/cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.java b/src/main/java/cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.java index c6a4a87..d8d149b 100644 --- a/src/main/java/cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.java +++ b/src/main/java/cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.client.registry; diff --git a/src/main/java/cpw/mods/fml/client/registry/RenderingRegistry.java b/src/main/java/cpw/mods/fml/client/registry/RenderingRegistry.java index ca25363..2dc460e 100644 --- a/src/main/java/cpw/mods/fml/client/registry/RenderingRegistry.java +++ b/src/main/java/cpw/mods/fml/client/registry/RenderingRegistry.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.client.registry; diff --git a/src/main/java/cpw/mods/fml/common/BukkitPluginRef.java b/src/main/java/cpw/mods/fml/common/BukkitPluginRef.java index 06c0bfd..34eb042 100644 --- a/src/main/java/cpw/mods/fml/common/BukkitPluginRef.java +++ b/src/main/java/cpw/mods/fml/common/BukkitPluginRef.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/BukkitProxy.java b/src/main/java/cpw/mods/fml/common/BukkitProxy.java index 4f1fb41..2b1235d 100644 --- a/src/main/java/cpw/mods/fml/common/BukkitProxy.java +++ b/src/main/java/cpw/mods/fml/common/BukkitProxy.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/CertificateHelper.java b/src/main/java/cpw/mods/fml/common/CertificateHelper.java index e65e488..d51a707 100644 --- a/src/main/java/cpw/mods/fml/common/CertificateHelper.java +++ b/src/main/java/cpw/mods/fml/common/CertificateHelper.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/DummyModContainer.java b/src/main/java/cpw/mods/fml/common/DummyModContainer.java index 5fa49e8..1c04f13 100644 --- a/src/main/java/cpw/mods/fml/common/DummyModContainer.java +++ b/src/main/java/cpw/mods/fml/common/DummyModContainer.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/DuplicateModsFoundException.java b/src/main/java/cpw/mods/fml/common/DuplicateModsFoundException.java index 7971809..293bcb2 100644 --- a/src/main/java/cpw/mods/fml/common/DuplicateModsFoundException.java +++ b/src/main/java/cpw/mods/fml/common/DuplicateModsFoundException.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/FMLCommonHandler.java b/src/main/java/cpw/mods/fml/common/FMLCommonHandler.java index 4922e1e..6777672 100644 --- a/src/main/java/cpw/mods/fml/common/FMLCommonHandler.java +++ b/src/main/java/cpw/mods/fml/common/FMLCommonHandler.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/FMLContainer.java b/src/main/java/cpw/mods/fml/common/FMLContainer.java index 78bfe0d..ab3539c 100644 --- a/src/main/java/cpw/mods/fml/common/FMLContainer.java +++ b/src/main/java/cpw/mods/fml/common/FMLContainer.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/FMLLog.java b/src/main/java/cpw/mods/fml/common/FMLLog.java index df72bd1..ebbd3f3 100644 --- a/src/main/java/cpw/mods/fml/common/FMLLog.java +++ b/src/main/java/cpw/mods/fml/common/FMLLog.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/FMLModContainer.java b/src/main/java/cpw/mods/fml/common/FMLModContainer.java index 4aa37d9..9618dd4 100644 --- a/src/main/java/cpw/mods/fml/common/FMLModContainer.java +++ b/src/main/java/cpw/mods/fml/common/FMLModContainer.java @@ -319,7 +319,7 @@ } else if (!(Modifier.isStatic(m.getModifiers()) && m.getParameterTypes().length == 0)) { - FMLLog.log(getModId(), Level.ERROR, "The InstanceFactory annotation can only apply to a static method, taking zero arguments - it will be ignored on %s(%s)", m.getName(), Arrays.asList(m.getParameterTypes())); + FMLLog.log(getModId(), Level.ERROR, "The InstanceFactory annotation can only apply to a static method, taking zero arguments - it will be ignored on %s(%s)", m.getName(), Arrays.asList(m.getParameterTypes())); } else if (factoryMethod != null) { diff --git a/src/main/java/cpw/mods/fml/common/IASMHook.java b/src/main/java/cpw/mods/fml/common/IASMHook.java index 5208db2..c51a509 100644 --- a/src/main/java/cpw/mods/fml/common/IASMHook.java +++ b/src/main/java/cpw/mods/fml/common/IASMHook.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/ICrashCallable.java b/src/main/java/cpw/mods/fml/common/ICrashCallable.java index 441ac36..5eb619b 100644 --- a/src/main/java/cpw/mods/fml/common/ICrashCallable.java +++ b/src/main/java/cpw/mods/fml/common/ICrashCallable.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/IFMLHandledException.java b/src/main/java/cpw/mods/fml/common/IFMLHandledException.java index 0ca2f01..5061dfd 100644 --- a/src/main/java/cpw/mods/fml/common/IFMLHandledException.java +++ b/src/main/java/cpw/mods/fml/common/IFMLHandledException.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/IFMLSidedHandler.java b/src/main/java/cpw/mods/fml/common/IFMLSidedHandler.java index 5fb6120..7155e0f 100644 --- a/src/main/java/cpw/mods/fml/common/IFMLSidedHandler.java +++ b/src/main/java/cpw/mods/fml/common/IFMLSidedHandler.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/IFuelHandler.java b/src/main/java/cpw/mods/fml/common/IFuelHandler.java index 0794185..4d15fea 100644 --- a/src/main/java/cpw/mods/fml/common/IFuelHandler.java +++ b/src/main/java/cpw/mods/fml/common/IFuelHandler.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/ILanguageAdapter.java b/src/main/java/cpw/mods/fml/common/ILanguageAdapter.java index 60c794c..62eb0d2 100644 --- a/src/main/java/cpw/mods/fml/common/ILanguageAdapter.java +++ b/src/main/java/cpw/mods/fml/common/ILanguageAdapter.java @@ -37,12 +37,12 @@ // of the object directly, or in the object block, i.e. // whether it's: // class ModName { - // @SidedProxy ... + // @SidedProxy ... // } // object ModName extends ModName {} // which leads to us getting the outer class, or // object ModName { - // @SidedProxy ... + // @SidedProxy ... // } // which leads to us getting the inner class. if (!proxyTarget.getName().endsWith("$")) @@ -104,8 +104,8 @@ { // For Scala mods, we want to enable authors to write them like so: // object ModName { - // @SidedProxy(...) - // var proxy: ModProxy = null + // @SidedProxy(...) + // var proxy: ModProxy = null // } // For this to work, we have to search inside the inner class Scala // generates for singletons, which is in called ModName$. These are @@ -113,8 +113,8 @@ // internal classes. // Note that it is alternatively possible to write this like so: // class ModName { - // @SidedProxy(...) - // var proxy: ModProxy = null + // @SidedProxy(...) + // var proxy: ModProxy = null // } // object ModName extends ModName { ... } // which will fall back to the normal injection code which calls diff --git a/src/main/java/cpw/mods/fml/common/IWorldGenerator.java b/src/main/java/cpw/mods/fml/common/IWorldGenerator.java index d03a04f..d05db9e 100644 --- a/src/main/java/cpw/mods/fml/common/IWorldGenerator.java +++ b/src/main/java/cpw/mods/fml/common/IWorldGenerator.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/InjectedModContainer.java b/src/main/java/cpw/mods/fml/common/InjectedModContainer.java index ce82214..e571358 100644 --- a/src/main/java/cpw/mods/fml/common/InjectedModContainer.java +++ b/src/main/java/cpw/mods/fml/common/InjectedModContainer.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/LoadController.java b/src/main/java/cpw/mods/fml/common/LoadController.java index 03ddddb..206da0f 100644 --- a/src/main/java/cpw/mods/fml/common/LoadController.java +++ b/src/main/java/cpw/mods/fml/common/LoadController.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/Loader.java b/src/main/java/cpw/mods/fml/common/Loader.java index 592ca31..a0b522d 100644 --- a/src/main/java/cpw/mods/fml/common/Loader.java +++ b/src/main/java/cpw/mods/fml/common/Loader.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/LoaderException.java b/src/main/java/cpw/mods/fml/common/LoaderException.java index cfe8de1..0643152 100644 --- a/src/main/java/cpw/mods/fml/common/LoaderException.java +++ b/src/main/java/cpw/mods/fml/common/LoaderException.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/LoaderState.java b/src/main/java/cpw/mods/fml/common/LoaderState.java index 180d1ec..ca4b44f 100644 --- a/src/main/java/cpw/mods/fml/common/LoaderState.java +++ b/src/main/java/cpw/mods/fml/common/LoaderState.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/MCPDummyContainer.java b/src/main/java/cpw/mods/fml/common/MCPDummyContainer.java index 81373f0..eb4e8b7 100644 --- a/src/main/java/cpw/mods/fml/common/MCPDummyContainer.java +++ b/src/main/java/cpw/mods/fml/common/MCPDummyContainer.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/MetadataCollection.java b/src/main/java/cpw/mods/fml/common/MetadataCollection.java index 9572573..567c1d6 100644 --- a/src/main/java/cpw/mods/fml/common/MetadataCollection.java +++ b/src/main/java/cpw/mods/fml/common/MetadataCollection.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/MinecraftDummyContainer.java b/src/main/java/cpw/mods/fml/common/MinecraftDummyContainer.java index fd9d9f8..fba4f55 100644 --- a/src/main/java/cpw/mods/fml/common/MinecraftDummyContainer.java +++ b/src/main/java/cpw/mods/fml/common/MinecraftDummyContainer.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/MissingModsException.java b/src/main/java/cpw/mods/fml/common/MissingModsException.java index 3ef8720..a0b5f68 100644 --- a/src/main/java/cpw/mods/fml/common/MissingModsException.java +++ b/src/main/java/cpw/mods/fml/common/MissingModsException.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/Mod.java b/src/main/java/cpw/mods/fml/common/Mod.java index 8a7357b..d0c6c8d 100644 --- a/src/main/java/cpw/mods/fml/common/Mod.java +++ b/src/main/java/cpw/mods/fml/common/Mod.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; @@ -47,15 +47,15 @@ * // Declare that this is a mod with modId "MyModId", name "My example mod", version "1.0" and dependency on FML. * {@literal @}Mod(modId="MyModId",name="My example mod",version="1.0",dependencies="required-after:FML") * public class MyMod { - * // Populate this field with the instance of the mod created by FML - * {@literal @}Instance("MyModId") - * public MyMod instance; + * // Populate this field with the instance of the mod created by FML + * {@literal @}Instance("MyModId") + * public MyMod instance; * - * // Mark this method for receiving an {@link FMLEvent} (in this case, it's the {@link FMLPreInitializationEvent}) - * {@literal @}EventHandler public void preInit(FMLPreInitializationEvent event) - * { - * // Do stuff in pre-init phase (read config, create blocks and items, register them) - * } + * // Mark this method for receiving an {@link FMLEvent} (in this case, it's the {@link FMLPreInitializationEvent}) + * {@literal @}EventHandler public void preInit(FMLPreInitializationEvent event) + * { + * // Do stuff in pre-init phase (read config, create blocks and items, register them) + * } * } * } * diff --git a/src/main/java/cpw/mods/fml/common/ModClassLoader.java b/src/main/java/cpw/mods/fml/common/ModClassLoader.java index 504bc0d..fb7b18c 100644 --- a/src/main/java/cpw/mods/fml/common/ModClassLoader.java +++ b/src/main/java/cpw/mods/fml/common/ModClassLoader.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/ModContainer.java b/src/main/java/cpw/mods/fml/common/ModContainer.java index b4076f2..27f34b2 100644 --- a/src/main/java/cpw/mods/fml/common/ModContainer.java +++ b/src/main/java/cpw/mods/fml/common/ModContainer.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/ModContainerFactory.java b/src/main/java/cpw/mods/fml/common/ModContainerFactory.java index 0d724e0..31b7cff 100644 --- a/src/main/java/cpw/mods/fml/common/ModContainerFactory.java +++ b/src/main/java/cpw/mods/fml/common/ModContainerFactory.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/ModMetadata.java b/src/main/java/cpw/mods/fml/common/ModMetadata.java index d40d652..959858a 100644 --- a/src/main/java/cpw/mods/fml/common/ModMetadata.java +++ b/src/main/java/cpw/mods/fml/common/ModMetadata.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/ProxyInjector.java b/src/main/java/cpw/mods/fml/common/ProxyInjector.java index 8a8a861..2c109e8 100644 --- a/src/main/java/cpw/mods/fml/common/ProxyInjector.java +++ b/src/main/java/cpw/mods/fml/common/ProxyInjector.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; diff --git a/src/main/java/cpw/mods/fml/common/SidedProxy.java b/src/main/java/cpw/mods/fml/common/SidedProxy.java index c59fabc..fec9734 100644 --- a/src/main/java/cpw/mods/fml/common/SidedProxy.java +++ b/src/main/java/cpw/mods/fml/common/SidedProxy.java @@ -7,7 +7,7 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: - * cpw - implementation + * cpw - implementation */ package cpw.mods.fml.common; @@ -28,18 +28,18 @@ * This example will load a CommonProxy on the server side, and a ClientProxy on the client side. * *
{@code
- * public class MySidedProxyHolder {
- * {@literal @}SidedProxy(modId="MyModId",clientSide="mymod.ClientProxy", serverSide="mymod.CommonProxy")
- * public static CommonProxy proxy;
- * }
+ * public class MySidedProxyHolder {
+ * {@literal @}SidedProxy(modId="MyModId",clientSide="mymod.ClientProxy", serverSide="mymod.CommonProxy")
+ * public static CommonProxy proxy;
+ * }
*
- * public class CommonProxy {
- * // Common or server stuff here that needs to be overridden on the client
- * }
+ * public class CommonProxy {
+ * // Common or server stuff here that needs to be overridden on the client
+ * }
*
- * public class ClientProxy extends CommonProxy {
- * // Override common stuff with client specific stuff here
- * }
+ * public class ClientProxy extends CommonProxy {
+ * // Override common stuff with client specific stuff here
+ * }
* }
*
* @author cpw
diff --git a/src/main/java/cpw/mods/fml/common/WorldAccessContainer.java b/src/main/java/cpw/mods/fml/common/WorldAccessContainer.java
index aac2362..8dde296 100644
--- a/src/main/java/cpw/mods/fml/common/WorldAccessContainer.java
+++ b/src/main/java/cpw/mods/fml/common/WorldAccessContainer.java
@@ -7,7 +7,7 @@
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
- * cpw - implementation
+ * cpw - implementation
*/
package cpw.mods.fml.common;
diff --git a/src/main/java/cpw/mods/fml/common/WrongMinecraftVersionException.java b/src/main/java/cpw/mods/fml/common/WrongMinecraftVersionException.java
index 4df6fe0..5b01b36 100644
--- a/src/main/java/cpw/mods/fml/common/WrongMinecraftVersionException.java
+++ b/src/main/java/cpw/mods/fml/common/WrongMinecraftVersionException.java
@@ -7,7 +7,7 @@
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
- * cpw - implementation
+ * cpw - implementation
*/
package cpw.mods.fml.common;
diff --git a/src/main/java/cpw/mods/fml/common/asm/FMLSanityChecker.java b/src/main/java/cpw/mods/fml/common/asm/FMLSanityChecker.java
index ecf1e64..e257d44 100644
--- a/src/main/java/cpw/mods/fml/common/asm/FMLSanityChecker.java
+++ b/src/main/java/cpw/mods/fml/common/asm/FMLSanityChecker.java
@@ -7,7 +7,7 @@
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
- * cpw - implementation
+ * cpw - implementation
*/
package cpw.mods.fml.common.asm;
@@ -39,7 +39,7 @@
{
private static final String FMLFINGERPRINT = "51:0A:FB:4C:AF:A4:A0:F2:F5:CF:C5:0E:B4:CC:3C:30:24:4A:E3:8E".toLowerCase().replace(":", "");
private static final String FORGEFINGERPRINT = "E3:C3:D5:0C:7C:98:6D:F7:4C:64:5C:0A:C5:46:39:74:1C:90:A5:57".toLowerCase().replace(":", "");
- private static final String MCFINGERPRINT = "CD:99:95:96:56:F7:53:DC:28:D8:63:B4:67:69:F7:F8:FB:AE:FC:FC".toLowerCase().replace(":", "");
+ private static final String MCFINGERPRINT = "CD:99:95:96:56:F7:53:DC:28:D8:63:B4:67:69:F7:F8:FB:AE:FC:FC".toLowerCase().replace(":", "");
private LaunchClassLoader cl;
public static File fmlLocation;
diff --git a/src/main/java/cpw/mods/fml/common/asm/ReobfuscationMarker.java b/src/main/java/cpw/mods/fml/common/asm/ReobfuscationMarker.java
index a6be499..2824486 100644
--- a/src/main/java/cpw/mods/fml/common/asm/ReobfuscationMarker.java
+++ b/src/main/java/cpw/mods/fml/common/asm/ReobfuscationMarker.java
@@ -7,7 +7,7 @@
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
- * cpw - implementation
+ * cpw - implementation
*/
package cpw.mods.fml.common.asm;
diff --git a/src/main/java/cpw/mods/fml/common/asm/transformers/AccessTransformer.java b/src/main/java/cpw/mods/fml/common/asm/transformers/AccessTransformer.java
index 286bdab..2ecae1b 100644
--- a/src/main/java/cpw/mods/fml/common/asm/transformers/AccessTransformer.java
+++ b/src/main/java/cpw/mods/fml/common/asm/transformers/AccessTransformer.java
@@ -7,7 +7,7 @@
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
- * cpw - implementation
+ * cpw - implementation
*/
package cpw.mods.fml.common.asm.transformers;
diff --git a/src/main/java/cpw/mods/fml/common/asm/transformers/DeobfuscationTransformer.java b/src/main/java/cpw/mods/fml/common/asm/transformers/DeobfuscationTransformer.java
index 804edba..b72b606 100644
--- a/src/main/java/cpw/mods/fml/common/asm/transformers/DeobfuscationTransformer.java
+++ b/src/main/java/cpw/mods/fml/common/asm/transformers/DeobfuscationTransformer.java
@@ -7,7 +7,7 @@
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
- * cpw - implementation
+ * cpw - implementation
*/
package cpw.mods.fml.common.asm.transformers;
diff --git a/src/main/java/cpw/mods/fml/common/asm/transformers/EventSubscriptionTransformer.java b/src/main/java/cpw/mods/fml/common/asm/transformers/EventSubscriptionTransformer.java
index 106f81a..33b9dc8 100644
--- a/src/main/java/cpw/mods/fml/common/asm/transformers/EventSubscriptionTransformer.java
+++ b/src/main/java/cpw/mods/fml/common/asm/transformers/EventSubscriptionTransformer.java
@@ -134,10 +134,10 @@
classNode.fields.add(new FieldNode(ACC_PRIVATE | ACC_STATIC, "LISTENER_LIST", tList.getDescriptor(), null, null));
/*Add:
- * public -' (dash) and '.' (dot) separators,1.0alpha1 => [1, 0, alpha, 1]1.0alpha1 => [1, 0, alpha, 1]
* snapshotalpha or abeta or bmilestone or mrc or cr(the empty string) or ga or finalspsnapshotalpha or abeta or bmilestone or mrc or cr(the empty string) or ga or finalspVersionRange that will be used to restrict this version
- * range.
+ * range.
* @return the VersionRange that is a restriction of this version range and the
- * specified version range.
- * - * The restrictions of the returned version range will be an intersection of the restrictions - * of this version range and the specified version range if both version ranges have - * restrictions. Otherwise, the restrictions on the returned range will be empty. - *
- *
- * The recommended version of the returned version range will be the recommended version of
- * this version range, provided that ranges falls within the intersected restrictions. If
- * the restrictions are empty, this version range's recommended version is used if it is not
- * null. If it is null, the specified version range's recommended
- * version is used (provided it is non-null). If no recommended version can be
- * obtained, the returned version range's recommended version is set to null.
- *
+ * The restrictions of the returned version range will be an intersection of the restrictions + * of this version range and the specified version range if both version ranges have + * restrictions. Otherwise, the restrictions on the returned range will be empty. + *
+ *
+ * The recommended version of the returned version range will be the recommended version of
+ * this version range, provided that ranges falls within the intersected restrictions. If
+ * the restrictions are empty, this version range's recommended version is used if it is not
+ * null. If it is null, the specified version range's recommended
+ * version is used (provided it is non-null). If no recommended version can be
+ * obtained, the returned version range's recommended version is set to null.
+ *
VersionRange is
- * null.
+ * null.
*/
public VersionRange restrict( VersionRange restriction )
{
diff --git a/src/main/java/cpw/mods/fml/relauncher/CoreModManager.java b/src/main/java/cpw/mods/fml/relauncher/CoreModManager.java
index 53dfc2a..35a7db8 100644
--- a/src/main/java/cpw/mods/fml/relauncher/CoreModManager.java
+++ b/src/main/java/cpw/mods/fml/relauncher/CoreModManager.java
@@ -7,7 +7,7 @@
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
- * cpw - implementation
+ * cpw - implementation
*/
package cpw.mods.fml.relauncher;
@@ -338,7 +338,7 @@
/**
* @param mcDir
- * the minecraft home directory
+ * the minecraft home directory
* @return the coremod directory
*/
private static File setupCoreModDir(File mcDir)
diff --git a/src/main/java/cpw/mods/fml/relauncher/FMLCorePlugin.java b/src/main/java/cpw/mods/fml/relauncher/FMLCorePlugin.java
index 2961bfa..1063d28 100644
--- a/src/main/java/cpw/mods/fml/relauncher/FMLCorePlugin.java
+++ b/src/main/java/cpw/mods/fml/relauncher/FMLCorePlugin.java
@@ -7,7 +7,7 @@
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
- * cpw - implementation
+ * cpw - implementation
*/
package cpw.mods.fml.relauncher;
diff --git a/src/main/java/cpw/mods/fml/relauncher/FMLInjectionData.java b/src/main/java/cpw/mods/fml/relauncher/FMLInjectionData.java
index dacaaca..31704fb 100644
--- a/src/main/java/cpw/mods/fml/relauncher/FMLInjectionData.java
+++ b/src/main/java/cpw/mods/fml/relauncher/FMLInjectionData.java
@@ -7,7 +7,7 @@
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
- * cpw - implementation
+ * cpw - implementation
*/
package cpw.mods.fml.relauncher;
diff --git a/src/main/java/cpw/mods/fml/relauncher/FMLLaunchHandler.java b/src/main/java/cpw/mods/fml/relauncher/FMLLaunchHandler.java
index 8b3ac60..e78dfb9 100644
--- a/src/main/java/cpw/mods/fml/relauncher/FMLLaunchHandler.java
+++ b/src/main/java/cpw/mods/fml/relauncher/FMLLaunchHandler.java
@@ -7,7 +7,7 @@
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
- * cpw - implementation
+ * cpw - implementation
*/
package cpw.mods.fml.relauncher;
diff --git a/src/main/java/cpw/mods/fml/relauncher/FMLRelaunchLog.java b/src/main/java/cpw/mods/fml/relauncher/FMLRelaunchLog.java
index baf1dc9..76734de 100644
--- a/src/main/java/cpw/mods/fml/relauncher/FMLRelaunchLog.java
+++ b/src/main/java/cpw/mods/fml/relauncher/FMLRelaunchLog.java
@@ -7,7 +7,7 @@
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
- * cpw - implementation
+ * cpw - implementation
*/
package cpw.mods.fml.relauncher;
diff --git a/src/main/java/cpw/mods/fml/relauncher/IFMLCallHook.java b/src/main/java/cpw/mods/fml/relauncher/IFMLCallHook.java
index 20cc0c3..4f14fc1 100644
--- a/src/main/java/cpw/mods/fml/relauncher/IFMLCallHook.java
+++ b/src/main/java/cpw/mods/fml/relauncher/IFMLCallHook.java
@@ -7,7 +7,7 @@
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
- * cpw - implementation
+ * cpw - implementation
*/
package cpw.mods.fml.relauncher;
diff --git a/src/main/java/cpw/mods/fml/relauncher/IFMLLoadingPlugin.java b/src/main/java/cpw/mods/fml/relauncher/IFMLLoadingPlugin.java
index d716900..b8935ed 100644
--- a/src/main/java/cpw/mods/fml/relauncher/IFMLLoadingPlugin.java
+++ b/src/main/java/cpw/mods/fml/relauncher/IFMLLoadingPlugin.java
@@ -7,7 +7,7 @@
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
- * cpw - implementation
+ * cpw - implementation
*/
package cpw.mods.fml.relauncher;
diff --git a/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/Checksum.java b/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/Checksum.java
index c9beb9e..f5c11ae 100644
--- a/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/Checksum.java
+++ b/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/Checksum.java
@@ -127,7 +127,7 @@
public static long incrementChecksum(long checksum, byte out, byte in, int chunkSize) {
char old_c = single_hash[out+128];
char new_c = single_hash[in+128];
- int low = ((int)((checksum) & 0xffff) - old_c + new_c) & 0xffff;
+ int low = ((int)((checksum) & 0xffff) - old_c + new_c) & 0xffff;
int high = ((int)((checksum) >> 16) - (old_c * chunkSize) + low) & 0xffff;
return (high << 16) | (low & 0xffff);
}
diff --git a/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/Delta.java b/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/Delta.java
index be43429..4d75109 100644
--- a/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/Delta.java
+++ b/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/Delta.java
@@ -24,12 +24,12 @@
* IN THE SOFTWARE.
*
* Change Log:
- * iiimmddyyn nnnnn Description
- * ---------- ----- -------------------------------------------------------
- * gls100603a Fixes from Torgeir Veimo and Dan Morrione
- * gls110603a Stream not being closed thus preventing a file from
- * being subsequently deleted.
- * gls031504a Error being written to stderr rather than throwing exception
+ * iiimmddyyn nnnnn Description
+ * ---------- ----- -------------------------------------------------------
+ * gls100603a Fixes from Torgeir Veimo and Dan Morrione
+ * gls110603a Stream not being closed thus preventing a file from
+ * being subsequently deleted.
+ * gls031504a Error being written to stderr rather than throwing exception
*/
package cpw.mods.fml.repackage.com.nothome.delta;
diff --git a/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/GDiffPatcher.java b/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/GDiffPatcher.java
index 83cf60b..5e13753 100644
--- a/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/GDiffPatcher.java
+++ b/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/GDiffPatcher.java
@@ -238,7 +238,7 @@
System.out.println("finished patching file");
- } catch (Exception ioe) { //gls031504a
+ } catch (Exception ioe) { //gls031504a
System.err.println("error while patching: " + ioe);
}
}
diff --git a/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/GDiffWriter.java b/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/GDiffWriter.java
index 4bdad16..a9105e8 100644
--- a/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/GDiffWriter.java
+++ b/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/GDiffWriter.java
@@ -87,7 +87,7 @@
public void addCopy(long offset, int length) throws IOException {
writeBuf();
- //output debug data
+ //output debug data
if (debug)
System.err.println("COPY off: " + offset + ", len: " + length);
@@ -97,8 +97,8 @@
output.writeByte(COPY_LONG_INT);
output.writeLong(offset);
output.writeInt(length);
- } else if (offset < 65536) {
- if (length < 256) {
+ } else if (offset < 65536) {
+ if (length < 256) {
output.writeByte(COPY_USHORT_UBYTE);
output.writeShort((int)offset);
output.writeByte(length);
diff --git a/src/main/java/net/minecraft/block/Block.java b/src/main/java/net/minecraft/block/Block.java
index 3fbfd8f..4b099a6 100644
--- a/src/main/java/net/minecraft/block/Block.java
+++ b/src/main/java/net/minecraft/block/Block.java
@@ -1580,7 +1580,7 @@
*/
public int getBedDirection(IBlockAccess world, int x, int y, int z)
{
- return BlockBed.getDirection(world.getBlockMetadata(x, y, z));
+ return BlockBed.getDirection(world.getBlockMetadata(x, y, z));
}
/**
@@ -1594,7 +1594,7 @@
*/
public boolean isBedFoot(IBlockAccess world, int x, int y, int z)
{
- return BlockBed.isBlockHeadOfBed(world.getBlockMetadata(x, y, z));
+ return BlockBed.isBlockHeadOfBed(world.getBlockMetadata(x, y, z));
}
/**
@@ -1655,7 +1655,7 @@
* @param x X Position
* @param y Y Position
* @param z Z Position
- * @return true if the block is wood (logs)
+ * @return true if the block is wood (logs)
*/
public boolean isWood(IBlockAccess world, int x, int y, int z)
{
@@ -1670,7 +1670,7 @@
* @param y Y Position
* @param z Z Position
* @param target The generic target block the gen is looking for, Standards define stone
- * for overworld generation, and neatherack for the nether.
+ * for overworld generation, and neatherack for the nether.
* @return True to allow this block to be replaced by a ore
*/
public boolean isReplaceableOreGen(World world, int x, int y, int z, Block target)
@@ -1718,11 +1718,11 @@
* Useful to control which sides are inputs and outputs for redstone wires.
*
* Side:
- * -1: UP
- * 0: NORTH
- * 1: EAST
- * 2: SOUTH
- * 3: WEST
+ * -1: UP
+ * 0: NORTH
+ * 1: EAST
+ * 2: SOUTH
+ * 3: WEST
*
* @param world The current world
* @param x X Position
@@ -1839,13 +1839,13 @@
/**
* Determines if this block can support the passed in plant, allowing it to be planted and grow.
* Some examples:
- * Reeds check if its a reed, or if its sand/dirt/grass and adjacent to water
- * Cacti checks if its a cacti, or if its sand
- * Nether types check for soul sand
- * Crops check for tilled soil
- * Caves check if it's a solid surface
- * Plains check if its grass or dirt
- * Water check if its still water
+ * Reeds check if its a reed, or if its sand/dirt/grass and adjacent to water
+ * Cacti checks if its a cacti, or if its sand
+ * Nether types check for soul sand
+ * Crops check for tilled soil
+ * Caves check if it's a solid surface
+ * Plains check if its grass or dirt
+ * Water check if its still water
*
* @param world The current world
* @param x X Position
@@ -1879,16 +1879,16 @@
{
case Desert: return this == Blocks.sand;
case Nether: return this == Blocks.soul_sand;
- case Crop: return this == Blocks.farmland;
- case Cave: return isSideSolid(world, x, y, z, UP);
+ case Crop: return this == Blocks.farmland;
+ case Cave: return isSideSolid(world, x, y, z, UP);
case Plains: return this == Blocks.grass || this == Blocks.dirt;
- case Water: return world.getBlock(x, y, z).getMaterial() == Material.water && world.getBlockMetadata(x, y, z) == 0;
+ case Water: return world.getBlock(x, y, z).getMaterial() == Material.water && world.getBlockMetadata(x, y, z) == 0;
case Beach:
boolean isBeach = this == Blocks.grass || this == Blocks.dirt || this == Blocks.sand;
- boolean hasWater = (world.getBlock(x - 1, y, z ).getMaterial() == Material.water ||
- world.getBlock(x + 1, y, z ).getMaterial() == Material.water ||
- world.getBlock(x, y, z - 1).getMaterial() == Material.water ||
- world.getBlock(x, y, z + 1).getMaterial() == Material.water);
+ boolean hasWater = (world.getBlock(x - 1, y, z ).getMaterial() == Material.water ||
+ world.getBlock(x + 1, y, z ).getMaterial() == Material.water ||
+ world.getBlock(x, y, z - 1).getMaterial() == Material.water ||
+ world.getBlock(x, y, z + 1).getMaterial() == Material.water);
return isBeach && hasWater;
}
@@ -2134,11 +2134,11 @@
*
* @param toolClass Class
* @param level Harvest level:
- * Wood: 0
- * Stone: 1
- * Iton: 2
- * Diamond: 3
- * Gold: 0
+ * Wood: 0
+ * Stone: 1
+ * Iton: 2
+ * Diamond: 3
+ * Gold: 0
*/
public void setHarvestLevel(String toolClass, int level)
{
@@ -2153,11 +2153,11 @@
*
* @param toolClass Class
* @param level Harvest level:
- * Wood: 0
- * Stone: 1
- * Iton: 2
- * Diamond: 3
- * Gold: 0
+ * Wood: 0
+ * Stone: 1
+ * Iton: 2
+ * Diamond: 3
+ * Gold: 0
* @param metadata The specific metadata to set
*/
public void setHarvestLevel(String toolClass, int level, int metadata)
diff --git a/src/main/java/net/minecraft/block/BlockBush.java b/src/main/java/net/minecraft/block/BlockBush.java
index c67cce7..9e925dc 100644
--- a/src/main/java/net/minecraft/block/BlockBush.java
+++ b/src/main/java/net/minecraft/block/BlockBush.java
@@ -62,7 +62,7 @@
public boolean canBlockStay(World p_149718_1_, int p_149718_2_, int p_149718_3_, int p_149718_4_)
{
- return p_149718_1_.getBlock(p_149718_2_, p_149718_3_ - 1, p_149718_4_).canSustainPlant(p_149718_1_, p_149718_2_, p_149718_3_ - 1, p_149718_4_, ForgeDirection.UP, this);
+ return p_149718_1_.getBlock(p_149718_2_, p_149718_3_ - 1, p_149718_4_).canSustainPlant(p_149718_1_, p_149718_2_, p_149718_3_ - 1, p_149718_4_, ForgeDirection.UP, this);
}
public AxisAlignedBB getCollisionBoundingBoxFromPool(World p_149668_1_, int p_149668_2_, int p_149668_3_, int p_149668_4_)
@@ -88,21 +88,21 @@
@Override
public EnumPlantType getPlantType(IBlockAccess world, int x, int y, int z)
{
- if (this == Blocks.wheat) return Crop;
- if (this == Blocks.carrots) return Crop;
- if (this == Blocks.potatoes) return Crop;
- if (this == Blocks.melon_stem) return Crop;
+ if (this == Blocks.wheat) return Crop;
+ if (this == Blocks.carrots) return Crop;
+ if (this == Blocks.potatoes) return Crop;
+ if (this == Blocks.melon_stem) return Crop;
if (this == Blocks.pumpkin_stem) return Crop;
- if (this == Blocks.deadbush) return Desert;
- if (this == Blocks.waterlily) return Water;
+ if (this == Blocks.deadbush) return Desert;
+ if (this == Blocks.waterlily) return Water;
if (this == Blocks.red_mushroom) return Cave;
if (this == Blocks.brown_mushroom) return Cave;
- if (this == Blocks.nether_wart) return Nether;
- if (this == Blocks.sapling) return Plains;
- if (this == Blocks.tallgrass) return Plains;
+ if (this == Blocks.nether_wart) return Nether;
+ if (this == Blocks.sapling) return Plains;
+ if (this == Blocks.tallgrass) return Plains;
if (this == Blocks.double_plant) return Plains;
- if (this == Blocks.red_flower) return Plains;
- if (this == Blocks.yellow_flower) return Plains;
+ if (this == Blocks.red_flower) return Plains;
+ if (this == Blocks.yellow_flower) return Plains;
return Plains;
}
diff --git a/src/main/java/net/minecraft/block/BlockButton.java b/src/main/java/net/minecraft/block/BlockButton.java
index 24ea688..1af32a3 100644
--- a/src/main/java/net/minecraft/block/BlockButton.java
+++ b/src/main/java/net/minecraft/block/BlockButton.java
@@ -55,8 +55,8 @@
ForgeDirection dir = ForgeDirection.getOrientation(p_149707_5_);
return (dir == NORTH && p_149707_1_.isSideSolid(p_149707_2_, p_149707_3_, p_149707_4_ + 1, NORTH)) ||
(dir == SOUTH && p_149707_1_.isSideSolid(p_149707_2_, p_149707_3_, p_149707_4_ - 1, SOUTH)) ||
- (dir == WEST && p_149707_1_.isSideSolid(p_149707_2_ + 1, p_149707_3_, p_149707_4_, WEST)) ||
- (dir == EAST && p_149707_1_.isSideSolid(p_149707_2_ - 1, p_149707_3_, p_149707_4_, EAST));
+ (dir == WEST && p_149707_1_.isSideSolid(p_149707_2_ + 1, p_149707_3_, p_149707_4_, WEST)) ||
+ (dir == EAST && p_149707_1_.isSideSolid(p_149707_2_ - 1, p_149707_3_, p_149707_4_, EAST));
}
public boolean canPlaceBlockAt(World p_149742_1_, int p_149742_2_, int p_149742_3_, int p_149742_4_)
diff --git a/src/main/java/net/minecraft/block/BlockFire.java b/src/main/java/net/minecraft/block/BlockFire.java
index 7b6ed96..f3a9905 100644
--- a/src/main/java/net/minecraft/block/BlockFire.java
+++ b/src/main/java/net/minecraft/block/BlockFire.java
@@ -146,7 +146,7 @@
this.tryCatchFire(p_149674_1_, p_149674_2_ + 1, p_149674_3_, p_149674_4_, 300 + b0, p_149674_5_, l, WEST );
this.tryCatchFire(p_149674_1_, p_149674_2_ - 1, p_149674_3_, p_149674_4_, 300 + b0, p_149674_5_, l, EAST );
- this.tryCatchFire(p_149674_1_, p_149674_2_, p_149674_3_ - 1, p_149674_4_, 250 + b0, p_149674_5_, l, UP );
+ this.tryCatchFire(p_149674_1_, p_149674_2_, p_149674_3_ - 1, p_149674_4_, 250 + b0, p_149674_5_, l, UP );
this.tryCatchFire(p_149674_1_, p_149674_2_, p_149674_3_ + 1, p_149674_4_, 250 + b0, p_149674_5_, l, DOWN );
this.tryCatchFire(p_149674_1_, p_149674_2_, p_149674_3_, p_149674_4_ - 1, 300 + b0, p_149674_5_, l, SOUTH);
this.tryCatchFire(p_149674_1_, p_149674_2_, p_149674_3_, p_149674_4_ + 1, 300 + b0, p_149674_5_, l, NORTH);
@@ -244,7 +244,7 @@
{
return this.canCatchFire(p_149847_1_, p_149847_2_ + 1, p_149847_3_, p_149847_4_, WEST ) ||
this.canCatchFire(p_149847_1_, p_149847_2_ - 1, p_149847_3_, p_149847_4_, EAST ) ||
- this.canCatchFire(p_149847_1_, p_149847_2_, p_149847_3_ - 1, p_149847_4_, UP ) ||
+ this.canCatchFire(p_149847_1_, p_149847_2_, p_149847_3_ - 1, p_149847_4_, UP ) ||
this.canCatchFire(p_149847_1_, p_149847_2_, p_149847_3_ + 1, p_149847_4_, DOWN ) ||
this.canCatchFire(p_149847_1_, p_149847_2_, p_149847_3_, p_149847_4_ - 1, SOUTH) ||
this.canCatchFire(p_149847_1_, p_149847_2_, p_149847_3_, p_149847_4_ + 1, NORTH);
@@ -263,7 +263,7 @@
int l = b0;
l = this.getChanceToEncourageFire(p_149845_1_, p_149845_2_ + 1, p_149845_3_, p_149845_4_, l, WEST );
l = this.getChanceToEncourageFire(p_149845_1_, p_149845_2_ - 1, p_149845_3_, p_149845_4_, l, EAST );
- l = this.getChanceToEncourageFire(p_149845_1_, p_149845_2_, p_149845_3_ - 1, p_149845_4_, l, UP );
+ l = this.getChanceToEncourageFire(p_149845_1_, p_149845_2_, p_149845_3_ - 1, p_149845_4_, l, UP );
l = this.getChanceToEncourageFire(p_149845_1_, p_149845_2_, p_149845_3_ + 1, p_149845_4_, l, DOWN );
l = this.getChanceToEncourageFire(p_149845_1_, p_149845_2_, p_149845_3_, p_149845_4_ - 1, l, SOUTH);
l = this.getChanceToEncourageFire(p_149845_1_, p_149845_2_, p_149845_3_, p_149845_4_ + 1, l, NORTH);
diff --git a/src/main/java/net/minecraft/block/BlockLever.java b/src/main/java/net/minecraft/block/BlockLever.java
index 39dc6c9..b610111 100644
--- a/src/main/java/net/minecraft/block/BlockLever.java
+++ b/src/main/java/net/minecraft/block/BlockLever.java
@@ -46,12 +46,12 @@
public boolean canPlaceBlockOnSide(World p_149707_1_, int p_149707_2_, int p_149707_3_, int p_149707_4_, int p_149707_5_)
{
ForgeDirection dir = ForgeDirection.getOrientation(p_149707_5_);
- return (dir == DOWN && p_149707_1_.isSideSolid(p_149707_2_, p_149707_3_ + 1, p_149707_4_, DOWN )) ||
- (dir == UP && p_149707_1_.isSideSolid(p_149707_2_, p_149707_3_ - 1, p_149707_4_, UP )) ||
+ return (dir == DOWN && p_149707_1_.isSideSolid(p_149707_2_, p_149707_3_ + 1, p_149707_4_, DOWN )) ||
+ (dir == UP && p_149707_1_.isSideSolid(p_149707_2_, p_149707_3_ - 1, p_149707_4_, UP )) ||
(dir == NORTH && p_149707_1_.isSideSolid(p_149707_2_, p_149707_3_, p_149707_4_ + 1, NORTH)) ||
(dir == SOUTH && p_149707_1_.isSideSolid(p_149707_2_, p_149707_3_, p_149707_4_ - 1, SOUTH)) ||
- (dir == WEST && p_149707_1_.isSideSolid(p_149707_2_ + 1, p_149707_3_, p_149707_4_, WEST )) ||
- (dir == EAST && p_149707_1_.isSideSolid(p_149707_2_ - 1, p_149707_3_, p_149707_4_, EAST ));
+ (dir == WEST && p_149707_1_.isSideSolid(p_149707_2_ + 1, p_149707_3_, p_149707_4_, WEST )) ||
+ (dir == EAST && p_149707_1_.isSideSolid(p_149707_2_ - 1, p_149707_3_, p_149707_4_, EAST ));
}
public boolean canPlaceBlockAt(World p_149742_1_, int p_149742_2_, int p_149742_3_, int p_149742_4_)
diff --git a/src/main/java/net/minecraft/block/BlockPumpkin.java b/src/main/java/net/minecraft/block/BlockPumpkin.java
index 2e13cfc..66a9073 100644
--- a/src/main/java/net/minecraft/block/BlockPumpkin.java
+++ b/src/main/java/net/minecraft/block/BlockPumpkin.java
@@ -113,7 +113,7 @@
public boolean canPlaceBlockAt(World p_149742_1_, int p_149742_2_, int p_149742_3_, int p_149742_4_)
{
- return p_149742_1_.getBlock(p_149742_2_, p_149742_3_, p_149742_4_).isReplaceable(p_149742_1_, p_149742_2_, p_149742_3_, p_149742_4_) && World.doesBlockHaveSolidTopSurface(p_149742_1_, p_149742_2_, p_149742_3_ - 1, p_149742_4_);
+ return p_149742_1_.getBlock(p_149742_2_, p_149742_3_, p_149742_4_).isReplaceable(p_149742_1_, p_149742_2_, p_149742_3_, p_149742_4_) && World.doesBlockHaveSolidTopSurface(p_149742_1_, p_149742_2_, p_149742_3_ - 1, p_149742_4_);
}
public void onBlockPlacedBy(World p_149689_1_, int p_149689_2_, int p_149689_3_, int p_149689_4_, EntityLivingBase p_149689_5_, ItemStack p_149689_6_)
diff --git a/src/main/java/net/minecraft/block/BlockRailBase.java b/src/main/java/net/minecraft/block/BlockRailBase.java
index 60812f3..801d933 100644
--- a/src/main/java/net/minecraft/block/BlockRailBase.java
+++ b/src/main/java/net/minecraft/block/BlockRailBase.java
@@ -283,7 +283,7 @@
*/
public void onMinecartPass(World world, EntityMinecart cart, int y, int x, int z)
{
- }
+ }
/**
* Forge: Moved render type to a field and a setter.
diff --git a/src/main/java/net/minecraft/block/BlockRedstoneComparator.java b/src/main/java/net/minecraft/block/BlockRedstoneComparator.java
index 71fb187..a8ba519 100644
--- a/src/main/java/net/minecraft/block/BlockRedstoneComparator.java
+++ b/src/main/java/net/minecraft/block/BlockRedstoneComparator.java
@@ -235,7 +235,7 @@
if (y == tileY && world instanceof World)
{
onNeighborBlockChange((World)world, x, y, z, world.getBlock(tileX, tileY, tileZ));
- }
+ }
}
@Override
diff --git a/src/main/java/net/minecraft/block/BlockTorch.java b/src/main/java/net/minecraft/block/BlockTorch.java
index d1d76d1..2616719 100644
--- a/src/main/java/net/minecraft/block/BlockTorch.java
+++ b/src/main/java/net/minecraft/block/BlockTorch.java
@@ -58,8 +58,8 @@
public boolean canPlaceBlockAt(World p_149742_1_, int p_149742_2_, int p_149742_3_, int p_149742_4_)
{
- return p_149742_1_.isSideSolid(p_149742_2_ - 1, p_149742_3_, p_149742_4_, EAST, true) ||
- p_149742_1_.isSideSolid(p_149742_2_ + 1, p_149742_3_, p_149742_4_, WEST, true) ||
+ return p_149742_1_.isSideSolid(p_149742_2_ - 1, p_149742_3_, p_149742_4_, EAST, true) ||
+ p_149742_1_.isSideSolid(p_149742_2_ + 1, p_149742_3_, p_149742_4_, WEST, true) ||
p_149742_1_.isSideSolid(p_149742_2_, p_149742_3_, p_149742_4_ - 1, SOUTH, true) ||
p_149742_1_.isSideSolid(p_149742_2_, p_149742_3_, p_149742_4_ + 1, NORTH, true) ||
func_150107_m(p_149742_1_, p_149742_2_, p_149742_3_ - 1, p_149742_4_);
diff --git a/src/main/java/net/minecraft/block/BlockTripWireHook.java b/src/main/java/net/minecraft/block/BlockTripWireHook.java
index e3e3285..09b3460 100644
--- a/src/main/java/net/minecraft/block/BlockTripWireHook.java
+++ b/src/main/java/net/minecraft/block/BlockTripWireHook.java
@@ -53,8 +53,8 @@
ForgeDirection dir = ForgeDirection.getOrientation(p_149707_5_);
return (dir == NORTH && p_149707_1_.isSideSolid(p_149707_2_, p_149707_3_, p_149707_4_ + 1, NORTH)) ||
(dir == SOUTH && p_149707_1_.isSideSolid(p_149707_2_, p_149707_3_, p_149707_4_ - 1, SOUTH)) ||
- (dir == WEST && p_149707_1_.isSideSolid(p_149707_2_ + 1, p_149707_3_, p_149707_4_, WEST )) ||
- (dir == EAST && p_149707_1_.isSideSolid(p_149707_2_ - 1, p_149707_3_, p_149707_4_, EAST ));
+ (dir == WEST && p_149707_1_.isSideSolid(p_149707_2_ + 1, p_149707_3_, p_149707_4_, WEST )) ||
+ (dir == EAST && p_149707_1_.isSideSolid(p_149707_2_ - 1, p_149707_3_, p_149707_4_, EAST ));
}
public boolean canPlaceBlockAt(World p_149742_1_, int p_149742_2_, int p_149742_3_, int p_149742_4_)
diff --git a/src/main/java/net/minecraft/client/gui/GuiScreen.java b/src/main/java/net/minecraft/client/gui/GuiScreen.java
index 8c25b36..8e095a7 100644
--- a/src/main/java/net/minecraft/client/gui/GuiScreen.java
+++ b/src/main/java/net/minecraft/client/gui/GuiScreen.java
@@ -123,7 +123,7 @@
protected void func_146283_a(List p_146283_1_, int p_146283_2_, int p_146283_3_)
{
- drawHoveringText(p_146283_1_, p_146283_2_, p_146283_3_, fontRendererObj);
+ drawHoveringText(p_146283_1_, p_146283_2_, p_146283_3_, fontRendererObj);
}
protected void drawHoveringText(List p_146283_1_, int p_146283_2_, int p_146283_3_, FontRenderer font)
diff --git a/src/main/java/net/minecraft/client/gui/GuiWinGame.java b/src/main/java/net/minecraft/client/gui/GuiWinGame.java
index da4d9e2..d5d9b0b 100644
--- a/src/main/java/net/minecraft/client/gui/GuiWinGame.java
+++ b/src/main/java/net/minecraft/client/gui/GuiWinGame.java
@@ -99,7 +99,7 @@
while ((s = bufferedreader.readLine()) != null)
{
s = s.replaceAll("PLAYERNAME", this.mc.getSession().getUsername());
- s = s.replaceAll("\t", " ");
+ s = s.replaceAll("\t", " ");
this.field_146582_i.addAll(this.mc.fontRenderer.listFormattedStringToWidth(s, short1));
this.field_146582_i.add("");
}
diff --git a/src/main/java/net/minecraft/client/gui/inventory/GuiContainerCreative.java b/src/main/java/net/minecraft/client/gui/inventory/GuiContainerCreative.java
index 3c0355c..3cc4ec6 100644
--- a/src/main/java/net/minecraft/client/gui/inventory/GuiContainerCreative.java
+++ b/src/main/java/net/minecraft/client/gui/inventory/GuiContainerCreative.java
@@ -265,7 +265,7 @@
int tabCount = CreativeTabs.creativeTabArray.length;
if (tabCount > 12)
{
- buttonList.add(new GuiButton(101, guiLeft, guiTop - 50, 20, 20, "<"));
+ buttonList.add(new GuiButton(101, guiLeft, guiTop - 50, 20, 20, "<"));
buttonList.add(new GuiButton(102, guiLeft + xSize - 20, guiTop - 50, 20, 20, ">"));
maxPages = ((tabCount - 12) / 10) + 1;
}
diff --git a/src/main/java/net/minecraft/client/renderer/texture/TextureMap.java b/src/main/java/net/minecraft/client/renderer/texture/TextureMap.java
index e391cba..102c830 100644
--- a/src/main/java/net/minecraft/client/renderer/texture/TextureMap.java
+++ b/src/main/java/net/minecraft/client/renderer/texture/TextureMap.java
@@ -420,7 +420,7 @@
}
//===================================================================================================
- // Forge Start
+ // Forge Start
//===================================================================================================
/**
* Grabs the registered entry for the specified name, returning null if there was not a entry.
diff --git a/src/main/java/net/minecraft/entity/Entity.java b/src/main/java/net/minecraft/entity/Entity.java
index a9a47f6..e5268ab 100644
--- a/src/main/java/net/minecraft/entity/Entity.java
+++ b/src/main/java/net/minecraft/entity/Entity.java
@@ -2243,18 +2243,18 @@
* Register the instance of IExtendedProperties into the entity's collection.
* @param identifier The identifier which you can use to retrieve these properties for the entity.
* @param properties The instanceof IExtendedProperties to register
- * @return The identifier that was used to register the extended properties. Empty String indicates an error. If your requested key already existed, this will return a modified one that is unique.
+ * @return The identifier that was used to register the extended properties. Empty String indicates an error. If your requested key already existed, this will return a modified one that is unique.
*/
public String registerExtendedProperties(String identifier, IExtendedEntityProperties properties)
{
if (identifier == null)
{
- FMLLog.warning("Someone is attempting to register extended properties using a null identifier. This is not allowed. Aborting. This may have caused instability.");
+ FMLLog.warning("Someone is attempting to register extended properties using a null identifier. This is not allowed. Aborting. This may have caused instability.");
return "";
}
if (properties == null)
{
- FMLLog.warning("Someone is attempting to register null extended properties. This is not allowed. Aborting. This may have caused instability.");
+ FMLLog.warning("Someone is attempting to register null extended properties. This is not allowed. Aborting. This may have caused instability.");
return "";
}
@@ -2267,7 +2267,7 @@
if (baseIdentifier != identifier)
{
- FMLLog.info("An attempt was made to register exended properties using an existing key. The duplicate identifier (%s) has been remapped to %s.", baseIdentifier, identifier);
+ FMLLog.info("An attempt was made to register exended properties using an existing key. The duplicate identifier (%s) has been remapped to %s.", baseIdentifier, identifier);
}
this.extendedProperties.put(identifier, properties);
diff --git a/src/main/java/net/minecraft/entity/item/EntityItem.java b/src/main/java/net/minecraft/entity/item/EntityItem.java
index 2fd1d04..284be21 100644
--- a/src/main/java/net/minecraft/entity/item/EntityItem.java
+++ b/src/main/java/net/minecraft/entity/item/EntityItem.java
@@ -34,7 +34,7 @@
private static final String __OBFID = "CL_00001669";
/**
- * The maximum age of this EntityItem. The item is expired once this is reached.
+ * The maximum age of this EntityItem. The item is expired once this is reached.
*/
public int lifespan = 6000;
@@ -54,7 +54,7 @@
public EntityItem(World par1World, double par2, double par4, double par6, ItemStack par8ItemStack)
{
- this(par1World, par2, par4, par6);
+ this(par1World, par2, par4, par6);
this.setEntityItemStack(par8ItemStack);
this.lifespan = (par8ItemStack.getItem() == null ? 6000 : par8ItemStack.getItem().getEntityLifespan(par8ItemStack, par1World));
}
@@ -149,7 +149,7 @@
if (!this.worldObj.isRemote && this.age >= lifespan)
{
if (item != null)
- {
+ {
ItemExpireEvent event = new ItemExpireEvent(this, (item.getItem() == null ? 6000 : item.getItem().getEntityLifespan(item, worldObj)));
if (MinecraftForge.EVENT_BUS.post(event))
{
diff --git a/src/main/java/net/minecraft/entity/item/EntityMinecart.java b/src/main/java/net/minecraft/entity/item/EntityMinecart.java
index 5e79d72..680569f 100644
--- a/src/main/java/net/minecraft/entity/item/EntityMinecart.java
+++ b/src/main/java/net/minecraft/entity/item/EntityMinecart.java
@@ -866,7 +866,7 @@
{
if (par1Entity != this.riddenByEntity)
{
- if (par1Entity instanceof EntityLivingBase && !(par1Entity instanceof EntityPlayer) && !(par1Entity instanceof EntityIronGolem) && canBeRidden() && this.motionX * this.motionX + this.motionZ * this.motionZ > 0.01D && this.riddenByEntity == null && par1Entity.ridingEntity == null)
+ if (par1Entity instanceof EntityLivingBase && !(par1Entity instanceof EntityPlayer) && !(par1Entity instanceof EntityIronGolem) && canBeRidden() && this.motionX * this.motionX + this.motionZ * this.motionZ > 0.01D && this.riddenByEntity == null && par1Entity.ridingEntity == null)
{
par1Entity.mountEntity(this);
}
diff --git a/src/main/java/net/minecraft/inventory/ContainerEnchantment.java b/src/main/java/net/minecraft/inventory/ContainerEnchantment.java
index c1061c3..b5c4f86 100644
--- a/src/main/java/net/minecraft/inventory/ContainerEnchantment.java
+++ b/src/main/java/net/minecraft/inventory/ContainerEnchantment.java
@@ -125,15 +125,15 @@
{
if ((j != 0 || k != 0) && this.worldPointer.isAirBlock(this.posX + k, this.posY, this.posZ + j) && this.worldPointer.isAirBlock(this.posX + k, this.posY + 1, this.posZ + j))
{
- power += ForgeHooks.getEnchantPower(worldPointer, posX + k * 2, posY, posZ + j * 2);
+ power += ForgeHooks.getEnchantPower(worldPointer, posX + k * 2, posY, posZ + j * 2);
power += ForgeHooks.getEnchantPower(worldPointer, posX + k * 2, posY + 1, posZ + j * 2);
if (k != 0 && j != 0)
{
- power += ForgeHooks.getEnchantPower(worldPointer, posX + k * 2, posY, posZ + j );
- power += ForgeHooks.getEnchantPower(worldPointer, posX + k * 2, posY + 1, posZ + j );
- power += ForgeHooks.getEnchantPower(worldPointer, posX + k, posY, posZ + j * 2);
- power += ForgeHooks.getEnchantPower(worldPointer, posX + k, posY + 1, posZ + j * 2);
+ power += ForgeHooks.getEnchantPower(worldPointer, posX + k * 2, posY, posZ + j );
+ power += ForgeHooks.getEnchantPower(worldPointer, posX + k * 2, posY + 1, posZ + j );
+ power += ForgeHooks.getEnchantPower(worldPointer, posX + k, posY, posZ + j * 2);
+ power += ForgeHooks.getEnchantPower(worldPointer, posX + k, posY + 1, posZ + j * 2);
}
}
}
diff --git a/src/main/java/net/minecraft/item/Item.java b/src/main/java/net/minecraft/item/Item.java
index 3b51fca..f7b0399 100644
--- a/src/main/java/net/minecraft/item/Item.java
+++ b/src/main/java/net/minecraft/item/Item.java
@@ -816,7 +816,7 @@
}
/**
- * Called before a block is broken. Return true to prevent default block harvesting.
+ * Called before a block is broken. Return true to prevent default block harvesting.
*
* Note: In SMP, this is called on both client and server sides!
*
@@ -1119,11 +1119,11 @@
/**
* Override this method to have an item handle its own armor rendering.
*
- * @param entityLiving The entity wearing the armor
+ * @param entityLiving The entity wearing the armor
* @param itemStack The itemStack to render the model of
* @param armorSlot 0=head, 1=torso, 2=legs, 3=feet
*
- * @return A ModelBiped to render instead of the default
+ * @return A ModelBiped to render instead of the default
*/
@SideOnly(Side.CLIENT)
public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, int armorSlot)
@@ -1133,7 +1133,7 @@
/**
* Called when a entity tries to play the 'swing' animation.
- *
+ *
* @param entityLiving The entity swinging the item.
* @param stack The Item stack
* @return True to cancel any further processing by EntityLiving
@@ -1146,7 +1146,7 @@
/**
* Called when the client starts rendering the HUD, for whatever item the player currently has as a helmet.
* This is where pumpkins would render there overlay.
- *
+ *
* @param stack The ItemStack that is equipped
* @param player Reference to the current client entity
* @param resolution Resolution information about the current viewport and configured GUI Scale
@@ -1274,11 +1274,11 @@
*
* @param toolClass Class
* @param level Harvest level:
- * Wood: 0
- * Stone: 1
- * Iron: 2
- * Diamond: 3
- * Gold: 0
+ * Wood: 0
+ * Stone: 1
+ * Iron: 2
+ * Diamond: 3
+ * Gold: 0
*/
public void setHarvestLevel(String toolClass, int level)
{
@@ -1306,7 +1306,7 @@
Integer ret = toolClasses.get(toolClass);
return ret == null ? -1 : ret;
}
- /* ======================================== FORGE END =====================================*/
+ /* ======================================== FORGE END =====================================*/
public static enum ToolMaterial
{
@@ -1364,12 +1364,12 @@
{
switch (this)
{
- case WOOD: return Item.getItemFromBlock(Blocks.planks);
- case STONE: return Item.getItemFromBlock(Blocks.cobblestone);
- case GOLD: return Items.gold_ingot;
- case IRON: return Items.iron_ingot;
+ case WOOD: return Item.getItemFromBlock(Blocks.planks);
+ case STONE: return Item.getItemFromBlock(Blocks.cobblestone);
+ case GOLD: return Items.gold_ingot;
+ case IRON: return Items.iron_ingot;
case EMERALD: return Items.diamond;
- default: return customCraftingMaterial;
+ default: return customCraftingMaterial;
}
}
}
diff --git a/src/main/java/net/minecraft/item/ItemArmor.java b/src/main/java/net/minecraft/item/ItemArmor.java
index fea1f33..93657d3 100644
--- a/src/main/java/net/minecraft/item/ItemArmor.java
+++ b/src/main/java/net/minecraft/item/ItemArmor.java
@@ -288,12 +288,12 @@
{
switch (this)
{
- case CLOTH: return Items.leather;
- case CHAIN: return Items.iron_ingot;
- case GOLD: return Items.gold_ingot;
- case IRON: return Items.iron_ingot;
+ case CLOTH: return Items.leather;
+ case CHAIN: return Items.iron_ingot;
+ case GOLD: return Items.gold_ingot;
+ case IRON: return Items.iron_ingot;
case DIAMOND: return Items.diamond;
- default: return customCraftingMaterial;
+ default: return customCraftingMaterial;
}
}
}
diff --git a/src/main/java/net/minecraft/item/ItemFirework.java b/src/main/java/net/minecraft/item/ItemFirework.java
index 20c1ed7..0f174da 100644
--- a/src/main/java/net/minecraft/item/ItemFirework.java
+++ b/src/main/java/net/minecraft/item/ItemFirework.java
@@ -63,7 +63,7 @@
{
for (int j = 1; j < arraylist.size(); ++j)
{
- arraylist.set(j, " " + (String)arraylist.get(j));
+ arraylist.set(j, " " + (String)arraylist.get(j));
}
par3List.addAll(arraylist);
diff --git a/src/main/java/net/minecraft/item/crafting/CraftingManager.java b/src/main/java/net/minecraft/item/crafting/CraftingManager.java
index 075a878..3d8fcc7 100644
--- a/src/main/java/net/minecraft/item/crafting/CraftingManager.java
+++ b/src/main/java/net/minecraft/item/crafting/CraftingManager.java
@@ -47,7 +47,7 @@
this.addRecipe(new ItemStack(Blocks.nether_brick_fence, 6), new Object[] {"###", "###", '#', Blocks.nether_brick});
this.addRecipe(new ItemStack(Blocks.fence_gate, 1), new Object[] {"#W#", "#W#", '#', Items.stick, 'W', Blocks.planks});
this.addRecipe(new ItemStack(Blocks.jukebox, 1), new Object[] {"###", "#X#", "###", '#', Blocks.planks, 'X', Items.diamond});
- this.addRecipe(new ItemStack(Items.lead, 2), new Object[] {"~~ ", "~O ", " ~", '~', Items.string, 'O', Items.slime_ball});
+ this.addRecipe(new ItemStack(Items.lead, 2), new Object[] {"~~ ", "~O ", " ~", '~', Items.string, 'O', Items.slime_ball});
this.addRecipe(new ItemStack(Blocks.noteblock, 1), new Object[] {"###", "#X#", "###", '#', Blocks.planks, 'X', Items.redstone});
this.addRecipe(new ItemStack(Blocks.bookshelf, 1), new Object[] {"###", "XXX", "###", '#', Blocks.planks, 'X', Items.book});
this.addRecipe(new ItemStack(Blocks.snow, 1), new Object[] {"##", "##", '#', Items.snowball});
@@ -107,19 +107,19 @@
this.addShapelessRecipe(new ItemStack(Items.flint_and_steel, 1), new Object[] {new ItemStack(Items.iron_ingot, 1), new ItemStack(Items.flint, 1)});
this.addRecipe(new ItemStack(Items.bread, 1), new Object[] {"###", '#', Items.wheat});
this.addRecipe(new ItemStack(Blocks.oak_stairs, 4), new Object[] {"# ", "## ", "###", '#', new ItemStack(Blocks.planks, 1, 0)});
- this.addRecipe(new ItemStack(Blocks.birch_stairs, 4), new Object[] {"# ", "## ", "###", '#', new ItemStack(Blocks.planks, 1, 2)});
- this.addRecipe(new ItemStack(Blocks.spruce_stairs, 4), new Object[] {"# ", "## ", "###", '#', new ItemStack(Blocks.planks, 1, 1)});
- this.addRecipe(new ItemStack(Blocks.jungle_stairs, 4), new Object[] {"# ", "## ", "###", '#', new ItemStack(Blocks.planks, 1, 3)});
- this.addRecipe(new ItemStack(Blocks.acacia_stairs, 4), new Object[] {"# ", "## ", "###", '#', new ItemStack(Blocks.planks, 1, 4)});
+ this.addRecipe(new ItemStack(Blocks.birch_stairs, 4), new Object[] {"# ", "## ", "###", '#', new ItemStack(Blocks.planks, 1, 2)});
+ this.addRecipe(new ItemStack(Blocks.spruce_stairs, 4), new Object[] {"# ", "## ", "###", '#', new ItemStack(Blocks.planks, 1, 1)});
+ this.addRecipe(new ItemStack(Blocks.jungle_stairs, 4), new Object[] {"# ", "## ", "###", '#', new ItemStack(Blocks.planks, 1, 3)});
+ this.addRecipe(new ItemStack(Blocks.acacia_stairs, 4), new Object[] {"# ", "## ", "###", '#', new ItemStack(Blocks.planks, 1, 4)});
this.addRecipe(new ItemStack(Blocks.dark_oak_stairs, 4), new Object[] {"# ", "## ", "###", '#', new ItemStack(Blocks.planks, 1, 5)});
- this.addRecipe(new ItemStack(Items.fishing_rod, 1), new Object[] {" #", " #X", "# X", '#', Items.stick, 'X', Items.string});
+ this.addRecipe(new ItemStack(Items.fishing_rod, 1), new Object[] {" #", " #X", "# X", '#', Items.stick, 'X', Items.string});
this.addRecipe(new ItemStack(Items.carrot_on_a_stick, 1), new Object[] {"# ", " X", '#', Items.fishing_rod, 'X', Items.carrot}).func_92100_c();
- this.addRecipe(new ItemStack(Blocks.stone_stairs, 4), new Object[] {"# ", "## ", "###", '#', Blocks.cobblestone});
- this.addRecipe(new ItemStack(Blocks.brick_stairs, 4), new Object[] {"# ", "## ", "###", '#', Blocks.brick_block});
+ this.addRecipe(new ItemStack(Blocks.stone_stairs, 4), new Object[] {"# ", "## ", "###", '#', Blocks.cobblestone});
+ this.addRecipe(new ItemStack(Blocks.brick_stairs, 4), new Object[] {"# ", "## ", "###", '#', Blocks.brick_block});
this.addRecipe(new ItemStack(Blocks.stone_brick_stairs, 4), new Object[] {"# ", "## ", "###", '#', Blocks.stonebrick});
this.addRecipe(new ItemStack(Blocks.nether_brick_stairs, 4), new Object[] {"# ", "## ", "###", '#', Blocks.nether_brick});
- this.addRecipe(new ItemStack(Blocks.sandstone_stairs, 4), new Object[] {"# ", "## ", "###", '#', Blocks.sandstone});
- this.addRecipe(new ItemStack(Blocks.quartz_stairs, 4), new Object[] {"# ", "## ", "###", '#', Blocks.quartz_block});
+ this.addRecipe(new ItemStack(Blocks.sandstone_stairs, 4), new Object[] {"# ", "## ", "###", '#', Blocks.sandstone});
+ this.addRecipe(new ItemStack(Blocks.quartz_stairs, 4), new Object[] {"# ", "## ", "###", '#', Blocks.quartz_block});
this.addRecipe(new ItemStack(Items.painting, 1), new Object[] {"###", "#X#", "###", '#', Items.stick, 'X', Blocks.wool});
this.addRecipe(new ItemStack(Items.item_frame, 1), new Object[] {"###", "#X#", "###", '#', Items.stick, 'X', Items.leather});
this.addRecipe(new ItemStack(Items.golden_apple, 1, 0), new Object[] {"###", "#X#", "###", '#', Items.gold_ingot, 'X', Items.apple});
diff --git a/src/main/java/net/minecraft/network/NetworkManager.java b/src/main/java/net/minecraft/network/NetworkManager.java
index d79c55f..19f22a5 100644
--- a/src/main/java/net/minecraft/network/NetworkManager.java
+++ b/src/main/java/net/minecraft/network/NetworkManager.java
@@ -151,7 +151,7 @@
private static final String __OBFID = "CL_00001241";
public void run()
{
- if (enumconnectionstate != enumconnectionstate1 && !( p_150732_1_ instanceof FMLProxyPacket))
+ if (enumconnectionstate != enumconnectionstate1 && !( p_150732_1_ instanceof FMLProxyPacket))
{
NetworkManager.this.setConnectionState(enumconnectionstate);
}
diff --git a/src/main/java/net/minecraft/network/PingResponseHandler.java b/src/main/java/net/minecraft/network/PingResponseHandler.java
index de5220a..ff1ab04 100644
--- a/src/main/java/net/minecraft/network/PingResponseHandler.java
+++ b/src/main/java/net/minecraft/network/PingResponseHandler.java
@@ -30,13 +30,8 @@
try
{
- try
+ if (bytebuf.readUnsignedByte() == 254)
{
- if (bytebuf.readUnsignedByte() != 254)
- {
- return;
- }
-
InetSocketAddress inetsocketaddress = (InetSocketAddress)p_channelRead_1_.channel().remoteAddress();
MinecraftServer minecraftserver = this.field_151257_b.func_151267_d();
int i = bytebuf.readableBytes();
@@ -81,11 +76,12 @@
bytebuf.release();
flag = false;
+ return;
}
- catch (RuntimeException runtimeexception)
- {
- ;
- }
+ }
+ catch (RuntimeException runtimeexception)
+ {
+ return;
}
finally
{
diff --git a/src/main/java/net/minecraft/src/FMLRenderAccessLibrary.java b/src/main/java/net/minecraft/src/FMLRenderAccessLibrary.java
index 6e6c96c..529b7c5 100644
--- a/src/main/java/net/minecraft/src/FMLRenderAccessLibrary.java
+++ b/src/main/java/net/minecraft/src/FMLRenderAccessLibrary.java
@@ -7,7 +7,7 @@
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
- * cpw - implementation
+ * cpw - implementation
*/
package net.minecraft.src;
@@ -65,8 +65,8 @@
return RenderingRegistry.instance().renderItemAsFull3DBlock(modelId);
}
-// public static void doTextureCopy(Texture atlas, Texture source, int targetX, int targetY)
-// {
-// TextureFXManager.instance().getHelper().doTextureCopy(atlas, source, targetX, targetY);
-// }
+// public static void doTextureCopy(Texture atlas, Texture source, int targetX, int targetY)
+// {
+// TextureFXManager.instance().getHelper().doTextureCopy(atlas, source, targetX, targetY);
+// }
}
\ No newline at end of file
diff --git a/src/main/java/net/minecraft/world/World.java b/src/main/java/net/minecraft/world/World.java
index 13400e8..37c9acd 100644
--- a/src/main/java/net/minecraft/world/World.java
+++ b/src/main/java/net/minecraft/world/World.java
@@ -3357,7 +3357,7 @@
public int getIndirectPowerLevelTo(int par1, int par2, int par3, int par4)
{
- Block block = this.getBlock(par1, par2, par3);
+ Block block = this.getBlock(par1, par2, par3);
return block.shouldCheckWeakPower(this, par1, par2, par3, par4) ? this.getBlockPowerInput(par1, par2, par3) : block.isProvidingWeakPower(this, par1, par2, par3, par4);
}
@@ -3866,7 +3866,7 @@
/**
* Determine if the given block is considered solid on the
- * specified side. Used by placement logic.
+ * specified side. Used by placement logic.
*
* @param x Block X Position
* @param y Block Y Position
@@ -3881,7 +3881,7 @@
/**
* Determine if the given block is considered solid on the
- * specified side. Used by placement logic.
+ * specified side. Used by placement logic.
*
* @param x Block X Position
* @param y Block Y Position
diff --git a/src/main/java/net/minecraft/world/WorldType.java b/src/main/java/net/minecraft/world/WorldType.java
index f4794d5..7af3256 100644
--- a/src/main/java/net/minecraft/world/WorldType.java
+++ b/src/main/java/net/minecraft/world/WorldType.java
@@ -169,7 +169,7 @@
return this == FLAT ? 1.0D : 0.03125D;
}
-/* public BiomeGenBase[] getBiomesForWorldType() {
+/* public BiomeGenBase[] getBiomesForWorldType() {
return biomesForWorldType;
}
diff --git a/src/main/java/net/minecraft/world/biome/BiomeGenBase.java b/src/main/java/net/minecraft/world/biome/BiomeGenBase.java
index f5a7d57..a264ca5 100644
--- a/src/main/java/net/minecraft/world/biome/BiomeGenBase.java
+++ b/src/main/java/net/minecraft/world/biome/BiomeGenBase.java
@@ -550,14 +550,14 @@
public void addDefaultFlowers()
{
this.flowers.add(new FlowerEntry(Blocks.yellow_flower, 0, 20));
- this.flowers.add(new FlowerEntry(Blocks.red_flower, 0, 10));
+ this.flowers.add(new FlowerEntry(Blocks.red_flower, 0, 10));
}
/** Register a new plant to be planted when bonemeal is used on grass.
* @param block The block to place.
* @param metadata The metadata to set for the block when being placed.
* @param weight The weight of the plant, where red flowers are
- * 10 and yellow flowers are 20.
+ * 10 and yellow flowers are 20.
*/
public void addFlower(Block block, int metadata, int weight)
{
diff --git a/src/main/java/net/minecraft/world/biome/BiomeGenPlains.java b/src/main/java/net/minecraft/world/biome/BiomeGenPlains.java
index 81769f2..915db30 100644
--- a/src/main/java/net/minecraft/world/biome/BiomeGenPlains.java
+++ b/src/main/java/net/minecraft/world/biome/BiomeGenPlains.java
@@ -21,13 +21,13 @@
this.theBiomeDecorator.flowersPerChunk = 4;
this.theBiomeDecorator.grassPerChunk = 10;
this.flowers.clear();
- this.addFlower(Blocks.red_flower, 4, 3);
- this.addFlower(Blocks.red_flower, 5, 3);
- this.addFlower(Blocks.red_flower, 6, 3);
- this.addFlower(Blocks.red_flower, 7, 3);
- this.addFlower(Blocks.red_flower, 0, 20);
- this.addFlower(Blocks.red_flower, 3, 20);
- this.addFlower(Blocks.red_flower, 8, 20);
+ this.addFlower(Blocks.red_flower, 4, 3);
+ this.addFlower(Blocks.red_flower, 5, 3);
+ this.addFlower(Blocks.red_flower, 6, 3);
+ this.addFlower(Blocks.red_flower, 7, 3);
+ this.addFlower(Blocks.red_flower, 0, 20);
+ this.addFlower(Blocks.red_flower, 3, 20);
+ this.addFlower(Blocks.red_flower, 8, 20);
this.addFlower(Blocks.yellow_flower, 0, 30);
}
diff --git a/src/main/java/net/minecraft/world/gen/ChunkProviderGenerate.java b/src/main/java/net/minecraft/world/gen/ChunkProviderGenerate.java
index 56b67e4..a0da5c0 100644
--- a/src/main/java/net/minecraft/world/gen/ChunkProviderGenerate.java
+++ b/src/main/java/net/minecraft/world/gen/ChunkProviderGenerate.java
@@ -65,7 +65,7 @@
mineshaftGenerator = (MapGenMineshaft) TerrainGen.getModdedMapGen(mineshaftGenerator, MINESHAFT);
scatteredFeatureGenerator = (MapGenScatteredFeature) TerrainGen.getModdedMapGen(scatteredFeatureGenerator, SCATTERED_FEATURE);
ravineGenerator = TerrainGen.getModdedMapGen(ravineGenerator, RAVINE);
- }
+ }
public ChunkProviderGenerate(World par1World, long par2, boolean par4)
{
diff --git a/src/main/java/net/minecraft/world/gen/MapGenCaves.java b/src/main/java/net/minecraft/world/gen/MapGenCaves.java
index c8a7bd1..e85ba04 100644
--- a/src/main/java/net/minecraft/world/gen/MapGenCaves.java
+++ b/src/main/java/net/minecraft/world/gen/MapGenCaves.java
@@ -277,9 +277,9 @@
protected void digBlock(Block[] data, int index, int x, int y, int z, int chunkX, int chunkZ, boolean foundTop)
{
BiomeGenBase biome = worldObj.getBiomeGenForCoords(x + chunkX * 16, z + chunkZ * 16);
- Block top = (isExceptionBiome(biome) ? Blocks.grass : biome.topBlock);
+ Block top = (isExceptionBiome(biome) ? Blocks.grass : biome.topBlock);
Block filler = (isExceptionBiome(biome) ? Blocks.dirt : biome.fillerBlock);
- Block block = data[index];
+ Block block = data[index];
if (block == Blocks.stone || block == filler || block == top)
{
diff --git a/src/main/java/net/minecraft/world/gen/MapGenRavine.java b/src/main/java/net/minecraft/world/gen/MapGenRavine.java
index c95956d..87bc817 100644
--- a/src/main/java/net/minecraft/world/gen/MapGenRavine.java
+++ b/src/main/java/net/minecraft/world/gen/MapGenRavine.java
@@ -251,9 +251,9 @@
protected void digBlock(Block[] data, int index, int x, int y, int z, int chunkX, int chunkZ, boolean foundTop)
{
BiomeGenBase biome = worldObj.getBiomeGenForCoords(x + chunkX * 16, z + chunkZ * 16);
- Block top = (isExceptionBiome(biome) ? Blocks.grass : biome.topBlock);
+ Block top = (isExceptionBiome(biome) ? Blocks.grass : biome.topBlock);
Block filler = (isExceptionBiome(biome) ? Blocks.dirt : biome.fillerBlock);
- Block block = data[index];
+ Block block = data[index];
if (block == Blocks.stone || block == filler || block == top)
{
diff --git a/src/main/java/net/minecraft/world/gen/feature/WorldGenCanopyTree.java b/src/main/java/net/minecraft/world/gen/feature/WorldGenCanopyTree.java
index 801a94c..f146c1b 100644
--- a/src/main/java/net/minecraft/world/gen/feature/WorldGenCanopyTree.java
+++ b/src/main/java/net/minecraft/world/gen/feature/WorldGenCanopyTree.java
@@ -74,10 +74,10 @@
boolean isSoil = block2.canSustainPlant(par1World, par3, par4 - 1, par5, ForgeDirection.UP, (BlockSapling)Blocks.sapling);
if (isSoil && par4 < 256 - l - 1)
{
- onPlantGrow(par1World, par3, par4 - 1, par5, par3, par4, par5);
- onPlantGrow(par1World, par3 + 1, par4 - 1, par5, par3, par4, par5);
+ onPlantGrow(par1World, par3, par4 - 1, par5, par3, par4, par5);
+ onPlantGrow(par1World, par3 + 1, par4 - 1, par5, par3, par4, par5);
onPlantGrow(par1World, par3 + 1, par4 - 1, par5 + 1, par3, par4, par5);
- onPlantGrow(par1World, par3, par4 - 1, par5 + 1, par3, par4, par5);
+ onPlantGrow(par1World, par3, par4 - 1, par5 + 1, par3, par4, par5);
int j3 = par2Random.nextInt(4);
j1 = l - par2Random.nextInt(4);
k1 = 2 - par2Random.nextInt(3);
diff --git a/src/main/java/net/minecraft/world/gen/feature/WorldGenHugeTrees.java b/src/main/java/net/minecraft/world/gen/feature/WorldGenHugeTrees.java
index 25ee8f9..9ddcd47 100644
--- a/src/main/java/net/minecraft/world/gen/feature/WorldGenHugeTrees.java
+++ b/src/main/java/net/minecraft/world/gen/feature/WorldGenHugeTrees.java
@@ -93,9 +93,9 @@
boolean isSoil = block.canSustainPlant(p_150532_1_, p_150532_3_, p_150532_4_ - 1, p_150532_5_, ForgeDirection.UP, (BlockSapling)Blocks.sapling);
if (isSoil && p_150532_4_ >= 2)
{
- onPlantGrow(p_150532_1_, p_150532_3_, p_150532_4_ - 1, p_150532_5_, p_150532_3_, p_150532_4_, p_150532_5_);
- onPlantGrow(p_150532_1_, p_150532_3_ + 1, p_150532_4_ - 1, p_150532_5_, p_150532_3_, p_150532_4_, p_150532_5_);
- onPlantGrow(p_150532_1_, p_150532_3_, p_150532_4_ - 1, p_150532_5_ + 1, p_150532_3_, p_150532_4_, p_150532_5_);
+ onPlantGrow(p_150532_1_, p_150532_3_, p_150532_4_ - 1, p_150532_5_, p_150532_3_, p_150532_4_, p_150532_5_);
+ onPlantGrow(p_150532_1_, p_150532_3_ + 1, p_150532_4_ - 1, p_150532_5_, p_150532_3_, p_150532_4_, p_150532_5_);
+ onPlantGrow(p_150532_1_, p_150532_3_, p_150532_4_ - 1, p_150532_5_ + 1, p_150532_3_, p_150532_4_, p_150532_5_);
onPlantGrow(p_150532_1_, p_150532_3_ + 1, p_150532_4_ - 1, p_150532_5_ + 1, p_150532_3_, p_150532_4_, p_150532_5_);
return true;
}
diff --git a/src/main/java/net/minecraftforge/client/ClientCommandHandler.java b/src/main/java/net/minecraftforge/client/ClientCommandHandler.java
index 46b5478..b45a45b 100644
--- a/src/main/java/net/minecraftforge/client/ClientCommandHandler.java
+++ b/src/main/java/net/minecraftforge/client/ClientCommandHandler.java
@@ -32,7 +32,7 @@
/**
* @return 1 if successfully executed, 0 if wrong usage, it doesn't exist or
- * it was canceled.
+ * it was canceled.
*/
@Override
public int executeCommand(ICommandSender sender, String message)
diff --git a/src/main/java/net/minecraftforge/client/ForgeHooksClient.java b/src/main/java/net/minecraftforge/client/ForgeHooksClient.java
index da53fa0..fc13f8d 100644
--- a/src/main/java/net/minecraftforge/client/ForgeHooksClient.java
+++ b/src/main/java/net/minecraftforge/client/ForgeHooksClient.java
@@ -431,9 +431,9 @@
String line = null;
switch(status)
{
- //case FAILED: line = " Version check failed"; break;
- //case UP_TO_DATE: line = "Forge up to date"}; break;
- //case AHEAD: line = "Using non-recommended Forge build, issues may arise."}; break;
+ //case FAILED: line = " Version check failed"; break;
+ //case UP_TO_DATE: line = "Forge up to date"}; break;
+ //case AHEAD: line = "Using non-recommended Forge build, issues may arise."}; break;
case OUTDATED:
case BETA_OUTDATED: line = "New Forge version available: " + ForgeVersion.getTarget(); break;
default: break;
diff --git a/src/main/java/net/minecraftforge/client/GuiIngameForge.java b/src/main/java/net/minecraftforge/client/GuiIngameForge.java
index 0f6b29b..d82c02e 100644
--- a/src/main/java/net/minecraftforge/client/GuiIngameForge.java
+++ b/src/main/java/net/minecraftforge/client/GuiIngameForge.java
@@ -49,8 +49,8 @@
public class GuiIngameForge extends GuiIngame
{
- //private static final ResourceLocation VIGNETTE = new ResourceLocation("textures/misc/vignette.png");
- private static final ResourceLocation WIDGITS = new ResourceLocation("textures/gui/widgets.png");
+ //private static final ResourceLocation VIGNETTE = new ResourceLocation("textures/misc/vignette.png");
+ private static final ResourceLocation WIDGITS = new ResourceLocation("textures/gui/widgets.png");
//private static final ResourceLocation PUMPKIN_BLUR = new ResourceLocation("textures/misc/pumpkinblur.png");
private static final int WHITE = 0xFFFFFF;
@@ -134,9 +134,9 @@
{
if (renderHealth) renderHealth(width, height);
if (renderArmor) renderArmor(width, height);
- if (renderFood) renderFood(width, height);
+ if (renderFood) renderFood(width, height);
if (renderHealthMount) renderHealthMount(width, height);
- if (renderAir) renderAir(width, height);
+ if (renderAir) renderAir(width, height);
}
if (renderHotbar) renderHotbar(width, height, partialTicks);
}
@@ -366,10 +366,10 @@
regen = updateCounter % 25;
}
- final int TOP = 9 * (mc.theWorld.getWorldInfo().isHardcoreModeEnabled() ? 5 : 0);
+ final int TOP = 9 * (mc.theWorld.getWorldInfo().isHardcoreModeEnabled() ? 5 : 0);
final int BACKGROUND = (highlight ? 25 : 16);
int MARGIN = 16;
- if (mc.thePlayer.isPotionActive(Potion.poison)) MARGIN += 36;
+ if (mc.thePlayer.isPotionActive(Potion.poison)) MARGIN += 36;
else if (mc.thePlayer.isPotionActive(Potion.wither)) MARGIN += 72;
float absorbRemaining = absorb;
diff --git a/src/main/java/net/minecraftforge/client/event/sound/PlaySoundSourceEvent.java b/src/main/java/net/minecraftforge/client/event/sound/PlaySoundSourceEvent.java
index a056e99..d1f8461 100644
--- a/src/main/java/net/minecraftforge/client/event/sound/PlaySoundSourceEvent.java
+++ b/src/main/java/net/minecraftforge/client/event/sound/PlaySoundSourceEvent.java
@@ -31,7 +31,7 @@
public PlaySoundSourceEvent(SoundManager manager, ISound sound, String uuid)
{
super(manager, sound, uuid);
- this.name = sound.getPositionedSoundLocation().getResourcePath();
+ this.name = sound.getPositionedSoundLocation().getResourcePath();
this.manager = manager;
this.x = this.y = this.z = 0;
}
diff --git a/src/main/java/net/minecraftforge/client/model/obj/WavefrontObject.java b/src/main/java/net/minecraftforge/client/model/obj/WavefrontObject.java
index d25ea21..7b5be5c 100644
--- a/src/main/java/net/minecraftforge/client/model/obj/WavefrontObject.java
+++ b/src/main/java/net/minecraftforge/client/model/obj/WavefrontObject.java
@@ -21,8 +21,8 @@
import cpw.mods.fml.relauncher.SideOnly;
/**
- * Wavefront Object importer
- * Based heavily off of the specifications found at http://en.wikipedia.org/wiki/Wavefront_.obj_file
+ * Wavefront Object importer
+ * Based heavily off of the specifications found at http://en.wikipedia.org/wiki/Wavefront_.obj_file
*/
public class WavefrontObject implements IModelCustom
{
diff --git a/src/main/java/net/minecraftforge/client/model/techne/TechneModel.java b/src/main/java/net/minecraftforge/client/model/techne/TechneModel.java
index ec3a010..aab2b28 100644
--- a/src/main/java/net/minecraftforge/client/model/techne/TechneModel.java
+++ b/src/main/java/net/minecraftforge/client/model/techne/TechneModel.java
@@ -317,7 +317,7 @@
@Override
public void renderPart(String partName)
- {
+ {
ModelRenderer part = parts.get(partName);
if (part != null)
{
diff --git a/src/main/java/net/minecraftforge/common/BiomeDictionary.java b/src/main/java/net/minecraftforge/common/BiomeDictionary.java
index ade9eb4..d7e052d 100644
--- a/src/main/java/net/minecraftforge/common/BiomeDictionary.java
+++ b/src/main/java/net/minecraftforge/common/BiomeDictionary.java
@@ -61,7 +61,7 @@
* @return returns true if the biome was registered successfully
*/
public static boolean registerBiomeType(BiomeGenBase biome, Type ... types)
- {
+ {
if(BiomeGenBase.getBiomeGenArray()[biome.biomeID] != null)
{
for(Type type : types)
@@ -180,7 +180,7 @@
* @return returns true if the biome has been registered, false otherwise
*/
public static boolean isBiomeRegistered(BiomeGenBase biome)
- {
+ {
return biomeList[biome.biomeID] != null;
}
@@ -231,7 +231,7 @@
* @param biome the biome to be considered
*/
public static void makeBestGuess(BiomeGenBase biome)
- {
+ {
if(biome.theBiomeDecorator.treesPerChunk >= 3)
{
if(biome.isHighHumidity() && biome.temperature >= 1.0F)
@@ -277,7 +277,7 @@
}
}
- //Internal implementation
+ //Internal implementation
private static void checkRegistration(BiomeGenBase biome)
{
if(!isBiomeRegistered(biome))
@@ -293,28 +293,28 @@
private static void registerVanillaBiomes()
{
- registerBiomeType(ocean, WATER );
- registerBiomeType(plains, PLAINS );
- registerBiomeType(desert, DESERT );
- registerBiomeType(extremeHills, MOUNTAIN );
- registerBiomeType(forest, FOREST );
- registerBiomeType(taiga, FOREST, FROZEN);
- registerBiomeType(taigaHills, FOREST, FROZEN);
- registerBiomeType(swampland, SWAMP );
- registerBiomeType(river, WATER );
- registerBiomeType(frozenOcean, WATER, FROZEN);
- registerBiomeType(frozenRiver, WATER, FROZEN);
- registerBiomeType(icePlains, FROZEN );
- registerBiomeType(iceMountains, FROZEN );
- registerBiomeType(beach, BEACH );
- registerBiomeType(desertHills, DESERT );
- registerBiomeType(jungle, JUNGLE );
- registerBiomeType(jungleHills, JUNGLE );
- registerBiomeType(forestHills, FOREST );
- registerBiomeType(sky, END );
- registerBiomeType(hell, NETHER );
- registerBiomeType(mushroomIsland, MUSHROOM );
- registerBiomeType(extremeHillsEdge, MOUNTAIN );
+ registerBiomeType(ocean, WATER );
+ registerBiomeType(plains, PLAINS );
+ registerBiomeType(desert, DESERT );
+ registerBiomeType(extremeHills, MOUNTAIN );
+ registerBiomeType(forest, FOREST );
+ registerBiomeType(taiga, FOREST, FROZEN);
+ registerBiomeType(taigaHills, FOREST, FROZEN);
+ registerBiomeType(swampland, SWAMP );
+ registerBiomeType(river, WATER );
+ registerBiomeType(frozenOcean, WATER, FROZEN);
+ registerBiomeType(frozenRiver, WATER, FROZEN);
+ registerBiomeType(icePlains, FROZEN );
+ registerBiomeType(iceMountains, FROZEN );
+ registerBiomeType(beach, BEACH );
+ registerBiomeType(desertHills, DESERT );
+ registerBiomeType(jungle, JUNGLE );
+ registerBiomeType(jungleHills, JUNGLE );
+ registerBiomeType(forestHills, FOREST );
+ registerBiomeType(sky, END );
+ registerBiomeType(hell, NETHER );
+ registerBiomeType(mushroomIsland, MUSHROOM );
+ registerBiomeType(extremeHillsEdge, MOUNTAIN );
registerBiomeType(mushroomIslandShore, MUSHROOM, BEACH);
}
}
diff --git a/src/main/java/net/minecraftforge/common/ChestGenHooks.java b/src/main/java/net/minecraftforge/common/ChestGenHooks.java
index d32fe3b..862b1dd 100644
--- a/src/main/java/net/minecraftforge/common/ChestGenHooks.java
+++ b/src/main/java/net/minecraftforge/common/ChestGenHooks.java
@@ -21,16 +21,16 @@
public class ChestGenHooks
{
//Currently implemented categories for chests/dispensers, Dungeon loot is still in DungeonHooks
- public static final String MINESHAFT_CORRIDOR = "mineshaftCorridor";
- public static final String PYRAMID_DESERT_CHEST = "pyramidDesertyChest";
- public static final String PYRAMID_JUNGLE_CHEST = "pyramidJungleChest";
+ public static final String MINESHAFT_CORRIDOR = "mineshaftCorridor";
+ public static final String PYRAMID_DESERT_CHEST = "pyramidDesertyChest";
+ public static final String PYRAMID_JUNGLE_CHEST = "pyramidJungleChest";
public static final String PYRAMID_JUNGLE_DISPENSER = "pyramidJungleDispenser";
- public static final String STRONGHOLD_CORRIDOR = "strongholdCorridor";
- public static final String STRONGHOLD_LIBRARY = "strongholdLibrary";
- public static final String STRONGHOLD_CROSSING = "strongholdCrossing";
- public static final String VILLAGE_BLACKSMITH = "villageBlacksmith";
- public static final String BONUS_CHEST = "bonusChest";
- public static final String DUNGEON_CHEST = "dungeonChest";
+ public static final String STRONGHOLD_CORRIDOR = "strongholdCorridor";
+ public static final String STRONGHOLD_LIBRARY = "strongholdLibrary";
+ public static final String STRONGHOLD_CROSSING = "strongholdCrossing";
+ public static final String VILLAGE_BLACKSMITH = "villageBlacksmith";
+ public static final String BONUS_CHEST = "bonusChest";
+ public static final String DUNGEON_CHEST = "dungeonChest";
private static final HashMap