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 interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected LootTableTrigger.TriggerInstance
createInstance(com.google.gson.JsonObject p_54601_, EntityPredicate.Composite p_54602_, DeserializationContext p_54603_)
getId()
void
trigger(ServerPlayer p_54598_, ResourceLocation p_54599_)
Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
LootTableTrigger
public LootTableTrigger()
-
-
Method Details
-
getId
-
createInstance
protected LootTableTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_54601_, EntityPredicate.Composite p_54602_, DeserializationContext p_54603_)- Specified by:
createInstance
in classSimpleCriterionTrigger<LootTableTrigger.TriggerInstance>
-
trigger
-