@@ -42,7 +42,7 @@ public static void add( String oreIdent, String name, int[] color ) // Takes a s
4242 if ( splitArray .length != 2 )
4343 {
4444 //System.out.println( String.format( "Can't add %s to searchList. Invalid format.", oreIdent ) );
45- String notify = String .format ( "[Fgt XRay] %s is not a valid identifier. Try id:meta (example 1:0 for stone) or oreName (example oreDiamond or mossyStone)" , oreIdent );
45+ String notify = String .format ( "[XRay] %s is not a valid identifier. Try id:meta (example 1:0 for stone) or oreName (example oreDiamond or mossyStone)" , oreIdent );
4646 mc .ingameGUI .getChatGUI ().printChatMessage ( new TextComponentString (notify ));
4747 return ;
4848 }
@@ -55,7 +55,7 @@ public static void add( String oreIdent, String name, int[] color ) // Takes a s
5555 catch ( NumberFormatException e )
5656 { // TODO: Some oredict ores are mod:block for some reason...
5757 //System.out.println( String.format( "%s is not a valid id:meta format.", oreIdent ) );
58- String notify = String .format ( "[Fgt XRay] %s contains data other than numbers and the colon. Failed to add." , oreIdent );
58+ String notify = String .format ( "[XRay] %s contains data other than numbers and the colon. Failed to add." , oreIdent );
5959 mc .ingameGUI .getChatGUI ().printChatMessage ( new TextComponentString (notify ) );
6060 return ;
6161 }
@@ -70,7 +70,7 @@ public static void add( String oreIdent, String name, int[] color ) // Takes a s
7070 }
7171 catch ( NumberFormatException e )
7272 {
73- mc .ingameGUI .getChatGUI ().printChatMessage ( new TextComponentString ("[Fgt XRay] Doesn't support in-game additions to the ore dictionary yet.. Failed to add." ) );
73+ mc .ingameGUI .getChatGUI ().printChatMessage ( new TextComponentString ("[XRay] Doesn't support in-game additions to the ore dictionary yet.. Failed to add." ) );
7474 return ;
7575 }
7676
@@ -79,13 +79,13 @@ public static void add( String oreIdent, String name, int[] color ) // Takes a s
7979 //System.out.println( String.format( "Adding ore: %s", oreIdent ) );
8080 for ( OreInfo info : OresSearch .searchList ) {
8181 if ( info .getId () == id && info .getMeta () == meta ) {
82- mc .ingameGUI .getChatGUI ().printChatMessage (new TextComponentString ("[Fgt XRay] This block has already been added to the block list" ));
82+ mc .ingameGUI .getChatGUI ().printChatMessage (new TextComponentString ("[XRay] This block has already been added to the block list" ));
8383 return ;
8484 }
8585 }
8686
8787 OresSearch .searchList .add ( new OreInfo ( name , id , meta , color , true ) );
88- String notify = String .format ( "[Fgt XRay] successfully added %s." , oreIdent );
88+ String notify = String .format ( "[XRay] successfully added %s." , oreIdent );
8989 mc .ingameGUI .getChatGUI ().printChatMessage (new TextComponentString (notify ));
9090
9191 ConfigHandler .add (name , oreIdent , color );
@@ -95,7 +95,7 @@ public static List<OreInfo> get() // Return the searchList, create it if needed.
9595 {
9696 if ( OresSearch .searchList .isEmpty () )
9797 {
98- System .out .println ( "[Fgt XRay] --- Populating the searchList with the ore dictionary --- " );
98+ System .out .println ( "[XRay] --- Populating the searchList with the ore dictionary --- " );
9999 List <OreInfo > temp = new ArrayList <>(); // Temporary array of OreInfos to replace searchList
100100 Map <String , OreInfo > tempOredict = new HashMap <String , OreInfo >(); // Temporary oredict map to replace oredictOres
101101
@@ -115,7 +115,7 @@ public static List<OreInfo> get() // Return the searchList, create it if needed.
115115 String key = entry .getKey ();
116116 if ( !tempOredict .containsKey ( key ) )
117117 {
118- System .out .println ( String .format ( "[Fgt XRay] Ore %s doesn't exist in dictionary! Deleting." , key ) );
118+ System .out .println ( String .format ( "[XRay] Ore %s doesn't exist in dictionary! Deleting." , key ) );
119119 }
120120 }
121121 FgtXRay .oredictOres .clear ();
@@ -131,27 +131,27 @@ public static List<OreInfo> get() // Return the searchList, create it if needed.
131131 List <ItemStack > oreDictOres = OreDictionary .getOres ( key ); // Get an itemstack array of all the oredict ores for 'key'
132132 if ( oreDictOres .size () < 1 )
133133 {
134- System .out .println ( String .format ( "[Fgt XRay] Ore %s doesn't exist! Skipping. (We shouldn't have this issue here! Please tell me about this!)" , key ) );
134+ System .out .println ( String .format ( "[XRay] Ore %s doesn't exist! Skipping. (We shouldn't have this issue here! Please tell me about this!)" , key ) );
135135 continue ;
136136 }
137137 for (ItemStack oreItem : oreDictOres ) {
138138 if (checkList (temp , value , oreItem )) {
139- System .out .println ("[Fgt XRay] Duplicate ore found in Ore Dictionary!!! (" + key + ")" );
139+ System .out .println ("[XRay] Duplicate ore found in Ore Dictionary!!! (" + key + ")" );
140140 continue ;
141141 }
142142 temp .add (new OreInfo (value .oreName , Item .getIdFromItem (oreItem .getItem ()), oreItem .getItemDamage (), value .color , value .draw ));
143143 //System.out.println( String.format("[Fgt XRay] Adding OreInfo( %s, %d, %d, %s, %b ) ", value.oreName, Item.getIdFromItem( oreItem.getItem() ), oreItem.getItemDamage(), value.color[0], value.draw ) );
144144 }
145145 }
146- System .out .println ( "[Fgt XRay] --- Done populating searchList! --- " );
147- System .out .println ( "[Fgt XRay] --- Adding custom blocks --- " );
146+ System .out .println ( "[XRay] --- Done populating searchList! --- " );
147+ System .out .println ( "[XRay] --- Adding custom blocks --- " );
148148
149149 for ( OreInfo ore : FgtXRay .customOres ) //TODO: Check if custom already exists
150150 {
151- System .out .println ( String .format ( "[Fgt XRay] Adding OreInfo( %s, %d, %d, %b ) " , ore .oreName , ore .id , ore .meta , ore .draw ) );
151+ System .out .println ( String .format ( "[XRay] Adding OreInfo( %s, %d, %d, %b ) " , ore .oreName , ore .id , ore .meta , ore .draw ) );
152152 temp .add ( ore );
153153 }
154- System .out .println ( "[Fgt XRay] --- Done adding custom blocks --- " );
154+ System .out .println ( "[XRay] --- Done adding custom blocks --- " );
155155
156156 OresSearch .searchList .clear ();
157157 OresSearch .searchList .addAll ( temp );
0 commit comments