1
0
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:
Jonathan Coates 2021-11-03 09:40:30 +00:00
parent bca964629a
commit cf3f1d3d48
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
4 changed files with 37 additions and 0 deletions

View File

@ -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",

View File

@ -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",

View 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"
]
}

View File

@ -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()
);
} }
} }