mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 04:32:24 +00:00
Some reformat code for 1.11.2 source (#84)
* Optimized imports * Some code reformat * Some refactoring and code reformat * Some code reformat
This commit is contained in:
1 parent
886c36a308
commit
c3809fbc27
508 files changed
+6677
-6238
No files matched your search
@@ -21,6 +21,14 @@ public class WindowDistillery extends Window {
|
||||
super(224, 192, player, inventory, side);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static Window create(final EntityPlayer player, @Nullable final IInventory inventory, final Side side) {
|
||||
if (inventory == null) {
|
||||
return null;
|
||||
}
|
||||
return new WindowDistillery(player, inventory, side);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected AbstractMod getMod() {
|
||||
return ExtraTrees.instance;
|
||||
@@ -45,12 +53,4 @@ public class WindowDistillery extends Window {
|
||||
new ControlPlayerInventory(this);
|
||||
new ControlErrorState(this, x + 21, 62);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static Window create(final EntityPlayer player, @Nullable final IInventory inventory, final Side side) {
|
||||
if (inventory == null) {
|
||||
return null;
|
||||
}
|
||||
return new WindowDistillery(player, inventory, side);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user