Clean up Genetics Mod

This commit is contained in:
Nedelosk committed 2017-03-22 17:17:12 +01:00
1 parent e88822fb3d
commit 044a8a1984
25 files changed
+286 -247

No files matched your search

+13 -13
View File
@@ -56,6 +56,19 @@ public class ExtraTrees extends AbstractMod {
@SuppressWarnings("NullableProblems")
@SidedProxy(clientSide = "binnie.extratrees.proxy.ProxyClient", serverSide = "binnie.extratrees.proxy.ProxyServer")
public static Proxy proxy;
@Nullable
private static ModuleBlocks blocks;
@Nullable
private static ModuleItems items;
@Nullable
private static ModuleAlcohol alcohol;
@Nullable
private static ModuleCarpentry carpentry;
@Nullable
private static ModuleMachine machine;
@Nullable
private static ModuleKitchen kitchen;
@Mod.EventHandler
public void onConstruction(FMLConstructionEvent e) {
@@ -77,19 +90,6 @@ public class ExtraTrees extends AbstractMod {
this.postInit();
}
@Nullable
private static ModuleBlocks blocks;
@Nullable
private static ModuleItems items;
@Nullable
private static ModuleAlcohol alcohol;
@Nullable
private static ModuleCarpentry carpentry;
@Nullable
private static ModuleMachine machine;
@Nullable
private static ModuleKitchen kitchen;
public static ModuleItems items() {
Preconditions.checkState(items != null);
return items;