Advertisement
Draco18s

WTFtabs

Jan 30th, 2020
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.32 KB | None | 0 0
  1.    @Deprecated //Use other method or manually call ForgeHooks.modifyLoot
  2.    public void generate(LootContext p_216120_1_, Consumer<ItemStack> p_216120_2_) {
  3.       this.recursiveGenerate(p_216120_1_, capStackSizes(p_216120_2_));
  4.    }
  5.  
  6.    public List<ItemStack> generate(LootContext p_216113_1_) {
  7.       List<ItemStack> list = Lists.newArrayList();
  8.       this.generate(p_216113_1_, list::add);
  9.       list = net.minecraftforge.common.ForgeHooks.modifyLoot(list, p_216113_1_);
  10.       return list;
  11.    }
  12.  
  13.    public LootParameterSet getParameterSet() {
  14.       return this.parameterSet;
  15.    }
  16.  
  17. @@ -75,14 +75,16 @@
  18.  
  19.     }
  20.  
  21. +   @Deprecated //Use other method or manually call ForgeHooks.modifyLoot
  22.     public void func_216120_b(LootContext p_216120_1_, Consumer<ItemStack> p_216120_2_) {
  23.        this.func_216114_a(p_216120_1_, func_216124_a(p_216120_2_));
  24.     }
  25.  
  26.     public List<ItemStack> func_216113_a(LootContext p_216113_1_) {
  27. -      List<ItemStack> list = Lists.newArrayList();
  28. -      this.func_216120_b(p_216113_1_, list::add);
  29. -      return list;
  30. +      List<ItemStack> list = Lists.newArrayList();
  31. +      this.func_216120_b(p_216113_1_, list::add);
  32. +      list = net.minecraftforge.common.ForgeHooks.modifyLoot(list, p_216113_1_);
  33. +      return list;
  34.     }
  35.  
  36.     public LootParameterSet func_216122_a() {
  37. @@ -90,8 +92,8 @@
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement