-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Which will result in non-deterministic results if the source method has overloads, e.g. remapping from Fabric 1.19.3 to Forge:
import net.minecraft.sound.SoundEvent;
import net.minecraft.util.Identifier;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Invoker;
@Mixin(SoundEvent.class)
public interface SoundEventAccessor {
@Invoker
static SoundEvent invokeOf(Identifier identifier) {
throw new AssertionError();
}
}may semi-randomly result in @Invoker("createFixedRangeEvent") instead of the expected @Invoker("createVariableRangeEvent").
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working