Index

A B C D E F G H I J L M P R S T U 
All Classes and Interfaces|All Packages|Constant Field Values

A

addModSpoiling(String, IItemStack, int) - Method in class com.mrbysco.spoiled.compat.ct.SpoilManager
 
addModSpoiling(String, IItemStack, int, int) - Method in class com.mrbysco.spoiled.compat.ct.SpoilManager
 
addSpoiling(String, IIngredient, IItemStack, int) - Method in class com.mrbysco.spoiled.compat.ct.SpoilManager
 
addSpoiling(String, IIngredient, IItemStack, int, int) - Method in class com.mrbysco.spoiled.compat.ct.SpoilManager
 
asHolder() - Method in interface com.mrbysco.spoiled.registration.RegistryObject
Gets this object wrapped in a vanilla Holder.
assemble(CraftingInput, HolderLookup.Provider) - Method in class com.mrbysco.spoiled.recipe.StackFoodRecipe
 
assemble(SingleRecipeInput, HolderLookup.Provider) - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe
 

B

build(RecipeOutput) - Method in class com.mrbysco.spoiled.datagen.SpoilRecipeBuilder
 
build(RecipeOutput, ResourceLocation) - Method in class com.mrbysco.spoiled.datagen.SpoilRecipeBuilder
 

C

canCraftInDimensions(int, int) - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe
 
canCraftInDimensions(int, int) - Method in class com.mrbysco.spoiled.recipe.StackFoodRecipe
 
ChunkHelper - Class in com.mrbysco.spoiled.util
 
ChunkHelper() - Constructor for class com.mrbysco.spoiled.util.ChunkHelper
 
ChunkMapAccessor - Interface in com.mrbysco.spoiled.mixin
 
codec() - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe.Serializer
 
CODEC - Static variable in record class com.mrbysco.spoiled.component.SpoilTimer
 
CODEC - Static variable in class com.mrbysco.spoiled.recipe.SpoilRecipe.Serializer
 
com.mrbysco.spoiled - package com.mrbysco.spoiled
 
com.mrbysco.spoiled.commands - package com.mrbysco.spoiled.commands
 
com.mrbysco.spoiled.compat.ct - package com.mrbysco.spoiled.compat.ct
 
com.mrbysco.spoiled.compat.jei - package com.mrbysco.spoiled.compat.jei
 
com.mrbysco.spoiled.compat.jei.category - package com.mrbysco.spoiled.compat.jei.category
 
com.mrbysco.spoiled.compat.jei.validator - package com.mrbysco.spoiled.compat.jei.validator
 
com.mrbysco.spoiled.component - package com.mrbysco.spoiled.component
 
com.mrbysco.spoiled.config - package com.mrbysco.spoiled.config
 
com.mrbysco.spoiled.datagen - package com.mrbysco.spoiled.datagen
 
com.mrbysco.spoiled.mixin - package com.mrbysco.spoiled.mixin
 
com.mrbysco.spoiled.platform - package com.mrbysco.spoiled.platform
 
com.mrbysco.spoiled.platform.services - package com.mrbysco.spoiled.platform.services
 
com.mrbysco.spoiled.recipe - package com.mrbysco.spoiled.recipe
 
com.mrbysco.spoiled.registration - package com.mrbysco.spoiled.registration
 
com.mrbysco.spoiled.util - package com.mrbysco.spoiled.util
 
CommonClass - Class in com.mrbysco.spoiled
 
CommonClass() - Constructor for class com.mrbysco.spoiled.CommonClass
 
Constants - Class in com.mrbysco.spoiled
 
Constants() - Constructor for class com.mrbysco.spoiled.Constants
 
containerModifier - Static variable in class com.mrbysco.spoiled.config.SpoiledConfigCache
 
create(Registry<T>, String) - Method in interface com.mrbysco.spoiled.registration.RegistrationProvider.Factory
create(ResourceKey<? extends Registry<T>>, String) - Method in interface com.mrbysco.spoiled.registration.RegistrationProvider.Factory

D

DATA_COMPONENTS - Static variable in class com.mrbysco.spoiled.registration.SpoiledComponents
 
draw(SpoilRecipe, IRecipeSlotsView, GuiGraphics, double, double) - Method in class com.mrbysco.spoiled.compat.jei.category.SpoilCategory
 

E

