DotCoin Mod V6
Curse Maven Snippet
What's new
Version 6 - BIG CHANGE THAT WILL AFFECT EXISTING SAVES, SEE BOTTOM OF THIS CHANGELOG
New textures, many thanks to iiAMRonin!
Change recipes for bag and purse.
Added new config options!
minimumHealthDroprateMultiplier - this is the minimum health required for an entity to have for it to drop multiple coins. By default it is 20 (10 hearts).
If the health goes over this number then it will drop this value/2 (closest to the lowest 10) coins.
Coin drop rarities can be affected by the entity health. By default this is disabled.
How does this work?
- The mob health is checked with the config options you can set.
Depending what the healthBoost value qualifies for, will decide on the weights:
Copper - no change;
Iron - Copper rate is decreased, iron is increased.
Gold - Copper and iron rate is decreased, gold is increased.
Diamond - All rates are decreased, apart from diamond which is increased.
The modifier used for rates to change is:
- The mob health is divided by 10 and rounded down to the neareast multiple of 10.
For example:
A mob with 32 health would increase iron drop rate by 3 and decrease copper by 3.
A mob with 78 health would increase gold drop rate by 7 and decrease lower ones by 7.
A mob with 125 health would increase diamond drop rate by 12 and decrease lower ones by 12.
These numbers are experimental, you may need to adjust drop rates to find the "sweet spot".
Finally worked out auto coin pickup with the bags!
Coins will now be automatically put in to the left-most bag in the hotbar. Bags MUST be in the hotbar to pick up coins.
!!! WARNING !!!
WARNING - This update WILL clear out your coin bags, I had to rewrite a load of code to make it work and that meant that the items inside the coin bags are stored differently.
Before updating, tell your players to take their coins out of the bags.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects