Class LightningStrikeTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<LightningStrikeTrigger.TriggerInstance>
net.minecraft.advancements.critereon.LightningStrikeTrigger
- All Implemented Interfaces:
CriterionTrigger<LightningStrikeTrigger.TriggerInstance>
public class LightningStrikeTrigger
extends SimpleCriterionTrigger<LightningStrikeTrigger.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 TypeMethodDescriptioncreateInstance
(com.google.gson.JsonObject p_286889_, Optional<ContextAwarePredicate> p_301355_, DeserializationContext p_286384_) void
trigger
(ServerPlayer p_153392_, LightningBolt p_153393_, List<Entity> p_153394_) 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
-
LightningStrikeTrigger
public LightningStrikeTrigger()
-
-
Method Details
-
createInstance
public LightningStrikeTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286889_, Optional<ContextAwarePredicate> p_301355_, DeserializationContext p_286384_) - Specified by:
createInstance
in classSimpleCriterionTrigger<LightningStrikeTrigger.TriggerInstance>
-
trigger
-