43 lines
1.8 KiB
JSON
43 lines
1.8 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.buoyant",
|
|
"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.",
|
|
"title": "Apply Gravity"
|
|
},
|
|
"base_buoyancy": { "type": "number", "default": 1, "description": "Base buoyancy used to calculate how much will a mob float.", "title": "Base Buoyancy" },
|
|
"big_wave_probability": {
|
|
"type": "number",
|
|
"default": 0.03,
|
|
"description": "Probability for a big wave hitting the entity. Only used if `simulate_waves` is true.",
|
|
"title": "Big Wave Probability"
|
|
},
|
|
"big_wave_speed": {
|
|
"type": "number",
|
|
"default": 10,
|
|
"description": "Multiplier for the speed to make a big wave. Triggered depending on 'big_wave_probability'.",
|
|
"title": "Big Wave Speed"
|
|
},
|
|
"drag_down_on_buoyancy_removed": {
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "How much an actor will be dragged down when the Buoyancy Component is removed.",
|
|
"title": "Drag Down On Buoyancy Removed"
|
|
},
|
|
"liquid_blocks": {
|
|
"type": "array",
|
|
"description": "List of blocks this entity can float on. Must be a liquid block.",
|
|
"title": "Liquid Blocks",
|
|
"items": { "type": "string", "title": "Block ID" }
|
|
},
|
|
"simulate_waves": { "type": "boolean", "default": true, "description": "Should the movement simulate waves going through.", "title": "Simulate Waves" }
|
|
}
|
|
}
|