9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-29 20:09:13 +00:00

修复加载

This commit is contained in:
XiaoMoMi
2025-09-04 06:39:47 +08:00
parent 8b6c2c398a
commit 65b00161fb
6 changed files with 16 additions and 10 deletions

View File

@@ -496,6 +496,7 @@ public final class BlockGenerator {
}
}
}
public static class PerformBoneMealInterceptor {
public static final PerformBoneMealInterceptor INSTANCE = new PerformBoneMealInterceptor();

View File

@@ -1571,7 +1571,8 @@ public final class CoreReflections {
);
public static final Method method$BlockBehaviour$hasAnalogOutputSignal = requireNonNull(
ReflectionUtils.getDeclaredMethod(clazz$BlockBehaviour, boolean.class, new String[]{"hasAnalogOutputSignal", "c"}, clazz$BlockState)
ReflectionUtils.getDeclaredMethod(clazz$BlockBehaviour, boolean.class, new String[]{"hasAnalogOutputSignal",
VersionHelper.isOrAbove1_20_5() ? "c_" : "d_"}, clazz$BlockState)
);
public static final Method method$BlockBehaviour$getAnalogOutputSignal = requireNonNull(

View File

@@ -1057,7 +1057,6 @@ public final class NetworkReflections {
)
);
public static final Constructor<?> constructor$ClientboundMoveEntityPacket$PosRot = requireNonNull(
ReflectionUtils.getTheOnlyConstructor(clazz$ClientboundMoveEntityPacket$PosRot)
);