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 interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(com.google.gson.JsonObject p_153396_, EntityPredicate.Composite p_153397_, DeserializationContext p_153398_) getId()
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
-
Field Details
-
ID
-
-
Constructor Details
-
LightningStrikeTrigger
public LightningStrikeTrigger()
-
-
Method Details
-
getId
-
createInstance
public LightningStrikeTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_153396_, EntityPredicate.Composite p_153397_, DeserializationContext p_153398_) - Specified by:
createInstance
in classSimpleCriterionTrigger<LightningStrikeTrigger.TriggerInstance>
-
trigger
-