Video: (attached below)
Expected behavior: entities with NoGravity:1b obey solid face collisions
Observed behavior: they dont :/
How to replicate:
Load up the attached structure file: [mediaInline]
execute the provided command (it will give you a spawn egg which spawns an armor stand with NoGravity:1)
/give @p cod_spawn_egg[entity_data={id:"minecraft:armor_stand",NoGravity:1b,Glowing:1b}] 1
Spawn an armor stand with said egg.
Push said armor stand with a horizontal piston, in such a way that it pushes the armor stand into a solid block
observe the armor stand getting inside the block, completely ignoring the block face collision.
observe the entity ignoring solid block face collisions.
Please see the video for further information
Attachments
Comments 6
Please provide all the commands used in the video and provide steps to reproduce this issue. A video is not subsitiution for steps to reproduce
Here is the command:
/give @p cod_spawn_egg[entity_data={id:"minecraft:armor_stand",NoGravity:1b,Glowing:1b}] 1
Also looks like it only affects armor stands, doesnt seem to work with other entities.
Please provide comprehensive steps to reproduce the issue, rather than saying to watch the video. A video is not a subsitituion for steps to reproduce.
The steps to reproduce:
execute the provided command (it will give you a spawn egg which spawns an armor stand with NoGravity:1)
Spawn an armor stand with said egg.
Push said armor stand with a horizontal piston, in such a way that it pushes the armor stand into a solid block
observe the armor stand getting inside the block, completely ignoring the block face collision.
The showcase part of the video is literally 14 seconds long and is visually much more descriptive than whatever text one can write. Please reconsidr your policy about showcase videos.
Note that there exist entities which intentionally ignore block face collisions
For example:
loyalty tridents in the state of returning to the player,
item entities that are stuck within a block - (they turn off their collisions to succesfully jump upwards, thats how item elevators work),
etc
They do so by settnig their
noPhysics
flag to true. Please make sure to not accidentally change that behavior.