Sets that this entity is a baby. This is used to set the is_baby value for use in query functions like Molang and Filters.
Is Baby Properties
Name | Default Value | Type | Description | Example Values |
---|---|---|---|---|
operator | not set | String | Villager v2: "==" |
|
subject | not set | String | Happy Ghast: "other" |
|
test | not set | String | Happy Ghast: "is_baby" |
|
value | not set | String | Villager v2: true |
Samples
Armadillo
"minecraft:is_baby": {}
Happy Ghast
At /minecraft:entity/component_groups/minecraft:baby/minecraft:behavior.follow_mob/filters/all_of/1/:
"minecraft:is_baby": {
"test": "is_baby",
"subject": "other",
"value": false
}
Villager v2
At /minecraft:entity/component_groups/play_schedule_villager/minecraft:behavior.play/friend_types/0/filters/all_of/1/:
"minecraft:is_baby": {
"test": "is_baby",
"subject": "other",
"operator": "==",
"value": true
}