Class LootTableMixin
java.lang.Object
johnsmith.enchantingoverhauled.mixin.loot.LootTableMixin
- All Implemented Interfaces:
LootTableAccessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<net.minecraft.world.level.storage.loot.LootPool> Retrieves the list of loot pools currently configured in this loot table.voidenchanting_overhauled$setPools(List<net.minecraft.world.level.storage.loot.LootPool> pools) Replaces the list of loot pools for this loot table.
-
Constructor Details
-
LootTableMixin
public LootTableMixin()
-
-
Method Details
-
enchanting_overhauled$getPools
Description copied from interface:LootTableAccessorRetrieves the list of loot pools currently configured in this loot table.- Specified by:
enchanting_overhauled$getPoolsin interfaceLootTableAccessor- Returns:
- The current list of
LootPoolinstances.
-
enchanting_overhauled$setPools
public void enchanting_overhauled$setPools(List<net.minecraft.world.level.storage.loot.LootPool> pools) Description copied from interface:LootTableAccessorReplaces the list of loot pools for this loot table.- Specified by:
enchanting_overhauled$setPoolsin interfaceLootTableAccessor- Parameters:
pools- The new list ofLootPoolinstances to assign to the loot table.
-