Skip to content

[1.12.2] Registering Crafting Condition Factories does not allow for actual Resource Locations #5092

@UpcraftLP

Description

@UpcraftLP

When registering custom IConditionFactorys via a _factories.json file, there is no way to register these using a different namespace, due to CraftingHelper always prefixing the string with the current modid.

ResourceLocation key = new ResourceLocation(context.getModId(), entry.getKey());

Imo this should check for a modid prefix before substituting the current modid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions