Class LootTableTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.LootTableTrigger.TriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Enclosing class:
- LootTableTrigger
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTriggerInstance(EntityPredicate.Composite p_54614_, ResourceLocation p_54615_)
-
Method Summary
Modifier and TypeMethodDescriptionlootTableUsed(ResourceLocation p_54619_)
boolean
matches(ResourceLocation p_54621_)
com.google.gson.JsonObject
serializeToJson(SerializationContext p_54617_)
Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
lootTable
-
-
Constructor Details
-
TriggerInstance
-
-
Method Details
-
lootTableUsed
-
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-