Class SpoiledFabric

java.lang.Object
com.mrbysco.spoiled.SpoiledFabric
All Implemented Interfaces:
net.fabricmc.api.ModInitializer

public class SpoiledFabric extends Object implements net.fabricmc.api.ModInitializer
  • Field Details

    • config

      public static me.shedaniel.autoconfig.ConfigHolder<SpoiledConfig> config
  • Constructor Details

    • SpoiledFabric

      public SpoiledFabric()
  • Method Details

    • onInitialize

      public void onInitialize()
      Specified by:
      onInitialize in interface net.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 to
      recipeMap - the recipe map containing the recipes to send