Open Jayv6 opened 1 week ago
New Neoforge 21.0.31 made the following changes to damage events:
import net.neoforged.neoforge.event.entity.living.LivingHurtEvent;
import net.neoforged.neoforge.event.entity.living.LivingIncomingDamageEvent;
public static void dodge(LivingHurtEvent event) {
public static void dodge(LivingIncomingDamageEvent event) {
public static void livingDamageEvent(LivingDamageEvent event) {
if (!(event.getSource().getEntity() instanceof Player player))
public static void livingDamageEvent(LivingIncomingDamageEvent event) {
if (!(event.getEntity() instanceof Player player))
Having the same problem.
Same problem here. It happened after I had to update my neoforge past 21.0.31-beta
I believe
Same here, the error only happens on neoforge 21.0.31-beta
and forward
Having exactly the same problem!
Can confirm this issue on my machine.
I´m on version 21.0.37 and architectury crashes the game, without it ofc none of the dependent mods are usable. my crashlog looks something like this:
-- Head -- Thread: Render thread Stacktrace: at TRANSFORMER/architectury@13.0.2/dev.architectury.platform.hooks.EventBusesHooks.lambda$whenAvailable$0(EventBusesHooks.java:34) ~[architectury-13.0.2-neoforge.jar%23330!/:?] {re:classloading} at java.base/java.util.Optional.orElseThrow(Optional.java:403) ~[?:?] {re:mixin} at TRANSFORMER/architectury@13.0.2/dev.architectury.platform.hooks.EventBusesHooks.whenAvailable(EventBusesHooks.java:34)
versions Neoforge 1.21 (21.0.32 beta) Architectury 13.0.1 https://mclo.gs/xCRzSnS (log) I cannot get the game to load with just this mod