Renamed constants

This commit is contained in:
thatsIch
2015-01-01 22:13:10 +01:00
parent e0175bac98
commit 52c512635d
118 changed files with 511 additions and 508 deletions
@@ -59,9 +59,9 @@ public class Inscribe implements ICraftHandler, IWebsiteSerializer
public boolean usePlates = false;
public static final HashSet<ItemStack> plates = new HashSet<ItemStack>();
public static final HashSet<ItemStack> inputs = new HashSet<ItemStack>();
public static final LinkedList<InscriberRecipe> recipes = new LinkedList<InscriberRecipe>();
public static final HashSet<ItemStack> PLATES = new HashSet<ItemStack>();
public static final HashSet<ItemStack> INPUTS = new HashSet<ItemStack>();
public static final LinkedList<InscriberRecipe> RECIPES = new LinkedList<InscriberRecipe>();
IIngredient imprintable;
@@ -97,17 +97,17 @@ public class Inscribe implements ICraftHandler, IWebsiteSerializer
public void register() throws RegistrationError, MissingIngredientError
{
if ( this.imprintable != null )
Collections.addAll( inputs, this.imprintable.getItemStackSet() );
Collections.addAll( INPUTS, this.imprintable.getItemStackSet() );
if ( this.plateA != null )
Collections.addAll( plates, this.plateA.getItemStackSet() );
Collections.addAll( PLATES, this.plateA.getItemStackSet() );
if ( this.plateB != null )
Collections.addAll( plates, this.plateB.getItemStackSet() );
Collections.addAll( PLATES, this.plateB.getItemStackSet() );
InscriberRecipe ir = new InscriberRecipe( this.imprintable.getItemStackSet(), this.plateA == null ? null : this.plateA.getItemStack(), this.plateB == null ? null
: this.plateB.getItemStack(), this.output.getItemStack(), this.usePlates );
recipes.add( ir );
RECIPES.add( ir );
}
@Override
@@ -33,7 +33,7 @@ import appeng.recipes.game.IRecipeBakeable;
public class OreDictionaryHandler
{
public static final OreDictionaryHandler instance = new OreDictionaryHandler();
public static final OreDictionaryHandler INSTANCE = new OreDictionaryHandler();
private final List<IOreListener> ol = new ArrayList<IOreListener>();