#set camera overlay for an item

1 messages · Page 1 of 1 (latest)

lethal veldtBOT
sour dagger
#

Alright, what's the problem?

fossil heath
#

Like when you look at the display on the back of your camera

sour dagger
#

It sounds like he knows exactly what he wants down to the correct terminology, so it's not clear what exactly he needs help with

fossil heath
#

Than I think he doesn’t know how to do it

sour dagger
#

...Yes, but what about it does he not know/is he confused about, is what I'm trying to get from him

#

Please leave if you're just going to talk in circles. We need more info from OP to be able to provide support, and for now that's the end of it

abstract coral
#

Maybe try something like
item modify entity @s (slot) {"function":"set_components","components":{"minecraft:equippable":{"slot":"(slot)","camera_overlay":"(path to texture)"}}}

abstract coral
#

We're not able to modify directly a player data ; maybe we can do it directly with the item modify but i don't know we can delete data with that

#

Old version : ||so you'll need to import the item in a container, modify it there and replace it on the player slot ; i just did it, it worked. The player mainhand is copied into a chest, barrel (or else), i'm using a data remove specifiying the path to equippable component from Item[0] of the container, and then get back to the player hand from the container||

sour dagger
#

You'd just do "!minecraft:equippable":{} instead

abstract coral
#

thx for new tip

true sigil
#

yes, set the equip_sound to the minecraft:intentionally_empty sound event

#

change the custom_data= to a custom_data~ in your if items to use the component predicate format instead of an exact component check

lethal veldtBOT