equals(Object) - Method in record class com.mrbysco.spoiled.component.SpoilTimer
Indicates whether some other object is "equal to" this one.

F

FOODS - Static variable in class com.mrbysco.spoiled.util.SpoiledTags
 
FOODS_BLACKLIST - Static variable in class com.mrbysco.spoiled.util.SpoiledTags
 
fromNetwork(RegistryFriendlyByteBuf) - Static method in class com.mrbysco.spoiled.recipe.SpoilRecipe.Serializer
 

G

generateContainerModifier(List<? extends String>, List<? extends String>) - Static method in class com.mrbysco.spoiled.config.SpoiledConfigCache
 
get() - Method in interface com.mrbysco.spoiled.registration.RegistryObject
Gets the object behind this wrapper.
get(Registry<T>, String) - Static method in interface com.mrbysco.spoiled.registration.RegistrationProvider
Gets a provider for specified modId and registry.
get(ResourceKey<? extends Registry<T>>, String) - Static method in interface com.mrbysco.spoiled.registration.RegistrationProvider
Gets a provider for specified modId and resourceKey.
getBlockEntityPositions(Level) - Static method in class com.mrbysco.spoiled.util.ChunkHelper
Get a list of BlockEntity positions in the world
getContainerModifier() - Method in interface com.mrbysco.spoiled.platform.services.IPlatformHelper
Gets the configured container modifiers
getDefaultSpoilItem() - Static method in class com.mrbysco.spoiled.config.SpoiledConfigCache
 
getDefaultSpoilItem() - Method in interface com.mrbysco.spoiled.platform.services.IPlatformHelper
Defines the item the foods vanilla foods will turn into when spoiled (if empty it will clear the spoiling item)
getDefaultSpoilTime() - Method in interface com.mrbysco.spoiled.platform.services.IPlatformHelper
Defines the total amount of spoiling updates that is used by the default initialized spoiling when 'initializeSpoiling' is enabled (If the 'spoilRate' is 10 and the 'defaultSpoilTime' is set to 20 then the food will spoil after 20 * 10 seconds = 200 seconds)
getEntries() - Method in interface com.mrbysco.spoiled.registration.RegistrationProvider
Gets all the objects currently registered.
getGroup() - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe
 
getHeight() - Method in class com.mrbysco.spoiled.compat.jei.category.SpoilCategory
 
getIcon() - Method in class com.mrbysco.spoiled.compat.jei.category.SpoilCategory
 
getId() - Method in interface com.mrbysco.spoiled.registration.RegistryObject
Gets the id of the object.
getIgnoredComponentIdentifiers() - Method in interface com.mrbysco.spoiled.platform.services.IPlatformHelper
Any components with these identifiers will cause items not to spoil when they are present on the item
getIngredients() - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe
 
getItem() - Method in class com.mrbysco.spoiled.mixin.ItemFrameMixin
 
getLootTable() - Method in interface com.mrbysco.spoiled.mixin.RandomizableContainerBlockEntityAccessor
 
getModId() - Method in interface com.mrbysco.spoiled.registration.RegistrationProvider
Gets the mod id that this provider registers objects for.
getPluginUid() - Method in class com.mrbysco.spoiled.compat.jei.JEICompat
 
getPriority() - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe
 
getRecipeType() - Method in class com.mrbysco.spoiled.compat.ct.SpoilManager
 
getRecipeType() - Method in class com.mrbysco.spoiled.compat.jei.category.SpoilCategory
 
getRemainingItems(CraftingInput) - Method in class com.mrbysco.spoiled.recipe.StackFoodRecipe
 
getResourceKey() - Method in interface com.mrbysco.spoiled.registration.RegistryObject
Gets the ResourceKey of the registry of the object wrapped.
getResultItem(HolderLookup.Provider) - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe
 
getSerializer() - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe
 
getSerializer() - Method in class com.mrbysco.spoiled.recipe.StackFoodRecipe
 
getSpoilBlacklist() - Method in interface com.mrbysco.spoiled.platform.services.IPlatformHelper
Defines a list of items that are never allowed to spoil
getSpoilRate() - Method in interface com.mrbysco.spoiled.platform.services.IPlatformHelper
Gets the configured spoil rate
getSpoilRecipe(Level, ItemStack) - Static method in class com.mrbysco.spoiled.util.SpoilHelper
get the Spoil Recipe for the given stack
getSpoilRecipes(IRecipeCategory<SpoilRecipe>) - Method in class com.mrbysco.spoiled.compat.jei.JEICompat
 
