RemoveAll function for loot tiers
This commit is contained in:
parent
69a449a6bc
commit
b699a3a176
|
@ -51,6 +51,21 @@ public class Loot {
|
|||
public static void removeRareLoot(IItemStack stack) {
|
||||
MineTweakerAPI.apply(new Remove(WeightedRandomLoot.lootBagRare, InputHelper.toStack(stack)));
|
||||
}
|
||||
|
||||
@ZenMethod
|
||||
public static void removeAllCommonLoot(IItemStack stack) {
|
||||
MineTweakerAPI.apply(new RemoveAll(WeightedRandomLoot.lootBagCommon));
|
||||
}
|
||||
|
||||
@ZenMethod
|
||||
public static void removeAllUncommonLoot(IItemStack stack) {
|
||||
MineTweakerAPI.apply(new RemoveAll(WeightedRandomLoot.lootBagUncommon));
|
||||
}
|
||||
|
||||
@ZenMethod
|
||||
public static void removeAllRareLoot(IItemStack stack) {
|
||||
MineTweakerAPI.apply(new RemoveAll(WeightedRandomLoot.lootBagRare));
|
||||
}
|
||||
|
||||
public static class Remove extends BaseListRemoval {
|
||||
|
||||
|
|
Loading…
Reference in a new issue