Create

Create

86M Downloads

Nozzle continues affecting entities after leaving range.

natedogith1 opened this issue ยท 1 comments

commented

Describe the Bug

The area a nozzle starts to affects you and the area a nozzle continues to affect you are not the same.

Reproduction Steps

  1. Place nozzle on powered fan
  2. Slowly approach nozzle
  3. Notice that nozzle continues pushing you away after you're further than where it started

Expected Result

The "continue to push" and "start to push" range should be the same.

Screenshots and Videos

No response

Crash Report or Log

No response

Operating System

Windows 10

Mod Version

0.5.1f

Minecraft Version

1.20.1

Forge Version

47.2.17

Other Mods

Running the create superflat survival modpack v1.0.9 https://www.curseforge.com/minecraft/modpacks/create-superflat-survival

Additional Context

It looks like in the code it's only checking for entities in half the range:

AABB bb = new AABB(center, center).inflate(range / 2f);

commented

Also realized that nozzles continue affecting entities through walls once they leave the starting range.