Package com.lightning.northstar.content
Enum Class NorthstarRecipeTypes
- All Implemented Interfaces:
com.simibubi.create.foundation.recipe.IRecipeTypeInfo,Serializable,Comparable<NorthstarRecipeTypes>,Constable
public enum NorthstarRecipeTypes
extends Enum<NorthstarRecipeTypes>
implements com.simibubi.create.foundation.recipe.IRecipeTypeInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescription<I extends net.minecraft.world.item.crafting.RecipeInput,R extends net.minecraft.world.item.crafting.Recipe<I>>
Optional<net.minecraft.world.item.crafting.RecipeHolder<R>> find(I inv, net.minecraft.world.level.Level world) net.minecraft.resources.ResourceLocationgetId()<T extends net.minecraft.world.item.crafting.RecipeSerializer<?>>
T<I extends net.minecraft.world.item.crafting.RecipeInput,R extends net.minecraft.world.item.crafting.Recipe<I>>
net.minecraft.world.item.crafting.RecipeType<R> getType()static voidregister(net.neoforged.bus.api.IEventBus modEventBus) static NorthstarRecipeTypesReturns the enum constant of this class with the specified name.static NorthstarRecipeTypes[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENGRAVING
-
ELECTROLYSIS
-
FREEZING
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
register
public static void register(net.neoforged.bus.api.IEventBus modEventBus) -
getId
public net.minecraft.resources.ResourceLocation getId()- Specified by:
getIdin interfacecom.simibubi.create.foundation.recipe.IRecipeTypeInfo
-
getSerializer
public <T extends net.minecraft.world.item.crafting.RecipeSerializer<?>> T getSerializer()- Specified by:
getSerializerin interfacecom.simibubi.create.foundation.recipe.IRecipeTypeInfo
-
getType
public <I extends net.minecraft.world.item.crafting.RecipeInput,R extends net.minecraft.world.item.crafting.Recipe<I>> net.minecraft.world.item.crafting.RecipeType<R> getType()- Specified by:
getTypein interfacecom.simibubi.create.foundation.recipe.IRecipeTypeInfo
-
find
public <I extends net.minecraft.world.item.crafting.RecipeInput,R extends net.minecraft.world.item.crafting.Recipe<I>> Optional<net.minecraft.world.item.crafting.RecipeHolder<R>> find(I inv, net.minecraft.world.level.Level world)
-