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 Summary
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, Identifier lootTable) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Identifier lootTable) boolean
test
(Identifier lootTable) com.google.gson.JsonObject
toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
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
- 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
public static AdvancementCriterion<PlayerGeneratesContainerLootCriterion.Conditions> create(Identifier lootTable) - 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
- 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 com.google.gson.JsonObject toJson()- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- 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;
-