Entity Documentation - minecraft:is_saddled
minecraft:is_saddled
sets that the entity is currently saddled.
Important
minecraft:is_saddled
is a Boolean that is used to set the value for use in query functions like Molang and Filters. In order for the entity to have the desired affect, it will need to be paired with extra functionality.
The examples below will showcase both the property and how it works to create the desired effect on the entity.
Example
Plain
"minecraft:is_saddled":{
}
With Functionality
// Set up interaction to allow entity to be given a saddle
"minecraft:equippable": {
"slots": [
{
"slot": 0,
"item": "saddle",
"accepted_items": ["saddle"],
"on_equip": {
"event": "minecraft:i_have_a_saddle"
},
"on_unequip": {
"event": "minecraft:bye_bye_saddle"
}
}
]
}
//Set up the custom event to tag that it is currently saddled
"minecraft:i_have_a_saddle":{
"minecraft:is_saddled":{
}
}
Note
If the Entity will have the ability to toggle between the two states, you can define the property in a Component Group and use the add
and remove
capabilities to act as a toggle based on Events.
Vanilla entities examples
donkey
"minecraft:is_saddled":{
}
Vanilla entities using minecraft:is_saddled
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for