getSpoilTime() - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe
 
getSpoilTime(ItemStack) - Static method in class com.mrbysco.spoiled.util.SpoilHelper
Get the spoil time for a stack
getTitle() - Method in class com.mrbysco.spoiled.compat.jei.category.SpoilCategory
 
getTooltip(ItemStack) - Static method in class com.mrbysco.spoiled.util.TooltipUtil
Get spoiling tooltip for itemstack if it has the spoil tag
getType() - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe
 
getWidth() - Method in class com.mrbysco.spoiled.compat.jei.category.SpoilCategory
 
group - Variable in class com.mrbysco.spoiled.recipe.SpoilRecipe
 

H

hashCode() - Method in record class com.mrbysco.spoiled.component.SpoilTimer
Returns a hash code value for this object.

I

ingredient - Variable in class com.mrbysco.spoiled.recipe.SpoilRecipe
 
init() - Static method in class com.mrbysco.spoiled.CommonClass
 
initializeCommands(CommandDispatcher<CommandSourceStack>) - Static method in class com.mrbysco.spoiled.commands.SpoiledCommands
 
initializeSpoiling() - Method in interface com.mrbysco.spoiled.platform.services.IPlatformHelper
When enabled Spoiled initializes spoiling for all vanilla food
INSTANCE - Static variable in interface com.mrbysco.spoiled.registration.RegistrationProvider.Factory
The singleton instance of the RegistrationProvider.Factory.
IPlatformHelper - Interface in com.mrbysco.spoiled.platform.services
 
isModLoaded(String) - Method in interface com.mrbysco.spoiled.platform.services.IPlatformHelper
Returns true if the mod is loaded
isRecipeHandled(RecipeHolder<SpoilRecipe>) - Method in class com.mrbysco.spoiled.compat.jei.validator.SpoiledValidator
 
isRecipeValid(RecipeHolder<SpoilRecipe>) - Method in class com.mrbysco.spoiled.compat.jei.validator.SpoiledValidator
 
isSpecial() - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe
 
isSpoiled(ItemStack) - Static method in class com.mrbysco.spoiled.util.SpoilHelper
Check if a stack is spoiled
isSpoiling(ItemStack) - Static method in class com.mrbysco.spoiled.util.SpoilHelper
Check if a stack is spoiling
itemContainerModifier - Static variable in class com.mrbysco.spoiled.config.SpoiledConfigCache
 
ItemFrameMixin - Class in com.mrbysco.spoiled.mixin
A mixin to implement the spoil rate logic directly onto an item frame.
ItemFrameMixin(EntityType<? extends HangingEntity>, Level) - Constructor for class com.mrbysco.spoiled.mixin.ItemFrameMixin
 

J

JEICompat - Class in com.mrbysco.spoiled.compat.jei
 
JEICompat() - Constructor for class com.mrbysco.spoiled.compat.jei.JEICompat
 

L

load(Class<T>) - Static method in class com.mrbysco.spoiled.platform.Services
 
loadClass() - Static method in class com.mrbysco.spoiled.registration.SpoiledComponents
 
loadClass() - Static method in class com.mrbysco.spoiled.registration.SpoiledRecipes
 
LOGGER - Static variable in class com.mrbysco.spoiled.Constants
 

M

matches(CraftingInput, Level) - Method in class com.mrbysco.spoiled.recipe.StackFoodRecipe
 
matches(SingleRecipeInput, Level) - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe
 
maxTime() - Method in record class com.mrbysco.spoiled.component.SpoilTimer
Returns the value of the maxTime record component.
mergeSpoilingFood() - Method in interface com.mrbysco.spoiled.platform.services.IPlatformHelper
Enables a special recipe to merge spoiling food together
MOD_ID - Static variable in class com.mrbysco.spoiled.Constants
 
MOD_NAME - Static variable in class com.mrbysco.spoiled.Constants
 
MOD_PREFIX - Static variable in class com.mrbysco.spoiled.Constants
 
modLoc(String) - Static method in class com.mrbysco.spoiled.Constants
 

P

PLATFORM - Static variable in class com.mrbysco.spoiled.platform.Services
 
PLUGIN_UID - Static variable in class com.mrbysco.spoiled.compat.jei.JEICompat
 
