mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Update tags for new 1.17 and 1.18 content (#7891)
This commit is contained in:
1 parent
28d3c491a0
commit
63a42bad98
76 files changed
+640
-112
No files matched your search
@@ -19,20 +19,19 @@
|
||||
|
||||
package net.minecraftforge.common;
|
||||
|
||||
import java.util.Set;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.material.Fluid;
|
||||
import net.minecraft.world.item.DyeColor;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.tags.BlockTags;
|
||||
import net.minecraft.tags.FluidTags;
|
||||
import net.minecraft.tags.ItemTags;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.tags.Tag.Named;
|
||||
import net.minecraft.world.item.DyeColor;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.material.Fluid;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import java.util.Set;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
public class Tags
|
||||
{
|
||||
@@ -54,7 +53,6 @@ public class Tags
|
||||
public static final IOptionalNamedTag<Block> CHESTS_TRAPPED = tag("chests/trapped");
|
||||
public static final IOptionalNamedTag<Block> CHESTS_WOODEN = tag("chests/wooden");
|
||||
public static final IOptionalNamedTag<Block> COBBLESTONE = tag("cobblestone");
|
||||
public static final IOptionalNamedTag<Block> DIRT = tag("dirt");
|
||||
public static final IOptionalNamedTag<Block> END_STONES = tag("end_stones");
|
||||
public static final IOptionalNamedTag<Block> ENDERMAN_PLACE_ON_BLACKLIST = tag("enderman_place_on_blacklist");
|
||||
public static final IOptionalNamedTag<Block> FENCE_GATES = tag("fence_gates");
|
||||
@@ -79,6 +77,11 @@ public class Tags
|
||||
public static final IOptionalNamedTag<Block> GLASS_PINK = tag("glass/pink");
|
||||
public static final IOptionalNamedTag<Block> GLASS_PURPLE = tag("glass/purple");
|
||||
public static final IOptionalNamedTag<Block> GLASS_RED = tag("glass/red");
|
||||
/**
|
||||
* Glass which is made from sand and only minor additional ingredients like dyes
|
||||
*/
|
||||
public static final IOptionalNamedTag<Block> GLASS_SILICA = tag("glass/silica");
|
||||
public static final IOptionalNamedTag<Block> GLASS_TINTED = tag("glass/tinted");
|
||||
public static final IOptionalNamedTag<Block> GLASS_WHITE = tag("glass/white");
|
||||
public static final IOptionalNamedTag<Block> GLASS_YELLOW = tag("glass/yellow");
|
||||
|
||||
@@ -104,8 +107,33 @@ public class Tags
|
||||
public static final IOptionalNamedTag<Block> GRAVEL = tag("gravel");
|
||||
public static final IOptionalNamedTag<Block> NETHERRACK = tag("netherrack");
|
||||
public static final IOptionalNamedTag<Block> OBSIDIAN = tag("obsidian");
|
||||
/**
|
||||
* Blocks which are often replaced by deepslate ores, i.e. the ores in the tag {@link #ORES_IN_GROUND_DEEPSLATE}, during world generation
|
||||
*/
|
||||
public static final IOptionalNamedTag<Block> ORE_BEARING_GROUND_DEEPSLATE = tag("ore_bearing_ground/deepslate");
|
||||
/**
|
||||
* Blocks which are often replaced by netherrack ores, i.e. the ores in the tag {@link #ORES_IN_GROUND_NETHERRACK}, during world generation
|
||||
*/
|
||||
public static final IOptionalNamedTag<Block> ORE_BEARING_GROUND_NETHERRACK = tag("ore_bearing_ground/netherrack");
|
||||
/**
|
||||
* Blocks which are often replaced by stone ores, i.e. the ores in the tag {@link #ORES_IN_GROUND_STONE}, during world generation
|
||||
*/
|
||||
public static final IOptionalNamedTag<Block> ORE_BEARING_GROUND_STONE = tag("ore_bearing_ground/stone");
|
||||
/**
|
||||
* Ores which on average result in more than one resource worth of materials
|
||||
*/
|
||||
public static final IOptionalNamedTag<Block> ORE_RATES_DENSE = tag("ore_rates/dense");
|
||||
/**
|
||||
* Ores which on average result in one resource worth of materials
|
||||
*/
|
||||
public static final IOptionalNamedTag<Block> ORE_RATES_SINGULAR = tag("ore_rates/singular");
|
||||
/**
|
||||
* Ores which on average result in less than one resource worth of materials
|
||||
*/
|
||||
public static final IOptionalNamedTag<Block> ORE_RATES_SPARSE = tag("ore_rates/sparse");
|
||||
public static final IOptionalNamedTag<Block> ORES = tag("ores");
|
||||
public static final IOptionalNamedTag<Block> ORES_COAL = tag("ores/coal");
|
||||
public static final IOptionalNamedTag<Block> ORES_COPPER = tag("ores/copper");
|
||||
public static final IOptionalNamedTag<Block> ORES_DIAMOND = tag("ores/diamond");
|
||||
public static final IOptionalNamedTag<Block> ORES_EMERALD = tag("ores/emerald");
|
||||
public static final IOptionalNamedTag<Block> ORES_GOLD = tag("ores/gold");
|
||||
@@ -114,6 +142,18 @@ public class Tags
|
||||
public static final IOptionalNamedTag<Block> ORES_NETHERITE_SCRAP = tag("ores/netherite_scrap");
|
||||
public static final IOptionalNamedTag<Block> ORES_QUARTZ = tag("ores/quartz");
|
||||
public static final IOptionalNamedTag<Block> ORES_REDSTONE = tag("ores/redstone");
|
||||
/**
|
||||
* Ores in deepslate (or in equivalent blocks in the tag {@link #ORE_BEARING_GROUND_DEEPSLATE}) which could logically use deepslate as recipe input or output
|
||||
*/
|
||||
public static final IOptionalNamedTag<Block> ORES_IN_GROUND_DEEPSLATE = tag("ores_in_ground/deepslate");
|
||||
/**
|
||||
* Ores in netherrack (or in equivalent blocks in the tag {@link #ORE_BEARING_GROUND_NETHERRACK}) which could logically use netherrack as recipe input or output
|
||||
*/
|
||||
public static final IOptionalNamedTag<Block> ORES_IN_GROUND_NETHERRACK = tag("ores_in_ground/netherrack");
|
||||
/**
|
||||
* Ores in stone (or in equivalent blocks in the tag {@link #ORE_BEARING_GROUND_STONE}) which could logically use stone as recipe input or output
|
||||
*/
|
||||
public static final IOptionalNamedTag<Block> ORES_IN_GROUND_STONE = tag("ores_in_ground/stone");
|
||||
|
||||
public static final IOptionalNamedTag<Block> SAND = tag("sand");
|
||||
public static final IOptionalNamedTag<Block> SAND_COLORLESS = tag("sand/colorless");
|
||||
@@ -124,7 +164,9 @@ public class Tags
|
||||
public static final IOptionalNamedTag<Block> STAINED_GLASS_PANES = tag("stained_glass_panes");
|
||||
public static final IOptionalNamedTag<Block> STONE = tag("stone");
|
||||
public static final IOptionalNamedTag<Block> STORAGE_BLOCKS = tag("storage_blocks");
|
||||
public static final IOptionalNamedTag<Block> STORAGE_BLOCKS_AMETHYST = tag("storage_blocks/amethyst");
|
||||
public static final IOptionalNamedTag<Block> STORAGE_BLOCKS_COAL = tag("storage_blocks/coal");
|
||||
public static final IOptionalNamedTag<Block> STORAGE_BLOCKS_COPPER = tag("storage_blocks/copper");
|
||||
public static final IOptionalNamedTag<Block> STORAGE_BLOCKS_DIAMOND = tag("storage_blocks/diamond");
|
||||
public static final IOptionalNamedTag<Block> STORAGE_BLOCKS_EMERALD = tag("storage_blocks/emerald");
|
||||
public static final IOptionalNamedTag<Block> STORAGE_BLOCKS_GOLD = tag("storage_blocks/gold");
|
||||
@@ -132,6 +174,9 @@ public class Tags
|
||||
public static final IOptionalNamedTag<Block> STORAGE_BLOCKS_LAPIS = tag("storage_blocks/lapis");
|
||||
public static final IOptionalNamedTag<Block> STORAGE_BLOCKS_NETHERITE = tag("storage_blocks/netherite");
|
||||
public static final IOptionalNamedTag<Block> STORAGE_BLOCKS_QUARTZ = tag("storage_blocks/quartz");
|
||||
public static final IOptionalNamedTag<Block> STORAGE_BLOCKS_RAW_COPPER = tag("storage_blocks/raw_copper");
|
||||
public static final IOptionalNamedTag<Block> STORAGE_BLOCKS_RAW_GOLD = tag("storage_blocks/raw_gold");
|
||||
public static final IOptionalNamedTag<Block> STORAGE_BLOCKS_RAW_IRON = tag("storage_blocks/raw_iron");
|
||||
public static final IOptionalNamedTag<Block> STORAGE_BLOCKS_REDSTONE = tag("storage_blocks/redstone");
|
||||
|
||||
public static final IOptionalNamedTag<Block> NEEDS_WOOD_TOOL = tag("needs_wood_tool");
|
||||
@@ -199,6 +244,7 @@ public class Tags
|
||||
public static final IOptionalNamedTag<Item> GEMS = tag("gems");
|
||||
public static final IOptionalNamedTag<Item> GEMS_DIAMOND = tag("gems/diamond");
|
||||
public static final IOptionalNamedTag<Item> GEMS_EMERALD = tag("gems/emerald");
|
||||
public static final IOptionalNamedTag<Item> GEMS_AMETHYST = tag("gems/amethyst");
|
||||
public static final IOptionalNamedTag<Item> GEMS_LAPIS = tag("gems/lapis");
|
||||
public static final IOptionalNamedTag<Item> GEMS_PRISMARINE = tag("gems/prismarine");
|
||||
public static final IOptionalNamedTag<Item> GEMS_QUARTZ = tag("gems/quartz");
|
||||
@@ -219,6 +265,11 @@ public class Tags
|
||||
public static final IOptionalNamedTag<Item> GLASS_PINK = tag("glass/pink");
|
||||
public static final IOptionalNamedTag<Item> GLASS_PURPLE = tag("glass/purple");
|
||||
public static final IOptionalNamedTag<Item> GLASS_RED = tag("glass/red");
|
||||
/**
|
||||
* Glass which is made from sand and only minor additional ingredients like dyes
|
||||
*/
|
||||
public static final IOptionalNamedTag<Item> GLASS_SILICA = tag("glass/silica");
|
||||
public static final IOptionalNamedTag<Item> GLASS_TINTED = tag("glass/tinted");
|
||||
public static final IOptionalNamedTag<Item> GLASS_WHITE = tag("glass/white");
|
||||
public static final IOptionalNamedTag<Item> GLASS_YELLOW = tag("glass/yellow");
|
||||
|
||||
@@ -246,6 +297,7 @@ public class Tags
|
||||
public static final IOptionalNamedTag<Item> HEADS = tag("heads");
|
||||
public static final IOptionalNamedTag<Item> INGOTS = tag("ingots");
|
||||
public static final IOptionalNamedTag<Item> INGOTS_BRICK = tag("ingots/brick");
|
||||
public static final IOptionalNamedTag<Item> INGOTS_COPPER = tag("ingots/copper");
|
||||
public static final IOptionalNamedTag<Item> INGOTS_GOLD = tag("ingots/gold");
|
||||
public static final IOptionalNamedTag<Item> INGOTS_IRON = tag("ingots/iron");
|
||||
public static final IOptionalNamedTag<Item> INGOTS_NETHERITE = tag("ingots/netherite");
|
||||
@@ -258,8 +310,33 @@ public class Tags
|
||||
public static final IOptionalNamedTag<Item> NUGGETS_GOLD = tag("nuggets/gold");
|
||||
public static final IOptionalNamedTag<Item> NUGGETS_IRON = tag("nuggets/iron");
|
||||
public static final IOptionalNamedTag<Item> OBSIDIAN = tag("obsidian");
|
||||
/**
|
||||
* Blocks which are often replaced by deepslate ores, i.e. the ores in the tag {@link #ORES_IN_GROUND_DEEPSLATE}, during world generation
|
||||
*/
|
||||
public static final IOptionalNamedTag<Item> ORE_BEARING_GROUND_DEEPSLATE = tag("ore_bearing_ground/deepslate");
|
||||
/**
|
||||
* Blocks which are often replaced by netherrack ores, i.e. the ores in the tag {@link #ORES_IN_GROUND_NETHERRACK}, during world generation
|
||||
*/
|
||||
public static final IOptionalNamedTag<Item> ORE_BEARING_GROUND_NETHERRACK = tag("ore_bearing_ground/netherrack");
|
||||
/**
|
||||
* Blocks which are often replaced by stone ores, i.e. the ores in the tag {@link #ORES_IN_GROUND_STONE}, during world generation
|
||||
*/
|
||||
public static final IOptionalNamedTag<Item> ORE_BEARING_GROUND_STONE = tag("ore_bearing_ground/stone");
|
||||
/**
|
||||
* Ores which on average result in more than one resource worth of materials
|
||||
*/
|
||||
public static final IOptionalNamedTag<Item> ORE_RATES_DENSE = tag("ore_rates/dense");
|
||||
/**
|
||||
* Ores which on average result in one resource worth of materials
|
||||
*/
|
||||
public static final IOptionalNamedTag<Item> ORE_RATES_SINGULAR = tag("ore_rates/singular");
|
||||
/**
|
||||
* Ores which on average result in less than one resource worth of materials
|
||||
*/
|
||||
public static final IOptionalNamedTag<Item> ORE_RATES_SPARSE = tag("ore_rates/sparse");
|
||||
public static final IOptionalNamedTag<Item> ORES = tag("ores");
|
||||
public static final IOptionalNamedTag<Item> ORES_COAL = tag("ores/coal");
|
||||
public static final IOptionalNamedTag<Item> ORES_COPPER = tag("ores/copper");
|
||||
public static final IOptionalNamedTag<Item> ORES_DIAMOND = tag("ores/diamond");
|
||||
public static final IOptionalNamedTag<Item> ORES_EMERALD = tag("ores/emerald");
|
||||
public static final IOptionalNamedTag<Item> ORES_GOLD = tag("ores/gold");
|
||||
@@ -268,6 +345,22 @@ public class Tags
|
||||
public static final IOptionalNamedTag<Item> ORES_NETHERITE_SCRAP = tag("ores/netherite_scrap");
|
||||
public static final IOptionalNamedTag<Item> ORES_QUARTZ = tag("ores/quartz");
|
||||
public static final IOptionalNamedTag<Item> ORES_REDSTONE = tag("ores/redstone");
|
||||
/**
|
||||
* Ores in deepslate (or in equivalent blocks in the tag {@link #ORE_BEARING_GROUND_DEEPSLATE}) which could logically use deepslate as recipe input or output
|
||||
*/
|
||||
public static final IOptionalNamedTag<Item> ORES_IN_GROUND_DEEPSLATE = tag("ores_in_ground/deepslate");
|
||||
/**
|
||||
* Ores in netherrack (or in equivalent blocks in the tag {@link #ORE_BEARING_GROUND_NETHERRACK}) which could logically use netherrack as recipe input or output
|
||||
*/
|
||||
public static final IOptionalNamedTag<Item> ORES_IN_GROUND_NETHERRACK = tag("ores_in_ground/netherrack");
|
||||
/**
|
||||
* Ores in stone (or in equivalent blocks in the tag {@link #ORE_BEARING_GROUND_STONE}) which could logically use stone as recipe input or output
|
||||
*/
|
||||
public static final IOptionalNamedTag<Item> ORES_IN_GROUND_STONE = tag("ores_in_ground/stone");
|
||||
public static final IOptionalNamedTag<Item> RAW_MATERIALS = tag("raw_materials");
|
||||
public static final IOptionalNamedTag<Item> RAW_MATERIALS_COPPER = tag("raw_materials/copper");
|
||||
public static final IOptionalNamedTag<Item> RAW_MATERIALS_GOLD = tag("raw_materials/gold");
|
||||
public static final IOptionalNamedTag<Item> RAW_MATERIALS_IRON = tag("raw_materials/iron");
|
||||
public static final IOptionalNamedTag<Item> RODS = tag("rods");
|
||||
public static final IOptionalNamedTag<Item> RODS_BLAZE = tag("rods/blaze");
|
||||
public static final IOptionalNamedTag<Item> RODS_WOODEN = tag("rods/wooden");
|
||||
@@ -288,7 +381,9 @@ public class Tags
|
||||
public static final IOptionalNamedTag<Item> STAINED_GLASS_PANES = tag("stained_glass_panes");
|
||||
public static final IOptionalNamedTag<Item> STONE = tag("stone");
|
||||
public static final IOptionalNamedTag<Item> STORAGE_BLOCKS = tag("storage_blocks");
|
||||
public static final IOptionalNamedTag<Item> STORAGE_BLOCKS_AMETHYST = tag("storage_blocks/amethyst");
|
||||
public static final IOptionalNamedTag<Item> STORAGE_BLOCKS_COAL = tag("storage_blocks/coal");
|
||||
public static final IOptionalNamedTag<Item> STORAGE_BLOCKS_COPPER = tag("storage_blocks/copper");
|
||||
public static final IOptionalNamedTag<Item> STORAGE_BLOCKS_DIAMOND = tag("storage_blocks/diamond");
|
||||
public static final IOptionalNamedTag<Item> STORAGE_BLOCKS_EMERALD = tag("storage_blocks/emerald");
|
||||
public static final IOptionalNamedTag<Item> STORAGE_BLOCKS_GOLD = tag("storage_blocks/gold");
|
||||
@@ -296,6 +391,9 @@ public class Tags
|
||||
public static final IOptionalNamedTag<Item> STORAGE_BLOCKS_LAPIS = tag("storage_blocks/lapis");
|
||||
public static final IOptionalNamedTag<Item> STORAGE_BLOCKS_NETHERITE = tag("storage_blocks/netherite");
|
||||
public static final IOptionalNamedTag<Item> STORAGE_BLOCKS_QUARTZ = tag("storage_blocks/quartz");
|
||||
public static final IOptionalNamedTag<Item> STORAGE_BLOCKS_RAW_COPPER = tag("storage_blocks/raw_copper");
|
||||
public static final IOptionalNamedTag<Item> STORAGE_BLOCKS_RAW_GOLD = tag("storage_blocks/raw_gold");
|
||||
public static final IOptionalNamedTag<Item> STORAGE_BLOCKS_RAW_IRON = tag("storage_blocks/raw_iron");
|
||||
public static final IOptionalNamedTag<Item> STORAGE_BLOCKS_REDSTONE = tag("storage_blocks/redstone");
|
||||
public static final IOptionalNamedTag<Item> STRING = tag("string");
|
||||
|
||||
|
||||
@@ -20,21 +20,21 @@
|
||||
package net.minecraftforge.common.data;
|
||||
|
||||
import net.minecraft.data.DataGenerator;
|
||||
import net.minecraft.world.item.DyeColor;
|
||||
import net.minecraft.data.tags.BlockTagsProvider;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.tags.BlockTags;
|
||||
import net.minecraft.tags.Tag;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraftforge.common.Tags;
|
||||
import net.minecraftforge.registries.ForgeRegistries;
|
||||
import net.minecraft.world.item.DyeColor;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.Blocks;
|
||||
import net.minecraft.data.tags.BlockTagsProvider;
|
||||
|
||||
import static net.minecraftforge.common.Tags.Blocks.*;
|
||||
import net.minecraftforge.common.Tags;
|
||||
import net.minecraftforge.registries.ForgeRegistries;
|
||||
|
||||
import java.util.Locale;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import static net.minecraftforge.common.Tags.Blocks.*;
|
||||
|
||||
public final class ForgeBlockTagsProvider extends BlockTagsProvider
|
||||
{
|
||||
public ForgeBlockTagsProvider(DataGenerator gen, ExistingFileHelper existingFileHelper)
|
||||
@@ -52,17 +52,18 @@ public final class ForgeBlockTagsProvider extends BlockTagsProvider
|
||||
tag(CHESTS_ENDER).add(Blocks.ENDER_CHEST);
|
||||
tag(CHESTS_TRAPPED).add(Blocks.TRAPPED_CHEST);
|
||||
tag(CHESTS_WOODEN).add(Blocks.CHEST, Blocks.TRAPPED_CHEST);
|
||||
tag(COBBLESTONE).add(Blocks.COBBLESTONE, Blocks.INFESTED_COBBLESTONE, Blocks.MOSSY_COBBLESTONE);
|
||||
tag(DIRT).add(Blocks.DIRT, Blocks.GRASS_BLOCK, Blocks.COARSE_DIRT, Blocks.PODZOL, Blocks.MYCELIUM);
|
||||
tag(COBBLESTONE).add(Blocks.COBBLESTONE, Blocks.INFESTED_COBBLESTONE, Blocks.MOSSY_COBBLESTONE, Blocks.COBBLED_DEEPSLATE);
|
||||
tag(END_STONES).add(Blocks.END_STONE);
|
||||
tag(ENDERMAN_PLACE_ON_BLACKLIST);
|
||||
tag(FENCE_GATES).addTags(FENCE_GATES_WOODEN);
|
||||
tag(FENCE_GATES_WOODEN).add(Blocks.OAK_FENCE_GATE, Blocks.SPRUCE_FENCE_GATE, Blocks.BIRCH_FENCE_GATE, Blocks.JUNGLE_FENCE_GATE, Blocks.ACACIA_FENCE_GATE, Blocks.DARK_OAK_FENCE_GATE, Blocks.CRIMSON_FENCE_GATE, Blocks.WARPED_FENCE_GATE);
|
||||
tag(FENCES).addTags(FENCES_NETHER_BRICK, FENCES_WOODEN);
|
||||
tag(FENCES_NETHER_BRICK).add(Blocks.NETHER_BRICK_FENCE);
|
||||
tag(FENCES_WOODEN).add(Blocks.OAK_FENCE, Blocks.SPRUCE_FENCE, Blocks.BIRCH_FENCE, Blocks.JUNGLE_FENCE, Blocks.ACACIA_FENCE, Blocks.DARK_OAK_FENCE, Blocks.CRIMSON_FENCE, Blocks.WARPED_FENCE);
|
||||
tag(GLASS).addTags(GLASS_COLORLESS, STAINED_GLASS);
|
||||
tag(FENCES_WOODEN).addTag(BlockTags.WOODEN_FENCES);
|
||||
tag(GLASS).addTags(GLASS_COLORLESS, STAINED_GLASS, GLASS_TINTED);
|
||||
tag(GLASS_COLORLESS).add(Blocks.GLASS);
|
||||
tag(GLASS_SILICA).add(Blocks.GLASS, Blocks.BLACK_STAINED_GLASS, Blocks.BLUE_STAINED_GLASS, Blocks.BROWN_STAINED_GLASS, Blocks.CYAN_STAINED_GLASS, Blocks.GRAY_STAINED_GLASS, Blocks.GREEN_STAINED_GLASS, Blocks.LIGHT_BLUE_STAINED_GLASS, Blocks.LIGHT_GRAY_STAINED_GLASS, Blocks.LIME_STAINED_GLASS, Blocks.MAGENTA_STAINED_GLASS, Blocks.ORANGE_STAINED_GLASS, Blocks.PINK_STAINED_GLASS, Blocks.PURPLE_STAINED_GLASS, Blocks.RED_STAINED_GLASS, Blocks.WHITE_STAINED_GLASS, Blocks.YELLOW_STAINED_GLASS);
|
||||
tag(GLASS_TINTED).add(Blocks.TINTED_GLASS);
|
||||
addColored(tag(STAINED_GLASS)::add, GLASS, "{color}_stained_glass");
|
||||
tag(GLASS_PANES).addTags(GLASS_PANES_COLORLESS, STAINED_GLASS_PANES);
|
||||
tag(GLASS_PANES_COLORLESS).add(Blocks.GLASS_PANE);
|
||||
@@ -70,29 +71,44 @@ public final class ForgeBlockTagsProvider extends BlockTagsProvider
|
||||
tag(GRAVEL).add(Blocks.GRAVEL);
|
||||
tag(NETHERRACK).add(Blocks.NETHERRACK);
|
||||
tag(OBSIDIAN).add(Blocks.OBSIDIAN);
|
||||
tag(ORES).addTags(ORES_COAL, ORES_DIAMOND, ORES_EMERALD, ORES_GOLD, ORES_IRON, ORES_LAPIS, ORES_REDSTONE, ORES_QUARTZ, ORES_NETHERITE_SCRAP);
|
||||
tag(ORES_COAL).add(Blocks.COAL_ORE);
|
||||
tag(ORES_DIAMOND).add(Blocks.DIAMOND_ORE);
|
||||
tag(ORES_EMERALD).add(Blocks.EMERALD_ORE);
|
||||
tag(ORE_BEARING_GROUND_DEEPSLATE).add(Blocks.DEEPSLATE);
|
||||
tag(ORE_BEARING_GROUND_NETHERRACK).add(Blocks.NETHERRACK);
|
||||
tag(ORE_BEARING_GROUND_STONE).add(Blocks.STONE);
|
||||
tag(ORE_RATES_DENSE).add(Blocks.COPPER_ORE, Blocks.DEEPSLATE_COPPER_ORE, Blocks.DEEPSLATE_LAPIS_ORE, Blocks.DEEPSLATE_REDSTONE_ORE, Blocks.LAPIS_ORE, Blocks.REDSTONE_ORE);
|
||||
tag(ORE_RATES_SINGULAR).add(Blocks.ANCIENT_DEBRIS, Blocks.COAL_ORE, Blocks.DEEPSLATE_COAL_ORE, Blocks.DEEPSLATE_DIAMOND_ORE, Blocks.DEEPSLATE_EMERALD_ORE, Blocks.DEEPSLATE_GOLD_ORE, Blocks.DEEPSLATE_IRON_ORE, Blocks.DIAMOND_ORE, Blocks.EMERALD_ORE, Blocks.GOLD_ORE, Blocks.IRON_ORE, Blocks.NETHER_QUARTZ_ORE);
|
||||
tag(ORE_RATES_SPARSE).add(Blocks.NETHER_GOLD_ORE);
|
||||
tag(ORES).addTags(ORES_COAL, ORES_COPPER, ORES_DIAMOND, ORES_EMERALD, ORES_GOLD, ORES_IRON, ORES_LAPIS, ORES_REDSTONE, ORES_QUARTZ, ORES_NETHERITE_SCRAP);
|
||||
tag(ORES_COAL).addTag(BlockTags.COAL_ORES);
|
||||
tag(ORES_COPPER).addTag(BlockTags.COPPER_ORES);
|
||||
tag(ORES_DIAMOND).addTag(BlockTags.DIAMOND_ORES);
|
||||
tag(ORES_EMERALD).addTag(BlockTags.EMERALD_ORES);
|
||||
tag(ORES_GOLD).addTag(BlockTags.GOLD_ORES);
|
||||
tag(ORES_IRON).add(Blocks.IRON_ORE);
|
||||
tag(ORES_LAPIS).add(Blocks.LAPIS_ORE);
|
||||
tag(ORES_IRON).addTag(BlockTags.IRON_ORES);
|
||||
tag(ORES_LAPIS).addTag(BlockTags.LAPIS_ORES);
|
||||
tag(ORES_QUARTZ).add(Blocks.NETHER_QUARTZ_ORE);
|
||||
tag(ORES_REDSTONE).add(Blocks.REDSTONE_ORE);
|
||||
tag(ORES_REDSTONE).addTag(BlockTags.REDSTONE_ORES);
|
||||
tag(ORES_NETHERITE_SCRAP).add(Blocks.ANCIENT_DEBRIS);
|
||||
tag(ORES_IN_GROUND_DEEPSLATE).add(Blocks.DEEPSLATE_COAL_ORE, Blocks.DEEPSLATE_COPPER_ORE, Blocks.DEEPSLATE_DIAMOND_ORE, Blocks.DEEPSLATE_EMERALD_ORE, Blocks.DEEPSLATE_GOLD_ORE, Blocks.DEEPSLATE_IRON_ORE, Blocks.DEEPSLATE_LAPIS_ORE, Blocks.DEEPSLATE_REDSTONE_ORE);
|
||||
tag(ORES_IN_GROUND_NETHERRACK).add(Blocks.NETHER_GOLD_ORE, Blocks.NETHER_QUARTZ_ORE);
|
||||
tag(ORES_IN_GROUND_STONE).add(Blocks.COAL_ORE, Blocks.COPPER_ORE, Blocks.DIAMOND_ORE, Blocks.EMERALD_ORE, Blocks.GOLD_ORE, Blocks.IRON_ORE, Blocks.LAPIS_ORE, Blocks.REDSTONE_ORE);
|
||||
tag(SAND).addTags(SAND_COLORLESS, SAND_RED);
|
||||
tag(SAND_COLORLESS).add(Blocks.SAND);
|
||||
tag(SAND_RED).add(Blocks.RED_SAND);
|
||||
tag(SANDSTONE).add(Blocks.SANDSTONE, Blocks.CUT_SANDSTONE, Blocks.CHISELED_SANDSTONE, Blocks.SMOOTH_SANDSTONE, Blocks.RED_SANDSTONE, Blocks.CUT_RED_SANDSTONE, Blocks.CHISELED_RED_SANDSTONE, Blocks.SMOOTH_RED_SANDSTONE);
|
||||
tag(STONE).add(Blocks.ANDESITE, Blocks.DIORITE, Blocks.GRANITE, Blocks.INFESTED_STONE, Blocks.STONE, Blocks.POLISHED_ANDESITE, Blocks.POLISHED_DIORITE, Blocks.POLISHED_GRANITE);
|
||||
tag(STORAGE_BLOCKS).addTags(STORAGE_BLOCKS_COAL, STORAGE_BLOCKS_DIAMOND, STORAGE_BLOCKS_EMERALD, STORAGE_BLOCKS_GOLD, STORAGE_BLOCKS_IRON, STORAGE_BLOCKS_LAPIS, STORAGE_BLOCKS_QUARTZ, STORAGE_BLOCKS_REDSTONE, STORAGE_BLOCKS_NETHERITE);
|
||||
tag(STONE).add(Blocks.ANDESITE, Blocks.DIORITE, Blocks.GRANITE, Blocks.INFESTED_STONE, Blocks.STONE, Blocks.POLISHED_ANDESITE, Blocks.POLISHED_DIORITE, Blocks.POLISHED_GRANITE, Blocks.DEEPSLATE, Blocks.POLISHED_DEEPSLATE, Blocks.INFESTED_DEEPSLATE, Blocks.TUFF);
|
||||
tag(STORAGE_BLOCKS).addTags(STORAGE_BLOCKS_AMETHYST, STORAGE_BLOCKS_COAL, STORAGE_BLOCKS_COPPER, STORAGE_BLOCKS_DIAMOND, STORAGE_BLOCKS_EMERALD, STORAGE_BLOCKS_GOLD, STORAGE_BLOCKS_IRON, STORAGE_BLOCKS_LAPIS, STORAGE_BLOCKS_QUARTZ, STORAGE_BLOCKS_RAW_COPPER, STORAGE_BLOCKS_RAW_GOLD, STORAGE_BLOCKS_RAW_IRON, STORAGE_BLOCKS_REDSTONE, STORAGE_BLOCKS_NETHERITE);
|
||||
tag(STORAGE_BLOCKS_AMETHYST).add(Blocks.AMETHYST_BLOCK);
|
||||
tag(STORAGE_BLOCKS_COAL).add(Blocks.COAL_BLOCK);
|
||||
tag(STORAGE_BLOCKS_COPPER).add(Blocks.COPPER_BLOCK, Blocks.CUT_COPPER);
|
||||
tag(STORAGE_BLOCKS_DIAMOND).add(Blocks.DIAMOND_BLOCK);
|
||||
tag(STORAGE_BLOCKS_EMERALD).add(Blocks.EMERALD_BLOCK);
|
||||
tag(STORAGE_BLOCKS_GOLD).add(Blocks.GOLD_BLOCK);
|
||||
tag(STORAGE_BLOCKS_IRON).add(Blocks.IRON_BLOCK);
|
||||
tag(STORAGE_BLOCKS_LAPIS).add(Blocks.LAPIS_BLOCK);
|
||||
tag(STORAGE_BLOCKS_QUARTZ).add(Blocks.QUARTZ_BLOCK);
|
||||
tag(STORAGE_BLOCKS_RAW_COPPER).add(Blocks.RAW_COPPER_BLOCK);
|
||||
tag(STORAGE_BLOCKS_RAW_GOLD).add(Blocks.RAW_GOLD_BLOCK);
|
||||
tag(STORAGE_BLOCKS_RAW_IRON).add(Blocks.RAW_IRON_BLOCK);
|
||||
tag(STORAGE_BLOCKS_REDSTONE).add(Blocks.REDSTONE_BLOCK);
|
||||
tag(STORAGE_BLOCKS_NETHERITE).add(Blocks.NETHERITE_BLOCK);
|
||||
}
|
||||
|
||||
@@ -19,21 +19,21 @@
|
||||
|
||||
package net.minecraftforge.common.data;
|
||||
|
||||
import java.util.Locale;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.data.tags.BlockTagsProvider;
|
||||
import net.minecraft.data.DataGenerator;
|
||||
import net.minecraft.data.tags.BlockTagsProvider;
|
||||
import net.minecraft.data.tags.ItemTagsProvider;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.tags.Tag;
|
||||
import net.minecraft.world.item.DyeColor;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.item.Items;
|
||||
import net.minecraft.tags.Tag;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraftforge.common.Tags;
|
||||
import net.minecraftforge.registries.ForgeRegistries;
|
||||
|
||||
import java.util.Locale;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
public final class ForgeItemTagsProvider extends ItemTagsProvider
|
||||
{
|
||||
public ForgeItemTagsProvider(DataGenerator gen, BlockTagsProvider blockTagProvider, ExistingFileHelper existingFileHelper)
|
||||
@@ -75,21 +75,25 @@ public final class ForgeItemTagsProvider extends ItemTagsProvider
|
||||
copy(Tags.Blocks.FENCES, Tags.Items.FENCES);
|
||||
copy(Tags.Blocks.FENCES_NETHER_BRICK, Tags.Items.FENCES_NETHER_BRICK);
|
||||
copy(Tags.Blocks.FENCES_WOODEN, Tags.Items.FENCES_WOODEN);
|
||||
tag(Tags.Items.GEMS).addTags(Tags.Items.GEMS_DIAMOND, Tags.Items.GEMS_EMERALD, Tags.Items.GEMS_LAPIS, Tags.Items.GEMS_PRISMARINE, Tags.Items.GEMS_QUARTZ);
|
||||
tag(Tags.Items.GEMS).addTags(Tags.Items.GEMS_AMETHYST, Tags.Items.GEMS_DIAMOND, Tags.Items.GEMS_EMERALD, Tags.Items.GEMS_LAPIS, Tags.Items.GEMS_PRISMARINE, Tags.Items.GEMS_QUARTZ);
|
||||
tag(Tags.Items.GEMS_AMETHYST).add(Items.AMETHYST_SHARD);
|
||||
tag(Tags.Items.GEMS_DIAMOND).add(Items.DIAMOND);
|
||||
tag(Tags.Items.GEMS_EMERALD).add(Items.EMERALD);
|
||||
tag(Tags.Items.GEMS_LAPIS).add(Items.LAPIS_LAZULI);
|
||||
tag(Tags.Items.GEMS_PRISMARINE).add(Items.PRISMARINE_CRYSTALS);
|
||||
tag(Tags.Items.GEMS_QUARTZ).add(Items.QUARTZ);
|
||||
copy(Tags.Blocks.GLASS, Tags.Items.GLASS);
|
||||
copy(Tags.Blocks.GLASS_TINTED, Tags.Items.GLASS_TINTED);
|
||||
copy(Tags.Blocks.GLASS_SILICA, Tags.Items.GLASS_SILICA);
|
||||
copyColored(Tags.Blocks.GLASS, Tags.Items.GLASS);
|
||||
copy(Tags.Blocks.GLASS_PANES, Tags.Items.GLASS_PANES);
|
||||
copyColored(Tags.Blocks.GLASS_PANES, Tags.Items.GLASS_PANES);
|
||||
copy(Tags.Blocks.GRAVEL, Tags.Items.GRAVEL);
|
||||
tag(Tags.Items.GUNPOWDER).add(Items.GUNPOWDER);
|
||||
tag(Tags.Items.HEADS).add(Items.CREEPER_HEAD, Items.DRAGON_HEAD, Items.PLAYER_HEAD, Items.SKELETON_SKULL, Items.WITHER_SKELETON_SKULL, Items.ZOMBIE_HEAD);
|
||||
tag(Tags.Items.INGOTS).addTags(Tags.Items.INGOTS_IRON, Tags.Items.INGOTS_GOLD, Tags.Items.INGOTS_BRICK, Tags.Items.INGOTS_NETHER_BRICK, Tags.Items.INGOTS_NETHERITE);
|
||||
tag(Tags.Items.INGOTS).addTags(Tags.Items.INGOTS_BRICK, Tags.Items.INGOTS_COPPER, Tags.Items.INGOTS_GOLD, Tags.Items.INGOTS_IRON, Tags.Items.INGOTS_NETHERITE, Tags.Items.INGOTS_NETHER_BRICK);
|
||||
tag(Tags.Items.INGOTS_BRICK).add(Items.BRICK);
|
||||
tag(Tags.Items.INGOTS_COPPER).add(Items.COPPER_INGOT);
|
||||
tag(Tags.Items.INGOTS_GOLD).add(Items.GOLD_INGOT);
|
||||
tag(Tags.Items.INGOTS_IRON).add(Items.IRON_INGOT);
|
||||
tag(Tags.Items.INGOTS_NETHERITE).add(Items.NETHERITE_INGOT);
|
||||
@@ -102,8 +106,15 @@ public final class ForgeItemTagsProvider extends ItemTagsProvider
|
||||
tag(Tags.Items.NUGGETS_IRON).add(Items.IRON_NUGGET);
|
||||
tag(Tags.Items.NUGGETS_GOLD).add(Items.GOLD_NUGGET);
|
||||
copy(Tags.Blocks.OBSIDIAN, Tags.Items.OBSIDIAN);
|
||||
copy(Tags.Blocks.ORE_BEARING_GROUND_DEEPSLATE, Tags.Items.ORE_BEARING_GROUND_DEEPSLATE);
|
||||
copy(Tags.Blocks.ORE_BEARING_GROUND_NETHERRACK, Tags.Items.ORE_BEARING_GROUND_NETHERRACK);
|
||||
copy(Tags.Blocks.ORE_BEARING_GROUND_STONE, Tags.Items.ORE_BEARING_GROUND_STONE);
|
||||
copy(Tags.Blocks.ORE_RATES_DENSE, Tags.Items.ORE_RATES_DENSE);
|
||||
copy(Tags.Blocks.ORE_RATES_SINGULAR, Tags.Items.ORE_RATES_SINGULAR);
|
||||
copy(Tags.Blocks.ORE_RATES_SPARSE, Tags.Items.ORE_RATES_SPARSE);
|
||||
copy(Tags.Blocks.ORES, Tags.Items.ORES);
|
||||
copy(Tags.Blocks.ORES_COAL, Tags.Items.ORES_COAL);
|
||||
copy(Tags.Blocks.ORES_COPPER, Tags.Items.ORES_COPPER);
|
||||
copy(Tags.Blocks.ORES_DIAMOND, Tags.Items.ORES_DIAMOND);
|
||||
copy(Tags.Blocks.ORES_EMERALD, Tags.Items.ORES_EMERALD);
|
||||
copy(Tags.Blocks.ORES_GOLD, Tags.Items.ORES_GOLD);
|
||||
@@ -112,6 +123,13 @@ public final class ForgeItemTagsProvider extends ItemTagsProvider
|
||||
copy(Tags.Blocks.ORES_QUARTZ, Tags.Items.ORES_QUARTZ);
|
||||
copy(Tags.Blocks.ORES_REDSTONE, Tags.Items.ORES_REDSTONE);
|
||||
copy(Tags.Blocks.ORES_NETHERITE_SCRAP, Tags.Items.ORES_NETHERITE_SCRAP);
|
||||
copy(Tags.Blocks.ORES_IN_GROUND_DEEPSLATE, Tags.Items.ORES_IN_GROUND_DEEPSLATE);
|
||||
copy(Tags.Blocks.ORES_IN_GROUND_NETHERRACK, Tags.Items.ORES_IN_GROUND_NETHERRACK);
|
||||
copy(Tags.Blocks.ORES_IN_GROUND_STONE, Tags.Items.ORES_IN_GROUND_STONE);
|
||||
tag(Tags.Items.RAW_MATERIALS).addTags(Tags.Items.RAW_MATERIALS_COPPER, Tags.Items.RAW_MATERIALS_GOLD, Tags.Items.RAW_MATERIALS_IRON);
|
||||
tag(Tags.Items.RAW_MATERIALS_COPPER).add(Items.RAW_COPPER);
|
||||
tag(Tags.Items.RAW_MATERIALS_GOLD).add(Items.RAW_GOLD);
|
||||
tag(Tags.Items.RAW_MATERIALS_IRON).add(Items.RAW_IRON);
|
||||
tag(Tags.Items.RODS).addTags(Tags.Items.RODS_BLAZE, Tags.Items.RODS_WOODEN);
|
||||
tag(Tags.Items.RODS_BLAZE).add(Items.BLAZE_ROD);
|
||||
tag(Tags.Items.RODS_WOODEN).add(Items.STICK);
|
||||
@@ -130,7 +148,9 @@ public final class ForgeItemTagsProvider extends ItemTagsProvider
|
||||
copy(Tags.Blocks.STAINED_GLASS_PANES, Tags.Items.STAINED_GLASS_PANES);
|
||||
copy(Tags.Blocks.STONE, Tags.Items.STONE);
|
||||
copy(Tags.Blocks.STORAGE_BLOCKS, Tags.Items.STORAGE_BLOCKS);
|
||||
copy(Tags.Blocks.STORAGE_BLOCKS_AMETHYST, Tags.Items.STORAGE_BLOCKS_AMETHYST);
|
||||
copy(Tags.Blocks.STORAGE_BLOCKS_COAL, Tags.Items.STORAGE_BLOCKS_COAL);
|
||||
copy(Tags.Blocks.STORAGE_BLOCKS_COPPER, Tags.Items.STORAGE_BLOCKS_COPPER);
|
||||
copy(Tags.Blocks.STORAGE_BLOCKS_DIAMOND, Tags.Items.STORAGE_BLOCKS_DIAMOND);
|
||||
copy(Tags.Blocks.STORAGE_BLOCKS_EMERALD, Tags.Items.STORAGE_BLOCKS_EMERALD);
|
||||
copy(Tags.Blocks.STORAGE_BLOCKS_GOLD, Tags.Items.STORAGE_BLOCKS_GOLD);
|
||||
@@ -138,6 +158,9 @@ public final class ForgeItemTagsProvider extends ItemTagsProvider
|
||||
copy(Tags.Blocks.STORAGE_BLOCKS_LAPIS, Tags.Items.STORAGE_BLOCKS_LAPIS);
|
||||
copy(Tags.Blocks.STORAGE_BLOCKS_QUARTZ, Tags.Items.STORAGE_BLOCKS_QUARTZ);
|
||||
copy(Tags.Blocks.STORAGE_BLOCKS_REDSTONE, Tags.Items.STORAGE_BLOCKS_REDSTONE);
|
||||
copy(Tags.Blocks.STORAGE_BLOCKS_RAW_COPPER, Tags.Items.STORAGE_BLOCKS_RAW_COPPER);
|
||||
copy(Tags.Blocks.STORAGE_BLOCKS_RAW_GOLD, Tags.Items.STORAGE_BLOCKS_RAW_GOLD);
|
||||
copy(Tags.Blocks.STORAGE_BLOCKS_RAW_IRON, Tags.Items.STORAGE_BLOCKS_RAW_IRON);
|
||||
copy(Tags.Blocks.STORAGE_BLOCKS_NETHERITE, Tags.Items.STORAGE_BLOCKS_NETHERITE);
|
||||
tag(Tags.Items.STRING).add(Items.STRING);
|
||||
}
|
||||
|
||||
@@ -19,37 +19,31 @@
|
||||
|
||||
package net.minecraftforge.common.data;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.nio.file.Path;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import com.google.gson.JsonObject;
|
||||
|
||||
import net.minecraft.world.level.block.Blocks;
|
||||
import net.minecraft.data.DataGenerator;
|
||||
import net.minecraft.data.HashCache;
|
||||
import net.minecraft.data.recipes.FinishedRecipe;
|
||||
import net.minecraft.data.recipes.RecipeProvider;
|
||||
import net.minecraft.data.recipes.ShapedRecipeBuilder;
|
||||
import net.minecraft.data.recipes.ShapelessRecipeBuilder;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.tags.Tag;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.Items;
|
||||
import net.minecraft.world.item.crafting.Ingredient;
|
||||
import net.minecraft.world.item.crafting.Ingredient.Value;
|
||||
import net.minecraft.world.item.crafting.Ingredient.TagValue;
|
||||
import net.minecraft.world.item.crafting.Ingredient.ItemValue;
|
||||
import net.minecraft.tags.Tag;
|
||||
import net.minecraft.world.item.crafting.Ingredient.TagValue;
|
||||
import net.minecraft.world.item.crafting.Ingredient.Value;
|
||||
import net.minecraft.world.level.ItemLike;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.world.level.block.Blocks;
|
||||
import net.minecraftforge.common.Tags;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.nio.file.Path;
|
||||
import java.util.*;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
public final class ForgeRecipeProvider extends RecipeProvider
|
||||
{
|
||||
private Map<Item, Tag<Item>> replacements = new HashMap<>();
|
||||
@@ -77,6 +71,8 @@ public final class ForgeRecipeProvider extends RecipeProvider
|
||||
replace(Items.GOLD_INGOT, Tags.Items.INGOTS_GOLD);
|
||||
replace(Items.IRON_INGOT, Tags.Items.INGOTS_IRON);
|
||||
replace(Items.NETHERITE_INGOT, Tags.Items.INGOTS_NETHERITE);
|
||||
replace(Items.COPPER_INGOT, Tags.Items.INGOTS_COPPER);
|
||||
replace(Items.AMETHYST_SHARD, Tags.Items.GEMS_AMETHYST);
|
||||
replace(Items.DIAMOND, Tags.Items.GEMS_DIAMOND);
|
||||
replace(Items.EMERALD, Tags.Items.GEMS_EMERALD);
|
||||
replace(Items.CHEST, Tags.Items.CHESTS_WOODEN);
|
||||
@@ -89,10 +85,15 @@ public final class ForgeRecipeProvider extends RecipeProvider
|
||||
exclude(Blocks.DIAMOND_BLOCK);
|
||||
exclude(Blocks.EMERALD_BLOCK);
|
||||
exclude(Blocks.NETHERITE_BLOCK);
|
||||
exclude(Blocks.COPPER_BLOCK);
|
||||
exclude(Blocks.AMETHYST_BLOCK);
|
||||
|
||||
exclude(Blocks.COBBLESTONE_STAIRS);
|
||||
exclude(Blocks.COBBLESTONE_SLAB);
|
||||
exclude(Blocks.COBBLESTONE_WALL);
|
||||
exclude(Blocks.COBBLED_DEEPSLATE_STAIRS);
|
||||
exclude(Blocks.COBBLED_DEEPSLATE_SLAB);
|
||||
exclude(Blocks.COBBLED_DEEPSLATE_WALL);
|
||||
|
||||
super.buildCraftingRecipes(vanilla -> {
|
||||
FinishedRecipe modified = enhance(vanilla);
|
||||
|
||||
Reference in new issue
Block a user