#set camera overlay for an item
1 messages · Page 1 of 1 (latest)
Alright, what's the problem?
I think he wants a custom pumpkin overlay which looks like a camera
Like when you look at the display on the back of your camera
I understand what he wants
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
Than I think he doesn’t know how to do it
...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
Maybe try something like
item modify entity @s (slot) {"function":"set_components","components":{"minecraft:equippable":{"slot":"(slot)","camera_overlay":"(path to texture)"}}}
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||
You can delete components with item modify, yea
You'd just do "!minecraft:equippable":{} instead
nice !
thx for new tip
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