Commit e8963c91 authored by primetoxinz's avatar primetoxinz

Bump Version

parent 00b7d3bf
......@@ -12,7 +12,7 @@ buildscript {
apply plugin: "maven"
apply plugin: 'net.minecraftforge.gradle.forge'
version = "1.12-2.2.04"
version = "1.12-2.2.05"
group = "betterwithmods"
archivesBaseName = "BetterWithMods"
......
......@@ -45,7 +45,6 @@ public class CompatModule extends Module {
@Override
public void preInit(FMLPreInitializationEvent event) {
super.preInit(event);
}
@Override
......
......@@ -15,7 +15,6 @@ import net.minecraft.item.crafting.Ingredient;
import net.minecraft.util.NonNullList;
import net.minecraft.util.math.BlockPos;
import net.minecraftforge.event.world.BlockEvent;
import net.minecraftforge.fml.common.Loader;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.eventhandler.EventPriority;
......
......@@ -15,11 +15,6 @@ import betterwithmods.network.messages.MessageHungerShake;
import betterwithmods.util.player.PlayerHelper;
import com.google.common.collect.Sets;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.AbstractClientPlayer;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.client.renderer.entity.RenderPlayer;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.init.Blocks;
......@@ -380,30 +375,6 @@ public class HCHunger extends CompatFeature {
}
}
private static RenderPlayer getRenderPlayer(AbstractClientPlayer player) {
Minecraft mc = Minecraft.getMinecraft();
RenderManager manager = mc.getRenderManager();
return manager.getSkinMap().get(player.getSkinType());
}
private static ModelBiped getPlayerModel(AbstractClientPlayer player) {
return getRenderPlayer(player).getMainModel();
}
// public static void putFat(AbstractClientPlayer player, FatPenalty fat) {
// ModelBiped model = getPlayerModel(player);
// float scale = fat != FatPenalty.NO_PENALTY ? Math.max(0, fat.ordinal() / 2f) : 0.0f;
// model.bipedBody = new ModelRenderer(model, 16, 16);
// model.bipedBody.addBox(-4.0F, 0, -2.0F, 8, 12, 4, scale);
// }
//
// public static void doFat(String uuid) {
// World world = Minecraft.getMinecraft().world;
// EntityPlayer player = world.getPlayerEntityByUUID(UUID.fromString(uuid));
// FatPenalty fat = PlayerHelper.getFatPenalty(player);
// if (player != null && player instanceof AbstractClientPlayer)
// putFat((AbstractClientPlayer) player, fat);
// }
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment