#Buggy replaceInput Interaction

12 messages · Page 1 of 1 (latest)

real plank
#
ServerEvents.recipes((event) => {
    const recipes = [
        {
            filter: { mod: 'pneumaticcraft' },
            to_replace: '#c:glass_blocks',
            replace_with: 'ae2:quartz_glass'
        }    
    ];

    recipes.forEach((recipe) => {
        event.replaceInput(recipe.filter, recipe.to_replace, recipe.replace_with);
    });
});

Result on first load:

oak haloBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

real plank
#

Actual recipe as seen after /reload

#

This recipe contains no glass... the tag replacement is just replacing literally anything with any tag

kind herald
#

pretty sure tags are still broken on 1.19

#

most people just use a code snippet that runs a /reload when the server loads for the first time

real plank
#

Yeah, this was just a rather different case of tags being terribly broken

#

like, normally they just don't exist prior to recipes

#

but this is a whole other ball of wax

oak haloBOT
#

@real plank Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!

oak haloBOT
#

@real plank Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!

oak haloBOT
#

@real plank Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!