Class LootContextPredicateValidator

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

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

    • errorReporter

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

      private final LootDataLookup conditionsLookup
      Mappings:
      Namespace Name Mixin selector
      official b Lbc;b:Leha;
      intermediary field_47236 Lnet/minecraft/class_8944;field_47236:Lnet/minecraft/class_8489;
      named conditionsLookup Lnet/minecraft/predicate/entity/LootContextPredicateValidator;conditionsLookup:Lnet/minecraft/loot/LootDataLookup;
  • Constructor Details

    • LootContextPredicateValidator

      public LootContextPredicateValidator(ErrorReporter errorReporter, LootDataLookup conditionsLookup)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbc;<init>(Laut;Leha;)V
      intermediary <init> Lnet/minecraft/class_8944;<init>(Lnet/minecraft/class_8942;Lnet/minecraft/class_8489;)V
      named <init> Lnet/minecraft/predicate/entity/LootContextPredicateValidator;<init>(Lnet/minecraft/util/ErrorReporter;Lnet/minecraft/loot/LootDataLookup;)V
  • Method Details

    • validateEntityPredicate

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

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

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

      public void validate(LootContextPredicate predicate, LootContextType type, String path)
      Mappings:
      Namespace Name Mixin selector
      official a Lbc;a(Lbb;Lejf;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
      named validate Lnet/minecraft/predicate/entity/LootContextPredicateValidator;validate(Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/loot/context/LootContextType;Ljava/lang/String;)V
    • validate

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