birchfolks / Beneath-the-Wetlands

0 stars 1 forks source link

Registering a compostable item with a value higher than one #13

Open OroArmor opened 8 months ago

OroArmor commented 8 months ago

What versions are you playing on?

BtW 1.2 Minecraft 1.20.1 Fabric API quilted_fabric_api - 7.5.0+0.91.0-1.20.1 GeckoLib 4.4.2

What the issue is?

On Quilt, registering an item with a compost chance above one causes an error to be thrown. The range for items is only 0 - 1, so there is no need set it to 2. In addition, you should call CompostingChanceRegistry.INSTANCE.add() from Fabric API instead of injecting into CompostingBlock and adding it yourself.

How to reproduce it?

Run on Quilt.

Other info

image Fabric API CompostingChanceRegistry

OroArmor commented 8 months ago

Anyone there? This is a fairly simple issue to fix and I would love to have Beneath the Wetlands working on Quilt.

Sunconure11 commented 7 months ago

I'm trying to get the attention of the staff myself @OroArmor, since I helped them a bit with structures on 1.19.2, so that they work in modded biomes.

You think you could do a mixin-based fix for 1.19.2 - 1.20.1 until the staff become active?