CC: Tweaked

CC: Tweaked

59M Downloads

Overriding turtle_can_use tag using datapack does not work

Pecant-Pie opened this issue ยท 1 comments

commented

Minecraft Version

1.21.x

Version

1.114.0

Details

I tried to make a datapack to allow turtles to turn on wired modems following the example laid out in: https://github.com/cc-tweaked/datapack-example as well as in issue #1469
This did not allow turtles to activate modems using turtle.place(). I must be doing something wrong, because I even loaded up a 1.19 environment (#1469 was posted in 1.19.x so I'm assuming it was tested and working in that version) with just CC Tweaked and it still did not work.
For reference I am trying to make a turtle activate a full-block wired modem with no item selected. If a specific item needs to be selected, I have not seen it mentioned in any of the related issues. I also tried having the turtle be right next to the modem, and a block away. I included the two datapacks I used for testing here. I also tested it with the "#minecraft:buttons" tag on 1.21.1 and 1.19.2, and that didn't work either.

1_19_turtle_modem_pack.zip
1_21_turtle_modem_pack.zip

commented

Ok, my issue in 1.19.2 was definitely that I did not have the turtle using an item, but that is not the issue in 1.21.1. I noticed that the datapack location for turtle_can_use.json changed from data/computercraft/tags/blocks to data/computercraft/tags/block in the 1.21.x branch. Using the 'block' location obviously did not work for 1.19.2, but it also does not seem to work for 1.21.1