Fabric API

Fabric API

106M Downloads

ResourceManagerHelper.registerBuiltinResourcePack - not loading last

xanthian opened this issue ยท 1 comments

commented

ResourceManagerHelper.registerBuiltinResourcePack not functioning correctly
My understanding is that datapacks are loaded last, but it seems this behaviour is not always the case
I've scanned through Discord and found this (https://discord.com/channels/507304429255393322/566276937035546624/1088828958327459910) where apple502j also seems to suggests this should be the case.
I'm experiencing randomness with it, sometimes the mod recipes I'm attempting to overwrite are functional, sometimes they are not (same world, no changes between tries)
I've seen there was plans for an overhaul of this api, is this still planned?

fyi .. I've registered it as follows :

    @Override
    public void onInitialize() {
        FabricLoader.getInstance().getModContainer(Initialise.MOD_ID).ifPresent(
                modContainer -> ResourceManagerHelper.registerBuiltinResourcePack(Initialise.identifier("eamodcompat"), modContainer, ResourcePackActivationType.ALWAYS_ENABLED)
        );
commented

Hate to be rude, but is this going to get looked at or fixed?
Seems a pointless addition to FAPI if it can't perform its basic function.