Package com.mrbysco.spoiled
Class SpoiledFabric
java.lang.Object
com.mrbysco.spoiled.SpoiledFabric
- All Implemented Interfaces:
net.fabricmc.api.ModInitializer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voidsendRecipes(net.minecraft.server.level.ServerPlayer player, Collection<net.minecraft.world.item.crafting.RecipeHolder<?>> recipeMap) Send the Spoiled recipes to a player.
-
Field Details
-
config
-
-
Constructor Details
-
SpoiledFabric
public SpoiledFabric()
-
-
Method Details
-
onInitialize
public void onInitialize()- Specified by:
onInitializein interfacenet.fabricmc.api.ModInitializer
-
sendRecipes
public static void sendRecipes(net.minecraft.server.level.ServerPlayer player, Collection<net.minecraft.world.item.crafting.RecipeHolder<?>> recipeMap) Send the Spoiled recipes to a player.- Parameters:
player- the player to send the recipes torecipeMap- the recipe map containing the recipes to send
-