Jump to content

MinikTombikZimik

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by MinikTombikZimik

  1. Im pretty sure of my mixin files work, the json one spongepowered etc. But i get this error when i try to comply: > Task :compileJava Note: SpongePowered MIXIN Annotation Processor Version=0.8.5 (MixinGradle Version=0.7) Note: Supported obfuscation types: ObfuscationServiceMCP supports [notch] ObfuscationServiceFG3 supports [searge] Note: Loading searge mappings from C:\Users\g³no\Desktop\Reimagined-1.20.1\build\createMcpToSrg\output.tsrg C:\Users\g³no\Desktop\Reimagined-1.20.1\src\main\java\com\guniks\reimagined\mixins\CreateFanMixin.java:17: error: Unable to locate obfuscation mapping for @Inject target canProcess @Inject(at = @At("HEAD"), method = "canProcess", cancellable = true) ^ Note: Writing refmap to C:\Users\g³no\Desktop\Reimagined-1.20.1\build\tmp\compileJava\compileJava-refmap.json Note: Writing refmap to C:\Users\g³no\Desktop\Reimagined-1.20.1\build\tmp\compileJava\compileJava-refmap.json Note: Writing searge composite mappings to C:\Users\g³no\Desktop\Reimagined-1.20.1\build\tmp\compileJava\compileJava-mappings.tsrg Note: Writing refmap to C:\Users\g³no\Desktop\Reimagined-1.20.1\build\tmp\compileJava\compileJava-refmap.json Note: Writing refmap to C:\Users\g³no\Desktop\Reimagined-1.20.1\build\tmp\compileJava\compileJava-refmap.json Note: Writing searge composite mappings to C:\Users\g³no\Desktop\Reimagined-1.20.1\build\tmp\compileJava\compileJava-mappings.tsrg 1 error The CreateFanMixin file is this: package com.guniks.reimagined.mixins; import com.simibubi.create.content.kinetics.fan.processing.AllFanProcessingTypes; import net.minecraft.world.item.ItemStack; import net.minecraft.world.level.Level; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; import java.util.Collections; import java.util.List; @Mixin(AllFanProcessingTypes.BlastingType.class) public abstract class CreateFanMixin { @Inject(at = @At("HEAD"), method = "canProcess", cancellable = true) public boolean canProcessDisable(ItemStack stack, Level level, CallbackInfoReturnable<List<Boolean>> cir) { cir.setReturnValue(false); } } Can anyone help please?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.