Class net.minecraft.recipe.RecipeUnlocker

This description should be content pulled from the first comments of a lua file.

Instance Methods

instance:getLastRecipe() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setLastRecipe(recipe) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:shouldCraftRecipe(world, player, recipe) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:unlockLastRecipe(player) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Instance Methods

instance:getLastRecipe()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Recipe This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:setLastRecipe(recipe)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • recipe userdata, Recipe This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:shouldCraftRecipe(world, player, recipe)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • world userdata, World This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • player userdata, ServerPlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • recipe userdata, Recipe This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:unlockLastRecipe(player)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"