Class ChanneledLightningTrigger
java.lang.Object
net.minecraft.advancements.criterion.AbstractCriterionTrigger<ChanneledLightningTrigger.Instance>
net.minecraft.advancements.criterion.ChanneledLightningTrigger
- All Implemented Interfaces:
ICriterionTrigger<ChanneledLightningTrigger.Instance>
public class ChanneledLightningTrigger
extends AbstractCriterionTrigger<ChanneledLightningTrigger.Instance>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancements.ICriterionTrigger
ICriterionTrigger.Listener<T extends ICriterionInstance>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(com.google.gson.JsonObject p_230241_1_, EntityPredicate.AndPredicate p_230241_2_, ConditionArrayParser p_230241_3_) getId()
void
trigger
(ServerPlayerEntity p_204814_1_, Collection<? extends Entity> p_204814_2_) Methods inherited from class net.minecraft.advancements.criterion.AbstractCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
ChanneledLightningTrigger
public ChanneledLightningTrigger()
-
-
Method Details
-
getId
-
createInstance
public ChanneledLightningTrigger.Instance createInstance(com.google.gson.JsonObject p_230241_1_, EntityPredicate.AndPredicate p_230241_2_, ConditionArrayParser p_230241_3_) - Specified by:
createInstance
in classAbstractCriterionTrigger<ChanneledLightningTrigger.Instance>
-
trigger
-