java.lang.Object
java.lang.Record
top.offsetmonkey538.loottablemodifier.common.api.resource.action.pool.PoolAddAction
Record Components:
pools - the pools to add
All Implemented Interfaces:
LootModifierAction

public record PoolAddAction(List<LootPool> pools) extends Record implements LootModifierAction
Adds the provided pools to matched tables
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<PoolAddAction> CODEC
  • Constructor Details

    • PoolAddAction

      public PoolAddAction(List<LootPool> pools)
      Creates an instance of a PoolAddAction record class.
      Parameters:
      pools - the value for the pools record component
  • Method Details