Package net.neoforged.neoforge.common
Class Tags.Items
java.lang.Object
net.neoforged.neoforge.common.Tags.Items
- Enclosing class:
Tags
-
Field Summary
FieldsModifier and TypeFieldDescriptionCollects the 4 vanilla armor tags into one parent collection for ease.If checking for the fluid this bucket holds in code, please useFluidBucketWrapper.getFluid()
instead.Does not include entity water buckets.For blocks that are similar to amethyst where their budding block produces buds and cluster blocksFor blocks that are similar to amethyst where they have buddings forming from budding blocksFor blocks that are similar to amethyst where they have clusters forming from budding blocksTag that holds all blocks and items that can be dyed a specific color.Collects the many enchantable tags into one parent collection for ease.Controls what items can be consumed for enchanting such as Enchanting Tables.Strawberries, raspberries, and other berry foods belong in this tag.Sweets and candies like lollipops or chocolate belong in this tag.Foods like cake that can be eaten when placed in the world belong in this tag.For foods that inflict food poisoning-like effects.Apples and other foods that are considered fruits in the culinary field belong in this tag.Soups, stews, and other liquid food in bowls belongs in this tag.Tomatoes and other foods that are considered vegetables in the culinary field belong in this tag.Glass which is made from cheap resources like sand and only minor additional ingredients like dyesTag that holds all items that recipe viewers should not show to users.Blocks which are often replaced by deepslate ores, i.e.Blocks which are often replaced by netherrack ores, i.e.Blocks which are often replaced by stone ores, i.e.Ores which on average result in more than one resource worth of materialsOres which on average result in one resource worth of materialsOres which on average result in less than one resource worth of materialsOres in deepslate (or in equivalent blocks in the tagORE_BEARING_GROUND_DEEPSLATE
) which could logically use deepslate as recipe input or outputOres in netherrack (or in equivalent blocks in the tagORE_BEARING_GROUND_NETHERRACK
) which could logically use netherrack as recipe input or outputOres in stone (or in equivalent blocks in the tagORE_BEARING_GROUND_STONE
) which could logically use stone as recipe input or outputFor rod-like materials to be used in recipes.For stick-like materials to be used in recipes.Natural stone-like blocks that can be used as a base ingredient in recipes that takes stone.A storage block is generally a block that has a recipe to craft a bulk of 1 kind of resource to a block and has a mirror recipe to reverse the crafting with no loss in resources.A tag containing all existing tools.A tag containing all existing bows.A tag containing all existing brushes.A tag containing all existing crossbows.A tag containing all existing fishing rods.A tag containing all existing shears.A tag containing all existing shields.A tag containing all existing spears. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ENCHANTING_FUELS
Controls what items can be consumed for enchanting such as Enchanting Tables. This tag defaults toItems.LAPIS_LAZULI
when not present in any datapacks, including forge client on vanilla server -
BARRELS
-
BARRELS_WOODEN
-
BONES
-
BOOKSHELVES
-
BRICKS
-
BRICKS_NORMAL
-
BRICKS_NETHER
-
BUCKETS
-
BUCKETS_EMPTY
-
BUCKETS_WATER
Does not include entity water buckets. If checking for the fluid this bucket holds in code, please useFluidBucketWrapper.getFluid()
instead. -
BUCKETS_LAVA
If checking for the fluid this bucket holds in code, please useFluidBucketWrapper.getFluid()
instead. -
BUCKETS_MILK
-
BUCKETS_POWDER_SNOW
-
BUCKETS_ENTITY_WATER
-
BUDDING_BLOCKS
For blocks that are similar to amethyst where their budding block produces buds and cluster blocks -
BUDS
For blocks that are similar to amethyst where they have buddings forming from budding blocks -
CHAINS
-
CHESTS
-
CHESTS_ENDER
-
CHESTS_TRAPPED
-
CHESTS_WOODEN
-
COBBLESTONES
-
COBBLESTONES_NORMAL
-
COBBLESTONES_INFESTED
-
COBBLESTONES_MOSSY
-
COBBLESTONES_DEEPSLATE
-
CLUSTERS
For blocks that are similar to amethyst where they have clusters forming from budding blocks -
CROPS
-
CROPS_BEETROOT
-
CROPS_CARROT
-
CROPS_NETHER_WART
-
CROPS_POTATO
-
CROPS_WHEAT
-
DUSTS
-
DUSTS_REDSTONE
-
DUSTS_GLOWSTONE
-
DYED
Tag that holds all blocks and items that can be dyed a specific color. (Does not include color blending items like leather armor UseItemTags.DYEABLE
tag instead for color blending items) Note: Use custom ingredients in recipes to do tag intersections and/or tag exclusions to make more powerful recipes utilizing multiple tags such as dyed tags for an ingredient. SeeDifferenceIngredient
andCompoundIngredient
for various custom ingredients available that can also be used in data generation. -
DYED_BLACK
-
DYED_BLUE
-
DYED_BROWN
-
DYED_CYAN
-
DYED_GRAY
-
DYED_GREEN
-
DYED_LIGHT_BLUE
-
DYED_LIGHT_GRAY
-
DYED_LIME
-
DYED_MAGENTA
-
DYED_ORANGE
-
DYED_PINK
-
DYED_PURPLE
-
DYED_RED
-
DYED_WHITE
-
DYED_YELLOW
-
DYES
-
DYES_BLACK
-
DYES_RED
-
DYES_GREEN
-
DYES_BROWN
-
DYES_BLUE
-
DYES_PURPLE
-
DYES_CYAN
-
DYES_LIGHT_GRAY
-
DYES_GRAY
-
DYES_PINK
-
DYES_LIME
-
DYES_YELLOW
-
DYES_LIGHT_BLUE
-
DYES_MAGENTA
-
DYES_ORANGE
-
DYES_WHITE
-
EGGS
-
END_STONES
-
ENDER_PEARLS
-
FEATHERS
-
FENCE_GATES
-
FENCE_GATES_WOODEN
-
FENCES
-
FENCES_NETHER_BRICK
-
FENCES_WOODEN
-
FOODS
-
FOODS_FRUITS
Apples and other foods that are considered fruits in the culinary field belong in this tag. Cherries would go here as they are considered a "stone fruit" within culinary fields. -
FOODS_VEGETABLES
Tomatoes and other foods that are considered vegetables in the culinary field belong in this tag. -
FOODS_BERRIES
Strawberries, raspberries, and other berry foods belong in this tag. Cherries would NOT go here as they are considered a "stone fruit" within culinary fields. -
FOODS_BREADS
-
FOODS_COOKIES
-
FOODS_RAW_MEATS
-
FOODS_COOKED_MEATS
-
FOODS_RAW_FISHES
-
FOODS_COOKED_FISHES
-
FOODS_SOUPS
Soups, stews, and other liquid food in bowls belongs in this tag. -
FOODS_CANDIES
Sweets and candies like lollipops or chocolate belong in this tag. -
FOODS_EDIBLE_WHEN_PLACED
Foods like cake that can be eaten when placed in the world belong in this tag. -
FOODS_FOOD_POISONING
For foods that inflict food poisoning-like effects. Examples are Rotten Flesh's Hunger or Pufferfish's Nausea, or Poisonous Potato's Poison. -
GEMS
-
GEMS_DIAMOND
-
GEMS_EMERALD
-
GEMS_AMETHYST
-
GEMS_LAPIS
-
GEMS_PRISMARINE
-
GEMS_QUARTZ
-
GLASS_BLOCKS
-
GLASS_BLOCKS_COLORLESS
-
GLASS_BLOCKS_CHEAP
Glass which is made from cheap resources like sand and only minor additional ingredients like dyes -
GLASS_BLOCKS_TINTED
-
GLASS_PANES
-
GLASS_PANES_COLORLESS
-
GRAVELS
-
GUNPOWDERS
-
HIDDEN_FROM_RECIPE_VIEWERS
Tag that holds all items that recipe viewers should not show to users. -
INGOTS
-
INGOTS_COPPER
-
INGOTS_GOLD
-
INGOTS_IRON
-
INGOTS_NETHERITE
-
LEATHERS
-
MUSHROOMS
-
NETHER_STARS
-
NETHERRACKS
-
NUGGETS
-
NUGGETS_GOLD
-
NUGGETS_IRON
-
OBSIDIANS
-
ORE_BEARING_GROUND_DEEPSLATE
Blocks which are often replaced by deepslate ores, i.e. the ores in the tagORES_IN_GROUND_DEEPSLATE
, during world generation -
ORE_BEARING_GROUND_NETHERRACK
Blocks which are often replaced by netherrack ores, i.e. the ores in the tagORES_IN_GROUND_NETHERRACK
, during world generation -
ORE_BEARING_GROUND_STONE
Blocks which are often replaced by stone ores, i.e. the ores in the tagORES_IN_GROUND_STONE
, during world generation -
ORE_RATES_DENSE
Ores which on average result in more than one resource worth of materials -
ORE_RATES_SINGULAR
Ores which on average result in one resource worth of materials -
ORE_RATES_SPARSE
Ores which on average result in less than one resource worth of materials -
ORES
-
ORES_COAL
-
ORES_COPPER
-
ORES_DIAMOND
-
ORES_EMERALD
-
ORES_GOLD
-
ORES_IRON
-
ORES_LAPIS
-
ORES_NETHERITE_SCRAP
-
ORES_QUARTZ
-
ORES_REDSTONE
-
ORES_IN_GROUND_DEEPSLATE
Ores in deepslate (or in equivalent blocks in the tagORE_BEARING_GROUND_DEEPSLATE
) which could logically use deepslate as recipe input or output -
ORES_IN_GROUND_NETHERRACK
Ores in netherrack (or in equivalent blocks in the tagORE_BEARING_GROUND_NETHERRACK
) which could logically use netherrack as recipe input or output -
ORES_IN_GROUND_STONE
Ores in stone (or in equivalent blocks in the tagORE_BEARING_GROUND_STONE
) which could logically use stone as recipe input or output -
PLAYER_WORKSTATIONS_CRAFTING_TABLES
-
PLAYER_WORKSTATIONS_FURNACES
-
RAW_BLOCKS
-
RAW_BLOCKS_COPPER
-
RAW_BLOCKS_GOLD
-
RAW_BLOCKS_IRON
-
RAW_MATERIALS
-
RAW_MATERIALS_COPPER
-
RAW_MATERIALS_GOLD
-
RAW_MATERIALS_IRON
-
RODS
For rod-like materials to be used in recipes. -
RODS_BLAZE
-
RODS_BREEZE
-
RODS_WOODEN
For stick-like materials to be used in recipes. One example is a mod adds stick variants such as Spruce Sticks but would like stick recipes to be able to use it. -
ROPES
-
SANDS
-
SANDS_COLORLESS
-
SANDS_RED
-
SANDSTONE_BLOCKS
-
SANDSTONE_SLABS
-
SANDSTONE_STAIRS
-
SANDSTONE_RED_BLOCKS
-
SANDSTONE_RED_SLABS
-
SANDSTONE_RED_STAIRS
-
SANDSTONE_UNCOLORED_BLOCKS
-
SANDSTONE_UNCOLORED_SLABS
-
SANDSTONE_UNCOLORED_STAIRS
-
SEEDS
-
SEEDS_BEETROOT
-
SEEDS_MELON
-
SEEDS_PUMPKIN
-
SEEDS_WHEAT
-
SLIMEBALLS
-
STONES
Natural stone-like blocks that can be used as a base ingredient in recipes that takes stone. -
STORAGE_BLOCKS
A storage block is generally a block that has a recipe to craft a bulk of 1 kind of resource to a block and has a mirror recipe to reverse the crafting with no loss in resources. Honey Block is special in that the reversing recipe is not a perfect mirror of the crafting recipe and so, it is considered a special case and not given a storage block tag. -
STORAGE_BLOCKS_BONE_MEAL
-
STORAGE_BLOCKS_COAL
-
STORAGE_BLOCKS_COPPER
-
STORAGE_BLOCKS_DIAMOND
-
STORAGE_BLOCKS_DRIED_KELP
-
STORAGE_BLOCKS_EMERALD
-
STORAGE_BLOCKS_GOLD
-
STORAGE_BLOCKS_IRON
-
STORAGE_BLOCKS_LAPIS
-
STORAGE_BLOCKS_NETHERITE
-
STORAGE_BLOCKS_RAW_COPPER
-
STORAGE_BLOCKS_RAW_GOLD
-
STORAGE_BLOCKS_RAW_IRON
-
STORAGE_BLOCKS_REDSTONE
-
STORAGE_BLOCKS_SLIME
-
STORAGE_BLOCKS_WHEAT
-
STRINGS
-
VILLAGER_JOB_SITES
-
TOOLS
A tag containing all existing tools. Do not use this tag for determining a tool's behavior. Please useToolActions
instead for what action a tool can do.- See Also:
-
TOOLS_SHIELDS
A tag containing all existing shields. Do not use this tag for determining a tool's behavior. Please useToolActions
instead for what action a tool can do.- See Also:
-
TOOLS_BOWS
A tag containing all existing bows. Do not use this tag for determining a tool's behavior. Please useToolActions
instead for what action a tool can do.- See Also:
-
TOOLS_CROSSBOWS
A tag containing all existing crossbows. Do not use this tag for determining a tool's behavior. Please useToolActions
instead for what action a tool can do.- See Also:
-
TOOLS_FISHING_RODS
A tag containing all existing fishing rods. Do not use this tag for determining a tool's behavior. Please useToolActions
instead for what action a tool can do.- See Also:
-
TOOLS_SPEARS
A tag containing all existing spears. Other tools such as throwing knives or boomerangs should not be put into this tag and should be put into their own tool tags. Do not use this tag for determining a tool's behavior. Please useToolActions
instead for what action a tool can do.- See Also:
-
TOOLS_SHEARS
A tag containing all existing shears. Do not use this tag for determining a tool's behavior. Please useToolActions
instead for what action a tool can do.- See Also:
-
TOOLS_BRUSHES
A tag containing all existing brushes. Do not use this tag for determining a tool's behavior. Please useToolActions
instead for what action a tool can do.- See Also:
-
ARMORS
Collects the 4 vanilla armor tags into one parent collection for ease. -
ENCHANTABLES
Collects the many enchantable tags into one parent collection for ease.
-
-
Constructor Details
-
Items
public Items()
-
-
Method Details
-
tag
-
neoforgeTag
-