Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding turtle_can_use tag using datapack does not work #2011

Open
Pecant-Pie opened this issue Nov 16, 2024 · 1 comment
Open

Overriding turtle_can_use tag using datapack does not work #2011

Pecant-Pie opened this issue Nov 16, 2024 · 1 comment
Labels
area-Minecraft This affects CC's Minecraft-specific content. bug A problem or unexpected behaviour with the mod.

Comments

@Pecant-Pie
Copy link

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

@Pecant-Pie Pecant-Pie added the bug A problem or unexpected behaviour with the mod. label Nov 16, 2024
@Pecant-Pie
Copy link
Author

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

@SquidDev SquidDev added the area-Minecraft This affects CC's Minecraft-specific content. label Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Minecraft This affects CC's Minecraft-specific content. bug A problem or unexpected behaviour with the mod.
Projects
None yet
Development

No branches or pull requests

2 participants