HyCodeYourTale
classpublicPriority 1

DamageEntityInteraction

com.hypixel.hytale.server.core.modules.interaction.interaction.config.server.DamageEntityInteraction

extends Interaction

9

Methods

9

Public Methods

8

Fields

1

Constructors

Constants

intANGLED_LABEL_OFFSET= 3
intARMOR_RESISTANCE_FLAT_MODIFIER= 0
intARMOR_RESISTANCE_MULTIPLIER_MODIFIER= 1
intBLOCKED_LABEL_INDEX= 2
BuilderCodec<DamageEntityInteraction>CODEC= BuilderCodec.builder( DamageEntityInteraction.class, DamageEntityInteraction::new, Inter...
BuilderCodec<DamageEntityInteraction.AngledDamage>CODEC= BuilderCodec.builder( DamageEntityInteraction.AngledDamage.class, DamageEntityInterac...
BuilderCodec<DamageEntityInteraction.EntityStatOnHit>CODEC= BuilderCodec.builder( DamageEntityInteraction.EntityStatOnHit.class, DamageEntityInte...
BuilderCodec<DamageEntityInteraction.TargetedDamage>CODEC= BuilderCodec.builder( DamageEntityInteraction.TargetedDamage.class, DamageEntityInter...
float[]DEFAULT_MULTIPLIERS_PER_ENTITIES_HIT= <complex>
floatDEFAULT_MULTIPLIER_PER_EXTRA_ENTITY_HIT= 0.05F
intFAILED_LABEL_INDEX= 0
MetaKey<Integer>NEXT_INDEX= META_REGISTRY.registerMetaObject()
MetaKey<Damage[]>QUEUED_DAMAGE= META_REGISTRY.registerMetaObject()
MetaKey<DamageCalculatorSystems.Sequence>SEQUENTIAL_HITS= META_REGISTRY.registerMetaObject( i -> new DamageCalculatorSystems.Sequence() )
intSUCCESS_LABEL_INDEX= 1

Constructors

public
DamageEntityInteraction()

Methods

Public Methods (9)

public
void compile(OperationsBuilder builder)
@Override
public
WaitForDataFrom getWaitForDataFrom()
@Nonnull@Override
public
boolean needsRemoteSync()
@Override
public
void processEntityStatsOnHit(int hits, EntityStatMap statMap)
public
com.hypixel.hytale.protocol.AngledDamage toAngledDamagePacket()
@Nonnull
public
com.hypixel.hytale.protocol.EntityStatOnHit toPacket()
@Nonnull
public
String toString()
@Nonnull@Override
public
com.hypixel.hytale.protocol.TargetedDamage toTargetedDamagePacket()
@Nonnull
public
boolean walk(Collector collector, InteractionContext context)
@Override

Fields

Protected Fields (8)

protectedDamageEntityInteraction.AngledDamage[] angledDamage
protectedString blocked
protectedDamageCalculator damageCalculator
protectedDamageEffects damageEffects
protectedDamageEntityInteraction.EntityStatOnHit[] entityStatsOnHit
protectedString failed
protectedString next
protectedString[] sortedTargetDamageKeys

Related Classes