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 bi
  • 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 Lbi;a:Lbak;
    • 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 Lbi;b:Ljr$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> Lbi;<init>(Lbak;Ljr$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 Lbi;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 Lbi;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 Lbi;a(Lbh;Ljava/lang/String;)V
    • validate

      public void validate(LootContextPredicate predicate, ContextType type, String path)
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/predicate/entity/LootContextPredicateValidator;validate(Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/util/context/ContextType;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 Lbi;a(Lbh;Lbbo;Ljava/lang/String;)V
    • validate

      public void validate(List<LootContextPredicate> predicates, ContextType type, String path)
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/predicate/entity/LootContextPredicateValidator;validate(Ljava/util/List;Lnet/minecraft/util/context/ContextType;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 Lbi;a(Ljava/util/List;Lbbo;Ljava/lang/String;)V