Moved Creative Tabs to Bootstrap.

This commit is contained in:
Sebastian Hartte
2020-08-12 18:42:58 +02:00
parent b03a249da3
commit 0a2f03aa92
4 changed files with 4 additions and 7 deletions
@@ -85,9 +85,6 @@ public abstract class AppEngBase implements AppEng {
throw new IllegalStateException();
}
CreativeTab.init();
FacadeCreativeTab.init();// This call has a side-effect (adding it to the creative screen)
AeStats.register();
advancementTriggers = new AdvancementTriggers(CriteriaRegisterMixin::callRegister);
@@ -42,6 +42,10 @@ public final class AppEngBootstrap {
initialized = true;
AEConfig.load(FabricLoader.getInstance().getConfigDirectory());
CreativeTab.init();
FacadeCreativeTab.init();// This call has a side-effect (adding it to the creative screen)
Api.INSTANCE = new Api();
registerStructures();
@@ -29,7 +29,6 @@ import net.minecraft.util.collection.DefaultedList;
import appeng.api.definitions.IBlocks;
import appeng.api.definitions.IDefinitions;
import appeng.api.definitions.IItemDefinition;
import appeng.core.Api;
public final class CreativeTab {