Virtuoel / Pehkui

Fabric/Forge/NeoForge/Quilt mod that allows for changing the size of any entity.
MIT License
92 stars 36 forks source link

[Bug]: dy, dx, and dz do not detect the entity's hitbox #413

Open dooble-22 opened 1 year ago

dooble-22 commented 1 year ago

Minecraft version(s)

1.19.4

Minecraft version details

No response

Mod loader

Forge

Mod loader version

1.19.4-forge-45.0.40

Fabric API version

No response

In what kind of world or server did the problem occur?

My singleplayer world

What went wrong? (Crash logs don't go here)

Even after using the scale hitbox commands, detecting the entity's hitbox with raycasting doesn't work properly when enlarged, usually only detecting if the command is ran where the original entity's position would be

Full list of installed mods and their version numbers

Pehkui NoChatReports

Did the problem cause the game to crash?

No.

Full crash report contents (if you experienced a crash)

No response

Virtuoel commented 1 year ago

Can you also provide the command(s) you used?

dooble-22 commented 1 year ago

Upon reaching the entity, it would run something along the lines of

execute if entity @e[type=#alive,dx=0,dy=0,dz=0] run function test:hitmob

The command would only work if it hit the enlarged mob's feet