Everything posted by Novârch
-
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Do the above, the mountable thing was a passing comment.
-
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
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.
-
[1.15.2] Rotating block to face while placing
Stairs?
-
[SOLVED] [1.15.2] Issues with multiplayer
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.
-
[1.15.2] Entity error
Try overriding Entity#createSpawnPacket in your entity and return NetworkHooks#getEntitySpawningPacket from it.
-
[1.15.2] Entity error
Please don't tell me you copied it word for word.
-
[1.15.2] Entity error
An ItemEntity, Minecraft (or Forge, idk) makes one for your items automatically.
-
[1.16.1/1.14.4] Running on Dedicated server halting without a crash
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.
-
[1.16.1/1.14.4] Running on Dedicated server halting without a crash
Please post your code, preferably as a git repository.
-
[1.14.4] No data fixer registered for entity warning
No one really uses or understands data fixers, the error is really unimportant anyway.
-
Adding baubles api to a project [1.12.2]
1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support,
-
[1.15.2] Crashing after adding new item
en_us.json, that's one, look through the resource for the rest. Look at every single file you've created, and fix it.
-
[1.15.2] Crashing after adding new item
That is literally your error, some of your jsons have a modid with a capital letter in them, your modid must be all lowercase.
-
(1.16.1) How to add another texture layer to chestplate
Well make one, it's your project, it's not even important whether you have one.
-
How to make my mob which uses the PlayerModel sit?
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,
-
Toggle block models
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.
-
Toggle block models
Do you think or do you know? Post updated 1.15 code.
-
Toggle block models
1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
-
[1.16.1] How to open player inventory
Take a look at the usages of GameSettings#keyBindInventory (line 137).
-
[1.16.1] Advancement quantity criterion
Have you checked instanceof, whether you're on the server with World#isRemote? These are potential issues.
-
[SOLVED] Problem with 1.16.1 mod! Armor issues.
Post code, preferably as a git repo. I can't say anything without seeing the json and it's position.
-
[1.16.1] Advancement quantity criterion
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.
-
[1.16.1] Advancement quantity criterion
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.
-
[1.16.1] Advancement quantity criterion
Take a look at AdvancementCommand , it seems helpful.
-
[1.15.2] I revamped some classes and I would like to know, why my stuff broke.
You never register your capability in FMLCommonSetupEvent using CapabilityManager#register.
IPS spam blocked by CleanTalk.