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

Novârch

Members
  • Posts

    422
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Novârch

  1. Do the above, the mountable thing was a passing comment.
  2. Post the full debug.log, the above tells me nothing. From what I know, that means nothing, it's just a closing message. Is your entity mountable? This will always be null if it isn't, not important.
  3. I've been having some issues with running my mod in multiplayer lately, I've tried to diagnose the problem myself but to no avail. The crash in the debug.log doesn't even mention my mod, just says there was an error executing a task on the client, then throws an IndexOutOfBoundsException, I get these all the time in singleplayer and they don't do anything, in singleplayer they clearly come from this line, because the the value I'm writing is null on startup, though that isn't relevant as the crash happens even when that entity isn't present. Does anyone know whats causing these crashes? I'd really appreciate some help.
  4. Try overriding Entity#createSpawnPacket in your entity and return NetworkHooks#getEntitySpawningPacket from it.
  5. Please don't tell me you copied it word for word.
  6. An ItemEntity, Minecraft (or Forge, idk) makes one for your items automatically.
  7. Seems fine for the most part, you should also make this class client only, @OnlyIn does literally nothing for modders, it's just an ugly ASM hack for Forge and Minecraft internal use. Edit: Well...upon further inspection I think you're code won't function on the server at all, you can't just store static variables in an event handler, remember, there is only one instance of your mod on the server, so every player is going to try to share those variables, breaking everything.
  8. No one really uses or understands data fixers, the error is really unimportant anyway.
  9. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support,
  10. en_us.json, that's one, look through the resource for the rest. Look at every single file you've created, and fix it.
  11. That is literally your error, some of your jsons have a modid with a capital letter in them, your modid must be all lowercase.
  12. Well make one, it's your project, it's not even important whether you have one.
  13. BipedModel#isSneak. Make sure to offset it like in PlayerRenderer line 67. Oops, that's for crouching, look at LivingRenderer line 55 and below for sitting,
  14. Maybe RenderGameOverlayEvent.Post? You could check Minecraft#player there, though you would have to sync your capability to the client for that.
  15. Read Draco's comment, the code is completely different in 1.15, try to make something on your own and come back here if you fail.
  16. Do you think or do you know? Post updated 1.15 code.
  17. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  18. Take a look at the usages of GameSettings#keyBindInventory (line 137).
  19. Have you checked instanceof, whether you're on the server with World#isRemote? These are potential issues.
  20. Post code, preferably as a git repo. I can't say anything without seeing the json and it's position.
  21. Maybe, but it is still recommended you mod normally and in a way your mod can work with multiple players. Nope, advancements are server-side, you cannot modify them from the client. Why? Because the client is a liar.
  22. Minecraft#player is a ClientPlayerEntity, your NP comes from you trying to get it's server. That is not a good thing to do, unless your mod is client-side, you should always support multiplayer. If your mod is client-side, I'm pretty sure you can't do this, the server doesn't trust the client. Where are you running this code? Context is important.
  23. Take a look at AdvancementCommand , it seems helpful.
×
×
  • Create New...

Important Information

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