1.21 neoforge mod fails to load
Jayv6 opened this issue · 8 comments
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
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))
Same problem here. It happened after I had to update my neoforge past 21.0.31-beta
I believe
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/[email protected]/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/[email protected]/dev.architectury.platform.hooks.EventBusesHooks.whenAvailable(EventBusesHooks.java:34)