Object RecipeMatchingService


  • 
    public class RecipeMatchingService
    
                        

    A service providing qol methods for matching against rebar's vanilla recipe replacement.

    Minecraft's recipe choice system is incredibly shallow, by default you can only ever match by item type or by exact ItemStack equality. This is okay enough for vanilla & datapacks, but the moment you add "custom" items that use vanilla types, it quickly falls short.

    Because of this Rebar replaces vanilla recipe matching with our own FluidOrItemChoice system, allowing for much more flexible and dynamic recipe matching.

    The basic logic of which is contained in this class.

    Currently supports: