Class ChanneledLightningTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<ChanneledLightningTrigger.TriggerInstance>
net.minecraft.advancements.critereon.ChanneledLightningTrigger
- All Implemented Interfaces:
CriterionTrigger<ChanneledLightningTrigger.TriggerInstance>
public class ChanneledLightningTrigger
extends SimpleCriterionTrigger<ChanneledLightningTrigger.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 TypeMethodDescriptioncreateInstance
(com.google.gson.JsonObject p_286858_, ContextAwarePredicate p_286240_, DeserializationContext p_286562_) getId()
void
trigger
(ServerPlayer p_21722_, Collection<? extends Entity> p_21723_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
ChanneledLightningTrigger
public ChanneledLightningTrigger()
-
-
Method Details
-
getId
-
createInstance
public ChanneledLightningTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286858_, ContextAwarePredicate p_286240_, DeserializationContext p_286562_) - Specified by:
createInstance
in classSimpleCriterionTrigger<ChanneledLightningTrigger.TriggerInstance>
-
trigger
-