Compare commits

...
3 changed files with 7 additions and 7 deletions

No files matched your search

@@ -90,7 +90,7 @@ public class DimensionManager
*/
public static DimensionType registerDimension(ResourceLocation name, ModDimension type, PacketBuffer data)
{
Validate.notNull(name, "Can not register a dimesnion with null name");
Validate.notNull(name, "Can not register a dimension with null name");
Validate.isTrue(!REGISTRY.func_212607_c(name), "Dimension: " + name + " Already registered");
Validate.notNull(type, "Can not register a null dimension type");
@@ -179,7 +179,7 @@ public class DimensionManager
public static DimensionType registerDimensionInternal(int id, ResourceLocation name, ModDimension type, PacketBuffer data)
{
Validate.notNull(name, "Can not register a dimesnion with null name");
Validate.notNull(name, "Can not register a dimension with null name");
Validate.notNull(type, "Can not register a null dimension type");
Validate.isTrue(!REGISTRY.func_212607_c(name), "Dimension: " + name + " Already registered");
Validate.isTrue(REGISTRY.get(id) == null, "Dimension with id " + id + " already registered as name " + REGISTRY.getKey(REGISTRY.get(id)));
@@ -39,7 +39,7 @@ public class Tags
public static final Tag<Block> FENCE_GATES = tag("fence_gates");
public static final Tag<Block> FENCE_GATES_WOODEN = tag("fence_gates/wooden");
public static final Tag<Block> FENCES = tag("fences");
public static final Tag<Block> FENCES_NETHER_BRRICK = tag("fences/nether_brick");
public static final Tag<Block> FENCES_NETHER_BRICK = tag("fences/nether_brick");
public static final Tag<Block> FENCES_WOODEN = tag("fences/wooden");
public static final Tag<Block> ORES = tag("ores");
public static final Tag<Block> ORES_COAL = tag("ores/coal");
@@ -105,7 +105,7 @@ public class Tags
public static final Tag<Item> GEMS_EMERALD = tag("gems/emerald");
public static final Tag<Item> GEMS_LAPIS = tag("gems/lapis");
public static final Tag<Item> GEMS_PRISMARINE = tag("gems/prismarine");
public static final Tag<Item> GEMS_QUARRTZ = tag("gems/quartz");
public static final Tag<Item> GEMS_QUARTZ = tag("gems/quartz");
public static final Tag<Item> INGOTS = tag("ingots");
public static final Tag<Item> INGOTS_BRICK = tag("ingots/brick");
public static final Tag<Item> INGOTS_GOLD = tag("ingots/gold");
@@ -38,7 +38,7 @@ import com.google.common.base.Preconditions;
/**
* Some reflection helper code.
* This may not work properly in Java9 with their new more restrictive reflection management.
* This may not work properly in Java 9 with its new, more restrictive, reflection management.
* As such, if issues are encountered, please report them and we can see what we can do to expand
* the compatibility.
*
@@ -130,12 +130,12 @@ public class ObfuscationReflectionHelper
/**
* Finds a method with the specified name and parameters in the given class and makes it accessible.
* Note: for performance, store the returned value and avoid calling this repeatedly.
* Note: For performance, store the returned value and avoid calling this repeatedly.
* <p>
* Throws an exception if the method is not found.
*
* @param clazz The class to find the method on.
* @param methodName The SRG (obfuscated) name of the method to find(e.g. "func_72820_D").
* @param methodName The SRG (obfuscated) name of the method to find(e.g. "func_12820_D").
* @param parameterTypes The parameter types of the method to find.
* @return The method with the specified name and parameters in the given class.
*/