Skip to content

Commit 042cdd2

Browse files
committed
Add 1.17.1 tags
1 parent fd0275d commit 042cdd2

File tree

3 files changed

+104
-0
lines changed

3 files changed

+104
-0
lines changed

src/main/java/org/spongepowered/api/tag/BlockTypeTags.java

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,22 @@ public final class BlockTypeTags {
6767

6868
public static final DefaultedRegistryReference<Tag<BlockType>> CAMPFIRES = BlockTypeTags.key(ResourceKey.minecraft("campfires"));
6969

70+
public static final DefaultedRegistryReference<Tag<BlockType>> CANDLE_CAKES = BlockTypeTags.key(ResourceKey.minecraft("candle_cakes"));
71+
72+
public static final DefaultedRegistryReference<Tag<BlockType>> CANDLES = BlockTypeTags.key(ResourceKey.minecraft("candles"));
73+
7074
public static final DefaultedRegistryReference<Tag<BlockType>> CARPETS = BlockTypeTags.key(ResourceKey.minecraft("carpets"));
7175

76+
public static final DefaultedRegistryReference<Tag<BlockType>> CAULDRONS = BlockTypeTags.key(ResourceKey.minecraft("cauldrons"));
77+
78+
public static final DefaultedRegistryReference<Tag<BlockType>> CAVE_VINES = BlockTypeTags.key(ResourceKey.minecraft("cave_vines"));
79+
7280
public static final DefaultedRegistryReference<Tag<BlockType>> CLIMBABLE = BlockTypeTags.key(ResourceKey.minecraft("climbable"));
7381

82+
public static final DefaultedRegistryReference<Tag<BlockType>> COAL_ORES = BlockTypeTags.key(ResourceKey.minecraft("coal_ores"));
83+
84+
public static final DefaultedRegistryReference<Tag<BlockType>> COPPER_ORES = BlockTypeTags.key(ResourceKey.minecraft("copper_ores"));
85+
7486
public static final DefaultedRegistryReference<Tag<BlockType>> CORAL_BLOCKS = BlockTypeTags.key(ResourceKey.minecraft("coral_blocks"));
7587

7688
public static final DefaultedRegistryReference<Tag<BlockType>> CORAL_PLANTS = BlockTypeTags.key(ResourceKey.minecraft("coral_plants"));
@@ -81,14 +93,28 @@ public final class BlockTypeTags {
8193

8294
public static final DefaultedRegistryReference<Tag<BlockType>> CROPS = BlockTypeTags.key(ResourceKey.minecraft("crops"));
8395

96+
public static final DefaultedRegistryReference<Tag<BlockType>> CRYSTAL_SOUND_BLOCKS = BlockTypeTags.key(ResourceKey.minecraft("crystal_sound_blocks"));
97+
8498
public static final DefaultedRegistryReference<Tag<BlockType>> DARK_OAK_LOGS = BlockTypeTags.key(ResourceKey.minecraft("dark_oak_logs"));
8599

100+
public static final DefaultedRegistryReference<Tag<BlockType>> DEEPSLATE_ORE_REPLACEABLES = BlockTypeTags.key(ResourceKey.minecraft("deepslate_ore_replaceables"));
101+
102+
public static final DefaultedRegistryReference<Tag<BlockType>> DIAMOND_ORES = BlockTypeTags.key(ResourceKey.minecraft("diamond_ores"));
103+
104+
public static final DefaultedRegistryReference<Tag<BlockType>> DIRT = BlockTypeTags.key(ResourceKey.minecraft("dirt"));
105+
86106
public static final DefaultedRegistryReference<Tag<BlockType>> DOORS = BlockTypeTags.key(ResourceKey.minecraft("doors"));
87107

88108
public static final DefaultedRegistryReference<Tag<BlockType>> DRAGON_IMMUNE = BlockTypeTags.key(ResourceKey.minecraft("dragon_immune"));
89109

110+
public static final DefaultedRegistryReference<Tag<BlockType>> DRIPSTONE_REPLACEABLE_BLOCKS = BlockTypeTags.key(ResourceKey.minecraft("dripstone_replaceable_blocks"));
111+
112+
public static final DefaultedRegistryReference<Tag<BlockType>> EMERALD_ORES = BlockTypeTags.key(ResourceKey.minecraft("emerald_ores"));
113+
90114
public static final DefaultedRegistryReference<Tag<BlockType>> ENDERMAN_HOLDABLE = BlockTypeTags.key(ResourceKey.minecraft("enderman_holdable"));
91115

116+
public static final DefaultedRegistryReference<Tag<BlockType>> FEATURES_CANNOT_REPLACE = BlockTypeTags.key(ResourceKey.minecraft("features_cannot_replace"));
117+
92118
public static final DefaultedRegistryReference<Tag<BlockType>> FENCE_GATES = BlockTypeTags.key(ResourceKey.minecraft("fence_gates"));
93119

94120
public static final DefaultedRegistryReference<Tag<BlockType>> FENCES = BlockTypeTags.key(ResourceKey.minecraft("fences"));
@@ -99,6 +125,8 @@ public final class BlockTypeTags {
99125

100126
public static final DefaultedRegistryReference<Tag<BlockType>> FLOWERS = BlockTypeTags.key(ResourceKey.minecraft("flowers"));
101127

128+
public static final DefaultedRegistryReference<Tag<BlockType>> GEODE_INVALID_BLOCKS = BlockTypeTags.key(ResourceKey.minecraft("geode_invalid_blocks"));
129+
102130
public static final DefaultedRegistryReference<Tag<BlockType>> GOLD_ORES = BlockTypeTags.key(ResourceKey.minecraft("gold_ores"));
103131

104132
public static final DefaultedRegistryReference<Tag<BlockType>> GUARDED_BY_PIGLINS = BlockTypeTags.key(ResourceKey.minecraft("guarded_by_piglins"));
@@ -115,22 +143,50 @@ public final class BlockTypeTags {
115143

116144
public static final DefaultedRegistryReference<Tag<BlockType>> INFINIBURN_OVERWORLD = BlockTypeTags.key(ResourceKey.minecraft("infiniburn_overworld"));
117145

146+
public static final DefaultedRegistryReference<Tag<BlockType>> INSIDE_STEP_SOUND_BLOCKS = BlockTypeTags.key(ResourceKey.minecraft("inside_step_sound_blocks"));
147+
148+
public static final DefaultedRegistryReference<Tag<BlockType>> IRON_ORES = BlockTypeTags.key(ResourceKey.minecraft("iron_ores"));
149+
118150
public static final DefaultedRegistryReference<Tag<BlockType>> JUNGLE_LOGS = BlockTypeTags.key(ResourceKey.minecraft("jungle_logs"));
119151

152+
public static final DefaultedRegistryReference<Tag<BlockType>> LAPIS_ORES = BlockTypeTags.key(ResourceKey.minecraft("lapis_ores"));
153+
154+
public static final DefaultedRegistryReference<Tag<BlockType>> LAVA_POOL_STONE_REPLACEABLES = BlockTypeTags.key(ResourceKey.minecraft("lava_pool_stone_replaceables"));
155+
120156
public static final DefaultedRegistryReference<Tag<BlockType>> LEAVES = BlockTypeTags.key(ResourceKey.minecraft("leaves"));
121157

122158
public static final DefaultedRegistryReference<Tag<BlockType>> LOGS = BlockTypeTags.key(ResourceKey.minecraft("logs"));
123159

124160
public static final DefaultedRegistryReference<Tag<BlockType>> LOGS_THAT_BURN = BlockTypeTags.key(ResourceKey.minecraft("logs_that_burn"));
125161

162+
public static final DefaultedRegistryReference<Tag<BlockType>> LUSH_GROUND_REPLACEABLE = BlockTypeTags.key(ResourceKey.minecraft("lush_ground_replaceable"));
163+
164+
public static final DefaultedRegistryReference<Tag<BlockType>> MINEABLE_AXE = BlockTypeTags.key(ResourceKey.minecraft("mineable/axe"));
165+
166+
public static final DefaultedRegistryReference<Tag<BlockType>> MINEABLE_HOE = BlockTypeTags.key(ResourceKey.minecraft("mineable/hoe"));
167+
168+
public static final DefaultedRegistryReference<Tag<BlockType>> MINEABLE_PICKAXE = BlockTypeTags.key(ResourceKey.minecraft("mineable/pickaxe"));
169+
170+
public static final DefaultedRegistryReference<Tag<BlockType>> MINEABLE_SHOVEL = BlockTypeTags.key(ResourceKey.minecraft("mineable/shovel"));
171+
172+
public static final DefaultedRegistryReference<Tag<BlockType>> MOSS_REPLACEABLE = BlockTypeTags.key(ResourceKey.minecraft("moss_replaceable"));
173+
126174
public static final DefaultedRegistryReference<Tag<BlockType>> MUSHROOM_GROW_BLOCK = BlockTypeTags.key(ResourceKey.minecraft("mushroom_grow_block"));
127175

176+
public static final DefaultedRegistryReference<Tag<BlockType>> NEEDS_DIAMOND_TOOL = BlockTypeTags.key(ResourceKey.minecraft("needs_diamond_tool"));
177+
178+
public static final DefaultedRegistryReference<Tag<BlockType>> NEEDS_IRON_TOOL = BlockTypeTags.key(ResourceKey.minecraft("needs_iron_tool"));
179+
180+
public static final DefaultedRegistryReference<Tag<BlockType>> NEEDS_STONE_TOOL = BlockTypeTags.key(ResourceKey.minecraft("needs_stone_tool"));
181+
128182
public static final DefaultedRegistryReference<Tag<BlockType>> NON_FLAMMABLE_WOOD = BlockTypeTags.key(ResourceKey.minecraft("non_flammable_wood"));
129183

130184
public static final DefaultedRegistryReference<Tag<BlockType>> NYLIUM = BlockTypeTags.key(ResourceKey.minecraft("nylium"));
131185

132186
public static final DefaultedRegistryReference<Tag<BlockType>> OAK_LOGS = BlockTypeTags.key(ResourceKey.minecraft("oak_logs"));
133187

188+
public static final DefaultedRegistryReference<Tag<BlockType>> OCCLUDES_VIBRATION_SIGNALS = BlockTypeTags.key(ResourceKey.minecraft("occludes_vibration_signals"));
189+
134190
public static final DefaultedRegistryReference<Tag<BlockType>> PIGLIN_REPELLENTS = BlockTypeTags.key(ResourceKey.minecraft("piglin_repellents"));
135191

136192
public static final DefaultedRegistryReference<Tag<BlockType>> PLANKS = BlockTypeTags.key(ResourceKey.minecraft("planks"));
@@ -143,6 +199,8 @@ public final class BlockTypeTags {
143199

144200
public static final DefaultedRegistryReference<Tag<BlockType>> RAILS = BlockTypeTags.key(ResourceKey.minecraft("rails"));
145201

202+
public static final DefaultedRegistryReference<Tag<BlockType>> REDSTONE_ORES = BlockTypeTags.key(ResourceKey.minecraft("redstone_ores"));
203+
146204
public static final DefaultedRegistryReference<Tag<BlockType>> SAND = BlockTypeTags.key(ResourceKey.minecraft("sand"));
147205

148206
public static final DefaultedRegistryReference<Tag<BlockType>> SAPLINGS = BlockTypeTags.key(ResourceKey.minecraft("saplings"));
@@ -153,8 +211,12 @@ public final class BlockTypeTags {
153211

154212
public static final DefaultedRegistryReference<Tag<BlockType>> SLABS = BlockTypeTags.key(ResourceKey.minecraft("slabs"));
155213

214+
public static final DefaultedRegistryReference<Tag<BlockType>> SMALL_DRIPLEAF_PLACEABLE = BlockTypeTags.key(ResourceKey.minecraft("small_dripleaf_placeable"));
215+
156216
public static final DefaultedRegistryReference<Tag<BlockType>> SMALL_FLOWERS = BlockTypeTags.key(ResourceKey.minecraft("small_flowers"));
157217

218+
public static final DefaultedRegistryReference<Tag<BlockType>> SNOW = BlockTypeTags.key(ResourceKey.minecraft("snow"));
219+
158220
public static final DefaultedRegistryReference<Tag<BlockType>> SOUL_FIRE_BASE_BLOCKS = BlockTypeTags.key(ResourceKey.minecraft("soul_fire_base_blocks"));
159221

160222
public static final DefaultedRegistryReference<Tag<BlockType>> SOUL_SPEED_BLOCKS = BlockTypeTags.key(ResourceKey.minecraft("soul_speed_blocks"));
@@ -167,6 +229,8 @@ public final class BlockTypeTags {
167229

168230
public static final DefaultedRegistryReference<Tag<BlockType>> STONE_BRICKS = BlockTypeTags.key(ResourceKey.minecraft("stone_bricks"));
169231

232+
public static final DefaultedRegistryReference<Tag<BlockType>> STONE_ORE_REPLACEABLES = BlockTypeTags.key(ResourceKey.minecraft("stone_ore_replaceables"));
233+
170234
public static final DefaultedRegistryReference<Tag<BlockType>> STONE_PRESSURE_PLATES = BlockTypeTags.key(ResourceKey.minecraft("stone_pressure_plates"));
171235

172236
public static final DefaultedRegistryReference<Tag<BlockType>> STRIDER_WARM_BLOCKS = BlockTypeTags.key(ResourceKey.minecraft("strider_warm_blocks"));

src/main/java/org/spongepowered/api/tag/EntityTypeTags.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,20 @@ public final class EntityTypeTags {
4343
// @formatter:off
4444
public static final DefaultedRegistryReference<Tag<EntityType<?>>> ARROWS = EntityTypeTags.key(ResourceKey.minecraft("arrows"));
4545

46+
public static final DefaultedRegistryReference<Tag<EntityType<?>>> AXOLOTL_ALWAYS_HOSTILES = EntityTypeTags.key(ResourceKey.minecraft("axolotl_always_hostiles"));
47+
48+
public static final DefaultedRegistryReference<Tag<EntityType<?>>> AXOLOTL_HUNT_TARGETS = EntityTypeTags.key(ResourceKey.minecraft("axolotl_hunt_targets"));
49+
4650
public static final DefaultedRegistryReference<Tag<EntityType<?>>> BEEHIVE_INHABITORS = EntityTypeTags.key(ResourceKey.minecraft("beehive_inhabitors"));
4751

52+
public static final DefaultedRegistryReference<Tag<EntityType<?>>> FREEZE_HURTS_EXTRA_TYPES = EntityTypeTags.key(ResourceKey.minecraft("freeze_hurts_extra_types"));
53+
54+
public static final DefaultedRegistryReference<Tag<EntityType<?>>> FREEZE_IMMUNE_ENTITY_TYPES = EntityTypeTags.key(ResourceKey.minecraft("freeze_immune_entity_types"));
55+
4856
public static final DefaultedRegistryReference<Tag<EntityType<?>>> IMPACT_PROJECTILES = EntityTypeTags.key(ResourceKey.minecraft("impact_projectiles"));
4957

58+
public static final DefaultedRegistryReference<Tag<EntityType<?>>> POWDER_SNOW_WALKABLE_MOBS = EntityTypeTags.key(ResourceKey.minecraft("powder_snow_walkable_mobs"));
59+
5060
public static final DefaultedRegistryReference<Tag<EntityType<?>>> RAIDERS = EntityTypeTags.key(ResourceKey.minecraft("raiders"));
5161

5262
public static final DefaultedRegistryReference<Tag<EntityType<?>>> SKELETONS = EntityTypeTags.key(ResourceKey.minecraft("skeletons"));

src/main/java/org/spongepowered/api/tag/ItemTypeTags.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ public final class ItemTypeTags {
4747

4848
public static final DefaultedRegistryReference<Tag<ItemType>> ARROWS = ItemTypeTags.key(ResourceKey.minecraft("arrows"));
4949

50+
public static final DefaultedRegistryReference<Tag<ItemType>> AXOLOTL_TEMPT_ITEMS = ItemTypeTags.key(ResourceKey.minecraft("axolotl_tempt_items"));
51+
5052
public static final DefaultedRegistryReference<Tag<ItemType>> BANNERS = ItemTypeTags.key(ResourceKey.minecraft("banners"));
5153

5254
public static final DefaultedRegistryReference<Tag<ItemType>> BEACON_PAYMENT_ITEMS = ItemTypeTags.key(ResourceKey.minecraft("beacon_payment_items"));
@@ -59,28 +61,50 @@ public final class ItemTypeTags {
5961

6062
public static final DefaultedRegistryReference<Tag<ItemType>> BUTTONS = ItemTypeTags.key(ResourceKey.minecraft("buttons"));
6163

64+
public static final DefaultedRegistryReference<Tag<ItemType>> CANDLES = ItemTypeTags.key(ResourceKey.minecraft("candles"));
65+
6266
public static final DefaultedRegistryReference<Tag<ItemType>> CARPETS = ItemTypeTags.key(ResourceKey.minecraft("carpets"));
6367

68+
public static final DefaultedRegistryReference<Tag<ItemType>> CLUSTER_MAX_HARVESTABLES = ItemTypeTags.key(ResourceKey.minecraft("cluster_max_harvestables"));
69+
70+
public static final DefaultedRegistryReference<Tag<ItemType>> COAL_ORES = ItemTypeTags.key(ResourceKey.minecraft("coal_ores"));
71+
6472
public static final DefaultedRegistryReference<Tag<ItemType>> COALS = ItemTypeTags.key(ResourceKey.minecraft("coals"));
6573

74+
public static final DefaultedRegistryReference<Tag<ItemType>> COPPER_ORES = ItemTypeTags.key(ResourceKey.minecraft("copper_ores"));
75+
6676
public static final DefaultedRegistryReference<Tag<ItemType>> CREEPER_DROP_MUSIC_DISCS = ItemTypeTags.key(ResourceKey.minecraft("creeper_drop_music_discs"));
6777

6878
public static final DefaultedRegistryReference<Tag<ItemType>> CRIMSON_STEMS = ItemTypeTags.key(ResourceKey.minecraft("crimson_stems"));
6979

7080
public static final DefaultedRegistryReference<Tag<ItemType>> DARK_OAK_LOGS = ItemTypeTags.key(ResourceKey.minecraft("dark_oak_logs"));
7181

82+
public static final DefaultedRegistryReference<Tag<ItemType>> DIAMOND_ORES = ItemTypeTags.key(ResourceKey.minecraft("diamond_ores"));
83+
7284
public static final DefaultedRegistryReference<Tag<ItemType>> DOORS = ItemTypeTags.key(ResourceKey.minecraft("doors"));
7385

86+
public static final DefaultedRegistryReference<Tag<ItemType>> EMERALD_ORES = ItemTypeTags.key(ResourceKey.minecraft("emerald_ores"));
87+
7488
public static final DefaultedRegistryReference<Tag<ItemType>> FENCES = ItemTypeTags.key(ResourceKey.minecraft("fences"));
7589

7690
public static final DefaultedRegistryReference<Tag<ItemType>> FISHES = ItemTypeTags.key(ResourceKey.minecraft("fishes"));
7791

7892
public static final DefaultedRegistryReference<Tag<ItemType>> FLOWERS = ItemTypeTags.key(ResourceKey.minecraft("flowers"));
7993

94+
public static final DefaultedRegistryReference<Tag<ItemType>> FOX_FOOD = ItemTypeTags.key(ResourceKey.minecraft("fox_food"));
95+
96+
public static final DefaultedRegistryReference<Tag<ItemType>> FREEZE_IMMUNE_WEARABLES = ItemTypeTags.key(ResourceKey.minecraft("freeze_immune_wearables"));
97+
8098
public static final DefaultedRegistryReference<Tag<ItemType>> GOLD_ORES = ItemTypeTags.key(ResourceKey.minecraft("gold_ores"));
8199

100+
public static final DefaultedRegistryReference<Tag<ItemType>> IGNORED_BY_PIGLIN_BABIES = ItemTypeTags.key(ResourceKey.minecraft("ignored_by_piglin_babies"));
101+
102+
public static final DefaultedRegistryReference<Tag<ItemType>> IRON_ORES = ItemTypeTags.key(ResourceKey.minecraft("iron_ores"));
103+
82104
public static final DefaultedRegistryReference<Tag<ItemType>> JUNGLE_LOGS = ItemTypeTags.key(ResourceKey.minecraft("jungle_logs"));
83105

106+
public static final DefaultedRegistryReference<Tag<ItemType>> LAPIS_ORES = ItemTypeTags.key(ResourceKey.minecraft("lapis_ores"));
107+
84108
public static final DefaultedRegistryReference<Tag<ItemType>> LEAVES = ItemTypeTags.key(ResourceKey.minecraft("leaves"));
85109

86110
public static final DefaultedRegistryReference<Tag<ItemType>> LECTERN_BOOKS = ItemTypeTags.key(ResourceKey.minecraft("lectern_books"));
@@ -95,6 +119,10 @@ public final class ItemTypeTags {
95119

96120
public static final DefaultedRegistryReference<Tag<ItemType>> OAK_LOGS = ItemTypeTags.key(ResourceKey.minecraft("oak_logs"));
97121

122+
public static final DefaultedRegistryReference<Tag<ItemType>> OCCLUDES_VIBRATION_SIGNALS = ItemTypeTags.key(ResourceKey.minecraft("occludes_vibration_signals"));
123+
124+
public static final DefaultedRegistryReference<Tag<ItemType>> PIGLIN_FOOD = ItemTypeTags.key(ResourceKey.minecraft("piglin_food"));
125+
98126
public static final DefaultedRegistryReference<Tag<ItemType>> PIGLIN_LOVED = ItemTypeTags.key(ResourceKey.minecraft("piglin_loved"));
99127

100128
public static final DefaultedRegistryReference<Tag<ItemType>> PIGLIN_REPELLENTS = ItemTypeTags.key(ResourceKey.minecraft("piglin_repellents"));
@@ -103,6 +131,8 @@ public final class ItemTypeTags {
103131

104132
public static final DefaultedRegistryReference<Tag<ItemType>> RAILS = ItemTypeTags.key(ResourceKey.minecraft("rails"));
105133

134+
public static final DefaultedRegistryReference<Tag<ItemType>> REDSTONE_ORES = ItemTypeTags.key(ResourceKey.minecraft("redstone_ores"));
135+
106136
public static final DefaultedRegistryReference<Tag<ItemType>> SAND = ItemTypeTags.key(ResourceKey.minecraft("sand"));
107137

108138
public static final DefaultedRegistryReference<Tag<ItemType>> SAPLINGS = ItemTypeTags.key(ResourceKey.minecraft("saplings"));

0 commit comments

Comments
 (0)