Class LootTableMixin

java.lang.Object
johnsmith.enchantingoverhauled.mixin.loot.LootTableMixin
All Implemented Interfaces:
LootTableAccessor

public abstract class LootTableMixin extends Object implements LootTableAccessor
  • Constructor Details

    • LootTableMixin

      public LootTableMixin()
  • Method Details

    • enchanting_overhauled$getPools

      public List<net.minecraft.world.level.storage.loot.LootPool> enchanting_overhauled$getPools()
      Description copied from interface: LootTableAccessor
      Retrieves the list of loot pools currently configured in this loot table.
      Specified by:
      enchanting_overhauled$getPools in interface LootTableAccessor
      Returns:
      The current list of LootPool instances.
    • enchanting_overhauled$setPools

      public void enchanting_overhauled$setPools(List<net.minecraft.world.level.storage.loot.LootPool> pools)
      Description copied from interface: LootTableAccessor
      Replaces the list of loot pools for this loot table.
      Specified by:
      enchanting_overhauled$setPools in interface LootTableAccessor
      Parameters:
      pools - The new list of LootPool instances to assign to the loot table.