This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package net.minecraft.src; | |
| import java.util.List; | |
| public class LMHBarbarian extends EntityMobs | |
| { | |
| public LMHBarbarian(World world) | |
| { | |
| super(world); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ModLoader.AddSpawn(LMHNative.class, 15, EnumCreatureType.monster, new MobSpawnerBase[] {MobSpawnerBase.seasonalForest, MobSpawnerBase.forest, MobSpawnerBase.savanna, MobSpawnerBase.swampland, MobSpawnerBase.shrubland, MobSpawnerBase.plains, }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void AddRenderer(Map map) | |
| { | |
| map.put(LMHNative.class, new RenderBiped(new ModelBiped(), 0.5F)); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package net.minecraft.src; | |
| public class LMHModelBison extends ModelQuadraped | |
| { | |
| public LMHModelBison() | |
| { | |
| float scale = 0F; | |
| head = new ModelRenderer(22, 47); | |
| head.addBox(-5F, -8F, -6F, 10, 11, 6, scale); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package net.minecraft.src; | |
| public class LMHBison extends EntityAnimals | |
| { | |
| public LMHBison(World world) | |
| { | |
| super(world); | |
| texture = "/LMH/Bison.png"; | |
| setSize(0.9F, 1.3F); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package net.minecraft.src; | |
| public class LMHModelBison extends ModelBase | |
| { | |
| public LMHModelBison() | |
| { | |
| float scale = 0F; | |
| head = new ModelRenderer(22, 47); | |
| head.addBox(-5F, -8F, -6F, 10, 11, 6, scale); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package net.minecraft.src; | |
| public class LMHRenderBison extends RenderLiving | |
| { | |
| public LMHRenderBison(ModelBase modelbase, float f) | |
| { | |
| super(modelbase, f); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| java.lang.ClassCastException: net.minecraft.src.LMHBison cannot be cast to net.minecraft.src.LMHEntityBison | |
| at net.minecraft.src.LMHRenderBison.doRender(LMHRenderBison.java:26) | |
| at net.minecraft.src.RenderManager.renderEntityWithPosYaw(RenderManager.java:98) | |
| at net.minecraft.src.RenderManager.renderEntity(RenderManager.java:89) | |
| at net.minecraft.src.RenderGlobal.renderEntities(RenderGlobal.java:268) | |
| at net.minecraft.src.EntityRenderer.renderWorld(EntityRenderer.java:496) | |
| at net.minecraft.src.EntityRenderer.updateCameraAndRender(EntityRenderer.java:410) | |
| at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:19) | |
| at net.minecraft.client.Minecraft.run(Minecraft.java:482) | |
| at java.lang.Thread.run(Unknown Source) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package net.minecraft.src; | |
| public class LMHRenderBison extends RenderLiving | |
| { | |
| public LMHRenderBison(ModelBase modelbase, float f) | |
| { | |
| super(modelbase, f); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this.LMHSettings.load(); | |
| try | |
| { | |
| ModLoader.setPrivateValue(ir.class, ir.a, "e", Integer.valueOf(maxHumansS.get())); | |
| } | |
| { | |
| catch (Exception e) | |
| } |
OlderNewer