Mojira Archive
MC-277010

`stepping_on` check in `entity_properties` predicate is incorrect when sharing the same coordinate as a partial block

How to Reproduce:
1. Place an Oak Slab on the ground
2. Start flying
3. Set your position to be slightly above the Oak Slab, but still in the same block coordinates
4. Run the following command in chat and notice how it succeeds:

/execute if predicate {condition: "minecraft:entity_properties", entity: "this", predicate: {stepping_on: {block: {blocks: "minecraft:oak_slab"}}}} run say Test failed

This effects any blocks with a top face lower than a full block where the player can share the same block x/z coordinates (eg. Farm land, enchanting table, snow, etc.)

It also effects blocks such as the inside space of a door.

Awaiting Response

MulverineX

2024-09-28, 08:55 AM

2024-10-12, 09:20 PM

2024-10-12, 09:20 PM

10

3

Unconfirmed

(Unassigned)

1.21.1, 24w39a, 1.21.2 Pre-Release 1

-