Class PlayerGeneratesContainerLootCriterion.Conditions

java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.PlayerGeneratesContainerLootCriterion.Conditions
All Implemented Interfaces:
CriterionConditions
Enclosing class:
PlayerGeneratesContainerLootCriterion

public static class PlayerGeneratesContainerLootCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official ch$a
intermediary net/minecraft/class_5282$class_5283
named net/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion$Conditions
  • Field Details

    • lootTable

      private final Identifier lootTable
      Mappings:
      Namespace Name Mixin selector
      official a Lch$a;a:Ladd;
      intermediary field_24503 Lnet/minecraft/class_5282$class_5283;field_24503:Lnet/minecraft/class_2960;
      named lootTable Lnet/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion$Conditions;lootTable:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • Conditions

      public Conditions(EntityPredicate.Extended entity, Identifier lootTable)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lch$a;<init>(Lbn$b;Ladd;)V
      intermediary <init> Lnet/minecraft/class_5282$class_5283;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/util/Identifier;)V
  • Method Details

    • create

      Mappings:
      Namespace Name Mixin selector
      official a Lch$a;a(Ladd;)Lch$a;
      intermediary method_27995 Lnet/minecraft/class_5282$class_5283;method_27995(Lnet/minecraft/class_2960;)Lnet/minecraft/class_5282$class_5283;
      named create Lnet/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion$Conditions;create(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion$Conditions;
    • test

      public boolean test(Identifier lootTable)
      Mappings:
      Namespace Name Mixin selector
      official b Lch$a;b(Ladd;)Z
      intermediary method_27996 Lnet/minecraft/class_5282$class_5283;method_27996(Lnet/minecraft/class_2960;)Z
      named test Lnet/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion$Conditions;test(Lnet/minecraft/util/Identifier;)Z
    • toJson

      public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a(Lcs;)Lcom/google/gson/JsonObject;
      intermediary method_807 Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
      named toJson Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;