Jump to content

Recommended Posts

Posted

I am having an issue regarding a NoSuchMethodError but only when connected to my server.

 

Here is the crash report:

 

 
 
 
 
  Reveal hidden contents

 

And here is the class for the entity that is giving me trouble: https://github.com/Chubel10/ObamiumMod/blob/master/src/main/java/com/chubel/obamiummod/entity/ModFloatingEntity.java

 

Help would be greatly appreciated!

 

Posted

I see! thank you.

 

But only the constructors that are client side take an argument for affectedBlockPositionsIn which I need. How could I go about adding specific blocks to the List<BlockPos> affectedBlockPositions field without using reflection?

 

Thanks in advance!

Posted

You can still access Explosion.getAffectedBlockPositions(). Even though the List is final, you can still make changes to it, because it's an ArrayList.

  • Like 1
  • chubel10 changed the title to [Solved!] Server-exclusive error

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.