Index

A B C F G I 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
 
addSpoiling(String, IIngredient, IItemStack, 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(Container, RegistryAccess) - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe
 
assemble(CraftingContainer, RegistryAccess) - Method in class com.mrbysco.spoiled.recipe.StackFoodRecipe
 

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 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.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

F

FOODS - Static variable in class com.mrbysco.spoiled.util.SpoiledTags
 
FOODS_VANILLA - Static variable in class com.mrbysco.spoiled.util.SpoiledTags
 
fromNetwork(FriendlyByteBuf) - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe.Serializer
 

G

generateContainerModifier(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
 
getId() - Method in interface com.mrbysco.spoiled.registration.RegistryObject
Gets the id of the object.
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.
getRecipeType() - Method in class com.mrbysco.spoiled.compat.ct.SpoilManager
 
getRemainingItems(CraftingContainer) - 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(RegistryAccess) - 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
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
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
 
group - Variable in class com.mrbysco.spoiled.recipe.SpoilRecipe
 

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
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
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
 

L

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

M

matches(Container, Level) - Method in class com.mrbysco.spoiled.recipe.SpoilRecipe
 
matches(CraftingContainer, Level) - Method in class com.mrbysco.spoiled.recipe.StackFoodRecipe
 
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
 

P

PLATFORM - Static variable in class com.mrbysco.spoiled.platform.Services
 

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.
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
 
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
 
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
 
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
 
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_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) - 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
 
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
 

T

tick() - Method in class com.mrbysco.spoiled.mixin.ItemFrameMixin
 
toNetwork(FriendlyByteBuf, SpoilRecipe) - 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
 
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

U

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