priority - Variable in class com.mrbysco.spoiled.recipe.SpoilRecipe
 

R

RandomizableContainerBlockEntityAccessor - Interface in com.mrbysco.spoiled.mixin
 
RECIPE_SERIALIZERS - Static variable in class com.mrbysco.spoiled.registration.SpoiledRecipes
 
RECIPE_TYPES - Static variable in class com.mrbysco.spoiled.registration.SpoiledRecipes
 
register(String, Supplier<? extends I>) - Method in interface com.mrbysco.spoiled.registration.RegistrationProvider
Registers an object.
registerCategories(IRecipeCategoryRegistration) - Method in class com.mrbysco.spoiled.compat.jei.JEICompat
 
registerRecipeCatalysts(IRecipeCatalystRegistration) - Method in class com.mrbysco.spoiled.compat.jei.JEICompat
 
registerRecipes(IRecipeRegistration) - Method in class com.mrbysco.spoiled.compat.jei.JEICompat
 
RegistrationProvider<T> - Interface in com.mrbysco.spoiled.registration
Utility class for multiloader registration.
RegistrationProvider.Factory - Interface in com.mrbysco.spoiled.registration
Factory class for registration providers.
RegistryObject<T> - Interface in com.mrbysco.spoiled.registration
Represents a lazy wrapper for registry object.
result - Variable in class com.mrbysco.spoiled.recipe.SpoilRecipe
 

S

Serializer() - Constructor for class com.mrbysco.spoiled.recipe.SpoilRecipe.Serializer
 
Services - Class in com.mrbysco.spoiled.platform
 
Services() - Constructor for class com.mrbysco.spoiled.platform.Services
 
setItem(ItemStack) - Method in class com.mrbysco.spoiled.mixin.ItemFrameMixin
 
setRecipe(IRecipeLayoutBuilder, SpoilRecipe, IFocusGroup) - Method in class com.mrbysco.spoiled.compat.jei.category.SpoilCategory
 
setSpoilRate(int) - Static method in class com.mrbysco.spoiled.config.SpoiledConfigCache
 
setSpoilTime(ItemStack, int) - Static method in class com.mrbysco.spoiled.util.SpoilHelper
Set the spoil time for a stack
showPercentage() - Method in interface com.mrbysco.spoiled.platform.services.IPlatformHelper
When enabled makes the food's tooltips show percentages
SPOIL_RECIPE_TYPE - Static variable in class com.mrbysco.spoiled.registration.SpoiledRecipes
 
SPOIL_TAG - Static variable in class com.mrbysco.spoiled.Constants
 
SPOIL_TIME_TAG - Static variable in class com.mrbysco.spoiled.Constants
 
SPOIL_TIMER - Static variable in class com.mrbysco.spoiled.registration.SpoiledComponents
 
SpoilCategory - Class in com.mrbysco.spoiled.compat.jei.category
 
SpoilCategory(IGuiHelper) - Constructor for class com.mrbysco.spoiled.compat.jei.category.SpoilCategory
 
spoiledCallGetChunks() - Method in interface com.mrbysco.spoiled.mixin.ChunkMapAccessor
 
SpoiledCommands - Class in com.mrbysco.spoiled.commands
 
SpoiledCommands() - Constructor for class com.mrbysco.spoiled.commands.SpoiledCommands
 
SpoiledComponents - Class in com.mrbysco.spoiled.registration
 
SpoiledComponents() - Constructor for class com.mrbysco.spoiled.registration.SpoiledComponents
 
SpoiledConfigCache - Class in com.mrbysco.spoiled.config
 
SpoiledConfigCache() - Constructor for class com.mrbysco.spoiled.config.SpoiledConfigCache
 
SpoiledRecipes - Class in com.mrbysco.spoiled.registration
 
SpoiledRecipes() - Constructor for class com.mrbysco.spoiled.registration.SpoiledRecipes
 
SpoiledTags - Class in com.mrbysco.spoiled.util
 
SpoiledTags() - Constructor for class com.mrbysco.spoiled.util.SpoiledTags
 
SpoiledValidator - Class in com.mrbysco.spoiled.compat.jei.validator
 
SpoiledValidator(IRecipeCategory<SpoilRecipe>) - Constructor for class com.mrbysco.spoiled.compat.jei.validator.SpoiledValidator
 
