Jump to content

Recommended Posts

Posted (edited)

I've been working on a custom projectile entity(SMGRounds) but it dosent seem to render or spawn in, or be in the /summon command. I've tried registering the entity and renders through my proxies and main mod and the game just crashes now, can anyone see what I'm doing wrong?
https://github.com/SparkyTheFox/Sparkys-Mod-1.11.2-1.3.0-Alpha-SourceCode/tree/master/common/mod/sparkyfox/servermod


here is my latest logs incase it's needed
http://pastebin.com/e8Lvrfzi

Edited by SparkyFox95
Posted (edited)
27 minutes ago, Kokkie said:

To give it your own texture, you copied the rendering from the RenderArrow and that isn't needed.

Also, you have a for loop that ends on ; instead of {  }

I originally did use my own, but I was having sound issues, though I do have a back up of that, but let me try what you said, also is this in my RenderSMGRounds?

Edit:
the game is still crashing

Edited by SparkyFox95
Posted
5 minutes ago, SparkyFox95 said:

is the cause of the crashing not got something to do with my client or common proxy or my ServerMod class?

Are you crashing? If so post the most recent crash.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted (edited)
35 minutes ago, Kokkie said:

new ResourceLocation("modid:entity_name")

YES! that fixed the crash and made it able to /summon servermod:SMGRounds but when I do summon SMGRounds, the game crashes.

I've updated my RenderSMGRounds and my ModEntities in my source code, I'll update the pastebin with the crash report and logs

EDIT:
Updated the pastebin with the latest crash report and logs

Edited by SparkyFox95
Posted

Try making your register function public in your ModEntities class

Apparently I'm addicted to these forums and can't help but read all the posts. So if I somehow help you, please click the "Like This" button, it helps.

Posted
1 minute ago, Leomelonseeds said:

Can you make the crash report shorter?

umm...I can try, in the paste bin ive split the 4 logs up, but I'll try take any unnecessary stuff out the crash report 

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.