Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DeBugger

Members
  • Joined

  • Last visited

Everything posted by DeBugger

  1. I did it with setupDevWorkspace. The reason is that it seems like my computer on which I have my workspace doesnt have enough RAM to decompile. This problem should be fixed in a few days (hopely). Sorry for that.
  2. Sorry, where do I have to see "onKillEntity"? I dont have decompiled the sourcecode. Could you give me an advice where I can see the code or give me an example? Sorry.
  3. Thank you. I think I know what the failure was. I used an integer for an float variable. Dont no why, but the NullPointerException is no longer appearing. Sorry I know that the following isnt that what the topic is called but I dont want to spam topics. How can I let my mob turning villagers on death to my mob? I think I have to override the default vanilla method, but I dont know how it is called. I couldnt find a method or attribute named like "TurnOnDeath" or something like that (I know it would be to easy). Does you or anybody else have an idea or advice?
  4. Hey guys, I added to my mob the tasks you can see here: I cant figure out how to fix it. I only changed from gm 1 to gm 0, and then forge crashed. Here is the report: Could anybody help me please? DeBugger
  5. Okay guys, I already have written that I now have a spawnegg. Now Im wondering how to let the entity spawn naturally. I know that I need the BiomeType.getType() argument in my EntityInit: EntityRegistry.addSpawn(EntityCyborg1.class, 6, 1, 5, EnumCreatureType.CREATURE, BiomeType.getType()); My problem is that I cant figure out what I have to insert in the brackets of getType. I tried the old 1.7.10 code which I used in my older mods, but that dont works. Could anybody help me? DeBugger EDIT: Got it. I used the following code: EntityRegistry.addSpawn(EntityCyborg1.class, 25, 1, 5, EnumCreatureType.CREATURE, Biomes.PLAINS); The spawnchances was to low. Sorry.
  6. Okay thank you. I will do my best to realize it.
  7. Thank you. But do I have not to link my tasks to e.g. EntityZombie?
  8. Hey guys, Im wondering how to override the AI of the vanilla mobs. Im dont want to add a new mob with (custom) AI, I want to override the vanilla AI for e.g. zombies. For example: a default vanilla zombie shouldn´t attack villagers and players anymore. DeBugger PS: Why does the Forge Doc dont have a chapter about entities??
  9. DeBugger replied to Casper1123's topic in Mods
    I think you can do this here Sorry for the delay. DeBugger
  10. Oh, sorry. I forgot that I can do it so. Im just learning java and try to use it "usefull". I know that this way is not the best or wrong way. Sorry for that. I will do my best to expand my Java knowledge. Thanks to all who help(ed) me?
  11. Okay, it should be the shouldBurnInDay-method. My problem is that if I add the argument "false", it is showing the error that for the method cant be added an boolean attribute. I have no clue how to set the method/the event on false. Could anybody help me?
  12. Thank you very much Cadiboo. I will do my best.
  13. Hey guys, Could anybody give me an advice or example how I could deactivate that my zombie-extended mob burns in sun? DeBugger
  14. Thank you very much. Now it works?
  15. Okay, thank you. Is the AIMeleeAttack task right so: this.tasks.addTask(2, new EntityAIAttackMelee(this, 1, true)); ?
  16. What did you tried to delete?
  17. Hey guys, could anybody give me an example or advice how to use the task "AttackEntityEvent"? I want that my mob attacks players and villagers. Like a zombie. I have extended my mob class with EntityZombie but my entity doesnt act like once. DeBugger
  18. DeBugger replied to Casper1123's topic in Mods
    You could create an issue-ticket. I think for EnderIO you can do this here.
  19. Okay, finally I now have almost my entity as I want. Thanks to all for there support and patience. DeBugger PS: The problem with the model and texture was that they wont was registered in my Main.class? Sorry for this fail.
  20. Is FoamFix another mod you are using? I would try without it. In the log is written: Remove FoamFixAPI (or replace with FoamFixAPI-Lawful) and try again. If then any other mods send/create an error-message, put this mod(s) out of your mod-folder and restart Minecraft.
  21. I have no clue how I can help. Im a very beginner...
  22. Im a very beginner, but I think the line Caused by: java.lang.NoClassDefFoundError: cofh/core/fluid/BlockFluidCore is meaning that Forge coudnt find the class "BlockFluidCore". Please correct me if it is somethingelse/other.
  23. I load Harry´s Tech Reviews ModelCentaur class and the texture for it in eclipse to test if that works. I changed from EntityZombie to EntityCow to be sure. The result is the same like my models and textures, only that now cows are spawning. Harry´s EntityCentaur works, but in my workspace wont? Whats wrong? I have mostly the same code, only my Entity-class has an other extension and some other names for variables. PS: I resetted my workspace to the point, that I mostly have Harrys code and copied the whole EntityInit-class. Now I have a spawnegg.
  24. Okay, finally I could create a spawnegg. I have only two problems at the moment: the mob does not have the custom model the mob does not have the custom texture I would be very happy if anyone would help me. DeBugger @V0idWa1k3r , @Cadiboo and @Draco18s: Thank you very much so far for your support and your patience?

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.