Class RecipeRegistryLoader
java.lang.Object
org.geysermc.geyser.registry.loader.RecipeRegistryLoader
- All Implemented Interfaces:
RegistryLoader<String,Map<org.geysermc.mcprotocollib.protocol.data.game.recipe.RecipeType, List<GeyserRecipe>>>
public final class RecipeRegistryLoader
extends Object
implements RegistryLoader<String,Map<org.geysermc.mcprotocollib.protocol.data.game.recipe.RecipeType,List<GeyserRecipe>>>
Populates the recipe registry with some recipes that Java does not send, to ensure they show up as intended
in the recipe book.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMap<org.geysermc.mcprotocollib.protocol.data.game.recipe.RecipeType,List<GeyserRecipe>> Loads an output from the given input.
-
Constructor Details
-
RecipeRegistryLoader
public RecipeRegistryLoader()
-
-
Method Details
-
load
public Map<org.geysermc.mcprotocollib.protocol.data.game.recipe.RecipeType,List<GeyserRecipe>> load(String input) Description copied from interface:RegistryLoaderLoads an output from the given input.- Specified by:
loadin interfaceRegistryLoader<String,Map<org.geysermc.mcprotocollib.protocol.data.game.recipe.RecipeType, List<GeyserRecipe>>> - Parameters:
input- the input- Returns:
- the output
-