mirror of
https://github.com/FabricMC/fabric.git
synced 2025-02-26 16:35:15 -05:00
Add c:shields convention tag (#2727)
* add shield tag
* regenerata data
Co-authored-by: itsmiir <itsmiir@users.noreply.github.com>
(cherry picked from commit 8e4e694f3d
)
This commit is contained in:
parent
b0bc9a679c
commit
27265b3409
3 changed files with 9 additions and 0 deletions
|
@ -310,6 +310,8 @@ public class ItemTagGenerator extends FabricTagProvider.ItemTagProvider {
|
|||
getOrCreateTagBuilder(ConventionalItemTags.BOWS)
|
||||
.add(Items.CROSSBOW)
|
||||
.add(Items.BOW);
|
||||
getOrCreateTagBuilder(ConventionalItemTags.SHIELDS)
|
||||
.add(Items.SHIELD);
|
||||
}
|
||||
|
||||
private static Identifier createFabricId(String id) {
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"minecraft:shield"
|
||||
]
|
||||
}
|
|
@ -41,6 +41,7 @@ public final class ConventionalItemTags {
|
|||
public static final TagKey<Item> SPEARS = register("spears");
|
||||
public static final TagKey<Item> SWORDS = register("swords");
|
||||
public static final TagKey<Item> BOWS = register("bows");
|
||||
public static final TagKey<Item> SHIELDS = register("shields");
|
||||
// Ores and ingots
|
||||
public static final TagKey<Item> IRON_INGOTS = register("iron_ingots");
|
||||
public static final TagKey<Item> RAW_IRON_ORES = register("raw_iron_ores");
|
||||
|
|
Loading…
Reference in a new issue