Class ChanneledLightningTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.ChanneledLightningTrigger.TriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Enclosing class:
- ChanneledLightningTrigger
public static class ChanneledLightningTrigger.TriggerInstance
extends AbstractCriterionTriggerInstance
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTriggerInstance(EntityPredicate.Composite p_21738_, EntityPredicate.Composite[] p_21739_)
-
Method Summary
Modifier and TypeMethodDescriptionchanneledLightning(EntityPredicate... p_21747_)
boolean
matches(Collection<? extends LootContext> p_21745_)
com.google.gson.JsonObject
serializeToJson(SerializationContext p_21743_)
Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
victims
-
-
Constructor Details
-
TriggerInstance
-
-
Method Details
-
channeledLightning
public static ChanneledLightningTrigger.TriggerInstance channeledLightning(EntityPredicate... p_21747_) -
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-