spoilEverything() - Method in interface com.mrbysco.spoiled.platform.services.IPlatformHelper
When enabled Spoiled makes every edible item spoil into the specified Spoil Item (This overwrites json spoiling completely)
SpoilHelper - Class in com.mrbysco.spoiled.util
 
SpoilHelper() - Constructor for class com.mrbysco.spoiled.util.SpoilHelper
 
SPOILING - Static variable in class com.mrbysco.spoiled.compat.jei.JEICompat
 
SPOILING_SERIALIZER - Static variable in class com.mrbysco.spoiled.registration.SpoiledRecipes
 
spoilItemForEntity(Container, Entity, ItemStack, SpoilRecipe) - Static method in class com.mrbysco.spoiled.util.SpoilHelper
Spoil a stack for a container
spoilItemForPlayer(Player, ItemStack, SpoilRecipe) - Static method in class com.mrbysco.spoiled.util.SpoilHelper
Spoil a stack for a player
SpoilManager - Class in com.mrbysco.spoiled.compat.ct
 
SpoilManager() - Constructor for class com.mrbysco.spoiled.compat.ct.SpoilManager
 
spoilRate - Static variable in class com.mrbysco.spoiled.config.SpoiledConfigCache
 
spoilRecipe(Ingredient, ItemLike) - Static method in class com.mrbysco.spoiled.datagen.SpoilRecipeBuilder
 
SpoilRecipe - Class in com.mrbysco.spoiled.recipe
 
SpoilRecipe(String, Ingredient, ItemStack, int, int) - Constructor for class com.mrbysco.spoiled.recipe.SpoilRecipe
 
SpoilRecipe.Serializer - Class in com.mrbysco.spoiled.recipe
 
SpoilRecipeBuilder - Class in com.mrbysco.spoiled.datagen
 
spoilSingleItemAndReplace(Level, ItemStack, Consumer<ItemStack>) - Static method in class com.mrbysco.spoiled.util.SpoilHelper
Spoils a stack with a single item and replaces the instance in the associated location.
spoilTime - Variable in class com.mrbysco.spoiled.recipe.SpoilRecipe
 
SpoilTimer - Record Class in com.mrbysco.spoiled.component
 
SpoilTimer(int) - Constructor for record class com.mrbysco.spoiled.component.SpoilTimer
 
SpoilTimer(int, int) - Constructor for record class com.mrbysco.spoiled.component.SpoilTimer
Creates an instance of a SpoilTimer record class.
STACK_FOOD_SERIALIZER - Static variable in class com.mrbysco.spoiled.registration.SpoiledRecipes
 
StackFoodRecipe - Class in com.mrbysco.spoiled.recipe
 
StackFoodRecipe(CraftingBookCategory) - Constructor for class com.mrbysco.spoiled.recipe.StackFoodRecipe
 
STREAM_CODEC - Static variable in record class com.mrbysco.spoiled.component.SpoilTimer
 
STREAM_CODEC - Static variable in class com.mrbysco.spoiled.recipe.SpoilRecipe.Serializer
 
streamCodec() - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe.Serializer
 

T

tick() - Method in class com.mrbysco.spoiled.mixin.ItemFrameMixin
 
timer() - Method in record class com.mrbysco.spoiled.component.SpoilTimer
Returns the value of the timer record component.
toNetwork(RegistryFriendlyByteBuf, SpoilRecipe) - Static method in class com.mrbysco.spoiled.recipe.SpoilRecipe.Serializer
 
TooltipUtil - Class in com.mrbysco.spoiled.util
 
TooltipUtil() - Constructor for class com.mrbysco.spoiled.util.TooltipUtil
 
toString() - Method in record class com.mrbysco.spoiled.component.SpoilTimer
Returns a string representation of this record class.
totalUnderMax(ItemStack, ItemStack) - Static method in class com.mrbysco.spoiled.util.SpoilHelper
Check if merging two stacks will have the total under the max stack size
TYPE - Static variable in class com.mrbysco.spoiled.compat.jei.category.SpoilCategory
 

U

updateSpoilingStack(ItemStack, SpoilRecipe) - Static method in class com.mrbysco.spoiled.util.SpoilHelper
Update the spoil time for a stack
A B C D E F G H I J L M P R S T U 
All Classes and Interfaces|All Packages|Constant Field Values