DawnTeamMC / DawnAPI

🌙 API that facilitates the creation of features.
https://dawnteammc.github.io/
GNU Lesser General Public License v3.0
23 stars 4 forks source link

Doors have no hitbox #14

Closed peppzyy closed 3 years ago

peppzyy commented 3 years ago

yep, i can go trough door even it's closed. i think it's a bug. 2021-06-21_09 14 47

Dhranios commented 3 years ago

Did you open/close the door so that you end up inside of it? Because all doors do that.

Hugman76 commented 3 years ago

What versions of Promenade and Dawn API are you using?

peppzyy commented 3 years ago

Did you open/close the door so that you end up inside of it? Because all doors do that.

yep, it looks like a ghost block

peppzyy commented 3 years ago

What versions of Promenade and Dawn API are you using?

Promenade v2.1.2 Dawn API v2.0.3

Dhranios commented 3 years ago

yep, it looks like a ghost block

Then this is invalid, as this is the behavior all doors showcase; interacting with the door so that the player ends up in it, and not pushed out, is vanilla door behavior

kotx commented 3 years ago

This isn't a result of opening and closing the door. I experience this with the door placed normally without interaction.

timfkl commented 3 years ago

Hey @Hugman76, you may have already fixed this, but if you haven't: I dug through the mod a bit and found that while you initialize both the models and textures for the doors, I couldn't find anything in your classes referencing the doors. This is likely the cause for the strange behavior. I looked at Charm and a few other mods for reference (though I hate fabric's class naming system), class_2323 is the DoorBlock class and you probably should be able to initialize it in the same way you initialized your other blocks.

Doing this because i love the cherry_oak_door texture and want it to work 😄

SalvieMundi commented 3 years ago

Commenting just to say that me and my server are also experiencing this with the same Promenade and Dawn API's listed above. The Cherry Oak Door is amazing MUST be in my build but mobs and players can walk right through. :'(

Hugman76 commented 3 years ago

Can reproduce, looked into it and cannot confirm where this is coming from. Will run debug sessions to understand more about it!