Moved Creative Tabs to Bootstrap.
This commit is contained in:
@@ -36,9 +36,6 @@ public class Entrypoint implements PreLaunchEntrypoint {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Bootstrap.initialize();
|
Bootstrap.initialize();
|
||||||
AEConfig.load(new File("config"));
|
|
||||||
CreativeTab.init(); // Vanilla data gens use item tab associations
|
|
||||||
Api.INSTANCE = new Api();
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
dump();
|
dump();
|
||||||
|
|||||||
@@ -85,9 +85,6 @@ public abstract class AppEngBase implements AppEng {
|
|||||||
throw new IllegalStateException();
|
throw new IllegalStateException();
|
||||||
}
|
}
|
||||||
|
|
||||||
CreativeTab.init();
|
|
||||||
FacadeCreativeTab.init();// This call has a side-effect (adding it to the creative screen)
|
|
||||||
|
|
||||||
AeStats.register();
|
AeStats.register();
|
||||||
advancementTriggers = new AdvancementTriggers(CriteriaRegisterMixin::callRegister);
|
advancementTriggers = new AdvancementTriggers(CriteriaRegisterMixin::callRegister);
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,10 @@ public final class AppEngBootstrap {
|
|||||||
initialized = true;
|
initialized = true;
|
||||||
|
|
||||||
AEConfig.load(FabricLoader.getInstance().getConfigDirectory());
|
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();
|
Api.INSTANCE = new Api();
|
||||||
|
|
||||||
registerStructures();
|
registerStructures();
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ import net.minecraft.util.collection.DefaultedList;
|
|||||||
import appeng.api.definitions.IBlocks;
|
import appeng.api.definitions.IBlocks;
|
||||||
import appeng.api.definitions.IDefinitions;
|
import appeng.api.definitions.IDefinitions;
|
||||||
import appeng.api.definitions.IItemDefinition;
|
import appeng.api.definitions.IItemDefinition;
|
||||||
import appeng.core.Api;
|
|
||||||
|
|
||||||
public final class CreativeTab {
|
public final class CreativeTab {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user