From a463a301ab666709848552219897433891d5f029 Mon Sep 17 00:00:00 2001 From: Jeff Shipley Date: Fri, 11 Oct 2024 19:12:03 -0600 Subject: [PATCH] Add oven as a Farmer's Delight heat source. Close #96 --- .../.cache/9c93d98e764faf9e6b3a9f796e820b558c226b9f | 3 ++- .../data/farmersdelight/tags/block/heat_sources.json | 5 +++++ .../datagen/provider/server/ModBlockTagProvider.java | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 common/src/main/generated/resources/data/farmersdelight/tags/block/heat_sources.json diff --git a/common/src/main/generated/resources/.cache/9c93d98e764faf9e6b3a9f796e820b558c226b9f b/common/src/main/generated/resources/.cache/9c93d98e764faf9e6b3a9f796e820b558c226b9f index 6a648f8c..09a05ffb 100644 --- a/common/src/main/generated/resources/.cache/9c93d98e764faf9e6b3a9f796e820b558c226b9f +++ b/common/src/main/generated/resources/.cache/9c93d98e764faf9e6b3a9f796e820b558c226b9f @@ -1,4 +1,4 @@ -// 1.21.1 2024-08-11T00:28:41.648676 Tags for minecraft:block mod id handcrafted +// 1.21.1 2024-10-11T18:41:20.20699959 Tags for minecraft:block mod id handcrafted 405166136525f6bddc8620260bb0e639e9e7ac1c data/c/tags/block/dyed/black.json 7ce3cdb9816bcc547ebb098775d35dd6422bb75e data/c/tags/block/dyed/blue.json 7bbbe3959ea94e64798348375e384a81979390e1 data/c/tags/block/dyed/brown.json @@ -15,6 +15,7 @@ b96c13f9baf2201cbfd9cf7738266e4baa2679df data/c/tags/block/dyed/purple.json d9a8259d3f31b0549714749d878b5f64168d375e data/c/tags/block/dyed/red.json 314f60ba0fcccfe3b6026be315573056cc109237 data/c/tags/block/dyed/white.json 9fe536553918ba267783727e1c51217e8173bf43 data/c/tags/block/dyed/yellow.json +1f2cec63f7a8aa181b70aafe1a594322730ca004 data/farmersdelight/tags/block/heat_sources.json 148d9202ace672cfdf451a46397702b32fab9450 data/handcrafted/tags/block/benches.json 3662d7ac15380cec631c2eb872b6cbbb69072d62 data/handcrafted/tags/block/bowls.json d23ee811738879d0b22d489c76f6947f6b0ccf40 data/handcrafted/tags/block/chairs.json diff --git a/common/src/main/generated/resources/data/farmersdelight/tags/block/heat_sources.json b/common/src/main/generated/resources/data/farmersdelight/tags/block/heat_sources.json new file mode 100644 index 00000000..ebb3d979 --- /dev/null +++ b/common/src/main/generated/resources/data/farmersdelight/tags/block/heat_sources.json @@ -0,0 +1,5 @@ +{ + "values": [ + "handcrafted:oven" + ] +} \ No newline at end of file diff --git a/neoforge/src/main/java/earth/terrarium/handcrafted/datagen/provider/server/ModBlockTagProvider.java b/neoforge/src/main/java/earth/terrarium/handcrafted/datagen/provider/server/ModBlockTagProvider.java index 69df469d..ea75e25d 100644 --- a/neoforge/src/main/java/earth/terrarium/handcrafted/datagen/provider/server/ModBlockTagProvider.java +++ b/neoforge/src/main/java/earth/terrarium/handcrafted/datagen/provider/server/ModBlockTagProvider.java @@ -83,6 +83,8 @@ protected void addTags(HolderLookup.@NotNull Provider provider) { tag(Tags.Blocks.DYED_RED).add(TagEntry.element(ModBlocks.RED_CUSHION.getId())); tag(Tags.Blocks.DYED_WHITE).add(TagEntry.element(ModBlocks.WHITE_CUSHION.getId())); tag(Tags.Blocks.DYED_YELLOW).add(TagEntry.element(ModBlocks.YELLOW_CUSHION.getId())); + + tag(TagKey.create(Registries.BLOCK, ResourceLocation.fromNamespaceAndPath("farmersdelight", "heat_sources"))).add(TagEntry.element(ModBlocks.OVEN.getId())); } private void addMineableTags() {