@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
124 lines • 3.71 kB
JSON
{
"fields": [
{
"id": "idle_time",
"title": "Idle Time",
"description": "Amount of time (in seconds) to stay idle.",
"defaultValue": 5,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/axolotl.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.swim_idle/",
"content": 5
}
],
"/vanilla/behavior_pack/entities/fish.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.swim_idle/",
"content": 5
}
]
}
},
{
"id": "success_rate",
"title": "Success Rate",
"description": "Percent chance this entity will go idle, 1.0 = 100%.",
"defaultValue": 0.1,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/axolotl.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.swim_idle/",
"content": 0.05
}
],
"/vanilla/behavior_pack/entities/fish.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.swim_idle/",
"content": 0.1
}
],
"/vanilla/behavior_pack/entities/salmon.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.swim_idle/",
"content": 0.1
}
]
}
},
{
"id": "priority",
"title": "Priority",
"hideSamples": true,
"description": "As priority approaches 0, the priority is increased. The higher the priority, the sooner this behavior will be executed as a goal.",
"dataType": 0,
"samples": {
"/vanilla/behavior_pack/entities/axolotl.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.swim_idle/",
"content": 7
}
],
"/vanilla/behavior_pack/entities/fish.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.swim_idle/",
"content": 5
}
],
"/vanilla/behavior_pack/entities/salmon.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.swim_idle/",
"content": 5
}
]
}
}
],
"description": "Allows the entity go idle, if swimming. Entity must be in water.",
"title": "Swim Idle Behavior",
"samples": {
"/vanilla/behavior_pack/entities/axolotl.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.swim_idle/",
"content": {
"priority": 7,
"idle_time": 5,
"success_rate": 0.05
}
}
],
"/vanilla/behavior_pack/entities/fish.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.swim_idle/",
"content": {
"priority": 5,
"idle_time": 5,
"success_rate": 0.1
}
}
],
"/vanilla/behavior_pack/entities/salmon.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.swim_idle/",
"content": {
"priority": 5,
"idle_time": 5,
"success_rate": 0.1
}
}
],
"/vanilla/behavior_pack/entities/tropicalfish.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.swim_idle/",
"content": {
"priority": 5,
"idle_time": 5,
"success_rate": 0.1
}
}
]
},
"id": "minecraft:behavior.swim_idle"
}