1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-30 13:13:00 +00:00

Use tags to what items turtle.place() can .use()

In older versions we just used a hard-coded list of items and
superclasses. This was somewhat ugly, and so in 1.19.3 I tried to make
this code more generic.

However, this has a lot of unintended consequences - for instance
turtles can now throw ender pearls, which is definitely not intended!

By using a tag, we can emulate the old behaviour, while still allowing
modders and pack devs to add additional items if needed.
This commit is contained in:
Jonathan Coates
2023-02-04 18:14:18 +00:00
parent 22cadd6730
commit 2e5cd29e12
5 changed files with 23 additions and 4 deletions

View File

@@ -0,0 +1 @@
{"replace": false, "values": ["minecraft:glass_bottle", "#minecraft:boats"]}