java.lang.Object
java.lang.Record
top.offsetmonkey538.loottablemodifier.common.api.resource.predicate.entry.EntryItemPredicate
Record Components:
name - the RegexPattern matching the item identifier
All Implemented Interfaces:
Predicate<LootModifierContext>, LootModifierPredicate

public record EntryItemPredicate(RegexPattern name) extends Record implements LootModifierPredicate
Matches an item entry based on its item
  • Field Details

  • Constructor Details

    • EntryItemPredicate

      public EntryItemPredicate(RegexPattern name)
      Creates an instance of a EntryItemPredicate record class.
      Parameters:
      name - the value for the name record component
  • Method Details