From 1db3daa0e82e67fc27ca3d535a09c806c1a54d67 Mon Sep 17 00:00:00 2001 From: Jadar Date: Mon, 6 Jan 2014 10:25:13 -0600 Subject: [PATCH 1/3] added override toString method for getting full name. --- .../java/cpw/mods/fml/common/registry/GameRegistry.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/cpw/mods/fml/common/registry/GameRegistry.java b/src/main/java/cpw/mods/fml/common/registry/GameRegistry.java index 06ad4e5ed6..77110de308 100644 --- a/src/main/java/cpw/mods/fml/common/registry/GameRegistry.java +++ b/src/main/java/cpw/mods/fml/common/registry/GameRegistry.java @@ -363,6 +363,12 @@ public class GameRegistry final UniqueIdentifier other = (UniqueIdentifier) obj; return Objects.equal(modId, other.modId) && Objects.equal(name, other.name); } + + @Override + public String toString() + { + return String.format("%s:%s", modId, name); + } } /** From acf74a34032224a73c4c03280cafa0042c35cf5a Mon Sep 17 00:00:00 2001 From: Jadar Date: Mon, 6 Jan 2014 11:09:34 -0600 Subject: [PATCH 2/3] changed the readme to reflect new setup task. --- README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.txt b/README.txt index 1935ba6973..82952f1212 100644 --- a/README.txt +++ b/README.txt @@ -80,7 +80,7 @@ Standalone source installation ============================== To install this source code for development purposes, extract this zip file. -It ships with a demonstration mod. Run "gradle setupDevWorkspace" to create +It ships with a demonstration mod. Run "gradle setupFML" to create a gradle environment primed with FML. Run gradle eclipse or gradle idea to create an IDE workspace of your choice. Refer to ForgeGradle for more information about the gradle environment From 96c19b35807fa078cb18b4ae50567d0360bcdb03 Mon Sep 17 00:00:00 2001 From: Jadar Date: Mon, 6 Jan 2014 15:58:10 -0600 Subject: [PATCH 3/3] undid readme change --- README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.txt b/README.txt index 82952f1212..1935ba6973 100644 --- a/README.txt +++ b/README.txt @@ -80,7 +80,7 @@ Standalone source installation ============================== To install this source code for development purposes, extract this zip file. -It ships with a demonstration mod. Run "gradle setupFML" to create +It ships with a demonstration mod. Run "gradle setupDevWorkspace" to create a gradle environment primed with FML. Run gradle eclipse or gradle idea to create an IDE workspace of your choice. Refer to ForgeGradle for more information about the gradle environment