mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 07:27:59 +01:00
Quick update to 1.9.4
This commit is contained in:
parent
d818570012
commit
4c2e661d99
5 changed files with 6 additions and 35 deletions
|
@ -15,7 +15,7 @@ buildscript {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT'
|
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
|
||||||
classpath 'org.spongepowered:mixingradle:0.4-SNAPSHOT'
|
classpath 'org.spongepowered:mixingradle:0.4-SNAPSHOT'
|
||||||
classpath 'gradle.plugin.mnm.mods.kappa:ap-ide:1.0.5'
|
classpath 'gradle.plugin.mnm.mods.kappa:ap-ide:1.0.5'
|
||||||
}
|
}
|
||||||
|
@ -32,8 +32,8 @@ version = '1.9.0.0-beta'
|
||||||
description = 'Mine Little Pony'
|
description = 'Mine Little Pony'
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = "1.9"
|
version = "1.9.4"
|
||||||
mappings = 'snapshot_20160411'
|
mappings = 'snapshot_20160517'
|
||||||
runDir = 'run'
|
runDir = 'run'
|
||||||
replace '@VERSION@',project.version
|
replace '@VERSION@',project.version
|
||||||
}
|
}
|
||||||
|
|
|
@ -125,7 +125,7 @@ public class GuiSkins extends GuiScreen implements IUploadCompleteCallback, IOpe
|
||||||
RenderManager rm = Minecraft.getMinecraft().getRenderManager();
|
RenderManager rm = Minecraft.getMinecraft().getRenderManager();
|
||||||
rm.renderEngine = minecraft.getTextureManager();
|
rm.renderEngine = minecraft.getTextureManager();
|
||||||
rm.options = minecraft.gameSettings;
|
rm.options = minecraft.gameSettings;
|
||||||
rm.livingPlayer = this.localPlayer;
|
rm.renderViewEntity = this.localPlayer;
|
||||||
this.reloadRemoteSkin();
|
this.reloadRemoteSkin();
|
||||||
this.fetchingSkin = true;
|
this.fetchingSkin = true;
|
||||||
this.panoramaRenderer = LiteModHDSkinsMod.getPanoramaRenderer(this);
|
this.panoramaRenderer = LiteModHDSkinsMod.getPanoramaRenderer(this);
|
||||||
|
|
|
@ -55,9 +55,6 @@ public class LiteModHDSkinsMod implements HDSkinsMod {
|
||||||
ModUtilities.addRenderer(EntityPlayerModel.class, new RenderPlayerModel<EntityPlayerModel>(minecraft.getRenderManager()));
|
ModUtilities.addRenderer(EntityPlayerModel.class, new RenderPlayerModel<EntityPlayerModel>(minecraft.getRenderManager()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onTick(Minecraft minecraft, float partialTicks, boolean inGame, boolean clock) {}
|
|
||||||
|
|
||||||
public static IPanoramaRenderer getPanoramaRenderer(IPanoramaRenderer fallbackRenderer) {
|
public static IPanoramaRenderer getPanoramaRenderer(IPanoramaRenderer fallbackRenderer) {
|
||||||
try {
|
try {
|
||||||
Class<?> ex = Class.forName("com.thevoxelbox.voxelmenu.VoxelMenuModCore");
|
Class<?> ex = Class.forName("com.thevoxelbox.voxelmenu.VoxelMenuModCore");
|
||||||
|
|
|
@ -3,11 +3,12 @@ package com.brohoof.minelittlepony;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
||||||
import com.mumfrey.liteloader.InitCompleteListener;
|
import com.mumfrey.liteloader.InitCompleteListener;
|
||||||
|
import com.mumfrey.liteloader.Tickable;
|
||||||
import com.mumfrey.liteloader.core.LiteLoader;
|
import com.mumfrey.liteloader.core.LiteLoader;
|
||||||
|
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
|
|
||||||
public class LiteModMineLittlePony implements InitCompleteListener {
|
public class LiteModMineLittlePony implements Tickable, InitCompleteListener {
|
||||||
|
|
||||||
private MineLittlePony mlp;
|
private MineLittlePony mlp;
|
||||||
|
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
package com.brohoof.minelittlepony.launch;
|
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import org.spongepowered.asm.mixin.MixinEnvironment;
|
|
||||||
|
|
||||||
import net.minecraft.launchwrapper.ITweaker;
|
|
||||||
import net.minecraft.launchwrapper.LaunchClassLoader;
|
|
||||||
|
|
||||||
public class MineLPTweaker implements ITweaker {
|
|
||||||
|
|
||||||
private static final String CONFIGS[] = { "mixin.hdskins.json", "mixin.minelp.json" };
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void injectIntoClassLoader(LaunchClassLoader classLoader) {
|
|
||||||
for (String config : CONFIGS) {
|
|
||||||
MixinEnvironment.getDefaultEnvironment().addConfiguration(config);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//@formatter:off
|
|
||||||
@Override public void acceptOptions(List<String> args, File gameDir, final File assetsDir, String profile) {}
|
|
||||||
@Override public String getLaunchTarget() { return null; }
|
|
||||||
@Override public String[] getLaunchArguments() { return new String[0]; }
|
|
||||||
//@formatter:on
|
|
||||||
}
|
|
Loading…
Reference in a new issue