Views
Actions
Difference between revisions of "Tags"
(Update to 1.18) |
(List out all available forge tags) |
||
Line 22: | Line 22: | ||
{{Tip|The <code><nowiki>TagCollection</nowiki></code> returned by <code><nowiki>#getAllTags</nowiki></code> (and the <code><nowiki>Tag</nowiki></code>s within it) may expire if a reload happens, so you should always query the collection anew every time you need it. The static <code><nowiki>Tag$Named</nowiki></code> fields in <code><nowiki>BlockTags</nowiki></code> and <code><nowiki>ItemTags</nowiki></code> avoid this by introducing a wrapper that handles this expiring. Alternatively, a resource reload listener can be used to refresh any cached tags.}} | {{Tip|The <code><nowiki>TagCollection</nowiki></code> returned by <code><nowiki>#getAllTags</nowiki></code> (and the <code><nowiki>Tag</nowiki></code>s within it) may expire if a reload happens, so you should always query the collection anew every time you need it. The static <code><nowiki>Tag$Named</nowiki></code> fields in <code><nowiki>BlockTags</nowiki></code> and <code><nowiki>ItemTags</nowiki></code> avoid this by introducing a wrapper that handles this expiring. Alternatively, a resource reload listener can be used to refresh any cached tags.}} | ||
+ | |||
+ | == Migration from OreDictionary == | ||
+ | * For recipes, tags can be used directly in the vanilla recipe format (see below) | ||
+ | * For matching items in code, see the section above. | ||
+ | * If you are declaring a new type of item grouping, follow a couple naming conventions: | ||
+ | ** Use <code><nowiki>domain:type/material</nowiki></code>. When the name is a common one that all modders should adopt, use the <code><nowiki>forge</nowiki></code> domain. | ||
+ | ** For example, brass ingots should be registered under the <code><nowiki>forge:ingots/brass</nowiki></code> tag, and cobalt nuggets under the <code><nowiki>forge:nuggets/cobalt</nowiki></code> tag. | ||
+ | |||
+ | == Using Tags in Recipes and Advancements == | ||
+ | Tags are directly supported by Vanilla, see the respective Vanilla wiki pages for [https://minecraft.gamepedia.com/Recipe#JSON_format recipes] and [https://minecraft.gamepedia.com/Advancements advancements] for usage details. | ||
== Conventions == | == Conventions == | ||
Line 32: | Line 42: | ||
* Item tags should be sorted into subdirectories according to the type of item, e.g. <code><nowiki>forge:ingots/iron</nowiki></code>, <code><nowiki>forge:nuggets/brass</nowiki></code>, etc. | * Item tags should be sorted into subdirectories according to the type of item, e.g. <code><nowiki>forge:ingots/iron</nowiki></code>, <code><nowiki>forge:nuggets/brass</nowiki></code>, etc. | ||
− | == | + | === Forge Tags === |
− | + | ||
− | * | + | This is a list of all [https://github.com/MinecraftForge/MinecraftForge/tree/1.18.x/src/generated/resources/data/forge/tags tags] using the <code>forge</code> namespace that are currently defined by Forge along those that are commonly used by other mods. These can all be found within the [https://github.com/MinecraftForge/MinecraftForge/blob/1.18.x/src/main/java/net/minecraftforge/common/Tags.java <code>Tags</code>] class. |
− | + | ||
− | + | {{Tip/Important|Tags that are not officially defined within the Forge codebase will have <code>*</code> as a suffix. To use those outside the Forge codebase, an <code>IOptionalNamedTag</code> must be created using <code>*Tags#createOptional</code> where the asterisk can be replaced by its associated class name.}} | |
− | + | ||
+ | ==== Blocks ==== | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Name !! Super Tag(s) !! Contains | ||
+ | |- | ||
+ | | <code>forge:barrels</code> || None || Barrels | ||
+ | |- | ||
+ | | <code>forge:barrels/wooden</code> || <code>forge:barrels</code> || Wooden barrels | ||
+ | |- | ||
+ | | <code>forge:chests</code> || None || Chests | ||
+ | |- | ||
+ | | <code>forge:chests/ender</code> || <code>forge:chests</code> || Ender chests | ||
+ | |- | ||
+ | | <code>forge:chests/trapped</code> || <code>forge:chests</code> || Trapped chests | ||
+ | |- | ||
+ | | <code>forge:chests/wooden</code> || <code>forge:chests</code> || Wooden chests | ||
+ | |- | ||
+ | | <code>forge:cobblestone</code> || None || Cobblestones | ||
+ | |- | ||
+ | | <code>forge:cobblestone/normal</code> || <code>forge:cobblestone</code> || Normal cobblestones | ||
+ | |- | ||
+ | | <code>forge:cobblestone/infested</code> || <code>forge:cobblestone</code> || Infested cobblestones | ||
+ | |- | ||
+ | | <code>forge:cobblestone/mossy</code> || <code>forge:cobblestone</code> || Mossy cobblestones | ||
+ | |- | ||
+ | | <code>forge:cobblestone/deepslate</code> || <code>forge:cobblestone</code> || Deepslate cobblestones | ||
+ | |- | ||
+ | | <code>forge:end_stones</code> || None || End stones | ||
+ | |- | ||
+ | | <code>forge:enderman_place_on_blacklist</code> || None || Blocks that an enderman cannot place its held block on | ||
+ | |- | ||
+ | | <code>forge:fence_gates</code> || None || Fence gates | ||
+ | |- | ||
+ | | <code>forge:fence_gates/wooden</code> || <code>forge:fence_gates</code> || Wooden fence gates | ||
+ | |- | ||
+ | | <code>forge:fences</code> || None || Fences | ||
+ | |- | ||
+ | | <code>forge:fences/nether_brick</code> || <code>forge:fences</code> || Nether brick fences | ||
+ | |- | ||
+ | | <code>forge:fences/wooden</code> || <code>forge:fences</code> || Wooden fences | ||
+ | |- | ||
+ | | <code>forge:glass</code> || None || Glass | ||
+ | |- | ||
+ | | <code>forge:glass/black</code> || None || Black glass | ||
+ | |- | ||
+ | | <code>forge:glass/blue</code> || None || Blue glass | ||
+ | |- | ||
+ | | <code>forge:glass/brown</code> || None || Brown glass | ||
+ | |- | ||
+ | | <code>forge:glass/colorless</code> || <code>forge:glass</code> || Normal glass | ||
+ | |- | ||
+ | | <code>forge:glass/cyan</code> || None || Cyan glass | ||
+ | |- | ||
+ | | <code>forge:glass/gray</code> || None || Gray glass | ||
+ | |- | ||
+ | | <code>forge:glass/green</code> || None || Green glass | ||
+ | |- | ||
+ | | <code>forge:glass/light_blue</code> || None || Light blue glass | ||
+ | |- | ||
+ | | <code>forge:glass/light_gray</code> || None || Light gray glass | ||
+ | |- | ||
+ | | <code>forge:glass/lime</code> || None || Lime glass | ||
+ | |- | ||
+ | | <code>forge:glass/magenta</code> || None || Magenta glass | ||
+ | |- | ||
+ | | <code>forge:glass/orange</code> || None || Orange glass | ||
+ | |- | ||
+ | | <code>forge:glass/pink</code> || None || Pink glass | ||
+ | |- | ||
+ | | <code>forge:glass/purple</code> || None || Purple glass | ||
+ | |- | ||
+ | | <code>forge:glass/red</code> || None || Red glass | ||
+ | |- | ||
+ | | <code>forge:glass/silica</code> || None || Sand-based glass with minor ingredient variation | ||
+ | |- | ||
+ | | <code>forge:glass/tinted</code> || <code>forge:glass</code> || Tinted glass | ||
+ | |- | ||
+ | | <code>forge:glass/white</code> || None || White glass | ||
+ | |- | ||
+ | | <code>forge:glass/yellow</code> || None || Yellow glass | ||
+ | |- | ||
+ | | <code>forge:glass_panes</code> || None || Glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/black</code> || None || Black glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/blue</code> || None || Blue glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/brown</code> || None || Brown glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/colorless</code> || <code>forge:glass_panes</code> || Normal glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/cyan</code> || None || Cyan glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/gray</code> || None || Gray glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/green</code> || None || Green glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/light_blue</code> || None || Light blue glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/light_gray</code> || None || Light gray glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/lime</code> || None || Lime glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/magenta</code> || None || Magenta glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/orange</code> || None || Orange glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/pink</code> || None || Pink glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/purple</code> || None || Purple glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/red</code> || None || Red glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/white</code> || None || White glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/yellow</code> || None || Yellow glass panes | ||
+ | |- | ||
+ | | <code>forge:gravel</code> || None || Gravel | ||
+ | |- | ||
+ | | <code>forge:netherrack</code> || None || Netherrack | ||
+ | |- | ||
+ | | <code>forge:obsidian</code> || None || Obsidian | ||
+ | |- | ||
+ | | <code>forge:ore_bearing_ground/deepslate</code> || None || Blocks replaced by deepslate ores during world generation | ||
+ | |- | ||
+ | | <code>forge:ore_bearing_ground/netherrack</code> || None || Blocks replaced by netherrack ores during world generation | ||
+ | |- | ||
+ | | <code>forge:ore_bearing_ground/stone</code> || None || Blocks replaced by stone ores during world generation | ||
+ | |- | ||
+ | | <code>forge:ore_rates/dense</code> || None || Ores which produce numerous resources on average | ||
+ | |- | ||
+ | | <code>forge:ore_rates/singular</code> || None || Ores which produce a single resource on average | ||
+ | |- | ||
+ | | <code>forge:ore_rates/sparse</code> || None || Ores which produce less than a single resource on average | ||
+ | |- | ||
+ | | <code>forge:ores</code> || None || Ores | ||
+ | |- | ||
+ | | <code>forge:ores/coal</code> || <code>forge:ores</code> || Coal ores | ||
+ | |- | ||
+ | | <code>forge:ores/copper</code> || <code>forge:ores</code> || Copper ores | ||
+ | |- | ||
+ | | <code>forge:ores/diamond</code> || <code>forge:ores</code> || Diamond ores | ||
+ | |- | ||
+ | | <code>forge:ores/emerald</code> || <code>forge:ores</code> || Emerald ores | ||
+ | |- | ||
+ | | <code>forge:ores/gold</code> || <code>forge:ores</code> || Gold ores | ||
+ | |- | ||
+ | | <code>forge:ores/lapis</code> || <code>forge:ores</code> || Lapis ores | ||
+ | |- | ||
+ | | <code>forge:ores/netherite_scrap</code> || <code>forge:ores</code> || Netherite scrap ores | ||
+ | |- | ||
+ | | <code>forge:ores/quartz</code> || <code>forge:ores</code> || Quartz ores | ||
+ | |- | ||
+ | | <code>forge:ores/redstone</code> || <code>forge:ores</code> || Redstone ores | ||
+ | |- | ||
+ | | <code>forge:ores_in_ground/deepslate</code> || None || Ores which can be found in deepslate | ||
+ | |- | ||
+ | | <code>forge:ores_in_ground/netherrack</code> || None || Ores which can be found in netherrack | ||
+ | |- | ||
+ | | <code>forge:ores_in_ground/stone</code> || None || Ores which can be found in stone | ||
+ | |- | ||
+ | | <code>forge:sand</code> || None || Sand | ||
+ | |- | ||
+ | | <code>forge:sand/colorless</code> || <code>forge:sand</code> || Normal sand | ||
+ | |- | ||
+ | | <code>forge:sand/red</code> || <code>forge:sand</code> || Red sand | ||
+ | |- | ||
+ | | <code>forge:sandstone</code> || None || Sandstone | ||
+ | |- | ||
+ | | <code>forge:stained_glass</code> || <code>forge:glass</code> || Stained glass | ||
+ | |- | ||
+ | | <code>forge:stained_glass_panes</code> || <code>forge:glass_panes</code> || Stained glass planes | ||
+ | |- | ||
+ | | <code>forge:stone</code> || None || Stones | ||
+ | |- | ||
+ | | <code>forge:storage_blocks</code> || None || Storage blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/amethyst</code> || <code>forge:storage_blocks</code> || Amethyst blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/coal</code> || <code>forge:storage_blocks</code> || Coal blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/copper</code> || <code>forge:storage_blocks</code> || Copper blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/diamond</code> || <code>forge:storage_blocks</code> || Diamond blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/emerald</code> || <code>forge:storage_blocks</code> || Emerald blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/gold</code> || <code>forge:storage_blocks</code> || Gold blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/iron</code> || <code>forge:storage_blocks</code> || Iron blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/lapis</code> || <code>forge:storage_blocks</code> || Lapis blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/netherite</code> || <code>forge:storage_blocks</code> || Netherite blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/quartz</code> || <code>forge:storage_blocks</code> || Quartz blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/raw_copper</code> || <code>forge:storage_blocks</code> || Raw copper blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/raw_gold</code> || <code>forge:storage_blocks</code> || Raw gold blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/raw_iron</code> || <code>forge:storage_blocks</code> || Raw iron blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/redstone</code> || <code>forge:storage_blocks</code> || Redstone blocks | ||
+ | |- | ||
+ | | <code>forge:needs_wood_tool</code> || None || Blocks which need a wooden tool to be mined efficiently | ||
+ | |- | ||
+ | | <code>forge:needs_gold_tool</code> || None || Blocks which need a gold tool to be mined efficiently | ||
+ | |- | ||
+ | | <code>forge:needs_netherite_tool</code> || None || Blocks which need a netherite tool to be mined efficiently | ||
+ | |} | ||
+ | |||
+ | ==== Items ==== | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Name !! Super Tag(s) !! Contains | ||
+ | |- | ||
+ | | <code>forge:barrels</code> || None || Barrels | ||
+ | |- | ||
+ | | <code>forge:barrels/wooden</code> || <code>forge:barrels</code> || Wooden barrels | ||
+ | |- | ||
+ | | <code>forge:bones</code> || None || Bones | ||
+ | |- | ||
+ | | <code>forge:bookshelves</code> || None || Bookshelves | ||
+ | |- | ||
+ | | <code>forge:chests</code> || None || Chests | ||
+ | |- | ||
+ | | <code>forge:chests/ender</code> || <code>forge:chests</code> || Ender chests | ||
+ | |- | ||
+ | | <code>forge:chests/trapped</code> || <code>forge:chests</code> || Trapped chests | ||
+ | |- | ||
+ | | <code>forge:chests/wooden</code> || <code>forge:chests</code> || Wooden chests | ||
+ | |- | ||
+ | | <code>forge:cobblestone</code> || None || Cobblestones | ||
+ | |- | ||
+ | | <code>forge:cobblestone/normal</code> || <code>forge:cobblestone</code> || Normal cobblestones | ||
+ | |- | ||
+ | | <code>forge:cobblestone/infested</code> || <code>forge:cobblestone</code> || Infested cobblestones | ||
+ | |- | ||
+ | | <code>forge:cobblestone/mossy</code> || <code>forge:cobblestone</code> || Mossy cobblestones | ||
+ | |- | ||
+ | | <code>forge:cobblestone/deepslate</code> || <code>forge:cobblestone</code> || Deepslate cobblestones | ||
+ | |- | ||
+ | | <code>forge:crops</code> || None || Crops | ||
+ | |- | ||
+ | | <code>forge:crops/beetroot</code> || <code>forge:crops</code> || Beetroot crops | ||
+ | |- | ||
+ | | <code>forge:crops/carrot</code> || <code>forge:crops</code> || Carrot crops | ||
+ | |- | ||
+ | | <code>forge:crops/nether_wart</code> || <code>forge:crops</code> || Nether wart crops | ||
+ | |- | ||
+ | | <code>forge:crops/potato</code> || <code>forge:crops</code> || Potato crops | ||
+ | |- | ||
+ | | <code>forge:crops/wheat</code> || <code>forge:crops</code> || Wheat crops | ||
+ | |- | ||
+ | | <code>forge:dusts</code> || None || Dusts | ||
+ | |- | ||
+ | | <code>forge:dusts/prismarine</code> || <code>forge:dusts</code> || Prismarine dusts | ||
+ | |- | ||
+ | | <code>forge:dusts/redstone</code> || <code>forge:dusts</code> || Redstone dusts | ||
+ | |- | ||
+ | | <code>forge:dusts/glowstone</code> || <code>forge:dusts</code> || Glowstone dusts | ||
+ | |- | ||
+ | | <code>forge:dyes</code> || None || Dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/black</code> || <code>forge:dyes</code> || Black dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/blue</code> || <code>forge:dyes</code> || Blue dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/brown</code> || <code>forge:dyes</code> || Brown dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/cyan</code> || <code>forge:dyes</code> || Cyan dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/gray</code> || <code>forge:dyes</code> || Gray dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/green</code> || <code>forge:dyes</code> || Green dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/light_blue</code> || <code>forge:dyes</code> || Light blue dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/light_gray</code> || <code>forge:dyes</code> || Light green dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/lime</code> || <code>forge:dyes</code> || Lime dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/magenta</code> || <code>forge:dyes</code> || Magenta dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/orange</code> || <code>forge:dyes</code> || Orange dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/pink</code> || <code>forge:dyes</code> || Pink dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/purple</code> || <code>forge:dyes</code> || Purple dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/red</code> || <code>forge:dyes</code> || Red dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/white</code> || <code>forge:dyes</code> || White dyes | ||
+ | |- | ||
+ | | <code>forge:dyes/yellow</code> || <code>forge:dyes</code> || Yellow dyes | ||
+ | |- | ||
+ | | <code>forge:eggs</code> || None || Eggs | ||
+ | |- | ||
+ | | <code>forge:enchanting_fuels</code> || None || Enchantment table fuels | ||
+ | |- | ||
+ | | <code>forge:end_stones</code> || None || End stones | ||
+ | |- | ||
+ | | <code>forge:ender_pearls</code> || None || Ender pearls | ||
+ | |- | ||
+ | | <code>forge:feathers</code> || None || Feathers | ||
+ | |- | ||
+ | | <code>forge:fence_gates</code> || None || Fence gates | ||
+ | |- | ||
+ | | <code>forge:fence_gates/wooden</code> || <code>forge:fence_gates</code> || Wooden fence gates | ||
+ | |- | ||
+ | | <code>forge:fences</code> || None || Fences | ||
+ | |- | ||
+ | | <code>forge:fences/nether_brick</code> || <code>forge:fences</code> || Nether brick fences | ||
+ | |- | ||
+ | | <code>forge:fences/wooden</code> || <code>forge:fences</code> || Wooden fences | ||
+ | |- | ||
+ | | <code>forge:gems</code> || None || Gems | ||
+ | |- | ||
+ | | <code>forge:gems/amethyst</code> || <code>forge:gems</code> || Amethyst gems | ||
+ | |- | ||
+ | | <code>forge:gems/diamond</code> || <code>forge:gems</code> || Diamond gems | ||
+ | |- | ||
+ | | <code>forge:gems/emerald</code> || <code>forge:gems</code> || Emerald gems | ||
+ | |- | ||
+ | | <code>forge:gems/lapis</code> || <code>forge:gems</code> <code>forge:enchanting_fuels</code> || Lapis gems | ||
+ | |- | ||
+ | | <code>forge:gems/prismarine</code> || <code>forge:gems</code> || Prismarine gems | ||
+ | |- | ||
+ | | <code>forge:gems/quartz</code> || <code>forge:gems</code> || Quartz gems | ||
+ | |- | ||
+ | | <code>forge:glass</code> || None || Glass | ||
+ | |- | ||
+ | | <code>forge:glass/black</code> || None || Black glass | ||
+ | |- | ||
+ | | <code>forge:glass/blue</code> || None || Blue glass | ||
+ | |- | ||
+ | | <code>forge:glass/brown</code> || None || Brown glass | ||
+ | |- | ||
+ | | <code>forge:glass/colorless</code> || <code>forge:glass</code> || Normal glass | ||
+ | |- | ||
+ | | <code>forge:glass/cyan</code> || None || Cyan glass | ||
+ | |- | ||
+ | | <code>forge:glass/gray</code> || None || Gray glass | ||
+ | |- | ||
+ | | <code>forge:glass/green</code> || None || Green glass | ||
+ | |- | ||
+ | | <code>forge:glass/light_blue</code> || None || Light blue glass | ||
+ | |- | ||
+ | | <code>forge:glass/light_gray</code> || None || Light gray glass | ||
+ | |- | ||
+ | | <code>forge:glass/lime</code> || None || Lime glass | ||
+ | |- | ||
+ | | <code>forge:glass/magenta</code> || None || Magenta glass | ||
+ | |- | ||
+ | | <code>forge:glass/orange</code> || None || Orange glass | ||
+ | |- | ||
+ | | <code>forge:glass/pink</code> || None || Pink glass | ||
+ | |- | ||
+ | | <code>forge:glass/purple</code> || None || Purple glass | ||
+ | |- | ||
+ | | <code>forge:glass/red</code> || None || Red glass | ||
+ | |- | ||
+ | | <code>forge:glass/silica</code> || None || Sand-based glass with minor ingredient variation | ||
+ | |- | ||
+ | | <code>forge:glass/tinted</code> || <code>forge:glass</code> || Tinted glass | ||
+ | |- | ||
+ | | <code>forge:glass/white</code> || None || White glass | ||
+ | |- | ||
+ | | <code>forge:glass/yellow</code> || None || Yellow glass | ||
+ | |- | ||
+ | | <code>forge:glass_panes</code> || None || Glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/black</code> || None || Black glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/blue</code> || None || Blue glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/brown</code> || None || Brown glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/colorless</code> || <code>forge:glass_panes</code> || Normal glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/cyan</code> || None || Cyan glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/gray</code> || None || Gray glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/green</code> || None || Green glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/light_blue</code> || None || Light blue glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/light_gray</code> || None || Light gray glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/lime</code> || None || Lime glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/magenta</code> || None || Magenta glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/orange</code> || None || Orange glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/pink</code> || None || Pink glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/purple</code> || None || Purple glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/red</code> || None || Red glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/white</code> || None || White glass panes | ||
+ | |- | ||
+ | | <code>forge:glass_panes/yellow</code> || None || Yellow glass panes | ||
+ | |- | ||
+ | | <code>forge:gravel</code> || None || Gravel | ||
+ | |- | ||
+ | | <code>forge:gunpowder</code> || None || Gunpowder | ||
+ | |- | ||
+ | | <code>forge:heads</code> || None || Heads | ||
+ | |- | ||
+ | | <code>forge:ingots</code> || None || Ingots | ||
+ | |- | ||
+ | | <code>forge:ingots/brick</code> || <code>forge:ingots</code> || Brick ingots | ||
+ | |- | ||
+ | | <code>forge:ingots/copper</code> || <code>forge:ingots</code> || Copper ingots | ||
+ | |- | ||
+ | | <code>forge:ingots/gold</code> || <code>forge:ingots</code> || Gold ingots | ||
+ | |- | ||
+ | | <code>forge:ingots/iron</code> || <code>forge:ingots</code> || Iron ingots | ||
+ | |- | ||
+ | | <code>forge:ingots/netherite</code> || <code>forge:ingots</code> || Netherite ingots | ||
+ | |- | ||
+ | | <code>forge:ingots/nether_brick</code> || <code>forge:ingots</code> || Nether brick ingots | ||
+ | |- | ||
+ | | <code>forge:leather</code> || None || Leather | ||
+ | |- | ||
+ | | <code>forge:mushrooms</code> || None || Mushrooms | ||
+ | |- | ||
+ | | <code>forge:nether_stars</code> || None || Nether stars | ||
+ | |- | ||
+ | | <code>forge:netherrack</code> || None || Netherrack | ||
+ | |- | ||
+ | | <code>forge:nuggets</code> || None || Nuggets | ||
+ | |- | ||
+ | | <code>forge:nuggets/gold</code> || <code>forge:nuggets</code> || Gold nuggets | ||
+ | |- | ||
+ | | <code>forge:nuggets/iron</code> || <code>forge:nuggets</code> || Iron nuggets | ||
+ | |- | ||
+ | | <code>forge:obsidian</code> || None || Obsidian | ||
+ | |- | ||
+ | | <code>forge:ore_bearing_ground/deepslate</code> || None || Blocks replaced by deepslate ores during world generation | ||
+ | |- | ||
+ | | <code>forge:ore_bearing_ground/netherrack</code> || None || Blocks replaced by netherrack ores during world generation | ||
+ | |- | ||
+ | | <code>forge:ore_bearing_ground/stone</code> || None || Blocks replaced by stone ores during world generation | ||
+ | |- | ||
+ | | <code>forge:ore_rates/dense</code> || None || Ores which produce numerous resources on average | ||
+ | |- | ||
+ | | <code>forge:ore_rates/singular</code> || None || Ores which produce a single resource on average | ||
+ | |- | ||
+ | | <code>forge:ore_rates/sparse</code> || None || Ores which produce less than a single resource on average | ||
+ | |- | ||
+ | | <code>forge:ores</code> || None || Ores | ||
+ | |- | ||
+ | | <code>forge:ores/coal</code> || <code>forge:ores</code> || Coal ores | ||
+ | |- | ||
+ | | <code>forge:ores/copper</code> || <code>forge:ores</code> || Copper ores | ||
+ | |- | ||
+ | | <code>forge:ores/diamond</code> || <code>forge:ores</code> || Diamond ores | ||
+ | |- | ||
+ | | <code>forge:ores/emerald</code> || <code>forge:ores</code> || Emerald ores | ||
+ | |- | ||
+ | | <code>forge:ores/gold</code> || <code>forge:ores</code> || Gold ores | ||
+ | |- | ||
+ | | <code>forge:ores/lapis</code> || <code>forge:ores</code> || Lapis ores | ||
+ | |- | ||
+ | | <code>forge:ores/netherite_scrap</code> || <code>forge:ores</code> || Netherite scrap ores | ||
+ | |- | ||
+ | | <code>forge:ores/quartz</code> || <code>forge:ores</code> || Quartz ores | ||
+ | |- | ||
+ | | <code>forge:ores/redstone</code> || <code>forge:ores</code> || Redstone ores | ||
+ | |- | ||
+ | | <code>forge:ores_in_ground/deepslate</code> || None || Ores which can be found in deepslate | ||
+ | |- | ||
+ | | <code>forge:ores_in_ground/netherrack</code> || None || Ores which can be found in netherrack | ||
+ | |- | ||
+ | | <code>forge:ores_in_ground/stone</code> || None || Ores which can be found in stone | ||
+ | |- | ||
+ | | <code>forge:raw_materials</code> || None || Raw materials | ||
+ | |- | ||
+ | | <code>forge:raw_materials/copper</code> || <code>forge:raw_materials</code> || Copper raw materials | ||
+ | |- | ||
+ | | <code>forge:raw_materials/gold</code> || <code>forge:raw_materials</code> || Gold raw materials | ||
+ | |- | ||
+ | | <code>forge:raw_materials/iron</code> || <code>forge:raw_materials</code> || Iron raw materials | ||
+ | |- | ||
+ | | <code>forge:rods</code> || None || Rods | ||
+ | |- | ||
+ | | <code>forge:rods/blaze</code> || <code>forge:rods</code> || Blaze rods | ||
+ | |- | ||
+ | | <code>forge:rods/wooden</code> || <code>forge:rods</code> || Wooden rods | ||
+ | |- | ||
+ | | <code>forge:sand</code> || None || Sand | ||
+ | |- | ||
+ | | <code>forge:sand/colorless</code> || <code>forge:sand</code> || Normal sand | ||
+ | |- | ||
+ | | <code>forge:sand/red</code> || <code>forge:sand</code> || Red sand | ||
+ | |- | ||
+ | | <code>forge:sandstone</code> || None || Sandstone | ||
+ | |- | ||
+ | | <code>forge:seeds</code> || None || Seeds | ||
+ | |- | ||
+ | | <code>forge:seeds/beetroot</code> || <code>forge:seeds</code> || Beetroot seeds | ||
+ | |- | ||
+ | | <code>forge:seeds/melon</code> || <code>forge:seeds</code> || Melon seeds | ||
+ | |- | ||
+ | | <code>forge:seeds/pumpkin</code> || <code>forge:seeds</code> || Pumpkin seeds | ||
+ | |- | ||
+ | | <code>forge:seeds/wheat</code> || <code>forge:seeds</code> || Wheat seeds | ||
+ | |- | ||
+ | | <code>forge:shears</code> || None || Shears | ||
+ | |- | ||
+ | | <code>forge:slimeballs</code> || None || Slimeballs | ||
+ | |- | ||
+ | | <code>forge:stained_glass</code> || <code>forge:glass</code> || Stained glass | ||
+ | |- | ||
+ | | <code>forge:stained_glass_panes</code> || <code>forge:glass_panes</code> || Stained glass planes | ||
+ | |- | ||
+ | | <code>forge:stone</code> || None || Stones | ||
+ | |- | ||
+ | | <code>forge:storage_blocks</code> || None || Storage blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/amethyst</code> || <code>forge:storage_blocks</code> || Amethyst blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/coal</code> || <code>forge:storage_blocks</code> || Coal blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/copper</code> || <code>forge:storage_blocks</code> || Copper blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/diamond</code> || <code>forge:storage_blocks</code> || Diamond blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/emerald</code> || <code>forge:storage_blocks</code> || Emerald blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/gold</code> || <code>forge:storage_blocks</code> || Gold blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/iron</code> || <code>forge:storage_blocks</code> || Iron blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/lapis</code> || <code>forge:storage_blocks</code> || Lapis blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/netherite</code> || <code>forge:storage_blocks</code> || Netherite blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/quartz</code> || <code>forge:storage_blocks</code> || Quartz blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/raw_copper</code> || <code>forge:storage_blocks</code> || Raw copper blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/raw_gold</code> || <code>forge:storage_blocks</code> || Raw gold blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/raw_iron</code> || <code>forge:storage_blocks</code> || Raw iron blocks | ||
+ | |- | ||
+ | | <code>forge:storage_blocks/redstone</code> || <code>forge:storage_blocks</code> || Redstone blocks | ||
+ | |- | ||
+ | | <code>forge:string</code> || None || String | ||
+ | |} | ||
− | == | + | ==== Fluids ==== |
− | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Name !! Super Tag(s) !! Contains | ||
+ | |- | ||
+ | | <code>forge:milk</code> || None || Milk | ||
+ | |} | ||
[[Category:Resources and Data]] | [[Category:Resources and Data]] |
Revision as of 00:50, 31 January 2022
Tags are generalized sets of objects in the game, used for grouping related things together and providing fast membership checks.
Declaring Your Own Groupings
Tags are declared in your mod’s datapack. For example, /data/modid/tags/blocks/foo/tagname.json
will declare a Tag$Named<Block>
with ID modid:foo/tagname
. Similarly, you may append to or override tags declared in other domains, such as Vanilla, by declaring your own JSONs. For example, to add your own mod’s saplings to the Vanilla sapling tag, you would specify it in /data/minecraft/tags/blocks/saplings.json
, and Vanilla will merge everything into one tag at reload, if the replace
option is false. If replace
is true, then all entries before the json specifying replace
will be removed. See the Vanilla wiki for a description of the base syntax.
Forge provides two extensions on the Vanilla syntax: * You may declare an optional
array of the same format as the values
array, but any values listed here that are not present will not cause the tag loading to error. This is useful to provide integration for mods that may or may not be present at runtime.
- You may declare a
remove
array of the same format as thevalues
array. Any values listed here will be removed from the tag. This acts as a finer grained version of the Vanillareplace
option.
Using Tags In Code
Block, Item, and Fluid tags are automatically sent from the server to any remote clients on login and reload. Function tags are not synced.
BlockTags#getAllTags
and ItemTags#getAllTags()
will retrieve the current TagCollection
, from which you can retrieve a Tag
object by its ID. With a Tag
object in hand, membership can be tested with tag.contains(thing)
, or all the objects in the tag queried with tag.getAllElements()
.
As an example:
public static final Tag.Named<Item> myTag = ItemTags.bind("mymod:myitemgroup"); // In some method Item unknownItem = stack.getItem(); boolean isInGroup = unknownItem.is(myTag);
TagCollection
returned by #getAllTags
(and the Tag
s within it) may expire if a reload happens, so you should always query the collection anew every time you need it. The static Tag$Named
fields in BlockTags
and ItemTags
avoid this by introducing a wrapper that handles this expiring. Alternatively, a resource reload listener can be used to refresh any cached tags.Migration from OreDictionary
- For recipes, tags can be used directly in the vanilla recipe format (see below)
- For matching items in code, see the section above.
- If you are declaring a new type of item grouping, follow a couple naming conventions:
- Use
domain:type/material
. When the name is a common one that all modders should adopt, use theforge
domain. - For example, brass ingots should be registered under the
forge:ingots/brass
tag, and cobalt nuggets under theforge:nuggets/cobalt
tag.
- Use
Using Tags in Recipes and Advancements
Tags are directly supported by Vanilla, see the respective Vanilla wiki pages for recipes and advancements for usage details.
Conventions
There are several conventions that will help facilitate compatibility in the ecosystem:
* If there is a Vanilla tag that fits your block or item, add it to that tag. See the list of Vanilla tags. * If there is a Forge tag that fits your block or item, add it to that tag. The list of tags declared by Forge can be seen on GitHub. * If there is a group of something you feel should be shared by the community, consider PR-ing it to Forge instead of making your own tag * Tag naming conventions should follow Vanilla conventions. In particular, item and block groupings are plural instead of singular. E.g.minecraft:logs
,minecraft:saplings
. * Item tags should be sorted into subdirectories according to the type of item, e.g.forge:ingots/iron
,forge:nuggets/brass
, etc.
Forge Tags
This is a list of all tags using the forge
namespace that are currently defined by Forge along those that are commonly used by other mods. These can all be found within the Tags
class.
Important
*
as a suffix. To use those outside the Forge codebase, an IOptionalNamedTag
must be created using *Tags#createOptional
where the asterisk can be replaced by its associated class name.Blocks
Name | Super Tag(s) | Contains |
---|---|---|
forge:barrels |
None | Barrels |
forge:barrels/wooden |
forge:barrels |
Wooden barrels |
forge:chests |
None | Chests |
forge:chests/ender |
forge:chests |
Ender chests |
forge:chests/trapped |
forge:chests |
Trapped chests |
forge:chests/wooden |
forge:chests |
Wooden chests |
forge:cobblestone |
None | Cobblestones |
forge:cobblestone/normal |
forge:cobblestone |
Normal cobblestones |
forge:cobblestone/infested |
forge:cobblestone |
Infested cobblestones |
forge:cobblestone/mossy |
forge:cobblestone |
Mossy cobblestones |
forge:cobblestone/deepslate |
forge:cobblestone |
Deepslate cobblestones |
forge:end_stones |
None | End stones |
forge:enderman_place_on_blacklist |
None | Blocks that an enderman cannot place its held block on |
forge:fence_gates |
None | Fence gates |
forge:fence_gates/wooden |
forge:fence_gates |
Wooden fence gates |
forge:fences |
None | Fences |
forge:fences/nether_brick |
forge:fences |
Nether brick fences |
forge:fences/wooden |
forge:fences |
Wooden fences |
forge:glass |
None | Glass |
forge:glass/black |
None | Black glass |
forge:glass/blue |
None | Blue glass |
forge:glass/brown |
None | Brown glass |
forge:glass/colorless |
forge:glass |
Normal glass |
forge:glass/cyan |
None | Cyan glass |
forge:glass/gray |
None | Gray glass |
forge:glass/green |
None | Green glass |
forge:glass/light_blue |
None | Light blue glass |
forge:glass/light_gray |
None | Light gray glass |
forge:glass/lime |
None | Lime glass |
forge:glass/magenta |
None | Magenta glass |
forge:glass/orange |
None | Orange glass |
forge:glass/pink |
None | Pink glass |
forge:glass/purple |
None | Purple glass |
forge:glass/red |
None | Red glass |
forge:glass/silica |
None | Sand-based glass with minor ingredient variation |
forge:glass/tinted |
forge:glass |
Tinted glass |
forge:glass/white |
None | White glass |
forge:glass/yellow |
None | Yellow glass |
forge:glass_panes |
None | Glass panes |
forge:glass_panes/black |
None | Black glass panes |
forge:glass_panes/blue |
None | Blue glass panes |
forge:glass_panes/brown |
None | Brown glass panes |
forge:glass_panes/colorless |
forge:glass_panes |
Normal glass panes |
forge:glass_panes/cyan |
None | Cyan glass panes |
forge:glass_panes/gray |
None | Gray glass panes |
forge:glass_panes/green |
None | Green glass panes |
forge:glass_panes/light_blue |
None | Light blue glass panes |
forge:glass_panes/light_gray |
None | Light gray glass panes |
forge:glass_panes/lime |
None | Lime glass panes |
forge:glass_panes/magenta |
None | Magenta glass panes |
forge:glass_panes/orange |
None | Orange glass panes |
forge:glass_panes/pink |
None | Pink glass panes |
forge:glass_panes/purple |
None | Purple glass panes |
forge:glass_panes/red |
None | Red glass panes |
forge:glass_panes/white |
None | White glass panes |
forge:glass_panes/yellow |
None | Yellow glass panes |
forge:gravel |
None | Gravel |
forge:netherrack |
None | Netherrack |
forge:obsidian |
None | Obsidian |
forge:ore_bearing_ground/deepslate |
None | Blocks replaced by deepslate ores during world generation |
forge:ore_bearing_ground/netherrack |
None | Blocks replaced by netherrack ores during world generation |
forge:ore_bearing_ground/stone |
None | Blocks replaced by stone ores during world generation |
forge:ore_rates/dense |
None | Ores which produce numerous resources on average |
forge:ore_rates/singular |
None | Ores which produce a single resource on average |
forge:ore_rates/sparse |
None | Ores which produce less than a single resource on average |
forge:ores |
None | Ores |
forge:ores/coal |
forge:ores |
Coal ores |
forge:ores/copper |
forge:ores |
Copper ores |
forge:ores/diamond |
forge:ores |
Diamond ores |
forge:ores/emerald |
forge:ores |
Emerald ores |
forge:ores/gold |
forge:ores |
Gold ores |
forge:ores/lapis |
forge:ores |
Lapis ores |
forge:ores/netherite_scrap |
forge:ores |
Netherite scrap ores |
forge:ores/quartz |
forge:ores |
Quartz ores |
forge:ores/redstone |
forge:ores |
Redstone ores |
forge:ores_in_ground/deepslate |
None | Ores which can be found in deepslate |
forge:ores_in_ground/netherrack |
None | Ores which can be found in netherrack |
forge:ores_in_ground/stone |
None | Ores which can be found in stone |
forge:sand |
None | Sand |
forge:sand/colorless |
forge:sand |
Normal sand |
forge:sand/red |
forge:sand |
Red sand |
forge:sandstone |
None | Sandstone |
forge:stained_glass |
forge:glass |
Stained glass |
forge:stained_glass_panes |
forge:glass_panes |
Stained glass planes |
forge:stone |
None | Stones |
forge:storage_blocks |
None | Storage blocks |
forge:storage_blocks/amethyst |
forge:storage_blocks |
Amethyst blocks |
forge:storage_blocks/coal |
forge:storage_blocks |
Coal blocks |
forge:storage_blocks/copper |
forge:storage_blocks |
Copper blocks |
forge:storage_blocks/diamond |
forge:storage_blocks |
Diamond blocks |
forge:storage_blocks/emerald |
forge:storage_blocks |
Emerald blocks |
forge:storage_blocks/gold |
forge:storage_blocks |
Gold blocks |
forge:storage_blocks/iron |
forge:storage_blocks |
Iron blocks |
forge:storage_blocks/lapis |
forge:storage_blocks |
Lapis blocks |
forge:storage_blocks/netherite |
forge:storage_blocks |
Netherite blocks |
forge:storage_blocks/quartz |
forge:storage_blocks |
Quartz blocks |
forge:storage_blocks/raw_copper |
forge:storage_blocks |
Raw copper blocks |
forge:storage_blocks/raw_gold |
forge:storage_blocks |
Raw gold blocks |
forge:storage_blocks/raw_iron |
forge:storage_blocks |
Raw iron blocks |
forge:storage_blocks/redstone |
forge:storage_blocks |
Redstone blocks |
forge:needs_wood_tool |
None | Blocks which need a wooden tool to be mined efficiently |
forge:needs_gold_tool |
None | Blocks which need a gold tool to be mined efficiently |
forge:needs_netherite_tool |
None | Blocks which need a netherite tool to be mined efficiently |
Items
Name | Super Tag(s) | Contains |
---|---|---|
forge:barrels |
None | Barrels |
forge:barrels/wooden |
forge:barrels |
Wooden barrels |
forge:bones |
None | Bones |
forge:bookshelves |
None | Bookshelves |
forge:chests |
None | Chests |
forge:chests/ender |
forge:chests |
Ender chests |
forge:chests/trapped |
forge:chests |
Trapped chests |
forge:chests/wooden |
forge:chests |
Wooden chests |
forge:cobblestone |
None | Cobblestones |
forge:cobblestone/normal |
forge:cobblestone |
Normal cobblestones |
forge:cobblestone/infested |
forge:cobblestone |
Infested cobblestones |
forge:cobblestone/mossy |
forge:cobblestone |
Mossy cobblestones |
forge:cobblestone/deepslate |
forge:cobblestone |
Deepslate cobblestones |
forge:crops |
None | Crops |
forge:crops/beetroot |
forge:crops |
Beetroot crops |
forge:crops/carrot |
forge:crops |
Carrot crops |
forge:crops/nether_wart |
forge:crops |
Nether wart crops |
forge:crops/potato |
forge:crops |
Potato crops |
forge:crops/wheat |
forge:crops |
Wheat crops |
forge:dusts |
None | Dusts |
forge:dusts/prismarine |
forge:dusts |
Prismarine dusts |
forge:dusts/redstone |
forge:dusts |
Redstone dusts |
forge:dusts/glowstone |
forge:dusts |
Glowstone dusts |
forge:dyes |
None | Dyes |
forge:dyes/black |
forge:dyes |
Black dyes |
forge:dyes/blue |
forge:dyes |
Blue dyes |
forge:dyes/brown |
forge:dyes |
Brown dyes |
forge:dyes/cyan |
forge:dyes |
Cyan dyes |
forge:dyes/gray |
forge:dyes |
Gray dyes |
forge:dyes/green |
forge:dyes |
Green dyes |
forge:dyes/light_blue |
forge:dyes |
Light blue dyes |
forge:dyes/light_gray |
forge:dyes |
Light green dyes |
forge:dyes/lime |
forge:dyes |
Lime dyes |
forge:dyes/magenta |
forge:dyes |
Magenta dyes |
forge:dyes/orange |
forge:dyes |
Orange dyes |
forge:dyes/pink |
forge:dyes |
Pink dyes |
forge:dyes/purple |
forge:dyes |
Purple dyes |
forge:dyes/red |
forge:dyes |
Red dyes |
forge:dyes/white |
forge:dyes |
White dyes |
forge:dyes/yellow |
forge:dyes |
Yellow dyes |
forge:eggs |
None | Eggs |
forge:enchanting_fuels |
None | Enchantment table fuels |
forge:end_stones |
None | End stones |
forge:ender_pearls |
None | Ender pearls |
forge:feathers |
None | Feathers |
forge:fence_gates |
None | Fence gates |
forge:fence_gates/wooden |
forge:fence_gates |
Wooden fence gates |
forge:fences |
None | Fences |
forge:fences/nether_brick |
forge:fences |
Nether brick fences |
forge:fences/wooden |
forge:fences |
Wooden fences |
forge:gems |
None | Gems |
forge:gems/amethyst |
forge:gems |
Amethyst gems |
forge:gems/diamond |
forge:gems |
Diamond gems |
forge:gems/emerald |
forge:gems |
Emerald gems |
forge:gems/lapis |
forge:gems forge:enchanting_fuels |
Lapis gems |
forge:gems/prismarine |
forge:gems |
Prismarine gems |
forge:gems/quartz |
forge:gems |
Quartz gems |
forge:glass |
None | Glass |
forge:glass/black |
None | Black glass |
forge:glass/blue |
None | Blue glass |
forge:glass/brown |
None | Brown glass |
forge:glass/colorless |
forge:glass |
Normal glass |
forge:glass/cyan |
None | Cyan glass |
forge:glass/gray |
None | Gray glass |
forge:glass/green |
None | Green glass |
forge:glass/light_blue |
None | Light blue glass |
forge:glass/light_gray |
None | Light gray glass |
forge:glass/lime |
None | Lime glass |
forge:glass/magenta |
None | Magenta glass |
forge:glass/orange |
None | Orange glass |
forge:glass/pink |
None | Pink glass |
forge:glass/purple |
None | Purple glass |
forge:glass/red |
None | Red glass |
forge:glass/silica |
None | Sand-based glass with minor ingredient variation |
forge:glass/tinted |
forge:glass |
Tinted glass |
forge:glass/white |
None | White glass |
forge:glass/yellow |
None | Yellow glass |
forge:glass_panes |
None | Glass panes |
forge:glass_panes/black |
None | Black glass panes |
forge:glass_panes/blue |
None | Blue glass panes |
forge:glass_panes/brown |
None | Brown glass panes |
forge:glass_panes/colorless |
forge:glass_panes |
Normal glass panes |
forge:glass_panes/cyan |
None | Cyan glass panes |
forge:glass_panes/gray |
None | Gray glass panes |
forge:glass_panes/green |
None | Green glass panes |
forge:glass_panes/light_blue |
None | Light blue glass panes |
forge:glass_panes/light_gray |
None | Light gray glass panes |
forge:glass_panes/lime |
None | Lime glass panes |
forge:glass_panes/magenta |
None | Magenta glass panes |
forge:glass_panes/orange |
None | Orange glass panes |
forge:glass_panes/pink |
None | Pink glass panes |
forge:glass_panes/purple |
None | Purple glass panes |
forge:glass_panes/red |
None | Red glass panes |
forge:glass_panes/white |
None | White glass panes |
forge:glass_panes/yellow |
None | Yellow glass panes |
forge:gravel |
None | Gravel |
forge:gunpowder |
None | Gunpowder |
forge:heads |
None | Heads |
forge:ingots |
None | Ingots |
forge:ingots/brick |
forge:ingots |
Brick ingots |
forge:ingots/copper |
forge:ingots |
Copper ingots |
forge:ingots/gold |
forge:ingots |
Gold ingots |
forge:ingots/iron |
forge:ingots |
Iron ingots |
forge:ingots/netherite |
forge:ingots |
Netherite ingots |
forge:ingots/nether_brick |
forge:ingots |
Nether brick ingots |
forge:leather |
None | Leather |
forge:mushrooms |
None | Mushrooms |
forge:nether_stars |
None | Nether stars |
forge:netherrack |
None | Netherrack |
forge:nuggets |
None | Nuggets |
forge:nuggets/gold |
forge:nuggets |
Gold nuggets |
forge:nuggets/iron |
forge:nuggets |
Iron nuggets |
forge:obsidian |
None | Obsidian |
forge:ore_bearing_ground/deepslate |
None | Blocks replaced by deepslate ores during world generation |
forge:ore_bearing_ground/netherrack |
None | Blocks replaced by netherrack ores during world generation |
forge:ore_bearing_ground/stone |
None | Blocks replaced by stone ores during world generation |
forge:ore_rates/dense |
None | Ores which produce numerous resources on average |
forge:ore_rates/singular |
None | Ores which produce a single resource on average |
forge:ore_rates/sparse |
None | Ores which produce less than a single resource on average |
forge:ores |
None | Ores |
forge:ores/coal |
forge:ores |
Coal ores |
forge:ores/copper |
forge:ores |
Copper ores |
forge:ores/diamond |
forge:ores |
Diamond ores |
forge:ores/emerald |
forge:ores |
Emerald ores |
forge:ores/gold |
forge:ores |
Gold ores |
forge:ores/lapis |
forge:ores |
Lapis ores |
forge:ores/netherite_scrap |
forge:ores |
Netherite scrap ores |
forge:ores/quartz |
forge:ores |
Quartz ores |
forge:ores/redstone |
forge:ores |
Redstone ores |
forge:ores_in_ground/deepslate |
None | Ores which can be found in deepslate |
forge:ores_in_ground/netherrack |
None | Ores which can be found in netherrack |
forge:ores_in_ground/stone |
None | Ores which can be found in stone |
forge:raw_materials |
None | Raw materials |
forge:raw_materials/copper |
forge:raw_materials |
Copper raw materials |
forge:raw_materials/gold |
forge:raw_materials |
Gold raw materials |
forge:raw_materials/iron |
forge:raw_materials |
Iron raw materials |
forge:rods |
None | Rods |
forge:rods/blaze |
forge:rods |
Blaze rods |
forge:rods/wooden |
forge:rods |
Wooden rods |
forge:sand |
None | Sand |
forge:sand/colorless |
forge:sand |
Normal sand |
forge:sand/red |
forge:sand |
Red sand |
forge:sandstone |
None | Sandstone |
forge:seeds |
None | Seeds |
forge:seeds/beetroot |
forge:seeds |
Beetroot seeds |
forge:seeds/melon |
forge:seeds |
Melon seeds |
forge:seeds/pumpkin |
forge:seeds |
Pumpkin seeds |
forge:seeds/wheat |
forge:seeds |
Wheat seeds |
forge:shears |
None | Shears |
forge:slimeballs |
None | Slimeballs |
forge:stained_glass |
forge:glass |
Stained glass |
forge:stained_glass_panes |
forge:glass_panes |
Stained glass planes |
forge:stone |
None | Stones |
forge:storage_blocks |
None | Storage blocks |
forge:storage_blocks/amethyst |
forge:storage_blocks |
Amethyst blocks |
forge:storage_blocks/coal |
forge:storage_blocks |
Coal blocks |
forge:storage_blocks/copper |
forge:storage_blocks |
Copper blocks |
forge:storage_blocks/diamond |
forge:storage_blocks |
Diamond blocks |
forge:storage_blocks/emerald |
forge:storage_blocks |
Emerald blocks |
forge:storage_blocks/gold |
forge:storage_blocks |
Gold blocks |
forge:storage_blocks/iron |
forge:storage_blocks |
Iron blocks |
forge:storage_blocks/lapis |
forge:storage_blocks |
Lapis blocks |
forge:storage_blocks/netherite |
forge:storage_blocks |
Netherite blocks |
forge:storage_blocks/quartz |
forge:storage_blocks |
Quartz blocks |
forge:storage_blocks/raw_copper |
forge:storage_blocks |
Raw copper blocks |
forge:storage_blocks/raw_gold |
forge:storage_blocks |
Raw gold blocks |
forge:storage_blocks/raw_iron |
forge:storage_blocks |
Raw iron blocks |
forge:storage_blocks/redstone |
forge:storage_blocks |
Redstone blocks |
forge:string |
None | String |
Fluids
Name | Super Tag(s) | Contains |
---|---|---|
forge:milk |
None | Milk |