Reliquary Reincarnations

Reliquary Reincarnations

71M Downloads

[1.19.x/1.18.x/1.16.x] Injected entity loot pools have bonus rolls

gamrguy opened this issue ยท 1 comments

commented

Title. Causes massive loot explosions of Reliquary drops when the player has access to Luck, notably Apotheosis.
Added bonus rolls override anything manually placed in the JSON file.

Caused by this line, which is called for both entity and chest loot injections:
(1.19.x/1.18.x)

return LootPool.lootPool().add(getInjectEntry(entryName)).setBonusRolls(UniformGenerator.between(0, 1)).name("reliquary_inject_pool").build();

(1.16.x)
return LootPool.builder().addEntry(getInjectEntry(entryName)).bonusRolls(0, 1).name("xreliquary_inject_pool").build();

Related issues: #611

How to replicate symptoms:

  1. Run this command to max out your Luck: /attribute @p minecraft:generic.luck base set 1024
  2. Kill any mob that has Reliquary-injected drops (such as a Witch).
commented

Have this fixed in dev for 1.19 which is the only version I support with lower priority fixes like this.