Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run minecraft forge from IDE #556

Open
fgsoftware1 opened this issue Aug 31, 2024 · 0 comments
Open

Can't run minecraft forge from IDE #556

fgsoftware1 opened this issue Aug 31, 2024 · 0 comments

Comments

@fgsoftware1
Copy link

fgsoftware1 commented Aug 31, 2024

When i try to run forge version of my mod from IDE it reach game main menu and crash with the following error:

Caused by: java.lang.NoSuchMethodError: 'com.mojang.math.Transformation com.mojang.math.Transformation.func_227987_b_()'

fabric version works fine

Info
OS: Kali Linux
MC version: 1.16.5
APIs versions: latest for the minecraft version, generated by:Architectury generator

Code

public class ItemRegistry {
    public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(MOD_ID, Registry.ITEM_REGISTRY);

    public static final RegistrySupplier<Item> TEST_ITEM = ITEMS.register("test_item", () -> new Item(new Item.Properties()));

    public static void init() {
        ITEMS.register();
    }
}

Extra Info

  • ItemRegistry is called on both main forge and main client.
  • fabric registered this item without any problems
  • if i run forge mod on an external launcher it works fine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant