Class PlayerGeneratesContainerLootTrigger.Instance
java.lang.Object
net.minecraft.advancements.criterion.CriterionInstance
net.minecraft.advancements.criterion.PlayerGeneratesContainerLootTrigger.Instance
- All Implemented Interfaces:
ICriterionInstance
- Enclosing class:
- PlayerGeneratesContainerLootTrigger
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInstance
(EntityPredicate.AndPredicate p_i231684_1_, ResourceLocation p_i231684_2_) -
Method Summary
Modifier and TypeMethodDescriptionlootTableUsed
(ResourceLocation p_235481_0_) boolean
matches
(ResourceLocation p_235482_1_) com.google.gson.JsonObject
serializeToJson
(ConditionArraySerializer p_230240_1_) Methods inherited from class net.minecraft.advancements.criterion.CriterionInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
lootTable
-
-
Constructor Details
-
Instance
-
-
Method Details
-
lootTableUsed
public static PlayerGeneratesContainerLootTrigger.Instance lootTableUsed(ResourceLocation p_235481_0_) -
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceICriterionInstance
- Overrides:
serializeToJson
in classCriterionInstance
-