Sets the width and height of the Entity's collision box.
Collision Box Properties
Name | Default Value | Type | Description | Example Values |
---|---|---|---|---|
height | 1 | Decimal number | Height of the collision box in blocks. A negative value will be assumed to be 0. | Allay: 0.6 , Armadillo: 0.65 , Armor Stand: 1.975 |
width | 1 | Decimal number | Width of the collision box in blocks. A negative value will be assumed to be 0. Min value is -100000000.000000 Max value is 100000000.000000 | Allay: 0.35 , Armadillo: 0.7 , Armor Stand: 0.5 |
Samples
Allay
"minecraft:collision_box": {
"width": 0.35,
"height": 0.6
}
Armadillo
"minecraft:collision_box": {
"width": 0.7,
"height": 0.65
}
Armor Stand
"minecraft:collision_box": {
"width": 0.5,
"height": 1.975
}
Arrow
"minecraft:collision_box": {
"width": 0.25,
"height": 0.25
}
Axolotl
"minecraft:collision_box": {
"width": 0.75,
"height": 0.42
}
Bat
"minecraft:collision_box": {
"width": 0.5,
"height": 0.9
}
Bee
"minecraft:collision_box": {
"width": 0.55,
"height": 0.5
}
Blaze
"minecraft:collision_box": {
"width": 0.5,
"height": 1.8
}
Boat
"minecraft:collision_box": {
"width": 1.4,
"height": 0.455
}
Bogged
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
}
Breeze Wind Charge Projectile
"minecraft:collision_box": {
"width": 0.3125,
"height": 0.3125
}
Breeze
"minecraft:collision_box": {
"width": 0.6,
"height": 1.77
}