2015-08-29 14:33:25 +02:00
|
|
|
/*
|
2016-05-16 22:52:27 +02:00
|
|
|
* This file ("GuiFactory.java") is part of the Actually Additions mod for Minecraft.
|
2015-08-29 14:33:25 +02:00
|
|
|
* It is created and owned by Ellpeck and distributed
|
|
|
|
* under the Actually Additions License to be found at
|
2016-05-16 22:52:27 +02:00
|
|
|
* http://ellpeck.de/actaddlicense
|
2015-08-29 14:33:25 +02:00
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
*
|
2017-01-01 16:23:26 +01:00
|
|
|
* © 2015-2017 Ellpeck
|
2015-08-29 14:33:25 +02:00
|
|
|
*/
|
|
|
|
|
2016-01-05 04:47:35 +01:00
|
|
|
package de.ellpeck.actuallyadditions.mod.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;
|
|
|
|
}
|
|
|
|
}
|