ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/common/config/GuiFactory.java

31 lines
671 B
Java
Raw Normal View History

2020-09-09 16:49:01 +02:00
package de.ellpeck.actuallyadditions.common.config;
2015-07-17 11:17:55 +02:00
2019-05-02 09:10:29 +02:00
import java.util.Set;
2015-07-17 11:17:55 +02:00
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
2016-01-07 18:20:59 +01:00
import net.minecraftforge.fml.client.IModGuiFactory;
2015-07-17 11:17:55 +02:00
2019-05-02 09:10:29 +02:00
public class GuiFactory implements IModGuiFactory {
2015-07-17 11:17:55 +02:00
@Override
2019-05-02 09:10:29 +02:00
public void initialize(Minecraft minecraftInstance) {
2015-07-17 11:17:55 +02:00
}
2017-05-20 21:05:25 +02:00
@Override
2019-05-02 09:10:29 +02:00
public boolean hasConfigGui() {
2017-05-20 21:05:25 +02:00
return true;
}
@Override
2019-05-02 09:10:29 +02:00
public GuiScreen createConfigGui(GuiScreen parentScreen) {
2017-05-20 21:05:25 +02:00
return new GuiConfiguration(parentScreen);
}
2015-07-17 11:17:55 +02:00
@Override
2019-05-02 09:10:29 +02:00
public Set<RuntimeOptionCategoryElement> runtimeGuiCategories() {
2015-07-17 11:17:55 +02:00
return null;
}
}