mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-12-01 16:27:59 +01:00
You don't need to do this
This commit is contained in:
parent
0393945904
commit
94be304cee
3 changed files with 8 additions and 14 deletions
|
@ -1,14 +1,16 @@
|
|||
package com.voxelmodpack.hdskins.mod;
|
||||
package com.voxelmodpack.hdskins;
|
||||
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.mumfrey.liteloader.Configurable;
|
||||
import com.mumfrey.liteloader.InitCompleteListener;
|
||||
import com.mumfrey.liteloader.ViewportListener;
|
||||
import com.mumfrey.liteloader.core.LiteLoader;
|
||||
import com.mumfrey.liteloader.modconfig.AdvancedExposable;
|
||||
import com.mumfrey.liteloader.modconfig.ConfigPanel;
|
||||
import com.mumfrey.liteloader.modconfig.ConfigStrategy;
|
||||
import com.mumfrey.liteloader.modconfig.ExposableOptions;
|
||||
import com.mumfrey.liteloader.util.ModUtilities;
|
||||
import com.voxelmodpack.hdskins.HDSkinManager;
|
||||
import com.voxelmodpack.hdskins.gui.EntityPlayerModel;
|
||||
import com.voxelmodpack.hdskins.gui.GLWindow;
|
||||
import com.voxelmodpack.hdskins.gui.HDSkinsConfigPanel;
|
||||
|
@ -24,7 +26,7 @@ import java.io.File;
|
|||
import java.util.List;
|
||||
|
||||
@ExposableOptions(strategy = ConfigStrategy.Unversioned, filename = "hdskins")
|
||||
public class LiteModHDSkinsMod implements HDSkinsMod, AdvancedExposable {
|
||||
public class LiteModHDSkins implements InitCompleteListener, ViewportListener, Configurable, AdvancedExposable {
|
||||
|
||||
@Expose
|
||||
public List<SkinServer> skin_servers = SkinServer.defaultServers;
|
|
@ -5,7 +5,7 @@ import com.mumfrey.liteloader.core.LiteLoader;
|
|||
import com.mumfrey.liteloader.modconfig.ConfigPanel;
|
||||
import com.mumfrey.liteloader.modconfig.ConfigPanelHost;
|
||||
import com.voxelmodpack.hdskins.HDSkinManager;
|
||||
import com.voxelmodpack.hdskins.mod.LiteModHDSkinsMod;
|
||||
import com.voxelmodpack.hdskins.LiteModHDSkins;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.gui.GuiButton;
|
||||
|
@ -16,11 +16,11 @@ public class HDSkinsConfigPanel implements ConfigPanel {
|
|||
|
||||
private GuiCheckbox checkbox;
|
||||
|
||||
private LiteModHDSkinsMod mod;
|
||||
private LiteModHDSkins mod;
|
||||
|
||||
@Override
|
||||
public void onPanelShown(ConfigPanelHost host) {
|
||||
this.mod = LiteLoader.getInstance().getMod(LiteModHDSkinsMod.class);
|
||||
this.mod = LiteLoader.getInstance().getMod(LiteModHDSkins.class);
|
||||
|
||||
this.button = new GuiButton(0, 40, 70, 100, 20, "Clear Skin Cache");
|
||||
this.checkbox = new GuiCheckbox(1, 40, 40, "Experimental Skin Drop");
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
package com.voxelmodpack.hdskins.mod;
|
||||
|
||||
import com.mumfrey.liteloader.Configurable;
|
||||
import com.mumfrey.liteloader.InitCompleteListener;
|
||||
import com.mumfrey.liteloader.ViewportListener;
|
||||
|
||||
public interface HDSkinsMod extends InitCompleteListener, ViewportListener, Configurable {
|
||||
}
|
Loading…
Reference in a new issue