Package com.lightning.northstar.content
Enum Class NorthstarTags.NorthstarBlockTags
java.lang.Object
java.lang.Enum<NorthstarTags.NorthstarBlockTags>
com.lightning.northstar.content.NorthstarTags.NorthstarBlockTags
- All Implemented Interfaces:
Tags.Tag<net.minecraft.world.level.block.Block>,Serializable,Comparable<NorthstarTags.NorthstarBlockTags>,Constable
- Enclosing class:
NorthstarTags
public static enum NorthstarTags.NorthstarBlockTags
extends Enum<NorthstarTags.NorthstarBlockTags>
implements Tags.Tag<net.minecraft.world.level.block.Block>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.tags.TagKey<net.minecraft.world.item.Item> item()booleanmatches(net.minecraft.world.item.ItemStack stack) booleanmatches(net.minecraft.world.level.block.Block block) booleanmatches(net.minecraft.world.level.block.state.BlockState state) net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> tag()<T extends net.minecraft.world.level.block.Block,P>
com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.BlockBuilder<T, P>, com.tterrag.registrate.builders.BlockBuilder<T, P>> Returns the enum constant of this class with the specified name.static NorthstarTags.NorthstarBlockTags[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AIR_PASSES_THROUGH
-
ARGYRE_REPLACEABLE
-
BASE_STONE_MARS
-
BASE_STONE_MERCURY
-
BASE_STONE_MOON
-
BASE_STONE_VENUS
-
BASE_SURFACE_BLOCKS_MARS
-
BLOCKS_AIR
Deprecated.Temporary workaround for certain blocks that cannot be sealed with the current system even when they should be, eg: glass panes -
C_STORAGE_BLOCKS_MARTIAN_STEEL
-
C_STORAGE_BLOCKS_TITANIUM
-
C_STORAGE_BLOCKS_TUNGSTEN
-
C_ORES_GLOWSTONE
-
C_ORES_TITANIUM
-
C_ORES_TUNGSTEN
-
C_ORES_ZINC
-
HEAVY_BLOCKS
-
MARS_BLOCKS
-
MARS_DEEP_STONE_REPLACEABLE
-
MARS_STONE_REPLACEABLE
-
MERCURY_DEEP_STONE_REPLACEABLE
-
MERCURY_STONE_REPLACEABLE
-
MOON_BLOCKS
-
MOON_DEEP_STONE_REPLACEABLE
-
MOON_STONE_REPLACEABLE
-
MOON_SURFACE_REPLACEABLE
-
NATURAL_MARS_BLOCKS
-
NATURAL_MERCURY_BLOCKS
-
NATURAL_MOON_BLOCKS
-
NATURAL_VENUS_BLOCKS
-
SUPER_HEAVY_BLOCKS
-
TIER_1_HEAT_RESISTANCE
-
TIER_2_HEAT_RESISTANCE
-
TIER_3_HEAT_RESISTANCE
-
VENUS_DEEP_STONE_REPLACEABLE
-
VENUS_STONE
-
VENUS_STONE_REPLACEABLE
-
-
Field Details
-
tag
public final net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> 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.block.Block> tag() -
item
public net.minecraft.tags.TagKey<net.minecraft.world.item.Item> item() -
tagBlockAndItem
public <T extends net.minecraft.world.level.block.Block,P> com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.BlockBuilder<T,P>, tagBlockAndItem()com.tterrag.registrate.builders.BlockBuilder<T, P>> -
matches
public boolean matches(net.minecraft.world.level.block.Block block) -
matches
public boolean matches(net.minecraft.world.item.ItemStack stack) -
matches
public boolean matches(net.minecraft.world.level.block.state.BlockState state)
-