minecraft:buoyant component is dependent on the player's hardcoded collision box
Partner Rank:
3
Partner Team Reporting:
Entity Builds
Verification builds:
1.16.100.50 - 4459742
Summary:
minecraft:buoyant component is dependent on the player's hardcoded collision box, making players float very slightly above the water
Impact:
This bug prevents creators from using the minecraft:buoyant component reliably with players to simulate boats because we cannot raise them high enough above the water
Repro Steps:
- Create a behavior pack which modifies the player behavior
- Add the minecraft:buoyant component with a base_buoyancy of 1.0
- Apply the pack to a world and enter the world
Observed Results:
The player will float very slightly above the water
Expected Results:
The player should float with at least half of its body above the water
Screenshots/Videos attached:
Yes
Regression Builds:
This has been an issue since the minecraft:buoyant component was introduced
Notes:
Making the player a spawnable entity and spawning it yields the expected results, which has led me to believe that the component depends on the player's hardcoded collision box. Note in the screenshot the collision box of the spawned-in player and its height above the water, it does not match the actual player