Skip to content

1.21.11-SNAPSHOT fails to build — mixin remap error on class_2560/class_3830 #6551

Description

@salamanderius77

Describe the bug

Building an addon against meteordevelopment:meteor-client:1.21.11-SNAPSHOT with yarn 1.21.11+build.3 fails during dependency processing with:

Cannot remap onEntityCollision because it does not exists in any of the targets [net/minecraft/class_2560]
Cannot remap method_9548 because it does not exists in any of the targets [net/minecraft/class_2560]
Cannot remap onEntityCollision because it does not exists in any of the targets [net/minecraft/class_3830]
Cannot remap method_9548 because it does not exists in any of the targets [net/minecraft/class_3830]

This corrupts the mapped Minecraft jar, causing every net.minecraft.* import to fail afterward with "package net.minecraft does not exist" in downstream compilation. Reproduced across multiple independent addon repos with identical minecraft/yarn/meteor version pins, over several days, so this doesn't appear to be a transient issue.

Steps to reproduce

  1. Set up a Meteor addon project targeting Minecraft 1.21.11, with yarn mappings 1.21.11+build.3
  2. Run ./gradlew build
  3. Build fails during dependency processing with "Cannot remap onEntityCollision" errors on class_2560 and class_3830, which then cascades into every net.minecraft.* import failing to resolve during compilation

Meteor Version

1.21.11-SNAPSHOT

Minecraft Version

1.21.11

Operating System

Windows

Before submitting a bug report

  • This bug wasn't already reported (I have searched bug reports on GitHub).

  • This is a valid bug (I am able to reproduce this on the latest dev build).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions