NMS Mojang Mappings

Discussion in 'Plugin Development' started by justwhatever, May 29, 2023.

Thread Status:
Not open for further replies.
  1. Offline

    justwhatever

    I am developing a server plugin in 1.17.1 and trying to use NMS I ran buildtools.jar and even after am still getting errors.

    WORKS(without mojang mappings)
    Code:
    <dependency>
                <groupId>org.spigotmc</groupId>
                <artifactId>spigot</artifactId>
                <version>1.17.1-R0.1-SNAPSHOT</version>
                <scope>provided</scope>
            </dependency>
    DOES NOT WORK(Could not find artifact org.spigotmc:spigot:jar:remapped-mojang:1.17.1-R0.1-SNAPSHOT in spigotmc-repo (https://hub.spigotmc.org/nexus/content/repositories/snapshots/))
    Code:
    <dependency>
                <groupId>org.spigotmc</groupId>
                <artifactId>spigot</artifactId>
                <version>1.17.1-R0.1-SNAPSHOT</version>
                <classifier>remapped-mojang</classifier>
                <scope>provided</scope>
            </dependency>
    I tried rerunning buildtools and stil got the issues.

    I tried running buildtools with --remapped tag and still got same issue.

    I tried right-clicking in my ide(Intellij) on the dependency and clicking download sources to the same issue.
     
    Last edited: May 29, 2023
  2. Offline

    KarimAKL

    Did you check your local repository for the generated directory?
     
Thread Status:
Not open for further replies.

Share This Page