mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 16:28:00 +01:00
These classes can be static
This commit is contained in:
parent
026c9ce152
commit
6fd0e79d5a
1 changed files with 4 additions and 4 deletions
|
@ -112,7 +112,7 @@ class IngredientTree implements SpellbookRecipe.CraftingTreeBuilder {
|
||||||
return totalHeight + 7;
|
return totalHeight + 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
class IngredientButton extends Button {
|
static class IngredientButton extends Button {
|
||||||
private final IngredientTree.Entry entry;
|
private final IngredientTree.Entry entry;
|
||||||
private String label;
|
private String label;
|
||||||
|
|
||||||
|
@ -154,7 +154,7 @@ class IngredientTree implements SpellbookRecipe.CraftingTreeBuilder {
|
||||||
void onClick();
|
void onClick();
|
||||||
}
|
}
|
||||||
|
|
||||||
class Stacks implements IngredientTree.Entry {
|
static class Stacks implements IngredientTree.Entry {
|
||||||
private int ticker;
|
private int ticker;
|
||||||
protected int index;
|
protected int index;
|
||||||
protected final ItemStack[] stacks;
|
protected final ItemStack[] stacks;
|
||||||
|
@ -198,7 +198,7 @@ class IngredientTree implements SpellbookRecipe.CraftingTreeBuilder {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class HiddenStacks extends Stacks {
|
static class HiddenStacks extends Stacks {
|
||||||
HiddenStacks(ItemStack[] stacks) {
|
HiddenStacks(ItemStack[] stacks) {
|
||||||
super(stacks);
|
super(stacks);
|
||||||
}
|
}
|
||||||
|
@ -242,7 +242,7 @@ class IngredientTree implements SpellbookRecipe.CraftingTreeBuilder {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class Traits implements IngredientTree.Entry {
|
static class Traits implements IngredientTree.Entry {
|
||||||
private final Trait trait;
|
private final Trait trait;
|
||||||
private final float value;
|
private final float value;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue