From d9c6bee9c1429666d26bbb6b89cd6f238a94c1a5 Mon Sep 17 00:00:00 2001 From: direwolf20 <39863894+Direwolf20-MC@users.noreply.github.com> Date: Sun, 18 Aug 2024 17:30:25 -0400 Subject: [PATCH] Add tags for Filters for #286 --- .../.cache/2c28ab5af8cf4216d700c0a22ed2d3599a2dc96d | 3 ++- .../.cache/4cf32af2ec4a8dd31b9375f1443e6ccfbff638ab | 2 +- .../.cache/59eb3dbb5f86130e09b3c62d89b9525ee01cf52d | 2 +- .../.cache/6672149f320853979c6d19def310069c944adc80 | 2 +- .../.cache/708c58c74005454a81c29936fbb33cb30602eb59 | 2 +- .../.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e | 2 +- .../.cache/a48b1c9816c34b0df16ee17eb3e5147527f9277d | 2 +- .../resources/data/laserio/tags/item/filters.json | 9 +++++++++ .../com/direwolf20/laserio/datagen/LaserIOItemTags.java | 9 +++++++++ 9 files changed, 26 insertions(+), 7 deletions(-) create mode 100644 src/generated/resources/data/laserio/tags/item/filters.json diff --git a/src/generated/resources/.cache/2c28ab5af8cf4216d700c0a22ed2d3599a2dc96d b/src/generated/resources/.cache/2c28ab5af8cf4216d700c0a22ed2d3599a2dc96d index edd94b05..3d883e36 100644 --- a/src/generated/resources/.cache/2c28ab5af8cf4216d700c0a22ed2d3599a2dc96d +++ b/src/generated/resources/.cache/2c28ab5af8cf4216d700c0a22ed2d3599a2dc96d @@ -1,3 +1,4 @@ -// 1.21 2024-06-19T13:01:23.0452301 LaserIO Item Tags +// 1.21.1 2024-08-18T17:29:13.4737966 LaserIO Item Tags 82b9a7dae6ddacedd44e7762b68ca8e0594f1c01 data/c/tags/item/tools/wrench.json 82b9a7dae6ddacedd44e7762b68ca8e0594f1c01 data/c/tags/item/wrenches.json +fe233e1d1b6d29c99e4e7f9ec5de223dd17076de data/laserio/tags/item/filters.json diff --git a/src/generated/resources/.cache/4cf32af2ec4a8dd31b9375f1443e6ccfbff638ab b/src/generated/resources/.cache/4cf32af2ec4a8dd31b9375f1443e6ccfbff638ab index bc5ddc55..bfa4d29a 100644 --- a/src/generated/resources/.cache/4cf32af2ec4a8dd31b9375f1443e6ccfbff638ab +++ b/src/generated/resources/.cache/4cf32af2ec4a8dd31b9375f1443e6ccfbff638ab @@ -1,2 +1,2 @@ -// 1.21 2024-08-04T13:44:14.7251544 Languages: en_us for mod: laserio +// 1.21.1 2024-08-18T17:29:13.4747969 Languages: en_us for mod: laserio 85b7b822654083ab1c8be08c584bb15e38a364a0 assets/laserio/lang/en_us.json diff --git a/src/generated/resources/.cache/59eb3dbb5f86130e09b3c62d89b9525ee01cf52d b/src/generated/resources/.cache/59eb3dbb5f86130e09b3c62d89b9525ee01cf52d index 0e89b785..f8e644aa 100644 --- a/src/generated/resources/.cache/59eb3dbb5f86130e09b3c62d89b9525ee01cf52d +++ b/src/generated/resources/.cache/59eb3dbb5f86130e09b3c62d89b9525ee01cf52d @@ -1,4 +1,4 @@ -// 1.21 2024-06-19T13:01:23.0467312 Loot Tables +// 1.21.1 2024-08-18T17:29:13.475297 Loot Tables c5726937d6920d471a92b3b78bc18928c3075f2a data/laserio/loot_table/blocks/laser_connector.json f12657c7a130011834944b79a82f612b9a7c2969 data/laserio/loot_table/blocks/laser_connector_advanced.json 36898cfead2a1119ea9c15f8c84710a5eee0762d data/laserio/loot_table/blocks/laser_node.json diff --git a/src/generated/resources/.cache/6672149f320853979c6d19def310069c944adc80 b/src/generated/resources/.cache/6672149f320853979c6d19def310069c944adc80 index 9702500e..2842c7f6 100644 --- a/src/generated/resources/.cache/6672149f320853979c6d19def310069c944adc80 +++ b/src/generated/resources/.cache/6672149f320853979c6d19def310069c944adc80 @@ -1,4 +1,4 @@ -// 1.21 2024-06-19T13:01:23.0457306 Item Models: laserio +// 1.21.1 2024-08-18T17:29:13.4742968 Item Models: laserio 7e73cb282b46a70b1f5087d60802c8011e1f1f3b assets/laserio/models/item/card_cloner.json 52e0efd1f22b88ec99436633dce050d27b229fc1 assets/laserio/models/item/card_holder.json e437c48fed9e84ae9f2efcc79fae92735ab6b2eb assets/laserio/models/item/filter_basic.json diff --git a/src/generated/resources/.cache/708c58c74005454a81c29936fbb33cb30602eb59 b/src/generated/resources/.cache/708c58c74005454a81c29936fbb33cb30602eb59 index 3a6f671b..4ead07b7 100644 --- a/src/generated/resources/.cache/708c58c74005454a81c29936fbb33cb30602eb59 +++ b/src/generated/resources/.cache/708c58c74005454a81c29936fbb33cb30602eb59 @@ -1,2 +1,2 @@ -// 1.21 2024-06-19T13:01:23.0437293 LaserIO Tags +// 1.21.1 2024-08-18T17:29:13.472295 LaserIO Tags 7f05d88fd7507637835354bcacc306dd87166efe data/minecraft/tags/block/mineable/pickaxe.json diff --git a/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e b/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e index ca0e7868..864d1c6c 100644 --- a/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e +++ b/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e @@ -1,4 +1,4 @@ -// 1.21 2024-07-24T18:58:34.073988 Recipes +// 1.21.1 2024-08-18T17:29:13.4757978 Recipes 2bfe7ae02c3b8f3e2ba4b4b230cd9138a3716e05 data/laserio/advancement/recipes/misc/card_chemical.json 731ad1bf1e8f5267014620275e52cef2e50da371 data/laserio/advancement/recipes/misc/card_chemical_nbtclear.json 7ef2ab2b3bae7b8e07e3a805c87c11c2f9b1ec26 data/laserio/advancement/recipes/misc/card_cloner.json diff --git a/src/generated/resources/.cache/a48b1c9816c34b0df16ee17eb3e5147527f9277d b/src/generated/resources/.cache/a48b1c9816c34b0df16ee17eb3e5147527f9277d index 836a1bfe..29bf45c6 100644 --- a/src/generated/resources/.cache/a48b1c9816c34b0df16ee17eb3e5147527f9277d +++ b/src/generated/resources/.cache/a48b1c9816c34b0df16ee17eb3e5147527f9277d @@ -1 +1 @@ -// 1.21 2024-06-19T13:01:23.0482327 Block States: laserio +// 1.21.1 2024-08-18T17:29:13.477299 Block States: laserio diff --git a/src/generated/resources/data/laserio/tags/item/filters.json b/src/generated/resources/data/laserio/tags/item/filters.json new file mode 100644 index 00000000..504282f5 --- /dev/null +++ b/src/generated/resources/data/laserio/tags/item/filters.json @@ -0,0 +1,9 @@ +{ + "values": [ + "laserio:filter_basic", + "laserio:filter_count", + "laserio:filter_tag", + "laserio:filter_mod", + "laserio:filter_nbt" + ] +} \ No newline at end of file diff --git a/src/main/java/com/direwolf20/laserio/datagen/LaserIOItemTags.java b/src/main/java/com/direwolf20/laserio/datagen/LaserIOItemTags.java index 61019b0b..1aa62493 100644 --- a/src/main/java/com/direwolf20/laserio/datagen/LaserIOItemTags.java +++ b/src/main/java/com/direwolf20/laserio/datagen/LaserIOItemTags.java @@ -19,6 +19,9 @@ public class LaserIOItemTags extends ItemTagsProvider { public static final TagKey TOOLS_WRENCH = forgeTag("tools/wrench"); public static final TagKey CIRCUITS_BASIC = forgeTag("circuits/basic"); + public static final TagKey FILTERS_TAG = ItemTags.create(ResourceLocation.fromNamespaceAndPath(LaserIO.MODID, "filters")); + + private static TagKey forgeTag(String name) { return ItemTags.create(ResourceLocation.fromNamespaceAndPath("c", name)); } @@ -33,6 +36,12 @@ protected void addTags(HolderLookup.Provider provider) { .add(Registration.Laser_Wrench.get()); tag(TOOLS_WRENCH) .add(Registration.Laser_Wrench.get()); + tag(FILTERS_TAG) + .add(Registration.Filter_Basic.get()) + .add(Registration.Filter_Count.get()) + .add(Registration.Filter_Tag.get()) + .add(Registration.Filter_Mod.get()) + .add(Registration.Filter_NBT.get()); } @Override