@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
153 lines • 5.08 kB
JSON
{
"fields": [
{
"id": "dried_out_event",
"title": "Dried Out Event",
"description": "Event to fire when the drying out time runs out.",
"dataType": 22,
"samples": {
"/vanilla/behavior_pack/entities/axolotl.json": [
{
"path": "/minecraft:entity/component_groups/axolotl_on_land/minecraft:drying_out_timer/",
"content": {
"event": "dried_out"
}
}
],
"/vanilla/behavior_pack/entities/dolphin.json": [
{
"path": "/minecraft:entity/component_groups/dolphin_on_land/minecraft:drying_out_timer/",
"content": {
"event": "dried_out"
}
}
]
}
},
{
"id": "recover_after_dried_out_event",
"title": "Recover After Dried Out Event",
"description": "Event to fire when entity was already dried out but received increase in water supply.",
"dataType": 22,
"samples": {
"/vanilla/behavior_pack/entities/axolotl.json": [
{
"path": "/minecraft:entity/component_groups/axolotl_on_land/minecraft:drying_out_timer/",
"content": {
"event": "recover_after_dried_out"
}
}
],
"/vanilla/behavior_pack/entities/dolphin.json": [
{
"path": "/minecraft:entity/component_groups/dolphin_on_land/minecraft:drying_out_timer/",
"content": {
"event": "recover_after_dried_out"
}
}
]
}
},
{
"id": "stopped_drying_out_event",
"title": "Stopped Drying Out Event",
"description": "Event to fire when entity stopped drying out, for example got into water or under rain.",
"dataType": 22,
"samples": {
"/vanilla/behavior_pack/entities/axolotl.json": [
{
"path": "/minecraft:entity/component_groups/axolotl_on_land/minecraft:drying_out_timer/",
"content": {
"event": "stop_drying_out"
}
}
],
"/vanilla/behavior_pack/entities/dolphin.json": [
{
"path": "/minecraft:entity/component_groups/dolphin_on_land/minecraft:drying_out_timer/",
"content": {
"event": "stop_dryingout"
}
}
]
}
},
{
"id": "total_time",
"title": "Total Time",
"description": "Amount of time in seconds to dry out fully.",
"defaultValue": 0,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/axolotl.json": [
{
"path": "/minecraft:entity/component_groups/axolotl_on_land/minecraft:drying_out_timer/",
"content": 300
}
],
"/vanilla/behavior_pack/entities/dolphin.json": [
{
"path": "/minecraft:entity/component_groups/dolphin_on_land/minecraft:drying_out_timer/",
"content": 120
}
]
}
},
{
"id": "water_bottle_refill_time",
"title": "Water Bottle Refill Time",
"description": "Optional amount of additional time in seconds given by using splash water bottle on entity.",
"defaultValue": 0,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/axolotl.json": [
{
"path": "/minecraft:entity/component_groups/axolotl_on_land/minecraft:drying_out_timer/",
"content": 90
}
]
}
}
],
"description": "Adds a timer for drying out that will count down and fire 'dried_out_event' or will stop as soon as the entity will get under rain or water and fire 'stopped_drying_out_event'",
"title": "Drying Out Timer",
"samples": {
"/vanilla/behavior_pack/entities/axolotl.json": [
{
"path": "/minecraft:entity/component_groups/axolotl_on_land/minecraft:drying_out_timer/",
"content": {
"total_time": 300,
"water_bottle_refill_time": 90,
"dried_out_event": {
"event": "dried_out"
},
"stopped_drying_out_event": {
"event": "stop_drying_out"
},
"recover_after_dried_out_event": {
"event": "recover_after_dried_out"
}
}
}
],
"/vanilla/behavior_pack/entities/dolphin.json": [
{
"path": "/minecraft:entity/component_groups/dolphin_on_land/minecraft:drying_out_timer/",
"content": {
"total_time": 120,
"water_bottle_refill_time": 0,
"dried_out_event": {
"event": "dried_out"
},
"stopped_drying_out_event": {
"event": "stop_dryingout"
},
"recover_after_dried_out_event": {
"event": "recover_after_dried_out"
}
}
}
]
},
"id": "minecraft:drying_out_timer"
}