Contents
Class AbilityChainCollector
java.lang.Object
com.hypixel.hytale.builtin.abilities.chain.AbilityChainCollector
- All Implemented Interfaces:
Collector
- Direct Known Subclasses:
AbilityDescriptionCollector
A
Collector over everything a core rune's cast chain reaches: the chain itself, a
launched projectile's hit and miss chains, a charge's per-activation chain and a spawned
entity's repeat chains. Subclasses see every interaction on the way through visit(Interaction).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleancollect(CollectorTag tag, InteractionContext context, Interaction interaction) Collect is called a maximum of once perCollector.into(InteractionContext, Interaction)and a minimum of never if nothing matches.voidfinished()voidinto(InteractionContext context, Interaction interaction) Called when stepping into an interaction.voidoutof()voidstart()final void
-
Constructor Details
-
AbilityChainCollector
public AbilityChainCollector()
-
-
Method Details
-
walkRoot
-
collect
public final boolean collect(@Nonnull CollectorTag tag, @Nonnull InteractionContext context, @Nonnull Interaction interaction) Description copied from interface:CollectorCollect is called a maximum of once perCollector.into(InteractionContext, Interaction)and a minimum of never if nothing matches. -
start
-
into
Description copied from interface:CollectorCalled when stepping into an interaction. -
outof
-
finished
-