architectury-api icon indicating copy to clipboard operation
architectury-api copied to clipboard

1.21 neoforge mod fails to load

Open Jayv6 opened this issue 1 year ago • 7 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

Jayv6 avatar Jun 24 '24 16:06 Jayv6

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

ffuentesm avatar Jun 24 '24 17:06 ffuentesm

Having the same problem.

CsillaAria avatar Jun 24 '24 23:06 CsillaAria

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

Logan9312 avatar Jun 24 '24 23:06 Logan9312

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

Steinzu avatar Jun 25 '24 01:06 Steinzu

Having exactly the same problem!

EstebanLoupias avatar Jun 25 '24 01:06 EstebanLoupias

Can confirm this issue on my machine.

ashton727 avatar Jun 25 '24 02:06 ashton727

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)

Fidulus avatar Jun 25 '24 15:06 Fidulus

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

Shadowglitchjpg avatar Jul 12 '24 13:07 Shadowglitchjpg