Won't Build?
UdderlyEvelyn opened this issue ยท 7 comments
I can't get it to build either on the command line with gradle directly or in IntelliJ.. well, it builds but because it won't obfuscate this one mixin it won't boot the game with the mod installed.
When running despite this it does this:
[18:05:02] [main/FATAL]: Mixin apply failed locks.mixins.json:WorldMixin -> net.minecraft.world.level.Level: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Inject annotation on strongCheck could not find any targets matching 'setBlock(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;II)Z' in net.minecraft.world.level.Level. No refMap loaded. [PREINJECT Applicator Phase -> locks.mixins.json:WorldMixin -> Prepare Injections -> -> handler$gac000$strongCheck(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;IILorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V -> Parse] org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on strongCheck could not find any targets matching 'setBlock(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;II)Z' in net.minecraft.world.level.Level. No refMap loaded. [PREINJECT Applicator Phase -> locks.mixins.json:WorldMixin -> Prepare Injections -> -> handler$gac000$strongCheck(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;IILorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V -> Parse]
Locks are going to be slower to update lately, mainly because developers don't have much time and are planning to refactor locks
Yes, this is due to the fact that the refmap name is not set when using arch gradle, which will cause the file name to be different from the setting, and the file name needs to be changed manually
fix in this