-
[1.8] [SOLVED] Confused on creating a custom entity
SOLVED! things I did after help from the people in this thread(original classes in the OP are all updated): - changed the globalID entity registry to EntityRegistry.registerModEntity, - moved RenderingRegistry.registerEntityRenderingHandler(EntityHorror.class, new RenderHorror(Minecraft.getMinecraft().getRenderManager(), new ModelHorror(), 1.0F)); from init() to preInit() in the main class. - removed overridden entityInit() method from the EntityHorror class. - removed this.getAttributeMap().registerAttribute(reinforcementChance).setBaseValue(this.rand.nextDouble() * net.minecraftforge.common.ForgeModContainer.zombieSummonBaseChance); from applyEntityAttributes method of the EntityHorror class. Thank you all for your help.
-
[1.8] [SOLVED] Confused on creating a custom entity
Thank you, I was not calling those methods in the correct place. After fixing that I attempted to summon the monster in-game but still no such luck. I know the monster isnt being summoned because the game text that appears after I enter the command "/summon entity.jm.horror.name" is "unable to summon object". I actually used your tutorials to get this far Jabelar. Thank you so much for putting them up, they help a great deal. I don't know why I'm messing up so hard on this one. I've edited the classes in the OP so that they accurately reflect what I have on my eclipse now: I called the register and render methods in the initialization method of the main class.
-
[1.8] [SOLVED] Confused on creating a custom entity
The monster isn't showing up in-game. I cant figure out why. I edited the OP to clarify for future readers.
-
[1.8] [SOLVED] Confused on creating a custom entity
Hello, I've been having a really difficult time correctly creating a custom entity i've aptly named "horror". I'm new to entity creation so I'm certain i've made mistakes, my problem is that I dont know where the mistakes are and i cant figure out how to fix them. My issue is that I havent been able to summon the monster in-game. Its not there and i dont know why not. Any help would be greatly appreciated! This is my Main class: http://pastebin.com/jTbtKc9D My EntityHorror class: http://pastebin.com/uTZqBqYa My EntityRegisterHorror Class: http://pastebin.com/wS7snCkB My ModelHorror Class: http://pastebin.com/hzRfQ4Wf My RenderHorror Class: http://pastebin.com/F0C9ZikY what my Eclipse looks like:
-
[1.8]Game crashes upon smelting items
This fixed it! Thank you!
-
[1.8]Game crashes upon smelting items
like the title says, Im having issues with my client crashing when i try to smelt my ore into an item. Im pretty sure the code is correct and i cant make sense of the crash report to figure out why its crashing. any help would be greatly appreciated crash report: http://pastebin.com/puSPf5KY section of code: http://pastebin.com/nDxrn2sG
IPS spam blocked by CleanTalk.