Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

GiovanniStella

Members
  • Posts

    15
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

GiovanniStella's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. Ok, i was having somoe trouble with git bash but i finally did upload the correct folder to git hub. Now it has all entities folder https://github.com/GigiTeddy/keanu5/tree/master/src/main/java/me/TeddyTheGamer/KeanuMod I added just o reference in ClientEventBusSubscriber.class that cyberKeanuEntityType is EntityType<CyberKeanu>. I was just trying to correct the error somehow. If you could please take another look at my code I would be grateful. And if you have any link to a 1.16.4 entity tutorial that would helpme with this problem, please link it down. Thank you.
  2. Ok, so I tried something, I added this into ClientEventBusSubscriber.class: private static EntityType<CyberKeanu> cyberKeanuEntityType; And so I got no errors doing : RenderingRegistry.registerEntityRenderingHandler(ClientEventBusSubscriber.cyberKeanuEntityType, new CyberKeanuRenderFactory()); *But the game crashed when I started* This is the lastest log of this crash : https://www.dropbox.com/s/9mene0urd6pt2t4/latest.log?dl=0 And this is the debug log of this crash : https://www.dropbox.com/s/exr4td5tkzoczsj/debug.log?dl=0
  3. Ok, so I tried something, I added this into ClientEventBusSubscriber.class: private static EntityType<CyberKeanu> cyberKeanuEntityType; And so I got no errors doing : RenderingRegistry.registerEntityRenderingHandler(ClientEventBusSubscriber.cyberKeanuEntityType, new CyberKeanuRenderFactory()); *But the
  4. Oh yeah right, updated : https://github.com/GigiTeddy/Keanutest2
  5. What do you mean? You want me to show my Cyberkeanu.class? I posted my github here : https://github.com/GigiTeddy/KeanuTest
  6. Hey again, i followed what you sent me and one of my two problems is now gone. I copied his registration event in the main class and it probably worked (I cannot play it still to test it out but the red error is gone now) But i still cannot correct my "ClientEventBusSubscriber" which is yours "StartupClientOnly" class. I copied your IRe nder factory for the boomerang but i still get this error (Screenshot_3.png) I might have got it wrong but idk. I will keep on trying to find a solution but appreciate any help here. Thanks.
  7. Hey, so I started codding a mod just a few days ago and I'm not so sure why my code does not work. I have followed tutorials but it still does not work. My two problems are at my ClienteEventBusSubscriber.class and my Main class (which is KeanuMod.class). The first one keeps asking me for IRenderFactory, but everything I try to do does not work. And the Main class says something about need LivingEntity, but I do not know the difference in this and CreatureEntity (which is the one i extended in my entity class). Also, there is a class named CyberKeanuFactory, which is just a failed attempt of mine to make an IRenderFactory. I'm not an expert on this, so I very much appreciate your kindness. Thank you for reading. This is my code in github : https://github.com/GigiTeddy/KeanuTest This is the tutorial i followed :
  8. Dude, you are a LEGEND. Thank you so much, it worked. I don't actually remember writing it down but anyways. Thanks to everyone that posted here!
  9. Thank you so much! I will try to register like this and see if the mod recognizes my .jsons.
  10. Its my first time doing this, and i cannot believe i actually did it. Here it is : https://github.com/GigiTeddy/Test1
  11. I posted it again as .jar, but its the same as before. Im uploading as a txt so you guys can see it.
  12. First time uploading to github, is it right? https://github.com/GigiTeddy/Keanumod
  13. It keeps saying that this log is too big to upload here, or even paste bin. Here can I post it? So i uploaded it to my dropbox : https://www.dropbox.com/s/exr4td5tkzoczsj/debug.log?dl=0 Tell me if there's a better way for this.
  14. Hello, I started modding a few days ago and now I'm trying to add a new Item just for testing but for some reason the name on en_us.json, and my texture are not showing up in game. It only shows the java name of the item like (item.keanumod.card). I have tried multiple things but none of them worked. Tried : 1- Changing text the text file enconding. (to UFT-8) 2- Changing workspace in Eclipse 3- Downloaded IntelliJ, and the same thing happened 4- I did re-write the whole again, and it still did not work. 5- And tried to change the text format in .jsons to old ones like ""="" instead of "":"" in en_us.json This is my en_us.json : { "item.keanumod.card":"Delayed Card" } ================================================================= card.json : { "parent": "item/generated", "textures": { "layer0": "keanumod:items/card" } } ========================================================================== A print of my structure : https://prnt.sc/vv7bmj ============================================================================ latest log: https://pastebin.pl/view/8b79ffa8 ============================================================================== Just to clarify, the item shows up on my world but withou any texture and named "item.keanumod.card". Thanks to anyone who did read, I would love some help.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.