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 ci$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 Lci$a;a:Lacq;
      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(LootContextPredicate entity, Identifier lootTable)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lci$a;<init>(Lba;Lacq;)V
      intermediary <init> Lnet/minecraft/class_5282$class_5283;<init>(Lnet/minecraft/class_5258;Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/util/Identifier;)V
  • Method Details

    • create

      Mappings:
      Namespace Name Mixin selector
      official a Lci$a;a(Lacq;)Lci$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 Lci$a;b(Lacq;)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(Lct;)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;