Archeology Mod

Archeology Mod

116k Downloads

Brush oxidation does not trigger with mending

solonovamax opened this issue ยท 3 comments

commented

Because the brush oxidation code requires the brush reaching half-durability before oxidizing, if the brush has mending on it, it will never oxidize.

Instead, I recommend just storing the number of times it was used in the nbt data rather than relying on the durability.

commented

I think I made it that way intentionally as a way to allow players to keep brush on some oxidization level, but looking back, waxing would have been better solution.

commented

But mending doesn't completely prevent decreasing durability, it just adds a way to replenish it. Or do you mean that experience got from successful brushing always gives more repair than lost brushing?

commented

But mending doesn't completely prevent decreasing durability, it just adds a way to replenish it. Or do you mean that experience got from successful brushing always gives more repair than lost brushing?

yeah, it always repairs the brush to full, preventing the durability from ever decreasing.

I think I made it that way intentionally as a way to allow players to keep brush on some oxidization level, but looking back, waxing would have been better solution.

I don't really see why anyone would want to keep the brush at a specific oxidation level, tbh, but idk

also, if the brush has unbreaking, that makes it take significantly longer to level up the brush as well. it really should just be a counter stored in nbt data.