Contents
Class SplitAbilityProjectileInteraction
java.lang.Object
com.hypixel.hytale.server.core.modules.interaction.interaction.config.Interaction
com.hypixel.hytale.server.core.modules.interaction.interaction.config.SimpleInteraction
com.hypixel.hytale.server.core.modules.interaction.interaction.config.SimpleInstantInteraction
com.hypixel.hytale.builtin.abilities.interaction.SplitAbilityProjectileInteraction
- All Implemented Interfaces:
JsonAsset<String>, JsonAssetWithMap<String, IndexedLookupTableAssetMap<String, Interaction>>, NetworkSerializable<Interaction>, Operation
An ability building block for a projectile's hit: splits the flight when the cast
carries a Fork or Ricochet rune, and does nothing otherwise, so every projectile
ability can author it unconditionally. Fork respawns the projectile as a fan of
children continuing past the first entity struck; Ricochet respawns one child aimed at
the nearest fresh target in range. Children inherit the cast's resolved modifiers
(damage attributes, element conversion, on-hit effects) and the caster's damage
attribution. A projectile splits at most once; only the cast's root projectile forks,
while ricochet charges pass down the chain, one bounce per child.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Operation
Operation.NestedOperation -
Field Summary
FieldsFields inherited from class Interaction
ABSTRACT_CODEC, CHILD_ASSET_CODEC, CHILD_ASSET_CODEC_ARRAY, CONTEXT_META_REGISTRY, DAMAGE, HIT_DETAIL, HIT_LOCATION, META_REGISTRY, TARGET_BLOCK, TARGET_BLOCK_RAW, TARGET_BLOCK_ROTATION_INDEX, TARGET_BLOCK_TYPE, TARGET_ENTITY, TARGET_SLOT, TIME_SHIFT, VALIDATOR_CACHE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SimpleInstantInteraction
toStringMethods inherited from class SimpleInteraction
compile, getWaitForDataFrom, needsRemoteSync, walkMethods inherited from class Interaction
failed, getAssetMap, getAssetStore, getEffects, getHorizontalSpeedMultiplier, getId, getInteractionIdOrUnknown, getInteractionOrUnknown, getOnItemChangeBehavior, getRules, getRunTime, getSettings, getViewDistance, handle, isUnknown, mapForkChain, simulateTick, tick, toPacketMethods inherited from interface Operation
getInnerOperation, getTags
-
Field Details
-
CODEC
-
-
Constructor Details
-
SplitAbilityProjectileInteraction
public SplitAbilityProjectileInteraction()
-