#how to display an entity in Server Form
1 messages · Page 1 of 1 (latest)
i saw this but what is #entity_id ?
can you guide me
please give me example
I’m pretty sure u set the text of the server form to be entity.id and bind the entity_id to the form text
And #entity_id is the entity id binding
can you give me example
based on my understanding, this is how should it work
in your server form
{
"skin_doll": {
"type": "custom",
"size": [
70,
70
],
"renderer": "live_horse_renderer",
"bindings": [
{
"binding_name": "#form_title_text",
"binding_name_override": "#entity_id"
}
]
}
}
in your actionform
...
new ActionFormBuilder()
.title("minecraft:chicken")
...
#form_text is the forms body
THANKS BRO
import something else?
const slenderbookGUI = new ActionFormData()
.title("Slender Book")
.body(You can find Slenderman\nin the Slender Forest\n\nYou will also be able\nTo find notes on trees\n\nYou can break them\nFor rewards/loot\nBut this will anger\nSlenderman more..\n\nSlenderman will start\nHunting you but just\nHit him and he will\nVanish for 15 seconds\n\nIf you get all 8 notes\nHe will vanish forever)
.button("slenderman")
@tropic bolt help me , sorry if i bothered you
well title must be the id of entity
.title(`minecraft:cow`)
if u want Slender book on it still use bindings to separate type id and ur desired title
it doesn't appear
const slenderbookGUI = new ActionFormData()
.title(minecraft:cow)
.body(You can find Slenderman\nin the Slender Forest\n\nYou will also be able\nTo find notes on trees\n\nYou can break them\nFor rewards/loot\nBut this will anger\nSlenderman more..\n\nSlenderman will start\nHunting you but just\nHit him and he will\nVanish for 15 seconds\n\nIf you get all 8 notes\nHe will vanish forever)
.button("slenderman")
maybe i have to use image
u can yeah
they are trying to pass through the entity identifier not the id 😭
#form_text needs the entity.id, not the entity.typeId. the entity.id is a unique string for the entity. so a zombie will have a different entity.id to another zombie
yo
when i had its id , what's next
form.body(entity.id)
form.body(-1717...) right?