pmmp / PocketMine-MP

A server software for Minecraft: Bedrock Edition in PHP
https://pmmp.io
GNU Lesser General Public License v3.0
3.26k stars 1.54k forks source link

Brewing stand has wrong collide box? Block has more type of boxes? #4746

Closed NTT1906 closed 2 years ago

NTT1906 commented 2 years ago

Issue description

In vanilla image

Steps to reproduce the issue

  1. Try throwing a trident or shooting an arrow, any projectile to brewing stand.
  2. Try again in vanilla

OS and versions

Plugins

None

Crashdump, backtrace, or other files

N/A

Disparity between bedrock and PMMP:

In bedrock vanilla, there are multi-type of boxes included:

In PMMP, there are only collisions boxes and bounding right ~~?

inxomnyaa commented 2 years ago

https://github.com/pmmp/PocketMine-MP/commit/6679c53e56f4d23a96e41998d9e8dcacc1300cfa

NTT1906 commented 2 years ago

6679c53

this is about it :l

dktapps commented 2 years ago

Actually it's correct for Bedrock. Java is not a suitable test bed for these things.

NTT1906 commented 2 years ago

Actually it's correct for Bedrock. Java is not a suitable test bed for these things.

umm, you could try it in vanilla ^-^

NTT1906 commented 2 years ago

image in vanilla, arrow will collide like this.

dktapps commented 2 years ago

I did. That's not what I saw.

NTT1906 commented 2 years ago

I did. That's not what I saw.

wdym, i'm confused

dktapps commented 2 years ago

The current behaviour matches Java, which, IMO, makes a lot more sense and looks less stupid.

NTT1906 commented 2 years ago

The current behaviour matches Java, which, IMO, makes a lot more sense and looks less stupid.

this is true but what i'm about to say is Minecraft Bedrock has two type of collision boxes, one for normal entity included players and one for projectile. At least, it's a thing in bugrock :p

dktapps commented 2 years ago

That's a thing in JE too, so that arrows don't get stuck in the air above fences. That's not implemented yet.