Class ChanneledLightningTrigger.Instance
java.lang.Object
net.minecraft.advancements.criterion.CriterionInstance
net.minecraft.advancements.criterion.ChanneledLightningTrigger.Instance
- All Implemented Interfaces:
ICriterionInstance
- Enclosing class:
- ChanneledLightningTrigger
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInstance
(EntityPredicate.AndPredicate p_i231493_1_, EntityPredicate.AndPredicate[] p_i231493_2_) -
Method Summary
Modifier and TypeMethodDescriptionchanneledLightning
(EntityPredicate... p_204824_0_) boolean
matches
(Collection<? extends LootContext> p_233676_1_) com.google.gson.JsonObject
serializeToJson
(ConditionArraySerializer p_230240_1_) Methods inherited from class net.minecraft.advancements.criterion.CriterionInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
victims
-
-
Constructor Details
-
Instance
public Instance(EntityPredicate.AndPredicate p_i231493_1_, EntityPredicate.AndPredicate[] p_i231493_2_)
-
-
Method Details
-
channeledLightning
-
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceICriterionInstance
- Overrides:
serializeToJson
in classCriterionInstance
-