Carpet

Carpet

2M Downloads

WoolTool uses map color to determine wool color

SanityCh3ck opened this issue ยท 0 comments

commented

WoolTool.getWoolColorAtPosition(...) calls BlockState.getMapColor(...) to determine the color of a wool block at a given location. This causes obscure issues when another mod makes changes to map colors.

Example:

MC: 1.19.2
Mods:

  • Accurate Maps 1.0
  • Carpet 1.4.84
  • Fabric Loader 0.14.19
  • Fabric API 0.76.0
  • Fabric Language Kotlin 1.9.3

This combination of mods breaks the hopperCounters feature, causing items in hoppers to not be consumed and consequently not be counted.

Another bug report already exists at lucaargolo/accurate-maps#8, but seeing as carpet's implementation of getWoolColorAtPosition seems counterintuitive (to me at least) I've decided to open an issue here as well.