#How to make a sit Datapack

1 messages · Page 1 of 1 (latest)

shrewd vale
#

I want to make a sit Datapack that i can sit on everywhere like ground,bed and etc by right clicking on them. how can i do it? and also can someone tell me how to use the set nbt function in an item modifier?

indigo warren
#

with /ride in 1.19.4, you can make the player “sit on” a mob

#

the mob just has ti be in the floor

shrewd vale
#

Thank you

#

And also do you know how to use the set nbt function in item modifier?

indigo warren
#

it sets the nbt

#

thats pretty much it

#

if the set nbt function has {sometag:1} then it applies that nbt to the item

shrewd vale
#

So how to add the nbt tag in item modifier

indigo warren
shrewd vale
#

Ok

indigo warren
shrewd vale
#

Thanks

thick silo
#

I'd recommend using item display entities as your seat, they're invisible when no item is set and have very little performance impact.

shrewd vale
#

How can I use them for sitting?

thick silo
#

Same way you'd use most any other entity. /ride

shrewd vale
#

I understand thank you

shrewd vale
verbal sleet
uncut raft
#

No, marker is probably better

tight latch
#

item display since you can't ride markers

#

but if the display entity isn't rendering anything it's only a little worse than a marker

uncut raft
#

oh

#

Then item_display yes

shrewd vale
#

There is also an interaction entity for this Datapack