Skip to content

[1.20.1] ResourceLocation#fromNamespaceAndPath NoSuchMethod with Latest Forge #7985

Description

@HowardZHY

Description of Issue

The Forge added method since MinecraftForge/MinecraftForge@b805fa7 seems removed by OF

net.minecraftforge.fml.ModLoadingException: Quick Skin (quickskin) encountered an error during the common_setup event phase
java.lang.NoSuchMethodError: 'net.minecraft.resources.ResourceLocation net.minecraft.resources.ResourceLocation.fromNamespaceAndPath(java.lang.String, java.lang.String)'

Steps to Reproduce

Install https://www.curseforge.com/minecraft/mc-mods/quick-skin and it's dep GeckoLib

OptiFine Version

HD_U_I6

Installation Method

Both installer and mods tested

Fabric/Forge Version

Forge 47.4.6

Log Files/Crash Reports

https://pastebin.com/mbuz9AqG

Prior Testing

Working when without OptiFine.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions