mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-15 12:40:30 +00:00
Add correct tool to CC computers
Also rerun data generators, forgot to do it as part of the previous commit. Fixes #953
This commit is contained in:
parent
bca964629a
commit
cf3f1d3d48
@ -2,6 +2,7 @@
|
|||||||
"replace": false,
|
"replace": false,
|
||||||
"values": [
|
"values": [
|
||||||
"#minecraft:crops",
|
"#minecraft:crops",
|
||||||
|
"#minecraft:mineable/hoe",
|
||||||
"minecraft:cactus",
|
"minecraft:cactus",
|
||||||
"minecraft:melon",
|
"minecraft:melon",
|
||||||
"minecraft:pumpkin",
|
"minecraft:pumpkin",
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"replace": false,
|
"replace": false,
|
||||||
"values": [
|
"values": [
|
||||||
|
"#minecraft:mineable/shovel",
|
||||||
"minecraft:melon",
|
"minecraft:melon",
|
||||||
"minecraft:pumpkin",
|
"minecraft:pumpkin",
|
||||||
"minecraft:carved_pumpkin",
|
"minecraft:carved_pumpkin",
|
||||||
|
18
src/generated/resources/data/minecraft/tags/blocks/mineable/pickaxe.json
generated
Normal file
18
src/generated/resources/data/minecraft/tags/blocks/mineable/pickaxe.json
generated
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"replace": false,
|
||||||
|
"values": [
|
||||||
|
"computercraft:computer_normal",
|
||||||
|
"computercraft:computer_advanced",
|
||||||
|
"computercraft:turtle_normal",
|
||||||
|
"computercraft:turtle_advanced",
|
||||||
|
"computercraft:speaker",
|
||||||
|
"computercraft:disk_drive",
|
||||||
|
"computercraft:printer",
|
||||||
|
"computercraft:monitor_normal",
|
||||||
|
"computercraft:monitor_advanced",
|
||||||
|
"computercraft:wireless_modem_normal",
|
||||||
|
"computercraft:wireless_modem_advanced",
|
||||||
|
"computercraft:wired_modem_full",
|
||||||
|
"computercraft:cable"
|
||||||
|
]
|
||||||
|
}
|
@ -59,5 +59,22 @@ public class BlockTagsGenerator extends BlockTagsProvider
|
|||||||
);
|
);
|
||||||
|
|
||||||
tag( TURTLE_SWORD_BREAKABLE ).addTags( BlockTags.WOOL ).add( Blocks.COBWEB );
|
tag( TURTLE_SWORD_BREAKABLE ).addTags( BlockTags.WOOL ).add( Blocks.COBWEB );
|
||||||
|
|
||||||
|
// Make all blocks aside from command computer mineable.
|
||||||
|
tag( BlockTags.MINEABLE_WITH_PICKAXE ).add(
|
||||||
|
Registry.ModBlocks.COMPUTER_NORMAL.get(),
|
||||||
|
Registry.ModBlocks.COMPUTER_ADVANCED.get(),
|
||||||
|
Registry.ModBlocks.TURTLE_NORMAL.get(),
|
||||||
|
Registry.ModBlocks.TURTLE_ADVANCED.get(),
|
||||||
|
Registry.ModBlocks.SPEAKER.get(),
|
||||||
|
Registry.ModBlocks.DISK_DRIVE.get(),
|
||||||
|
Registry.ModBlocks.PRINTER.get(),
|
||||||
|
Registry.ModBlocks.MONITOR_NORMAL.get(),
|
||||||
|
Registry.ModBlocks.MONITOR_ADVANCED.get(),
|
||||||
|
Registry.ModBlocks.WIRELESS_MODEM_NORMAL.get(),
|
||||||
|
Registry.ModBlocks.WIRELESS_MODEM_ADVANCED.get(),
|
||||||
|
Registry.ModBlocks.WIRED_MODEM_FULL.get(),
|
||||||
|
Registry.ModBlocks.CABLE.get()
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user