Steps to reproduce:
Use the enchantment i sent below
Try it facing straight to see it works, then try facing up/down and then face straight (all this when falling in the void)
Watch you going millions of blocks up
(If the apply impulse were applied when facing up and down, this wouldnt happen)
{
"anvil_cost": 1,
"description": "Voidwalker",
"effects": {
"minecraft:tick": [
{
"effect": {
"type": "minecraft:apply_impulse",
"direction": [
0,
2,
0
],
"coordinate_scale": [
0,
1,
0
],
"magnitude": 0.8
},
"requirements": {
"condition": "minecraft:all_of",
"terms": [
{
"condition": "minecraft:location_check",
"offsetY": 384,
"predicate": {}
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:location_check",
"predicate": {
"block": {}
}
}
}
]
}
}
]
},
"max_cost": {
"base": 1,
"per_level_above_first": 0
},
"max_level": 1,
"min_cost": {
"base": 1,
"per_level_above_first": 0
},
"slots": [
"feet"
],
"supported_items": "#minecraft:enchantable/foot_armor",
"weight": 2
}Environment
As you can see in the attachment, when facing straight it works, when facing up/down you die. but when facing up/down and then straight before dying, you literally fly.
Thank you for your report!
However, this issue is Invalid.
This report does not describe a bug.
Your enchantment’s
coordinate_scalefield multiplies all impulse you would get on the X and Z axes by 0, so facing straight down and having an impulse toward^ ^2 ^(two blocks toward the direction your head is facing, which is forward) applied to you has no effect since it’s nullified by thecoordinate_scalefield. Getting shot millions of blocks up happens because once you pass Y=319, you are now outside the world’s bounds (in the void), therefore your enchantment goes into effect, like it does when you’re under Y=-64.Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki