
-
Mod won't load when in dev environment
I ran it using the runClient configuration generated by gradlew genEclipseRuns in the command line.
-
Mod won't load when in dev environment
Sorry for the long wait. Yes, I have refreshed it and restarted eclipse.
-
How do update a 1.12.2 mod to 1.16.3
Macaw's Doors may have one and there is a mod called Little Tiles that you can create one in.
-
How do update a 1.12.2 mod to 1.16.3
First off: stop being impatient. Second: look it up on google first. I found something immediately when searching.
-
Mod won't load when in dev environment
I forgot I had MOD_ID actually, I went ahead and fixed that, and the ItemBase. The build.gradle should have all the correct information now, but the Minecraft instance Eclipse runs still doesn't have my mod in it.
-
Silivek changed their profile photo
-
Mod won't load when in dev environment
I'm pretty sure my code is horrendous and there are most likely files in the wrong places, but I can't figure out what is wrong. Minecraft will load up fine but only have forge running. My GitHub page is here
-
unexpected custom data from client
Also, make sure every single mod on the server and client are the same version as well as the forge version. Although they are both 1.16.4 they might not be the same forge version.
-
unexpected custom data from client
Can you post the full error?
-
[1.16] Make entity run away from block
The Hoglin runs away from Warped Fungus. Maybe try looking into that?
-
[1.16.1] I need help with getting my item to have colored layers.
I got it working! Thanks for your help! package soii.races.client; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.client.event.ColorHandlerEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import soii.races.items.ChangerItem; import soii.races.util.RegistryHandler; @EventBusSubscriber(value = Dist.CLIENT) public class ColorHandlers { @SubscribeEvent public static void registerItemColors(ColorHandlerEvent.Item event) { event.getItemColors().register(ChangerItem::getItemColor, RegistryHandler.CHANGER_TOKEN.get()); } }
-
[1.16.1] I need help with getting my item to have colored layers.
So that just means my other code is wrong now?
-
[1.16.1] I need help with getting my item to have colored layers.
Okay, I added a tag to the Handler, is this more correct? It caused the println to happen once at the beginning, but not ingame. package soii.races.client; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.client.event.ColorHandlerEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import soii.races.ChangerColor; import soii.races.items.ChangerItem; @EventBusSubscriber(value = Dist.CLIENT) public class ColorHandlers { @SubscribeEvent public static void registerItemColors(ColorHandlerEvent.Item event) { System.out.println("Working!"); event.getItemColors().register(new ChangerColor(), new ChangerItem()); } }
-
[1.16.1] I need help with getting my item to have colored layers.
Sorry I took so long to get back to you. I was a little bit busy. I did a println in the event handler and it did not output anything, so does that mean I'm using the wrong event or that my item isn't triggering the event?
-
[1.16.1] I need help with getting my item to have colored layers.
I have a listener set to the ColorHandler's function if that's what you mean
-
1.15.2 How to create a block that replaces itself with another block when broken?
There is a function in Block that is called onBlockHarvested, you can probably start from there and just replace the block with the other block.
IPS spam blocked by CleanTalk.