Posted June 14, 20223 yr I am not sure if I have made a mistake anywhere and not sure if this is how to register the event. Code provided below. package uk.nf.teamserpentalise.tspaintball.init; import net.minecraftforge.event.entity.living.LivingHurtEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import uk.nf.teamserpentalise.tspaintball.TSPaintball; @Mod.EventBusSubscriber(modid = TSPaintball.MOD_ID) public class eventinit { @SubscribeEvent public void Hurt(LivingHurtEvent event) { TSPaintball.LOG.info("Hurt Event Fired"); } }
June 14, 20223 yr Author The Event still does not fire the log message at all, anything I'm possibly missing
June 14, 20223 yr Author For crying out loud I didn't realize until I looked again I was missing the static out of them. Got it to work now. Thank you @Luis_ST
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.