Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addCooldown(UUID, CooldownManager.Cooldown) - Method in class me.mehboss.utils.CooldownManager
-
Adds a cooldown for a specific player.
- addDisabledWorld(String) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Adds a world to the noCraft list
- addIngredient(RecipeUtil.Ingredient) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Adds an Ingredient object to the recipe, required Requires 9 ingredients for crafting, 1 otherwise
- addLeftoverItem(String) - Method in class me.mehboss.utils.data.CraftingRecipeData
-
Setter for adding an ingredient as a leftover
- addMaterialChoice(Material) - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Adds an additional valid
Materialfor this ingredient. - advancements - Variable in class me.mehboss.utils.RecipeConditions.Block
- all - Variable in class me.mehboss.utils.RecipeConditions.ConditionSet
-
“conditions” or “conditions_all” block (AND).
- allowBiomes - Variable in class me.mehboss.utils.RecipeConditions.Block
- allowWorlds - Variable in class me.mehboss.utils.RecipeConditions.Block
- ANVIL - Enum constant in enum class me.mehboss.utils.RecipeUtil.Recipe.RecipeType
- any - Variable in class me.mehboss.utils.RecipeConditions.ConditionSet
-
“conditions_any” is a list of OR blocks.
- args - Variable in class me.mehboss.commands.CRCommand
- asString() - Method in class me.mehboss.utils.RecipeConditions.Block.TimeRange
B
- BLASTFURNACE - Enum constant in enum class me.mehboss.utils.RecipeUtil.Recipe.RecipeType
- Block() - Constructor for class me.mehboss.utils.RecipeConditions.Block
- brew(BrewerInventory, ItemStack, ItemStack) - Method in class me.mehboss.brewing.BrewAction
-
Called when brewing completes.
- BrewAction - Class in me.mehboss.brewing
-
Represents a brewing action to perform when brewing completes.
- BrewAction() - Constructor for class me.mehboss.brewing.BrewAction
- Brewery - Class in me.mehboss.brewing
-
Handles the registration and execution of custom brewing recipes.
- Brewery(JavaPlugin) - Constructor for class me.mehboss.brewing.Brewery
-
Creates a new Brewery manager and registers it as an event listener.
- BrewEvent - Class in me.mehboss.brewing
-
Handles custom brewing logic: - Allows non-standard items in brewing stands - Prevents item disappearance with shift-clicks - Automatically starts brewing when valid custom recipes are present - Supports both empty-slot and bottle-required brewing
- BrewEvent() - Constructor for class me.mehboss.brewing.BrewEvent
- BREWING_STAND - Enum constant in enum class me.mehboss.utils.RecipeUtil.Recipe.RecipeType
- BrewingRecipe - Class in me.mehboss.brewing
-
Handles runtime logic for custom brewing recipes.
- BrewingRecipe() - Constructor for class me.mehboss.brewing.BrewingRecipe
- BrewingRecipeData - Class in me.mehboss.utils.data
-
Stores all extra data required for a custom brewing-stand recipe.
- BrewingRecipeData(String) - Constructor for class me.mehboss.utils.data.BrewingRecipeData
C
- calculateClickedSlot(InventoryClickEvent) - Static method in class me.mehboss.utils.InventoryUtils
-
Wrapper method that reads the cursor and clicked item directly from the event.
- calculateClickedSlot(InventoryClickEvent, ItemStack, ItemStack) - Static method in class me.mehboss.utils.InventoryUtils
-
Manually computes the behavior of clicking inside an inventory, overriding Bukkit's default logic.
- CAMPFIRE - Enum constant in enum class me.mehboss.utils.RecipeUtil.Recipe.RecipeType
- cleanExpired() - Method in class me.mehboss.utils.CooldownManager
-
Cleans all expired cooldowns from memory.
- command - Variable in class me.mehboss.commands.CRCommand
- CommandBook - Class in me.mehboss.commands
- CommandBook() - Constructor for class me.mehboss.commands.CommandBook
- CommandCrafterDebug - Class in me.mehboss.commands
- CommandCrafterDebug() - Constructor for class me.mehboss.commands.CommandCrafterDebug
- CommandDebug - Class in me.mehboss.commands
- CommandDebug() - Constructor for class me.mehboss.commands.CommandDebug
- CommandEditItem - Class in me.mehboss.commands
- CommandEditItem() - Constructor for class me.mehboss.commands.CommandEditItem
- CommandGive - Class in me.mehboss.commands
- CommandGive() - Constructor for class me.mehboss.commands.CommandGive
- CommandGUI - Class in me.mehboss.commands
- CommandGUI() - Constructor for class me.mehboss.commands.CommandGUI
- CommandHelp - Class in me.mehboss.commands
- CommandHelp() - Constructor for class me.mehboss.commands.CommandHelp
- CommandItems - Class in me.mehboss.commands
- CommandItems() - Constructor for class me.mehboss.commands.CommandItems
- CommandList - Class in me.mehboss.commands
- CommandList() - Constructor for class me.mehboss.commands.CommandList
- CommandListener - Class in me.mehboss.recipe
- CommandListener() - Constructor for class me.mehboss.recipe.CommandListener
- CommandRecipe - Class in me.mehboss.commands
- CommandRecipe() - Constructor for class me.mehboss.commands.CommandRecipe
- CommandReload - Class in me.mehboss.commands
- CommandReload() - Constructor for class me.mehboss.commands.CommandReload
- CommandRemove - Class in me.mehboss.commands
- CommandRemove() - Constructor for class me.mehboss.commands.CommandRemove
- CommandShow - Class in me.mehboss.commands
- CommandShow() - Constructor for class me.mehboss.commands.CommandShow
- CompatibilityUtil - Class in me.mehboss.utils
-
Utility class providing cross-version compatibility helpers that rely on reflection to handle differences between Minecraft / Bukkit versions.
- CompatibilityUtil() - Constructor for class me.mehboss.utils.CompatibilityUtil
- ConditionSet() - Constructor for class me.mehboss.utils.RecipeConditions.ConditionSet
- contains(int) - Method in class me.mehboss.utils.RecipeConditions.Block.TimeRange
- CookingRecipeData - Class in me.mehboss.utils.data
-
Stores extra data for custom furnace-based recipes.
- CookingRecipeData(String) - Constructor for class me.mehboss.utils.data.CookingRecipeData
- Cooldown(String, long) - Constructor for class me.mehboss.utils.CooldownManager.Cooldown
-
Creates a new cooldown timer starting immediately.
- cooldownManager - Variable in class me.mehboss.recipe.Main
- CooldownManager - Class in me.mehboss.utils
-
Manages cooldown timers for players on a per-recipe basis.
- CooldownManager() - Constructor for class me.mehboss.utils.CooldownManager
- CooldownManager.Cooldown - Class in me.mehboss.utils
-
Represents a cooldown timer for a specific recipe.
- crafterdebug - Variable in class me.mehboss.recipe.Main
- CraftingRecipeData - Class in me.mehboss.utils.data
-
Stores additional data for custom crafting recipes.
- CraftingRecipeData(String) - Constructor for class me.mehboss.utils.data.CraftingRecipeData
- CRCommand - Class in me.mehboss.commands
- CRCommand(CommandSender, Command, String, String[]) - Constructor for class me.mehboss.commands.CRCommand
- createRecipe(RecipeUtil.Recipe) - Method in class me.mehboss.utils.RecipeUtil
-
Adds a finished Recipe object to the API
- customConfig - Variable in class me.mehboss.recipe.Main
D
- debounceMap - Variable in class me.mehboss.recipe.Main
- debug - Variable in class me.mehboss.recipe.Main
- denyBiomes - Variable in class me.mehboss.utils.RecipeConditions.Block
- denyWorlds - Variable in class me.mehboss.utils.RecipeConditions.Block
- disabledrecipe - Variable in class me.mehboss.recipe.Main
E
- extractUrlFromBase64(String) - Static method in class me.mehboss.utils.CompatibilityUtil
-
Extracts the skin texture URL from a Base64-encoded JSON texture payload.
F
- fromString(String) - Static method in enum class me.mehboss.utils.RecipeUtil.Recipe.RecipeType
- FURNACE - Enum constant in enum class me.mehboss.utils.RecipeUtil.Recipe.RecipeType
G
- getAbbreviation() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Getter for the abbreviation of the ingredient, like G for grass Used when shaping the recipe
- getAllIngredientTypes() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Compiles all ingredient materials of a recipe
- getAllRecipes() - Method in class me.mehboss.utils.RecipeUtil
-
Getter for all recipes registered
- getAllRecipesSortedByResult(ItemStack) - Method in class me.mehboss.utils.RecipeUtil
-
Get all recipes, ordered so that any recipes whose result is similar to the given result item are first.
- getAllResults() - Method in class me.mehboss.utils.RecipeUtil
-
Getter for all recipe results
- getAmount() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Getter for the amount requirement
- getBookCategory() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for setBookCategory
- getBrewAction() - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Gets the brew action executed when brewing finishes.
- getBrewFuel() - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Gets the brewing fuel item.
- getBrewFuelCharge() - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Gets how much fuel is consumed per brew cycle.
- getBrewFuelSet() - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Gets how much internal fuel is added per fuel item.
- getBrewFuelSlot() - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Gets the slot index used for the fuel.
- getBrewIngredient() - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Gets the brewing ingredient item.
- getBrewIngredientSlot() - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Gets the slot index used for the ingredient.
- getCommand() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Gets the commands to perform upon crafting a recipe
- getConditionSet() - Method in class me.mehboss.utils.data.CraftingRecipeData
-
Gets the ConditionSet attached to this recipe.
- getCookTime() - Method in class me.mehboss.utils.data.CookingRecipeData
-
Gets how long the recipe takes to cook.
- getCooldown() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for the cooldown
- getCooldown(UUID, String) - Method in class me.mehboss.utils.CooldownManager
-
Retrieves a cooldown for a player and recipe.
- getCooldowns() - Method in class me.mehboss.utils.CooldownManager
- getCustomItemID() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for the custom ID output
- getCustomItemPlugin(String) - Method in class me.mehboss.utils.RecipeUtil
-
Extracts the plugin namespace from a custom item key.
- getCustomModelData() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Getter for an ingredients model data
- getDisabledWorlds() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for worlds the recipe can not be crafted in
- getDisplayname(ItemMeta) - Static method in class me.mehboss.utils.CompatibilityUtil
-
Retrieves the display name from an item.
- getDisplayName() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Getter for the ingredient displayname
- getDuration() - Method in class me.mehboss.utils.CooldownManager.Cooldown
- getExperience() - Method in class me.mehboss.utils.data.CookingRecipeData
-
Gets the experience value awarded when the item is cooked.
- getExperience() - Method in class me.mehboss.utils.data.WorkstationRecipeData
-
Gets the experience reward assigned to this recipe.
- getGroup() - Method in class me.mehboss.utils.data.CraftingRecipeData
-
Getter for the recipe group.
- getGroup() - Method in class me.mehboss.utils.data.WorkstationRecipeData
-
Gets the group tag assigned to this recipe.
- getIdentifier() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Getter for an ingredients identifier
- getIgnoreData() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for ignoreData
- getIgnoreModelData() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for ignoreModelData
- getIgnoreNames() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for ignoreNames
- getIngredients() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for the recipe ingredients
- getIngredientSize() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for the amount of ingredients the recipe has
- getInstance() - Static method in class me.mehboss.brewing.Brewery
- getInstance() - Static method in class me.mehboss.recipe.Main
- getInventorySpace(Player, ItemStack) - Static method in class me.mehboss.utils.InventoryUtils
-
Computes available space for a specific item in a player's inventory.
- getInventorySpace(Inventory, ItemStack) - Static method in class me.mehboss.utils.InventoryUtils
-
Computes available space in an inventory for one specific item type.
- getInventorySpace(ItemStack[], ItemStack) - Static method in class me.mehboss.utils.InventoryUtils
-
Computes total available capacity for an item based on empty slots and partially filled stacks that match.
- getInventoryView(InventoryEvent) - Static method in class me.mehboss.utils.CompatibilityUtil
-
Retrieves the InventoryView from an
InventoryEventusing reflection. - getItem() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Getter for an ingredient itemstack
- getKey() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for the NamedspaceKey
- getKeyFromResult(ItemStack) - Method in class me.mehboss.utils.RecipeUtil
-
Getter for a key from the result ItemStack
- getMaterial() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Getter for the material of the ingredient
- getMaterialChoices() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Gets all additional materials that may satisfy this ingredient.
- getMaterialData() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Deprecated.
- getMethod(Class<?>, String, Class<?>...) - Static method in class me.mehboss.utils.CompatibilityUtil
- getMoonPhase(World) - Static method in class me.mehboss.utils.RecipeConditions
-
Calculates the current moon phase for the given world.
- getName() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for the recipe name
- getPerm() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for the permission needed to craft the recipe, can be null
- getPlayerFromView(Object) - Static method in class me.mehboss.utils.CompatibilityUtil
-
Extracts the
Playerfrom an InventoryView instance using reflection. - getPlugin() - Method in class me.mehboss.brewing.Brewery
- getRecipe(String) - Method in class me.mehboss.utils.RecipeUtil
-
Getter for a recipe from the Name
- getRecipe(BrewerInventory) - Static method in class me.mehboss.brewing.BrewingRecipe
-
Attempts to locate a brewing recipe that matches the given brewer inventory.
- getRecipeFromFurnaceSource(ItemStack) - Method in class me.mehboss.utils.RecipeUtil
-
Getter for a furnace recipe by the source
- getRecipeFromKey(String) - Method in class me.mehboss.utils.RecipeUtil
-
Getter for a recipe from Namespacedkey
- getRecipeFromResult(ItemStack) - Method in class me.mehboss.utils.RecipeUtil
-
Getter for a recipe from the result ItemStack
- getRecipeID() - Method in class me.mehboss.utils.CooldownManager.Cooldown
- getRecipeNames() - Method in class me.mehboss.utils.RecipeUtil
-
Getter for all recipe names
- getRecipesFromType(RecipeUtil.Recipe.RecipeType) - Method in class me.mehboss.utils.RecipeUtil
-
Getter for all recipes matching a type
- getRecipeUtil() - Method in class me.mehboss.recipe.Main
- getRepairCost() - Method in class me.mehboss.utils.data.WorkstationRecipeData
-
Gets the repair cost assigned to this workstation recipe.
- getRequiredBottleType() - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Gets the required bottle type for this recipe.
- getResult() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for the recipe result
- getResultFromKey(String) - Method in class me.mehboss.utils.RecipeUtil
-
Getter for a result from a namespaced key.
- getRow(int) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for the shaped recipe rows
- getSlot() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Getter for the ingredient slot
- getSlot(int) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for an ingredient slot
- getSource() - Method in class me.mehboss.utils.data.CookingRecipeData
-
Gets the input item used by this cooking recipe.
- getStartTime() - Method in class me.mehboss.utils.CooldownManager.Cooldown
- getTimeLeft() - Method in class me.mehboss.utils.CooldownManager.Cooldown
-
Calculates how many seconds remain.
- getTimeLeft(UUID, String) - Method in class me.mehboss.utils.CooldownManager
-
Gets the number of seconds left on a cooldown.
- getTitle(InventoryEvent) - Static method in class me.mehboss.utils.CompatibilityUtil
-
Retrieves an inventory's title reflectively.
- getTopInventory(InventoryEvent) - Static method in class me.mehboss.utils.CompatibilityUtil
-
Retrieves the top inventory from an
InventoryEventusing reflection. - getType() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for the RecipeType
- GRINDSTONE - Enum constant in enum class me.mehboss.utils.RecipeUtil.Recipe.RecipeType
H
- hasAE - Variable in class me.mehboss.recipe.Main
- hasCommands() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Gets whether the recipe is an item or a command
- hasCooldown() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for if the recipe has a cooldown set
- hasCooldown(UUID, String) - Method in class me.mehboss.utils.CooldownManager
-
Checks whether a cooldown is active for the given player and recipe.
- hasCustomModelData() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Getter for if an ingredient has CMD
- hasDisplayname(ItemMeta) - Static method in class me.mehboss.utils.CompatibilityUtil
-
Checks if an item has a display name.
- hasDisplayName() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Getter for if the ingredient has a displayname set
- hasEE - Variable in class me.mehboss.recipe.Main
- hasEmptySpaces(Player, int) - Static method in class me.mehboss.utils.InventoryUtils
-
Checks whether a player has at least a specified number of empty slots.
- hasHavenBags - Variable in class me.mehboss.recipe.Main
- hasIdentifier() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Getter for if the ingredient has an identifier set
- hasInventorySpace(Player, ItemStack) - Static method in class me.mehboss.utils.InventoryUtils
-
Checks if a player has room for the given item.
- hasInventorySpace(Inventory, ItemStack) - Static method in class me.mehboss.utils.InventoryUtils
-
Checks if an inventory has space for one stack of the given item.
- hasInventorySpace(Inventory, ItemStack, int) - Static method in class me.mehboss.utils.InventoryUtils
-
Checks if an inventory has room for a given number of a specific item.
- hasInventorySpace(ItemStack[], ItemStack) - Static method in class me.mehboss.utils.InventoryUtils
-
Checks if inventory contents have enough space for the given item.
- hasKey() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for if the recipe has a NamedspaceKey
- hasMaterialChoices() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Checks whether this ingredient has multiple valid materials.
- hasMaterialData() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Deprecated.Use modern
RecipeChoiceorMaterialAPIs instead. MaterialData was removed after Minecraft 1.13. - hasPerm() - Method in class me.mehboss.utils.RecipeUtil.Recipe
- hasRepairCost() - Method in class me.mehboss.utils.data.WorkstationRecipeData
-
Checks whether this recipe has a defined repair cost.
I
- Ingredient(String, Material) - Constructor for class me.mehboss.utils.RecipeUtil.Ingredient
-
Parameterized constructor.
- inInventory - Variable in class me.mehboss.recipe.Main
- InvalidRecipeException - Exception Class in me.mehboss.utils
-
Thrown when a recipe fails validation or contains invalid data.
- InvalidRecipeException(String) - Constructor for exception class me.mehboss.utils.InvalidRecipeException
-
Constructs a new InvalidRecipeException with a descriptive error message.
- InventoryUtils - Class in me.mehboss.utils
-
Utility class for handling various inventory-related operations such as: Custom click interaction behavior Stack merging logic Space calculations for inventory storage Detecting empty inventory slots
- InventoryUtils() - Constructor for class me.mehboss.utils.InventoryUtils
- invokeMethod(Method, Object, Object...) - Static method in class me.mehboss.utils.CompatibilityUtil
- isActive() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for setActive.
- isAirOrNull(ItemStack) - Static method in class me.mehboss.utils.InventoryUtils
-
Checks if an item is null or AIR.
- isBrewPerfect() - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Checks if ingredient and fuel must match exactly.
- isCustomItem() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for whether or not a recipe result is of a custom item
- isCustomItem(String) - Method in class me.mehboss.utils.RecipeUtil
-
Checks whether a namespace belongs to a supported custom-item plugin.
- isCustomTagged() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for checking if the recipe is tagged with the key
- isDiscoverable() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for setDiscoverable
- isEmpty() - Method in class me.mehboss.utils.RecipeConditions.Block
- isEmpty() - Method in class me.mehboss.utils.RecipeConditions.ConditionSet
- isEmpty() - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Getter for checking if the ingredient is empty
- isExactChoice() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for setExactChoice
- isExpired() - Method in class me.mehboss.utils.CooldownManager.Cooldown
-
Checks whether the cooldown has completed.
- isGrantItem() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Gets whether the recipe output should be granted after a command is performed
- isInt(String) - Static method in class me.mehboss.commands.CommandGive
- isLeftover(String) - Method in class me.mehboss.utils.data.CraftingRecipeData
-
Checks if a MATERIAL is marked as leftover.
- isPlaceable() - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Getter for setPlaceable
- itemsMatch(String, ItemStack, RecipeUtil.Ingredient) - Method in class me.mehboss.utils.MetaChecks
-
Compares an input item against a recipe ingredient definition.
K
- Key features: - Search tag in class me.mehboss.utils.RecipeUtil.Recipe
- Section
L
M
- Main - Class in me.mehboss.recipe
- Main() - Constructor for class me.mehboss.recipe.Main
- max - Variable in class me.mehboss.utils.RecipeConditions.Block.TimeRange
- me.mehboss.brewing - package me.mehboss.brewing
-
Handles custom brewing stand recipes and brewing mechanics.
- me.mehboss.commands - package me.mehboss.commands
-
Provides all command handlers for the plugin, including administrative commands, player utilities, debug tools, and recipe management commands.
- me.mehboss.recipe - package me.mehboss.recipe
-
Core recipe management system.
- me.mehboss.utils - package me.mehboss.utils
-
Contains general-purpose utility classes used throughout the plugin.
- me.mehboss.utils.data - package me.mehboss.utils.data
-
Contains data models for defining custom recipe behavior.
- metaChecks - Variable in class me.mehboss.recipe.Main
- MetaChecks - Class in me.mehboss.utils
-
Handles all metadata comparison logic used during special recipe matching.
- MetaChecks() - Constructor for class me.mehboss.utils.MetaChecks
- min - Variable in class me.mehboss.utils.RecipeConditions.Block.TimeRange
- moonPhases - Variable in class me.mehboss.utils.RecipeConditions.Block
O
- onBrewClick(InventoryClickEvent) - Method in class me.mehboss.brewing.Brewery
-
Intercepts brewing stand clicks and evaluates whether custom brewing should begin.
- onCommand(CommandSender, Command, String, String[]) - Method in class me.mehboss.recipe.CommandListener
- onTabComplete(CommandSender, Command, String, String[]) - Method in class me.mehboss.commands.TabCompletion
P
- parseBlock(ConfigurationSection) - Static method in class me.mehboss.utils.RecipeConditions
-
Parse a single AND block (world/world_deny/biome/biome_deny/time/weather/advancement/moon_phase).
- parseConditionSet(ConfigurationSection) - Static method in class me.mehboss.utils.RecipeConditions
-
Parse an entire condition set from the per-recipe section.
R
- Recipe(String) - Constructor for class me.mehboss.utils.RecipeUtil.Recipe
-
Parameterized constructor.
- recipeBook - Variable in class me.mehboss.recipe.Main
- RecipeConditions - Class in me.mehboss.utils
-
Represents all optional conditions that may be required for a recipe to be considered valid before crafting/smelting/brewing/etc.
- RecipeConditions.Block - Class in me.mehboss.utils
-
Conditions related to the world or block environment in which the recipe is executed.
- RecipeConditions.Block.TimeRange - Class in me.mehboss.utils
-
Represents a range of valid in-game times for recipe conditions.
- RecipeConditions.ConditionSet - Class in me.mehboss.utils
-
The full condition set for a recipe.
- Recipe Registration - Search tag in class me.mehboss.utils.RecipeUtil
- Section
- recipeUtil - Variable in class me.mehboss.recipe.Main
- RecipeUtil - Class in me.mehboss.utils
-
Utility manager and API entry point for creating, validating, and storing custom recipe definitions inside the CustomRecipes plugin.
- RecipeUtil() - Constructor for class me.mehboss.utils.RecipeUtil
- RecipeUtil.Ingredient - Class in me.mehboss.utils
-
Represents a single ingredient used in a recipe.
- RecipeUtil.Recipe - Class in me.mehboss.utils
-
Represents a fully defined custom recipe used by the CustomRecipes API.
- RecipeUtil.Recipe.RecipeType - Enum Class in me.mehboss.utils
- registerRecipe(RecipeUtil.Recipe) - Method in class me.mehboss.utils.RecipeUtil
-
Loads the specified recipe to the server.
- reloadRecipes() - Method in class me.mehboss.utils.RecipeUtil
-
Resets and reloads all registered recipes, including CR recipes.
- removeCooldown(UUID, String) - Method in class me.mehboss.utils.CooldownManager
-
Removes a cooldown for a specific recipe and player.
- removeRecipe(String) - Static method in class me.mehboss.commands.CommandRemove
- removeRecipe(String) - Method in class me.mehboss.utils.RecipeUtil
-
Removes a recipe registered with CR.
- requiresBottles() - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Checks whether bottle validation is required.
- Run(CRCommand) - Static method in class me.mehboss.commands.CommandBook
- Run(CRCommand) - Static method in class me.mehboss.commands.CommandCrafterDebug
- Run(CRCommand) - Static method in class me.mehboss.commands.CommandDebug
- Run(CRCommand) - Static method in class me.mehboss.commands.CommandEditItem
- Run(CRCommand) - Static method in class me.mehboss.commands.CommandGive
- Run(CRCommand) - Static method in class me.mehboss.commands.CommandGUI
- Run(CRCommand) - Static method in class me.mehboss.commands.CommandHelp
- Run(CRCommand) - Static method in class me.mehboss.commands.CommandItems
- Run(CRCommand) - Static method in class me.mehboss.commands.CommandList
- Run(CRCommand) - Static method in class me.mehboss.commands.CommandRecipe
- Run(CRCommand) - Static method in class me.mehboss.commands.CommandReload
- Run(CRCommand) - Static method in class me.mehboss.commands.CommandRemove
- Run(CRCommand) - Static method in class me.mehboss.commands.CommandShow
S
- saveInventory - Variable in class me.mehboss.recipe.Main
- sender - Variable in class me.mehboss.commands.CRCommand
- serverVersionAtLeast(int, int) - Method in class me.mehboss.recipe.Main
- setActive(Boolean) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Enables or disables a recipe
- setAmount(int) - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Setter for the amount requirement
- setBookCategory(String) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Sets the category the recipe will be shown within the vanilla recipe book.
- setBrewAction(BrewAction) - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Sets how this recipe behaves when brewing completes.
- setBrewFuel(RecipeUtil.Ingredient) - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Builds and stores the fuel item used for brewing.
- setBrewFuelCharge(int) - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Sets how much internal fuel is consumed per brewing cycle.
- setBrewFuelSet(int) - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Sets how much internal fuel is added when consuming a fuel item.
- setBrewFuelSlot(int) - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Sets which slot is used for the fuel.
- setBrewIngredient(RecipeUtil.Ingredient) - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Builds and stores the ingredient item used for brewing.
- setBrewIngredientSlot(int) - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Sets which slot is used for the ingredient.
- setBrewPerfect(boolean) - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Enables or disables exact matching for ingredient and fuel items.
- setCommands(List<String>) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Sets the commands to perform upon crafting a recipe
- setConditionSet(RecipeConditions.ConditionSet) - Method in class me.mehboss.utils.data.CraftingRecipeData
-
Sets the ConditionSet for this recipe.
- setCookTime(int) - Method in class me.mehboss.utils.data.CookingRecipeData
-
Sets the cook time in ticks.
- setCooldown(long) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Setter for the recipe cooldown
- setCooldowns(Map<UUID, Map<String, CooldownManager.Cooldown>>) - Method in class me.mehboss.utils.CooldownManager
-
Restores cooldowns from a saved map.
- setCustomItem(String) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Sets an ID for custom item results
- setCustomModelData(int) - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Setter for an ingredients custom model data
- setDiscoverable(Boolean) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Sets whether or not a recipe is going to be discovered automatically
- setDisplayname(ItemStack, String) - Static method in class me.mehboss.utils.CompatibilityUtil
-
Sets an item's display name using version-aware APIs.
- setDisplayName(String) - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Setter for the ingredients displayname
- setExactChoice(Boolean) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Sets whether or not a recipe is going to be using exactChoice.
- setExperience(float) - Method in class me.mehboss.utils.data.CookingRecipeData
-
Sets the experience granted when the recipe is completed.
- setExperience(float) - Method in class me.mehboss.utils.data.WorkstationRecipeData
-
Sets the amount of experience granted by this recipe.
- setFieldValue(Object, String, Object) - Static method in class me.mehboss.utils.CompatibilityUtil
- setGrantItem(Boolean) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Sets whether the recipe output should be granted after a command is performed
- setGroup(String) - Method in class me.mehboss.utils.data.CraftingRecipeData
-
Sets the group of the recipe.
- setGroup(String) - Method in class me.mehboss.utils.data.WorkstationRecipeData
-
Sets the group this recipe belongs to.
- setIdentifier(String) - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Setter for the identifier of the ingredient Requires the ingredient to be tagged with another Custom Recipe
- setIgnoreData(boolean) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Setter for if the recipe ignores MetaData
- setIgnoreModelData(boolean) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Setter for if the recipe ignores CustomModelData
- setIgnoreNames(boolean) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Setter for if the recipe ignores names
- setItem(ItemStack) - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Setter for the itemstack of the ingredient
- setKey(String) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Setter for the NamedspaceKey, required
- setMaterial(Material) - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Setter for the material of the ingredient This should NEVER be used, except internally!
- setMaterialData(MaterialData) - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Deprecated.Use modern
RecipeChoiceorMaterialAPIs instead. MaterialData was removed after Minecraft 1.13. - setPerm(String) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Setter for the permission needed to craft the recipe
- setPlaceable(Boolean) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Sets whether or not a recipe is allowed to be placed.
- setRepairCost(int) - Method in class me.mehboss.utils.data.WorkstationRecipeData
-
Sets the repair cost for this recipe (used by anvil mechanics).
- setRequiredBottleType(Material) - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Sets the type of bottle required for valid brewing output.
- setRequiresBottles(boolean) - Method in class me.mehboss.utils.data.BrewingRecipeData
-
Enables or disables bottle validation for brewing results.
- setResult(ItemStack) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Setter for the recipe result, required
- setRow(int, String) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Setter for the shaped recipe rows, required
- setSlot(int) - Method in class me.mehboss.utils.RecipeUtil.Ingredient
-
Setter for the slot the ingredient is set to, not required for shapeless
- setSource(ItemStack) - Method in class me.mehboss.utils.data.CookingRecipeData
-
Sets the input item that this recipe smelts or cooks.
- setTagged(boolean) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Setter for whether the result is tagged with the key
- setType(RecipeUtil.Recipe.RecipeType) - Method in class me.mehboss.utils.RecipeUtil.Recipe
-
Setter for the RecipeType, not required and defaults to SHAPED
- SHAPED - Enum constant in enum class me.mehboss.utils.RecipeUtil.Recipe.RecipeType
- SHAPELESS - Enum constant in enum class me.mehboss.utils.RecipeUtil.Recipe.RecipeType
- SMOKER - Enum constant in enum class me.mehboss.utils.RecipeUtil.Recipe.RecipeType
- startBrewing(BrewerInventory, BrewingRecipeData) - Static method in class me.mehboss.brewing.BrewingRecipe
-
Begins a brewing cycle using the provided recipe.
- STONECUTTER - Enum constant in enum class me.mehboss.utils.RecipeUtil.Recipe.RecipeType
- SUPPORTED_PLUGINS - Variable in class me.mehboss.utils.RecipeUtil
T
- TabCompletion - Class in me.mehboss.commands
- TabCompletion() - Constructor for class me.mehboss.commands.TabCompletion
- test(Location, Player) - Method in class me.mehboss.utils.RecipeConditions.Block
-
Fast-path test (no messages collected).
- test(Location, Player) - Method in class me.mehboss.utils.RecipeConditions.ConditionSet
-
Fast-path test (no messages).
- test(Location, Player, List<String>) - Method in class me.mehboss.utils.RecipeConditions.Block
-
Tests this block against a location and (optionally) a player.
- test(Location, Player, List<String>) - Method in class me.mehboss.utils.RecipeConditions.ConditionSet
-
Overall logic: (all == null || all passes) AND (any is empty OR at least one any-block passes) If outReasons is non-null, messages are added only for failing parts.
- TimeRange(int, int) - Constructor for class me.mehboss.utils.RecipeConditions.Block.TimeRange
- timeRanges - Variable in class me.mehboss.utils.RecipeConditions.Block
V
- Validation rules include: - Search tag in class me.mehboss.utils.RecipeUtil
- Section
- valueOf(String) - Static method in enum class me.mehboss.utils.RecipeUtil.Recipe.RecipeType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class me.mehboss.utils.RecipeUtil.Recipe.RecipeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- weathers - Variable in class me.mehboss.utils.RecipeConditions.Block
- WorkstationRecipeData - Class in me.mehboss.utils.data
-
Stores additional data for workstation-based recipes such as anvils or stonecutters.
- WorkstationRecipeData(String) - Constructor for class me.mehboss.utils.data.WorkstationRecipeData
All Classes and Interfaces|All Packages|Serialized Form
RecipeChoiceorMaterialAPIs instead. MaterialData was removed after Minecraft 1.13.