High Tier saws can silk harvest ice (#3019)
* High Tier saws can silk harvest packed ice * Update changelog
This commit is contained in:
parent
d122cba3f5
commit
a7a01a96b7
5 changed files with 53 additions and 2 deletions
|
|
@ -1,6 +1,9 @@
|
|||
// priority: 0
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {Internal.LootModificationEventJS} event
|
||||
*/
|
||||
function registerTFCLoots(event) {
|
||||
// Hostile animals
|
||||
|
||||
|
|
@ -352,8 +355,15 @@ function registerTFCLoots(event) {
|
|||
|
||||
event.addBlockLootModifier('minecraft:ice')
|
||||
.removeLoot(ItemFilter.ALWAYS_TRUE)
|
||||
|
||||
event.addBlockLootModifier('minecraft:ice')
|
||||
.not(n => n.matchMainHand("#tfg:silk_harvest_ice"))
|
||||
.addLoot('firmalife:ice_shavings')
|
||||
|
||||
event.addBlockLootModifier('minecraft:ice')
|
||||
.matchMainHand("#tfg:silk_harvest_ice")
|
||||
.addLoot('minecraft:ice');
|
||||
|
||||
event.addBlockLootModifier('minecraft:packed_ice')
|
||||
.not(n => n.matchMainHand("#forge:tools/saws"))
|
||||
.addWeightedLoot([4, 6], ['firmalife:ice_shavings'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue