java.lang.Object
java.lang.Record
top.offsetmonkey538.loottablemodifier.common.api.resource.action.condition.ConditionAddAction
Record Components:
conditions - the conditions to add
includePools - whether the conditions should be added to matched pools
includeEntries - whether the conditions should be added to matched pools
All Implemented Interfaces:
LootModifierAction

public record ConditionAddAction(List<LootCondition> conditions, boolean includePools, boolean includeEntries) extends Record implements LootModifierAction
Adds the provided conditions to matched pools/entries
  • Field Details

  • Constructor Details

    • ConditionAddAction

      public ConditionAddAction(List<LootCondition> conditions, boolean includePools, boolean includeEntries)
      Creates an instance of a ConditionAddAction record class.
      Parameters:
      conditions - the value for the conditions record component
      includePools - the value for the includePools record component
      includeEntries - the value for the includeEntries record component
  • Method Details