Class PlayerGeneratesContainerLootCriterion.Conditions

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

public static class PlayerGeneratesContainerLootCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official ck$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 Lck$a;a:Laew;
      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(Optional<LootContextPredicate> playerPredicate, Identifier lootTable)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lck$a;<init>(Ljava/util/Optional;Laew;)V
      intermediary <init> Lnet/minecraft/class_5282$class_5283;<init>(Ljava/util/Optional;Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion$Conditions;<init>(Ljava/util/Optional;Lnet/minecraft/util/Identifier;)V
  • Method Details

    • create

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

      public boolean test(Identifier lootTable)
      Mappings:
      Namespace Name Mixin selector
      official b Lck$a;b(Laew;)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()
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lap;a()Lcom/google/gson/JsonObject;
      intermediary method_807 Lnet/minecraft/class_184;method_807()Lcom/google/gson/JsonObject;
      named toJson Lnet/minecraft/advancement/criterion/CriterionConditions;toJson()Lcom/google/gson/JsonObject;