Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

steppedOn event on block registries cannot handle blocks that are not full blocks #875

Open
HaloSense opened this issue Jul 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@HaloSense
Copy link

Minecraft Version

1.20.1

KubeJS Version

2001.6.5-build.7

Rhino Version

2001.2.2-build.18

Architectury Version

9.2.14

Forge/Fabric Version

47.2.32

Describe your issue

I am trying to register a block that is not a full block (i.e. doesn't have the hitbox of a full block, such as vanilla carpet) and design some steppedOn() effect for it. But I find out that steppedOn() event doesn't look for entities stepping on this block itself (given the block is not full, the coordinates of the said block is the same as the entity). Rather, it looks for entities stepping on the block 1 block above it (i.e. the entity's y coordinate is higher than the block by 1). Is it possible to add an option for steppedOn() event to have different trigger logics for both full blocks and non-full blocks?

Crash report/logs

No response

@HaloSense HaloSense added the bug Something isn't working label Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant