Jump to content

[1.12.2] crash while ticking entity/updating task


Recommended Posts

Posted

Hey guys,

I added to my mob the tasks you can see here:

  Reveal hidden contents

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:

  Reveal hidden contents

Could anybody help me please?

DeBugger

Posted
  On 9/8/2018 at 4:10 PM, DeBugger said:

NullPointerException

Expand  

Something is null.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

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?

Posted

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.

Posted

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.

Posted

How much RAM is in your machine?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted (edited)

Hey guys,

is there a way to upgrade my DevWorkspace to DecompWorkspace without lost of my classes?

DeBugger

 

PS: Are Im allowed to use  the onKillEntity-code of the Zombie class? I would like to change from ZombieVillager to Cyborg (my mob). I have no idea how to let my mob create more Cyborgs without using the onKillEntity-method. Is that against the EULA of Mojang?  

Edited by DeBugger
Posted

Do I issue the EULA of Mojang if I override the onKillEntity method by using the same Code? I only would Change the variables and the used Mobs. I also would add a few lines of own Code. Could anybody help me?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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