Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.16.0/components/minecraft.buoyant.json

53 lines
1.8 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.buoyant",
2020-11-01 17:22:42 +01:00
"type": "object",
"title": "Buoyant 1.16.0",
"description": "Enables an entity to float on the specified liquid blocks.",
"additionalProperties": false,
"properties": {
"apply_gravity": {
"type": "boolean",
"default": true,
"description": "Applies gravity each tick. Causes more of a wave simulation, but will cause more gravity to be applied outside liquids.",
2021-03-21 15:18:38 +01:00
"title": "Apply Gravity"
2020-11-01 17:22:42 +01:00
},
2021-05-18 23:32:44 +02:00
"base_buoyancy": {
"type": "number",
"default": 1,
"description": "Base buoyancy used to calculate how much will a mob float.",
"title": "Base Buoyancy"
},
2020-11-01 17:22:42 +01:00
"big_wave_probability": {
"type": "number",
"default": 0.03,
"description": "Probability for a big wave hitting the entity. Only used if `simulate_waves` is true.",
2021-03-21 15:18:38 +01:00
"title": "Big Wave Probability"
2020-11-01 17:22:42 +01:00
},
"big_wave_speed": {
"type": "number",
"default": 10,
"description": "Multiplier for the speed to make a big wave. Triggered depending on 'big_wave_probability'.",
2021-03-21 15:18:38 +01:00
"title": "Big Wave Speed"
2020-11-01 17:22:42 +01:00
},
"drag_down_on_buoyancy_removed": {
"type": "number",
"default": 0,
"description": "How much an actor will be dragged down when the Buoyancy Component is removed.",
2021-03-21 15:18:38 +01:00
"title": "Drag Down On Buoyancy Removed"
2020-11-01 17:22:42 +01:00
},
"liquid_blocks": {
"type": "array",
"description": "List of blocks this entity can float on. Must be a liquid block.",
2021-03-21 15:18:38 +01:00
"title": "Liquid Blocks",
"items": { "type": "string", "title": "Block ID" }
2020-11-01 17:22:42 +01:00
},
2021-05-18 23:32:44 +02:00
"simulate_waves": {
"type": "boolean",
"default": true,
"description": "Should the movement simulate waves going through.",
"title": "Simulate Waves"
}
2020-11-01 17:22:42 +01:00
}
}