Package com.lightning.northstar.content
Enum Class NorthstarTags.NorthstarFluidTags
java.lang.Object
java.lang.Enum<NorthstarTags.NorthstarFluidTags>
com.lightning.northstar.content.NorthstarTags.NorthstarFluidTags
- All Implemented Interfaces:
Tags.Tag<net.minecraft.world.level.material.Fluid>,Serializable,Comparable<NorthstarTags.NorthstarFluidTags>,Constable
- Enclosing class:
NorthstarTags
public static enum NorthstarTags.NorthstarFluidTags
extends Enum<NorthstarTags.NorthstarFluidTags>
implements Tags.Tag<net.minecraft.world.level.material.Fluid>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.minecraft.tags.TagKey<net.minecraft.world.level.material.Fluid> -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(net.minecraft.world.level.material.Fluid fluid) booleanmatches(net.minecraft.world.level.material.FluidState state) booleanmatches(net.neoforged.neoforge.fluids.FluidStack fluid) net.minecraft.tags.TagKey<net.minecraft.world.level.material.Fluid> tag()Returns the enum constant of this class with the specified name.static NorthstarTags.NorthstarFluidTags[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BREATHABLE
-
COMPAT_CBC_MOLTEN_CAST_IRON
-
COMPAT_CDG_BIODIESEL
-
C_BIOFUEL
-
C_BRINE
-
C_CARBON
-
C_CHLORINE
-
C_CHOCOLATE_ICE_CREAM
-
C_GASEOUS
-
C_HYDROCARBON
-
C_HYDROGEN
-
C_LIQUID_HYDROGEN
-
C_LIQUID_OXYGEN
-
C_METHANE
-
C_OXYGEN
-
C_SODIUM
-
C_STRAWBERRY_ICE_CREAM
-
C_SULFURIC_ACID
-
C_TITANIUM_TETRACHLORIDE
-
C_VANILLA_ICE_CREAM
-
IS_OXY
@Deprecated(since="0.5.0", forRemoval=true) public static final NorthstarTags.NorthstarFluidTags IS_OXYDeprecated, for removal: This API element is subject to removal in a future version.poor naming, useBREATHABLEinstead.
-
-
Field Details
-
tag
public final net.minecraft.tags.TagKey<net.minecraft.world.level.material.Fluid> tag
-
-
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
-
tag
public net.minecraft.tags.TagKey<net.minecraft.world.level.material.Fluid> tag() -
matches
public boolean matches(net.neoforged.neoforge.fluids.FluidStack fluid) -
matches
public boolean matches(net.minecraft.world.level.material.Fluid fluid) -
matches
public boolean matches(net.minecraft.world.level.material.FluidState state)
-
BREATHABLEinstead.