BTW-Community / Deco-Addon-2

Continuation of Yhetti's Deco Addon for Better than Wolves
5 stars 4 forks source link

Acacia leaves do not count as transparent to maps #56

Open bananastomp opened 2 years ago

bananastomp commented 2 years ago

When BTW changed maps a long time ago to only show player position if you're outdoors (no blocks above you), leaves were counted as "transparent" so that you can still see your location and update maps if you are standing beneath them. Presumably so you can create maps in forests with less hassle. Acacia leaves do block the player from using the map, not sure if this applies to other Deco leaf types.

Acacia leaves also take noticeably longer to break with iron or diamond shears compared to vanilla leaf types, though still do drop from shears so this may be intended.

ammoore00 commented 2 years ago

Right now shears code is a mess of hardcoded stuff so I must have missed making them efficient against acacia leaves. That'll be an easy fix, and I do plan on untangling that code for BTW too anyways. I'll look into the map thing. I suspect it does apply to all deco leaf types as all my leaves use basically the same code.