Posted February 25, 20178 yr 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 neededhttp://pastebin.com/e8Lvrfzi Edited February 26, 20178 yr by SparkyFox95
February 25, 20178 yr You only need to change the texture for the 'arrow' Classes: 94 Lines of code: 12173 Other files: 206 Github repo: https://github.com/KokkieBeer/DeGeweldigeMod
February 25, 20178 yr Author 3 minutes ago, Kokkie said: You only need to change the texture for the 'arrow' to what?
February 25, 20178 yr 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 { } Classes: 94 Lines of code: 12173 Other files: 206 Github repo: https://github.com/KokkieBeer/DeGeweldigeMod
February 25, 20178 yr Author 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 February 25, 20178 yr by SparkyFox95
February 25, 20178 yr Author is the cause of the crashing not got something to do with my client or common proxy or my ServerMod class?
February 25, 20178 yr 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.
February 25, 20178 yr Author 2 minutes ago, Animefan8888 said: Are you crashing? If so post the most recent crash. it's in that pastebin link in the OPhttp://pastebin.com/e8Lvrfzi oh woops, my bad, wrong logs Edited February 25, 20178 yr by SparkyFox95
February 25, 20178 yr You can't have a null ResourceLocation herehttps://github.com/SparkyTheFox/Sparkys-Mod-1.11.2-1.3.0-Alpha-SourceCode/blob/master/common/mod/sparkyfox/servermod/init/ModEntities.java#L17 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.
February 25, 20178 yr Author 1 minute ago, Animefan8888 said: You can't have a null ResourceLocation herehttps://github.com/SparkyTheFox/Sparkys-Mod-1.11.2-1.3.0-Alpha-SourceCode/blob/master/common/mod/sparkyfox/servermod/init/ModEntities.java#L17 ahh! I thought that null was a bad idea..what is it put in there? " "servermood.MOD_ID" "? Updated the pastebin with my crash report
February 25, 20178 yr new ResourceLocation("modid:entity_name") Classes: 94 Lines of code: 12173 Other files: 206 Github repo: https://github.com/KokkieBeer/DeGeweldigeMod
February 25, 20178 yr It is a registryName for Entities. 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.
February 25, 20178 yr Author 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 February 25, 20178 yr by SparkyFox95
February 25, 20178 yr 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.
February 25, 20178 yr Author Just now, Leomelonseeds said: Try making your register function public in your ModEntities class that didn't work, still did the same as it was when it was private
February 25, 20178 yr Can you make the crash report shorter? 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.
February 25, 20178 yr Author 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
February 26, 20178 yr Author I fixed the SMG, it now fires the SMGrounds. Thank you everyone for helping! especially Kokkie
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.