@@ -17,47 +17,32 @@ public class ModBlockTags {
17
17
public static final TagKey <Block > HAMMER_CHANGEABLE = bind ("hammer_changeable" );
18
18
public static final TagKey <Block > OVERSEER_BASE = bind ("overseer_base" );
19
19
public static final TagKey <Block > BLOCK_DEVOURER_PROBABILITY_DROPPING = bind ("block_devourer_probability_dropping" );
20
- public static final TagKey <Block > DEEPSLATE_METAL = bindC ("deepslate_metal" );
21
20
public static final TagKey <Block > LASE_CAN_PASS_THROUGH = bind ("lase_can_pass_though" );
22
21
public static final TagKey <Block > END_PORTAL_UNABLE_CHANGE = bind ("end_portal_unable_change" );
23
- public static final TagKey <Block > GLASS_BLOCKS = bindC ("glass_blocks" );
22
+
23
+ public static final TagKey <Block > DEEPSLATE_METAL = bindC ("deepslate_metal" );
24
+
25
+ public static final TagKey <Block > GLASS_BLOCKS = bindC ("glass" );
24
26
public static final TagKey <Block > GLASS_PANES = bindC ("glass_panes" );
25
27
public static final TagKey <Block > ORES = bindC ("ores" );
26
28
public static final TagKey <Block > ORES_IN_GROUND_NETHERRACK = bindC ("ores_in_ground/netherrack" );
27
29
public static final TagKey <Block > ORES_IN_GROUND_DEEPSLATE = bindC ("ores_in_ground/deepslate" );
28
- public static final TagKey <Block > FORGE_GLASS_BLOCKS = bindForge ("glass" );
29
- public static final TagKey <Block > FORGE_GLASS_PANES = bindForge ("glass_panes" );
30
- public static final TagKey <Block > FORGE_ORES = bindForge ("ores" );
31
- public static final TagKey <Block > FORGE_ORES_IN_GROUND_NETHERRACK = bindForge ("ores_in_ground/netherrack" );
32
- public static final TagKey <Block > FORGE_ORES_IN_GROUND_DEEPSLATE = bindForge ("ores_in_ground/deepslate" );
33
-
34
- // 矿物块tag
35
- public static final TagKey <Block > TUNGSTEN_BLOCKS = bindC ("tungsten_blocks" );
36
- public static final TagKey <Block > TITANIUM_BLOCKS = bindC ("titanium_blocks" );
37
- public static final TagKey <Block > ZINC_BLOCKS = bindC ("zinc_blocks" );
38
- public static final TagKey <Block > TIN_BLOCKS = bindC ("tin_blocks" );
39
- public static final TagKey <Block > LEAD_BLOCKS = bindC ("lead_blocks" );
40
- public static final TagKey <Block > SILVER_BLOCKS = bindC ("silver_blocks" );
41
- public static final TagKey <Block > URANIUM_BLOCKS = bindC ("uranium_blocks" );
42
- public static final TagKey <Block > BRONZE_BLOCKS = bindC ("bronze_blocks" );
43
- public static final TagKey <Block > BRASS_BLOCKS = bindC ("brass_blocks" );
44
-
45
- public static final TagKey <Block > FORGE_TUNGSTEN_BLOCKS = bindForge ("storage_blocks/tungsten_blocks" );
46
- public static final TagKey <Block > FORGE_TITANIUM_BLOCKS = bindForge ("storage_blocks/titanium_blocks" );
47
- public static final TagKey <Block > FORGE_ZINC_BLOCKS = bindForge ("storage_blocks/zinc_blocks" );
48
- public static final TagKey <Block > FORGE_TIN_BLOCKS = bindForge ("storage_blocks/tin_blocks" );
49
- public static final TagKey <Block > FORGE_LEAD_BLOCKS = bindForge ("storage_blocks/lead_blocks" );
50
- public static final TagKey <Block > FORGE_SILVER_BLOCKS = bindForge ("storage_blocks/silver_blocks" );
51
- public static final TagKey <Block > FORGE_URANIUM_BLOCKS = bindForge ("storage_blocks/uranium_blocks" );
52
- public static final TagKey <Block > FORGE_BRONZE_BLOCKS = bindForge ("storage_blocks/bronze_blocks" );
53
- public static final TagKey <Block > FORGE_BRASS_BLOCKS = bindForge ("storage_blocks/brass_blocks" );
30
+
31
+ public static final TagKey <Block > TUNGSTEN_BLOCKS = bindC ("storage_blocks/tungsten_blocks" );
32
+ public static final TagKey <Block > TITANIUM_BLOCKS = bindC ("storage_blocks/titanium_blocks" );
33
+ public static final TagKey <Block > ZINC_BLOCKS = bindC ("storage_blocks/zinc_blocks" );
34
+ public static final TagKey <Block > TIN_BLOCKS = bindC ("storage_blocks/tin_blocks" );
35
+ public static final TagKey <Block > LEAD_BLOCKS = bindC ("storage_blocks/lead_blocks" );
36
+ public static final TagKey <Block > SILVER_BLOCKS = bindC ("storage_blocks/silver_blocks" );
37
+ public static final TagKey <Block > URANIUM_BLOCKS = bindC ("storage_blocks/uranium_blocks" );
38
+ public static final TagKey <Block > BRONZE_BLOCKS = bindC ("storage_blocks/bronze_blocks" );
39
+ public static final TagKey <Block > BRASS_BLOCKS = bindC ("storage_blocks/brass_blocks" );
40
+
41
+ public static final TagKey <Block > INCORRECT_FOR_AMYTHEST_TOOL = bind ("incorrect_for_amythest_tool" );
42
+ public static final TagKey <Block > INCORRECT_FOR_EMBER_TOOL = bind ("incorrect_for_amythest_tool" );
54
43
55
44
private static @ NotNull TagKey <Block > bindC (String id ) {
56
- return TagKey .create (Registries .BLOCK , new ResourceLocation ("c" , id ));
57
- }
58
-
59
- private static @ NotNull TagKey <Block > bindForge (String id ) {
60
- return TagKey .create (Registries .BLOCK , new ResourceLocation ("forge" , id ));
45
+ return TagKey .create (Registries .BLOCK , ResourceLocation .fromNamespaceAndPath ("c" , id ));
61
46
}
62
47
63
48
private static @ NotNull TagKey <Block > bind (String id ) {
0 commit comments