Class LootContextPredicateValidator

java.lang.Object
net.minecraft.predicate.entity.LootContextPredicateValidator

public class LootContextPredicateValidator extends Object
Mappings:
Namespace Name
named net/minecraft/predicate/entity/LootContextPredicateValidator
intermediary net/minecraft/class_8944
official bh
  • Field Details

    • errorReporter

      private final ErrorReporter errorReporter
      Mappings:
      Namespace Name Mixin selector
      named errorReporter Lnet/minecraft/predicate/entity/LootContextPredicateValidator;errorReporter:Lnet/minecraft/util/ErrorReporter;
      intermediary field_47235 Lnet/minecraft/class_8944;field_47235:Lnet/minecraft/class_8942;
      official a Lbh;a:Layt;
    • conditionsLookup

      private final RegistryEntryLookup.RegistryLookup conditionsLookup
      Mappings:
      Namespace Name Mixin selector
      named conditionsLookup Lnet/minecraft/predicate/entity/LootContextPredicateValidator;conditionsLookup:Lnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;
      intermediary field_47236 Lnet/minecraft/class_8944;field_47236:Lnet/minecraft/class_7871$class_7872;
      official b Lbh;b:Ljn$a;
  • Constructor Details

    • LootContextPredicateValidator

      public LootContextPredicateValidator(ErrorReporter errorReporter, RegistryEntryLookup.RegistryLookup conditionsLookup)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/predicate/entity/LootContextPredicateValidator;<init>(Lnet/minecraft/util/ErrorReporter;Lnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;)V
      intermediary <init> Lnet/minecraft/class_8944;<init>(Lnet/minecraft/class_8942;Lnet/minecraft/class_7871$class_7872;)V
      official <init> Lbh;<init>(Layt;Ljn$a;)V
  • Method Details

    • validateEntityPredicate

      public void validateEntityPredicate(Optional<LootContextPredicate> predicate, String path)
      Mappings:
      Namespace Name Mixin selector
      named validateEntityPredicate Lnet/minecraft/predicate/entity/LootContextPredicateValidator;validateEntityPredicate(Ljava/util/Optional;Ljava/lang/String;)V
      intermediary method_54966 Lnet/minecraft/class_8944;method_54966(Ljava/util/Optional;Ljava/lang/String;)V
      official a Lbh;a(Ljava/util/Optional;Ljava/lang/String;)V
    • validateEntityPredicates

      public void validateEntityPredicates(List<LootContextPredicate> predicates, String path)
      Mappings:
      Namespace Name Mixin selector
      named validateEntityPredicates Lnet/minecraft/predicate/entity/LootContextPredicateValidator;validateEntityPredicates(Ljava/util/List;Ljava/lang/String;)V
      intermediary method_54965 Lnet/minecraft/class_8944;method_54965(Ljava/util/List;Ljava/lang/String;)V
      official a Lbh;a(Ljava/util/List;Ljava/lang/String;)V
    • validateEntityPredicate

      public void validateEntityPredicate(LootContextPredicate predicate, String path)
      Mappings:
      Namespace Name Mixin selector
      named validateEntityPredicate Lnet/minecraft/predicate/entity/LootContextPredicateValidator;validateEntityPredicate(Lnet/minecraft/predicate/entity/LootContextPredicate;Ljava/lang/String;)V
      intermediary method_54962 Lnet/minecraft/class_8944;method_54962(Lnet/minecraft/class_5258;Ljava/lang/String;)V
      official a Lbh;a(Lbg;Ljava/lang/String;)V
    • validate

      public void validate(LootContextPredicate predicate, LootContextType type, String path)
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/predicate/entity/LootContextPredicateValidator;validate(Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/loot/context/LootContextType;Ljava/lang/String;)V
      intermediary method_54961 Lnet/minecraft/class_8944;method_54961(Lnet/minecraft/class_5258;Lnet/minecraft/class_176;Ljava/lang/String;)V
      official a Lbh;a(Lbg;Leuf;Ljava/lang/String;)V
    • validate

      public void validate(List<LootContextPredicate> predicates, LootContextType type, String path)
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/predicate/entity/LootContextPredicateValidator;validate(Ljava/util/List;Lnet/minecraft/loot/context/LootContextType;Ljava/lang/String;)V
      intermediary method_54964 Lnet/minecraft/class_8944;method_54964(Ljava/util/List;Lnet/minecraft/class_176;Ljava/lang/String;)V
      official a Lbh;a(Ljava/util/List;Leuf;Ljava/lang/String;)V