Class LootPoolSingletonContainer.EntryBase

java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer.EntryBase
All Implemented Interfaces:
LootPoolEntry
Enclosing class:
LootPoolSingletonContainer

protected abstract class LootPoolSingletonContainer.EntryBase extends Object implements LootPoolEntry
  • Constructor Details

    • EntryBase

      protected EntryBase()
  • Method Details

    • getWeight

      public int getWeight(float pLuck)
      Gets the effective weight based on the loot entry's weight and quality multiplied by looter's luck.
      Specified by:
      getWeight in interface LootPoolEntry