Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Deprecated //Use other method or manually call ForgeHooks.modifyLoot
- public void generate(LootContext p_216120_1_, Consumer<ItemStack> p_216120_2_) {
- this.recursiveGenerate(p_216120_1_, capStackSizes(p_216120_2_));
- }
- public List<ItemStack> generate(LootContext p_216113_1_) {
- List<ItemStack> list = Lists.newArrayList();
- this.generate(p_216113_1_, list::add);
- list = net.minecraftforge.common.ForgeHooks.modifyLoot(list, p_216113_1_);
- return list;
- }
- public LootParameterSet getParameterSet() {
- return this.parameterSet;
- }
- @@ -75,14 +75,16 @@
- }
- + @Deprecated //Use other method or manually call ForgeHooks.modifyLoot
- public void func_216120_b(LootContext p_216120_1_, Consumer<ItemStack> p_216120_2_) {
- this.func_216114_a(p_216120_1_, func_216124_a(p_216120_2_));
- }
- public List<ItemStack> func_216113_a(LootContext p_216113_1_) {
- - List<ItemStack> list = Lists.newArrayList();
- - this.func_216120_b(p_216113_1_, list::add);
- - return list;
- + List<ItemStack> list = Lists.newArrayList();
- + this.func_216120_b(p_216113_1_, list::add);
- + list = net.minecraftforge.common.ForgeHooks.modifyLoot(list, p_216113_1_);
- + return list;
- }
- public LootParameterSet func_216122_a() {
- @@ -90,8 +92,8 @@
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement