Initial Commit
This commit is contained in:
55
behaviour/entities/1.16.0/components/minecraft.buoyant.json
Normal file
55
behaviour/entities/1.16.0/components/minecraft.buoyant.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user