Package com.cryptomorin.xseries
Class XTag<T extends Enum<T>>
java.lang.Object
com.cryptomorin.xseries.XTag<T>
-
Field Summary
Modifier and TypeFieldDescriptionTag representing all acacia log and bark variantsTag representing all dead coral non-walled fansTag representing all non-dead coral plantsTag representing all possible blocks available for animals to spawn onTag representing all variants of anvilstatic final XTag<XEnchantment>
Tag representing all possible enchants that can be applied to all armor pieces (excluding elytras)Tag representing all armor pieces that add armor bars upon wearingstatic final XTag<XEnchantment>
Tag representing all possible enchants that can be applied to axesTag representing all items that can tempt axolotlTag representing all possible blocks for axolotls to spawn onTag representing all possible blocks for azalea to grow onTag representing all possible blocks that can be replaced by azaleaTag representing all possible blocks bamboo may be planted onTag representing all banner blocksTag representing the nether base materialsTag representing the overworld base materialsTag representing all possible blocks that can be used as beacon baseTag representing all possible variants of bedTag representing all possible blocks/crops that be grown by beesTag representing all possible blocks big dripleaf may be planted onTag representing all birch log and bark variantsstatic final XTag<XEnchantment>
Tag representing all possible enchants that can be applied to bootsstatic final XTag<XEnchantment>
Tag representing all possible enchants that can be applied to bowsTag representing all possible variants of buttonsTag representing all possible variants of campfiresTag representing all possible variants of candle cakesTag representing all possible variants of candlesTag representing all possible variants of carpetsTag representing all possible variants of cauldronsTag representing all possible variants of cave vinesTag representing all armor pieces made of chainsstatic final XTag<XEnchantment>
Tag representing all possible enchants that can be applied to chestplatesTag representing all climbable blocksTag representing all preferred items for harvesting clusters{unused as of 1.18}Tag representing all possible variants of coal oresTag representing all possible variants of concreteTag representing all possible variants of concrete_powderTag representing all possible variants of copper oresTag representing all coralsTag representing all crimson log and bark variantsTag representing all cropsstatic final XTag<XEnchantment>
Tag representing all possible enchants that can be applied to crossbowsTag representing all possible blocks that can make crystal soundsTag representing all dark oak log and bark variantsTag representing all possible blocks that may be replaced by deepslate oresTag representing all armor pieces made of diamondTag representing all possible variants of diamond oresTag representing all diamond tools and swordsTag representing all dirtTag representing all possible types of doorsTag representing all blocks that can't be destroyed by dragonsTag representing all possible blocks that can be replaced by dripstonestatic final XTag<XEnchantment>
Tag representing all possible enchants that can be applied to elytrasTag representing all variants of emerald oresTag representing all possible blocks that can be picked up by endermenTag representing all blocks that cant be replaced by world generation featuresTag representing all possible variants of fence gatesTag representing all possible variants of fencesTag representing all possible variants fireTag representing all possible variants of flower potsTag representing all possible types of flowersThis doesn't refer to all materials that contain fluids, but pure fluids.Tag representing all items can be used as food for foxTag representing all possible blocks foxes may spawn onTag representing all possible items can be used to avoid freezingTag representing all blocks that geodes will not spawn inTag representing all variants of glassTag representing all possible variants of glazed terracottaTag representing all possible blocks goats may spawn onTag representing all possible variants of gold oresTag representing all armor pieces made of goldTag representing all block types that are guarded by piglinsstatic final XTag<XEnchantment>
Tag representing all possible enchants that can be applied to helmets/turtle shellsstatic final XTag<XEnchantment>
Tag representing all possible enchants that can be applied to hoesTag representing all block types that repel hoglinsTag representing all possible variants of iceTag representing all items ignored by baby piglinsTag representing all possible block types that do not drip water/lavaTag representing all block types that can burn for infinitely long in the endTag representing all block types that can burn for infinitely long in the netherTag representing all block types that can burn for infinitely long in the overworldTag representing all block types that play muffled step soundsTag representing all armor pieces made of ironTag representing all possible variants of iron oresTag representing all iron tools and swordsTag representing all possible variants of arrowsTag representing all items that can be used as bannersTag representing all items that can be used to fuel beaconTag representing all possible variants of boatsTag representing all possible variants of coalTag representing all possible music discs that can be dropped by creeperTag representing all possible types of fishTag representing all furnace materials {empty in spigot as of 1.18}Tag representing all possible book types that can be placed on lecternsTag representing all types of music discsTag representing all items loved by piglinsTag representing all stone tool materialsTag representing all jungle log and bark variantsTag representing all possible variants of lapis oresTag representing all blocks that can't be replaced by lava poolsTag representing all armor pieces made of leatherTag representing all types of leavesstatic final XTag<XEnchantment>
Tag representing all possible enchants that can be applied to leggingsTag representing all wood and bark variantsTag representing all wood and bark variants that can catch fireTag representing all possible blocks that can be replaced by lush groundTag representing all mangrove log and bark variantsTag representing all block types mineable with axeTag representing all block types mineable with hoeTag representing all block types mineable with pickaxeTag representing all block types mineable with shovelTag representing all possible block types mooshrooms can spawn onTag representing all block types that can be replaced by mossTag representing all block types that need minimum of diamond tool to drop itemsTag representing all block types that need minimum of iron tool to drop itemsTag representing all block types that need minimum of stone tool to drop itemsTag representing all armor pieces made of netheriteTag representing all netherite tools and swordsTag representing all non-flammable wood and bark variantsTag representing all non-wooden slabsTag representing all non-wooden stairsTag representing all nylium blocksTag representing all oak wood and bark variantsTag representing all possible blocks that can block vibration signalsTag representing all oresTag representing all possible block types parrots may spawn onstatic final XTag<XEnchantment>
Tag representing all possible enchants that can be applied to pickaxesTag representing all items that can be used as piglin foodTag representing all block types that repel piglinsTag representing all types of planksTag representing all possible blocks polar bears may spawn onTag representing all possible block types that be used as portalsTag representing all possible variants of pressure platesTag representing all block types that prevent inside mob spawningTag representing all possible block types that rabbits may spawn onTag representing all possible types of railsTag representing all possible variants of redstone oresTag representing all plant blocks that may be replacedTag representing all possible types of sandTag representing all possible types of saplingsstatic final XTag<XEnchantment>
Tag representing all possible enchants that can be applied to shearsstatic final XTag<XEnchantment>
Tag representing all possible enchants that can be applied to shovelsTag representing all possible variants of shulker boxesTag representing all possible variants of signsTag representing all possible block types small dripleaf may be placed uponTag representing all flowers small in size {1 block tall}Tag representing all possible variants of snowTag representing all possible blocks that can be lit up with sould fireTag representing all possible blocks that activate soul speed enchantmentTag representing all spruce wood and log variantsTag representing all possible types of stairsTag representing all possible types of standing signsTag representing all possible variants of stone bricksTag representing all possible blocks that can be replaced by regular stone oresTag representing all pressure plates made of some type of stoneTag representing all stone tools and swordsTag representing all block types that make strider warmstatic final XTag<XEnchantment>
Tag representing all possible enchants that can be applied to swordsTag representing all flowers that are tall {2 blocks}Tag representing all possible variants of non-glazed terracottaTag representing all possible types of trapdoorsTag representing all block types that can be bonemealed underwaterTag representing all blocks that have unstable bottom when placed in centre of 2 blocksTag representing all valid mob spawn positionsTag representing all possible types of wall bannersTag representing all possible block types that can override a wall post creationTag representing all wall signsTag representing all different types of wallsTag representing all warped stemsTag representing all block types that can't be destroyed by withersTag representing all possible block types that may be used as wither summon baseTag representing all possible block types that wolves may spawn onTag representing all possible types of wooden buttonsTag representing all possible types of wooden doorsTag representing all possible types of wooden fence gatesTag representing all possible types of wooden fencesTag representing all possible types of wooden pressure platesTag representing all possible types of wooden slabsTag representing all possible types of wooden stairsTag representing all wooden tools and swordsTag representing all possible types of wooden trapdoorsTag representing all possible types of wool -
Method Summary
-
Field Details
-
AIR
-
INVENTORY_NOT_DISPLAYABLE
-
ACACIA_LOGS
Tag representing all acacia log and bark variants -
CORAL_FANS
-
ALIVE_CORAL_BLOCKS
-
ALIVE_CORAL_FANS
Tag representing all dead coral non-walled fans -
ALIVE_CORAL_PLANTS
Tag representing all non-dead coral plants -
ALIVE_CORAL_WALL_FANS
-
ANIMALS_SPAWNABLE_ON
Tag representing all possible blocks available for animals to spawn on -
ANVIL
Tag representing all variants of anvil -
AXOLOTL_TEMPT_ITEMS
Tag representing all items that can tempt axolotl -
AXOLOTLS_SPAWNABLE_ON
Tag representing all possible blocks for axolotls to spawn on -
AZALEA_GROWS_ON
Tag representing all possible blocks for azalea to grow on -
AZALEA_ROOT_REPLACEABLE
Tag representing all possible blocks that can be replaced by azalea -
BAMBOO_PLANTABLE_ON
Tag representing all possible blocks bamboo may be planted on -
BANNERS
Tag representing all banner blocks -
BASE_STONE_NETHER
Tag representing the nether base materials -
BASE_STONE_OVERWORLD
Tag representing the overworld base materials -
BEACON_BASE_BLOCKS
Tag representing all possible blocks that can be used as beacon base -
BEDS
Tag representing all possible variants of bed -
BEE_GROWABLES
Tag representing all possible blocks/crops that be grown by bees -
BIG_DRIPLEAF_PLACEABLE
Tag representing all possible blocks big dripleaf may be planted on -
BIRCH_LOGS
Tag representing all birch log and bark variants -
BUTTONS
Tag representing all possible variants of buttons -
CAMPFIRES
Tag representing all possible variants of campfires -
CANDLE_CAKES
Tag representing all possible variants of candle cakes -
CANDLES
Tag representing all possible variants of candles -
CARPETS
Tag representing all possible variants of carpets -
CAULDRONS
Tag representing all possible variants of cauldrons -
CAVE_VINES
Tag representing all possible variants of cave vines -
CLIMBABLE
Tag representing all climbable blocks -
CLUSTER_MAX_HARVESTABLES
Tag representing all preferred items for harvesting clusters{unused as of 1.18} -
COAL_ORES
Tag representing all possible variants of coal ores -
CONCRETE
Tag representing all possible variants of concrete -
CONCRETE_POWDER
Tag representing all possible variants of concrete_powder -
COPPER_ORES
Tag representing all possible variants of copper ores -
CORALS
Tag representing all corals -
CRIMSON_STEMS
Tag representing all crimson log and bark variants -
CROPS
Tag representing all crops -
CRYSTAL_SOUND_BLOCKS
Tag representing all possible blocks that can make crystal sounds -
DARK_OAK_LOGS
Tag representing all dark oak log and bark variants -
DEAD_CORAL_BLOCKS
-
DEAD_CORAL_FANS
-
DEAD_CORAL_PLANTS
-
DEAD_CORAL_WALL_FANS
-
DEEPSLATE_ORE_REPLACEABLES
Tag representing all possible blocks that may be replaced by deepslate ores -
DIAMOND_ORES
Tag representing all possible variants of diamond ores -
DIRT
Tag representing all dirt -
DOORS
Tag representing all possible types of doors -
DRAGON_IMMUNE
Tag representing all blocks that can't be destroyed by dragons -
DRIPSTONE_REPLACEABLE
Tag representing all possible blocks that can be replaced by dripstone -
WALL_HEADS
-
EMERALD_ORES
Tag representing all variants of emerald ores -
ENDERMAN_HOLDABLE
Tag representing all possible blocks that can be picked up by endermen -
FEATURES_CANNOT_REPLACE
Tag representing all blocks that cant be replaced by world generation features -
FENCE_GATES
Tag representing all possible variants of fence gates -
FENCES
Tag representing all possible variants of fences -
FIRE
Tag representing all possible variants fire -
FLOWER_POTS
Tag representing all possible variants of flower pots -
FLOWERS
Tag representing all possible types of flowers -
FOX_FOOD
Tag representing all items can be used as food for fox -
FOXES_SPAWNABLE_ON
Tag representing all possible blocks foxes may spawn on -
FREEZE_IMMUNE_WEARABLES
Tag representing all possible items can be used to avoid freezing -
GEODE_INVALID_BLOCKS
Tag representing all blocks that geodes will not spawn in -
GLASS
Tag representing all variants of glass -
GLAZED_TERRACOTTA
Tag representing all possible variants of glazed terracotta -
GOATS_SPAWNABLE_ON
Tag representing all possible blocks goats may spawn on -
GOLD_ORES
Tag representing all possible variants of gold ores -
GUARDED_BY_PIGLINS
Tag representing all block types that are guarded by piglins -
HOGLIN_REPELLENTS
Tag representing all block types that repel hoglins -
ICE
Tag representing all possible variants of ice -
IGNORED_BY_PIGLIN_BABIES
Tag representing all items ignored by baby piglins -
IMPERMEABLE
Tag representing all possible block types that do not drip water/lava -
INFINIBURN_END
Tag representing all block types that can burn for infinitely long in the end -
INFINIBURN_NETHER
Tag representing all block types that can burn for infinitely long in the nether -
INFINIBURN_OVERWORLD
Tag representing all block types that can burn for infinitely long in the overworld -
INSIDE_STEP_SOUND_BLOCKS
Tag representing all block types that play muffled step sounds -
IRON_ORES
Tag representing all possible variants of iron ores -
ITEMS_ARROWS
Tag representing all possible variants of arrows -
ITEMS_BANNERS
Tag representing all items that can be used as banners -
ITEMS_BEACON_PAYMENT_ITEMS
Tag representing all items that can be used to fuel beacon -
ITEMS_BOATS
Tag representing all possible variants of boats -
ITEMS_COALS
Tag representing all possible variants of coal -
ITEMS_CREEPER_DROP_MUSIC_DISCS
Tag representing all possible music discs that can be dropped by creeper -
ITEMS_FISHES
Tag representing all possible types of fish -
ITEMS_FURNACE_MATERIALS
Tag representing all furnace materials {empty in spigot as of 1.18} -
ITEMS_LECTERN_BOOKS
Tag representing all possible book types that can be placed on lecterns -
ITEMS_MUSIC_DISCS
Tag representing all types of music discs -
ITEMS_PIGLIN_LOVED
Tag representing all items loved by piglins -
ITEMS_STONE_TOOL_MATERIALS
Tag representing all stone tool materials -
WALL_BANNERS
Tag representing all possible types of wall banners -
JUNGLE_LOGS
Tag representing all jungle log and bark variants -
LAPIS_ORES
Tag representing all possible variants of lapis ores -
LAVA_POOL_STONE_CANNOT_REPLACE
Tag representing all blocks that can't be replaced by lava pools -
LEAVES
Tag representing all types of leaves -
LOGS
Tag representing all wood and bark variants -
LOGS_THAT_BURN
Tag representing all wood and bark variants that can catch fire -
LUSH_GROUND_REPLACEABLE
Tag representing all possible blocks that can be replaced by lush ground -
MANGROVE_LOGS
Tag representing all mangrove log and bark variants -
MINEABLE_AXE
Tag representing all block types mineable with axe -
MINEABLE_HOE
Tag representing all block types mineable with hoe -
MINEABLE_PICKAXE
Tag representing all block types mineable with pickaxe -
MINEABLE_SHOVEL
Tag representing all block types mineable with shovel -
MOOSHROOMS_SPAWNABLE_ON
Tag representing all possible block types mooshrooms can spawn on -
MOSS_REPLACEABLE
Tag representing all block types that can be replaced by moss -
MUSHROOM_GROW_BLOCK
-
NEEDS_DIAMOND_TOOL
Tag representing all block types that need minimum of diamond tool to drop items -
NEEDS_IRON_TOOL
Tag representing all block types that need minimum of iron tool to drop items -
NEEDS_STONE_TOOL
Tag representing all block types that need minimum of stone tool to drop items -
NON_FLAMMABLE_WOOD
Tag representing all non-flammable wood and bark variants -
NON_WOODEN_STAIRS
Tag representing all non-wooden stairs -
NON_WOODEN_SLABS
Tag representing all non-wooden slabs -
NYLIUM
Tag representing all nylium blocks -
OAK_LOGS
Tag representing all oak wood and bark variants -
OCCLUDES_VIBRATION_SIGNALS
Tag representing all possible blocks that can block vibration signals -
ORES
Tag representing all ores -
PARROTS_SPAWNABLE_ON
Tag representing all possible block types parrots may spawn on -
PIGLIN_FOOD
Tag representing all items that can be used as piglin food -
PIGLIN_REPELLENTS
Tag representing all block types that repel piglins -
PLANKS
Tag representing all types of planks -
POLAR_BEARS_SPAWNABLE_ON_IN_FROZEN_OCEAN
Tag representing all possible blocks polar bears may spawn on -
PORTALS
Tag representing all possible block types that be used as portals -
PRESSURE_PLATES
Tag representing all possible variants of pressure plates -
PREVENT_MOB_SPAWNING_INSIDE
Tag representing all block types that prevent inside mob spawning -
RABBITS_SPAWNABLE_ON
Tag representing all possible block types that rabbits may spawn on -
RAILS
Tag representing all possible types of rails -
REDSTONE_ORES
Tag representing all possible variants of redstone ores -
REPLACEABLE_PLANTS
Tag representing all plant blocks that may be replaced -
SAND
Tag representing all possible types of sand -
SAPLINGS
Tag representing all possible types of saplings -
SHULKER_BOXES
Tag representing all possible variants of shulker boxes -
SIGNS
Tag representing all possible variants of signs -
SMALL_DRIPLEAF_PLACEABLE
Tag representing all possible block types small dripleaf may be placed upon -
SMALL_FLOWERS
Tag representing all flowers small in size {1 block tall} -
SNOW
Tag representing all possible variants of snow -
SOUL_FIRE_BASE_BLOCKS
Tag representing all possible blocks that can be lit up with sould fire -
SOUL_SPEED_BLOCKS
Tag representing all possible blocks that activate soul speed enchantment -
SPRUCE_LOGS
Tag representing all spruce wood and log variants -
STAIRS
Tag representing all possible types of stairs -
STANDING_SIGNS
Tag representing all possible types of standing signs -
STONE_BRICKS
Tag representing all possible variants of stone bricks -
STONE_ORE_REPLACEABLES
Tag representing all possible blocks that can be replaced by regular stone ores -
STONE_PRESSURE_PLATES
Tag representing all pressure plates made of some type of stone -
STRIDER_WARM_BLOCKS
Tag representing all block types that make strider warm -
TALL_FLOWERS
Tag representing all flowers that are tall {2 blocks} -
TERRACOTTA
Tag representing all possible variants of non-glazed terracotta -
TRAPDOORS
Tag representing all possible types of trapdoors -
UNDERWATER_BONEMEALS
Tag representing all block types that can be bonemealed underwater -
UNSTABLE_BOTTOM_CENTER
Tag representing all blocks that have unstable bottom when placed in centre of 2 blocks -
VALID_SPAWN
Tag representing all valid mob spawn positions -
WALL_POST_OVERRIDE
Tag representing all possible block types that can override a wall post creation -
WALL_SIGNS
Tag representing all wall signs -
HANGING_SIGNS
-
WALLS
Tag representing all different types of walls -
WARPED_STEMS
Tag representing all warped stems -
WITHER_IMMUNE
Tag representing all block types that can't be destroyed by withers -
WITHER_SUMMON_BASE_BLOCKS
Tag representing all possible block types that may be used as wither summon base -
WOLVES_SPAWNABLE_ON
Tag representing all possible block types that wolves may spawn on -
WOODEN_BUTTONS
Tag representing all possible types of wooden buttons -
WOODEN_DOORS
Tag representing all possible types of wooden doors -
WOODEN_FENCE_GATES
Tag representing all possible types of wooden fence gates -
WOODEN_FENCES
Tag representing all possible types of wooden fences -
WOODEN_PRESSURE_PLATES
Tag representing all possible types of wooden pressure plates -
WOODEN_SLABS
Tag representing all possible types of wooden slabs -
WOODEN_STAIRS
Tag representing all possible types of wooden stairs -
WOODEN_TRAPDOORS
Tag representing all possible types of wooden trapdoors -
WOOL
Tag representing all possible types of wool -
LEATHER_ARMOR_PIECES
Tag representing all armor pieces made of leather -
IRON_ARMOR_PIECES
Tag representing all armor pieces made of iron -
CHAINMAIL_ARMOR_PIECES
Tag representing all armor pieces made of chains -
GOLDEN_ARMOR_PIECES
Tag representing all armor pieces made of gold -
DIAMOND_ARMOR_PIECES
Tag representing all armor pieces made of diamond -
NETHERITE_ARMOR_PIECES
Tag representing all armor pieces made of netherite -
ARMOR_PIECES
Tag representing all armor pieces that add armor bars upon wearing -
WOODEN_TOOLS
Tag representing all wooden tools and swords -
FLUID
This doesn't refer to all materials that contain fluids, but pure fluids. -
STONE_TOOLS
Tag representing all stone tools and swords -
IRON_TOOLS
Tag representing all iron tools and swords -
DIAMOND_TOOLS
Tag representing all diamond tools and swords -
NETHERITE_TOOLS
Tag representing all netherite tools and swords -
ARMOR_ENCHANTS
Tag representing all possible enchants that can be applied to all armor pieces (excluding elytras) -
HELEMT_ENCHANTS
Tag representing all possible enchants that can be applied to helmets/turtle shells -
CHESTPLATE_ENCHANTS
Tag representing all possible enchants that can be applied to chestplates -
LEGGINGS_ENCHANTS
Tag representing all possible enchants that can be applied to leggings -
BOOTS_ENCHANTS
Tag representing all possible enchants that can be applied to boots -
ELYTRA_ENCHANTS
Tag representing all possible enchants that can be applied to elytras -
SWORD_ENCHANTS
Tag representing all possible enchants that can be applied to swords -
AXE_ENCHANTS
Tag representing all possible enchants that can be applied to axes -
HOE_ENCHANTS
Tag representing all possible enchants that can be applied to hoes -
PICKAXE_ENCHANTS
Tag representing all possible enchants that can be applied to pickaxes -
SHOVEL_ENCHANTS
Tag representing all possible enchants that can be applied to shovels -
SHEARS_ENCHANTS
Tag representing all possible enchants that can be applied to shears -
BOW_ENCHANTS
Tag representing all possible enchants that can be applied to bows -
CROSSBOW_ENCHANTS
Tag representing all possible enchants that can be applied to crossbows
-
-
Method Details
-
isItem
Checks if this Material is an obtainable item. "Obtainable items" are simply materials that can be displayed in your GUI. This method is mainly designed to support pre-1.13, servers using 1.13 and above will directly have their materials checked withMaterial.isItem()
- Returns:
- true if this material is an item, otherwise false if it's not an item or the item is not supported.
- Since:
- 1.13
-
isInteractable
Checks if this Material can be interacted with.Interactable materials include those with functionality when they are interacted with by a player such as chests, furnaces, etc.
Some blocks such as piston heads and stairs are considered interactable though may not perform any additional functionality.
Note that the interactability of some materials may be dependent on their state as well. This method will return true if there is at least one state in which additional interact handling is performed for the material.
- Returns:
- true if this material can be interacted with.
- Since:
- 1.13
-
getValues
- Returns:
Set
of all the values represented by the tag
-
isTagged
-