remove rich + poor ores
This commit is contained in:
parent
0afc3cafb3
commit
31e1447463
5 changed files with 8 additions and 194 deletions
|
|
@ -1,17 +0,0 @@
|
|||
// priority: 0
|
||||
|
||||
const modifyLootGT = (event) => {
|
||||
global.TFC_STONE_TYPES.forEach(stoneType => {
|
||||
GTRegistries.MATERIALS.forEach(material => {
|
||||
if (material.hasProperty(PropertyKey.ORE)) {
|
||||
event.addBlockLootModifier(`gtceu:tfc_${stoneType}_${material}_ore`)
|
||||
.removeLoot(Ingredient.all)
|
||||
.addWeightedLoot([
|
||||
Item.of(`gtceu:rich_raw_${material}`).withChance(15),
|
||||
Item.of(`gtceu:raw_${material}`).withChance(25),
|
||||
Item.of(`gtceu:poor_raw_${material}`).withChance(60)
|
||||
]);
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue