Skip to content

Commit e88000d

Browse files
Make redstone-related blocks mineable with wrenches (#3800)
1 parent b53fa94 commit e88000d

2 files changed

Lines changed: 24 additions & 2 deletions

File tree

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
{
22
"values": [
33
"gtceu:pump_deck",
4-
"#gtceu:mineable/pickaxe_or_wrench"
4+
"#gtceu:mineable/pickaxe_or_wrench",
5+
"minecraft:piston",
6+
"minecraft:piston_head",
7+
"minecraft:sticky_piston",
8+
"minecraft:observer",
9+
"minecraft:redstone_lamp",
10+
"minecraft:redstone_block",
11+
"minecraft:iron_door",
12+
"minecraft:iron_trapdoor",
13+
"minecraft:polished_blackstone_pressure_plate",
14+
"minecraft:heavy_weighted_pressure_plate",
15+
"minecraft:light_weighted_pressure_plate",
16+
"minecraft:hopper",
17+
"minecraft:dispenser",
18+
"minecraft:dropper",
19+
"minecraft:lightning_rod",
20+
"minecraft:daylight_detector",
21+
"minecraft:bell"
522
]
623
}

src/main/java/com/gregtechceu/gtceu/data/tags/BlockTagLoader.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ public static void init(RegistrateTagsProvider.IntrinsicImpl<Block> provider) {
4343

4444
// always add the wrench/pickaxe tag as a valid tag to mineable/wrench etc.
4545
provider.addTag(CustomTags.MINEABLE_WITH_WRENCH)
46-
.addTag(CustomTags.MINEABLE_WITH_CONFIG_VALID_PICKAXE_WRENCH);
46+
.addTag(CustomTags.MINEABLE_WITH_CONFIG_VALID_PICKAXE_WRENCH)
47+
.add(Blocks.PISTON, Blocks.PISTON_HEAD, Blocks.STICKY_PISTON, Blocks.OBSERVER, Blocks.REDSTONE_LAMP,
48+
Blocks.REDSTONE_BLOCK, Blocks.IRON_DOOR, Blocks.IRON_TRAPDOOR,
49+
Blocks.POLISHED_BLACKSTONE_PRESSURE_PLATE, Blocks.HEAVY_WEIGHTED_PRESSURE_PLATE,
50+
Blocks.LIGHT_WEIGHTED_PRESSURE_PLATE, Blocks.HOPPER, Blocks.DISPENSER, Blocks.DROPPER,
51+
Blocks.LIGHTNING_ROD, Blocks.DAYLIGHT_DETECTOR, Blocks.BELL);
4752
provider.addTag(CustomTags.MINEABLE_WITH_WIRE_CUTTER)
4853
.addTag(CustomTags.MINEABLE_WITH_CONFIG_VALID_PICKAXE_WIRE_CUTTER);
4954

0 commit comments

Comments
 (0)