Architectury API (UNUSED)

Architectury API (UNUSED)

9M Downloads

1.21 neoforge mod fails to load

Jayv6 opened this issue · 8 comments

commented

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

commented

image

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))
commented

Having the same problem.

commented

Same problem here. It happened after I had to update my neoforge past 21.0.31-beta I believe

commented

Same here, the error only happens on neoforge 21.0.31-beta and forward

commented

Having exactly the same problem!

commented

Can confirm this issue on my machine.

commented

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)

commented

I have a similar problem, the game says that architectury is not available