Package petrolpark.mc.library.shared
Enum Class SharedFeatureFlag
- All Implemented Interfaces:
Serializable,Comparable<SharedFeatureFlag>,Constable,net.minecraft.util.StringRepresentable
public enum SharedFeatureFlag
extends Enum<SharedFeatureFlag>
implements net.minecraft.util.StringRepresentable
Shared Feature Flags are used for conditional registration, allowing mods to share features.
But the objects they register will not be registered if unnecessary, so as to not create confusion.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringRepresentable
net.minecraft.util.StringRepresentable.EnumCodec<E extends Enum<E> & net.minecraft.util.StringRepresentable>, net.minecraft.util.StringRepresentable.StringRepresentableCodec<S extends net.minecraft.util.StringRepresentable> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRegisters nothing, but enables the interaction of Mechanical Arms with Chain Conveyors.Registers Basin Lid block and default recipe, andlidded_basinrecipe type.Registers Blender block and default recipe, andblendingrecipe type.Registers theBlood fluid, and blending mobs ifBLENDERis enabled.Registers the Centriuge block and default recipe, andcentrifugationrecipe type.Registers the Circular Cookie Cutter itemRegisters the Dough block and some PondersRegisters the Drying Rack block and default recipe.RegistersEggshellandYolk items, theEgg White fluid(if Create is present), and aJuicingReciperecipe to obtain them ifMESH_BASINis enabled.Registers the Extrusion Die block and default recipe, andextrusionrecipe type.Registers theFries item,blockandRaw Fries item, and the Smelting/Smoking/Campfire Cooking recipe to cook them If Create is present, enables theextrusionrecipe to obtain the Raw Fries Block.Registers all the defaultGoldConversions and theMidas' Touch effect.Registers the Horse Mill Bearing and Harness blocks and default recipes.Indev.Registers theMesh item, which is just used as a crafting ingredient forMesh BasinandExtrusion Die.Registers the Mesh Basin block and default recipe, andjuicing,boilingandfilteringrecipe types.Register theButter item, andSkimmed MilkandCream fluids(if Create is present), and the default recipes to obtain them (bycentrifugation, again if Create is present).Register theMashed Potato itemandblock, and the recipes for conversion between the two.Indev.Registers the Redstone Programmer block, but not any default recipe.Registers the Rolling Pin item and its default recipes.Registers theSlipping effect and potions.Deprecated.Register theSunflower Oil fluidand the default recipe to obtain it. -
Field Summary
FieldsFields inherited from interface net.minecraft.util.StringRepresentable
PRE_BUILT_MAP_THRESHOLD -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voidbooleanenabled()static SharedFeatureFlagReturns the enum constant of this class with the specified name.static SharedFeatureFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
-
ARMS_TARGET_CHAIN_CONVEYORS
Registers nothing, but enables the interaction of Mechanical Arms with Chain Conveyors. Requires Create.- See Also:
-
BASIN_LID
Registers Basin Lid block and default recipe, andlidded_basinrecipe type. Requires Create.- See Also:
-
BLENDER
Registers Blender block and default recipe, andblendingrecipe type. Requires Create.- See Also:
-
BLOOD
Registers theBlood fluid, and blending mobs ifBLENDERis enabled. Requires Create.- See Also:
-
CENTRIFUGE
Registers the Centriuge block and default recipe, andcentrifugationrecipe type. Requires Create.- See Also:
-
CIRCLE_COOKIE_CUTTER
Registers the Circular Cookie Cutter item- See Also:
-
DOUGH
Registers the Dough block and some Ponders- See Also:
-
DRYING_RACK
Registers the Drying Rack block and default recipe.- See Also:
-
EGG_PRODUCTS
RegistersEggshellandYolk items, theEgg White fluid(if Create is present), and aJuicingReciperecipe to obtain them ifMESH_BASINis enabled. Also enables a chance of creating an Eggshell when a thrown egg lands.- See Also:
-
GOLD_CONVERSION
Registers all the defaultGoldConversions and theMidas' Touch effect. TheGoldConversionAPI can still be used safely, but nothing will have any registered transformations. -
HORSE_MILL
Registers the Horse Mill Bearing and Harness blocks and default recipes. TheHorseMillPropertiesSharedCreateDataMapTypes.HORSE_MILL_PROPERTIESis always registered, even if this flag is not enabled. Requires Create.- See Also:
-
MESH
Registers theMesh item, which is just used as a crafting ingredient forMesh BasinandExtrusion Die. -
PROGRAMMING_BLOCK
Indev. -
REDSTONE_PROGRAMMER
Registers the Redstone Programmer block, but not any default recipe. Requires Create.- See Also:
-
SLIPPING
Registers theSlipping effect and potions. Thecorresponding attributeis always registered, even if this flag is not enabled. -
SPRING
Deprecated. -
EXTRUSION
Registers the Extrusion Die block and default recipe, andextrusionrecipe type. Requires Create.- See Also:
-
MANDREL
Indev. -
MESH_BASIN
Registers the Mesh Basin block and default recipe, andjuicing,boilingandfilteringrecipe types. Requires Create.- See Also:
-
MILK_PRODUCTS
Register theButter item, andSkimmed MilkandCream fluids(if Create is present), and the default recipes to obtain them (bycentrifugation, again if Create is present). -
POTATO_PRODUCTS
Register theMashed Potato itemandblock, and the recipes for conversion between the two. If Create is present, also registers thesequence assembly recipefor Mashed Potato. -
ROLLING_PIN
Registers the Rolling Pin item and its default recipes. Technically doesn't require Create, but asIDoughdoes, it's rather useless without.- See Also:
-
SUNFLOWER_OIL
Register theSunflower Oil fluidand the default recipe to obtain it. Requires Create. -
FRIES
Registers theFries item,blockandRaw Fries item, and the Smelting/Smoking/Campfire Cooking recipe to cook them If Create is present, enables theextrusionrecipe to obtain the Raw Fries Block. IfMESH_BASINis enabled, disables the cooking recipes and enables the default deep-frying recipe.
-
-
Field Details
-
CODEC
-
-
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
-
enabled
public boolean enabled() -
enable
-
enableAll
@Internal public static void enableAll() -
getSerializedName
- Specified by:
getSerializedNamein interfacenet.minecraft.util.StringRepresentable
-
streamUsers
-