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

Silivek

Members
  • Content Count

    18
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Silivek

  • Rank
    Tree Puncher
  1. I ran it using the runClient configuration generated by gradlew genEclipseRuns in the command line.
  2. Sorry for the long wait. Yes, I have refreshed it and restarted eclipse.
  3. Macaw's Doors may have one and there is a mod called Little Tiles that you can create one in.
  4. First off: stop being impatient. Second: look it up on google first. I found something immediately when searching.
  5. 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.
  6. 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
  7. 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.
  8. The Hoglin runs away from Warped Fungus. Maybe try looking into that?
  9. 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, RegistryH
  10. 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.It
  11. 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?
  12. I have a listener set to the ColorHandler's function if that's what you mean
  13. 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.
×
×
  • Create New...

Important Information

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