Jump to content

Recommended Posts

Posted

Compiled my first mod for testing and Forge is crashing on startup. Crash report is incomplete (the report itself just says "... and 34 more" instead of actually including those lines). From my log file, crash seems to be happening after construction, but before pre-initialization. Erroring lines:

 

 

  Reveal hidden contents

 

 

Google only brings up Forge itself missing signatures for older versions and forum signature creators.... ???

 

The tutorials I worked through failed to tell me anything about these.

 

As far as I can tell, there's nothing critically different from my mod and the example mod that loads and runs no problem (other than what they do).

 

My code (just in case)

 

  Reveal hidden contents

 

 

The end goal being to disable the ability for entities to move the player.

Posted
  On 6/23/2016 at 3:16 AM, Ruarc88 said:
Crash report is incomplete (the report itself just says "... and 34 more" instead of actually including those lines).
Umm, that's a standard java thing it means that the error, and the cause of the error share the same stack at that frame. So no need to display it again because it'll be displayed in the cause stack trace.

  Quote
From my log file, crash seems to be happening after construction, but before pre-initialization. Erroring lines:

 

 

  Reveal hidden contents

 

 

Google only brings up Forge itself missing signatures for older versions and forum signature creators.... ???

 

The tutorials I worked through failed to tell me anything about these.

Google jar signing. It's a method of signing the class files so that people can verify that they are from YOU and have not been modified by someone else.

  Quote
As far as I can tell, there's nothing critically different from my mod and the example mod that loads and runs no problem (other than what they do).
There is a SHIT ton different seriously do you know basic java?

 

  Quote

@Mod(modid = PlayerCollisionToggle.MODID, version = PlayerCollisionToggle.VERSION)
public abstract class PlayerCollisionToggle extends Entity
{

Your mod class is an entity what the hell!?!

 

  Quote
The end goal being to disable the ability for entities to move the player.
You're not gunna be able to do this right now.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted
  On 6/23/2016 at 3:16 AM, Ruarc88 said:

@Mod(modid = PlayerCollisionToggle.MODID, version = PlayerCollisionToggle.VERSION)
public abstract class PlayerCollisionToggle extends Entity
{

 

  Quote

extends Entity

 

When they say your code doesn't follow convention but ur edgy so u dont care

d-d-d-dab on them haterz

 

Posted
  On 6/23/2016 at 3:54 AM, LexManos said:

Umm, that's a standard java thing it means that the error, and the cause of the error share the same stack at that frame. So no need to display it again because it'll be displayed in the cause stack trace.

I've never seen a crash report end half-way through listing the system specs but ok then.

 

  Quote

Google jar signing. It's a method of signing the class files so that people can verify that they are from YOU and have not been modified by someone else.

Thank you kindly

 

  Quote

There is a SHIT ton different seriously do you know basic java?

I thought it was obvious I was referring to the bare necessities of a MC mod when I said "Other than what they do"

 

  Quote

Your mod class is an entity what the hell!?!

Grants override access to the function applyEntityCollision (where the player actually gets pushed around by other entities)... at least that's what every override example I've seen leads me to believe. As I said, this is my first mod. If it doesn't work, I'll try something else but I need to be able to load the mod to test it.

 

  Quote

You're not gunna be able to do this right now.

Out of all the functionality MC has seen through mods, you're telling me there's no way to do this right now. Nevermind the fact that the functionality was part of the game for more than 5 major releases before 1.9.

Posted
  Quote

extends Entity

 

Grants override access to the function applyEntityCollision... at least that's what every override example I've seen leads me to believe. As I said, this is my first mod. If it doesn't work, I'll try something else.

Posted

That's not how subclasses and overrides work.

Not trying to be insulting but this is a obvious case where you need to go learn some of the basics of java {or any programming}

There are plenty of free resources such as MIT classes, Standord has some, and TONS of online tutorials.

Going to lock this as there isn't anything more we can do to help you besides advise that you learn a bit more.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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