#Trimmed!

1 messages · Page 1 of 1 (latest)

peak wing
#

I'm making trimmed tools for my trimmed add-on.

#

First person view

dense whale
#

So . . . how will you be preventing your trimmed Netherite tools from burning in lava, and get enchantments to behave correctly?

peak wing
#

.... yes ...

dense whale
#

In all fairness, it's an awesome concept that I'd like to see in vanilla.

peak wing
#

I'm thinking of it. Sadly there isn't a query like this: "q.has_enchantment"

#

As far as I know there is only the "q.is_enchanted"

dense whale
#

Aye, yeah it all sucks. You can prevent items from dying from fire damage, but you can't make them float on lava . . . an they will die if you rename them.

peak wing
#

and that's not as usefull

peak wing
dense whale
#

Maybe

#

Well, I know you can do some crazy stuff with the Scripting API. That's another potential solution.

peak wing
#

yeah... I don't know anything from javascript (i think they use that language(?))

ivory sparrow
#

#1066721213474406432

#

#1066486840217055302

#

thats both script api

ivory sparrow
dense whale
#

The only way I'd ever managed to somewhat replicate the behaviour was by overwriting the Item server entity, and using damage sensors to check the item entity's name and the damage source, negating it if both where x. But renaming the item with an anvil would result in the item entity being destroyed by fire and lava.

ivory sparrow
#

oh

peak wing
#

Nonetheless I have no clue about scripting api, so yeah, I'm quite limited