Dawn API

Dawn API

16M Downloads

You can suffocate in leaves

Noaaan opened this issue ยท 4 comments

commented

In contrast to vanilla and other modded leaves the ones created by Promenade counts as full blocks when standing inside them. This means when you are using a horse in any Promenade forest you will suffocate in the leaves instead of being able to pass through them.

2021-08-19_19 46 52

commented

This is super weird. It actually is stated that leaves should never make players suffocate nor block the vision:

public static final FabricBlockSettings LEAVES = FabricBlockSettings.of(Material.LEAVES).strength(0.2F).ticksRandomly().sounds(BlockSoundGroup.GRASS).nonOpaque().allowsSpawning(DefaultBlockSettings::canSpawnOnLeaves).suffocates(DefaultBlockSettings::never).blockVision(DefaultBlockSettings::never);

commented

Found the issue, it has something to do with the Fabric API: Issue #1947 of Fabric API

commented

Ongoing PR for the fix: FabricMC/fabric#1984
EDIT: now FabricMC/fabric#2119

commented

This bug got fixed in version 0.53.0 of the Fabric API.