Class LootTableTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<LootTableTrigger.TriggerInstance>
net.minecraft.advancements.critereon.LootTableTrigger
- All Implemented Interfaces:
CriterionTrigger<LootTableTrigger.TriggerInstance>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
SimpleCriterionTrigger.SimpleInstance
Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected LootTableTrigger.TriggerInstance
createInstance
(com.google.gson.JsonObject p_286915_, Optional<ContextAwarePredicate> p_301229_, DeserializationContext p_286891_) void
trigger
(ServerPlayer p_54598_, ResourceLocation p_54599_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.advancements.CriterionTrigger
createCriterion
-
Constructor Details
-
LootTableTrigger
public LootTableTrigger()
-
-
Method Details
-
createInstance
protected LootTableTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286915_, Optional<ContextAwarePredicate> p_301229_, DeserializationContext p_286891_) - Specified by:
createInstance
in classSimpleCriterionTrigger<LootTableTrigger.TriggerInstance>
-
trigger
-