Class PlayerGeneratesContainerLootTrigger.Instance
- java.lang.Object
-
- net.minecraft.advancements.criterion.CriterionInstance
-
- net.minecraft.advancements.criterion.PlayerGeneratesContainerLootTrigger.Instance
-
- All Implemented Interfaces:
ICriterionInstance
- Enclosing class:
- PlayerGeneratesContainerLootTrigger
public static class PlayerGeneratesContainerLootTrigger.Instance extends CriterionInstance
-
-
Field Summary
Fields Modifier and Type Field Description private ResourceLocation
lootTable
-
Constructor Summary
Constructors Constructor Description Instance(EntityPredicate.AndPredicate p_i231684_1_, ResourceLocation p_i231684_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PlayerGeneratesContainerLootTrigger.Instance
lootTableUsed(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 Detail
-
lootTable
private final ResourceLocation lootTable
-
-
Constructor Detail
-
Instance
public Instance(EntityPredicate.AndPredicate p_i231684_1_, ResourceLocation p_i231684_2_)
-
-
Method Detail
-
lootTableUsed
public static PlayerGeneratesContainerLootTrigger.Instance lootTableUsed(ResourceLocation p_235481_0_)
-
matches
public boolean matches(ResourceLocation p_235482_1_)
-
serializeToJson
public com.google.gson.JsonObject serializeToJson(ConditionArraySerializer p_230240_1_)
- Specified by:
serializeToJson
in interfaceICriterionInstance
- Overrides:
serializeToJson
in classCriterionInstance
-
-