HyCodeYourTale
classpublicPriority 3

DamageEffects

com.hypixel.hytale.server.core.modules.interaction.interaction.config.server.combat.DamageEffects

implements NetworkSerializable

13

Methods

13

Public Methods

13

Fields

2

Constructors

Constants

BuilderCodec<DamageEffects>CODEC= BuilderCodec.builder(DamageEffects.class, DamageEffects::new) .appendInherited( ne...

Constructors

protected
DamageEffects()
public
DamageEffects(ModelParticle[] modelParticles, WorldParticle[] worldParticles, String localSoundEventId, String worldSoundEventId, double viewDistance, Knockback knockback)

Methods

Public Methods (13)

public
void addToDamage(Damage damageEvent)
public
String getCameraEffectId()
public
Knockback getKnockback()
public
String getLocalSoundEventId()
@Nullable
public
int getLocalSoundEventIndex()
public
ModelParticle[] getModelParticles()
public
double getViewDistance()
public
WorldParticle[] getWorldParticles()
public
String getWorldSoundEventId()
@Nullable
public
int getWorldSoundEventIndex()
public
void spawnAtEntity(CommandBuffer<EntityStore> commandBuffer, Ref<EntityStore> ref)
public
com.hypixel.hytale.protocol.DamageEffects toPacket()
@Nonnull
public
String toString()
@Nonnull@Override

Fields

Protected Fields (13)

protectedString cameraEffectId
protectedint cameraEffectIndex
protectedKnockback knockback
protectedString localSoundEventId
protectedtransient int localSoundEventIndex
protectedModelParticle[] modelParticles
protectedString playerSoundEventId
protectedtransient int playerSoundEventIndex
protectedfloat staminaDrainMultiplier
protecteddouble viewDistance
protectedWorldParticle[] worldParticles
protectedString worldSoundEventId
protectedtransient int worldSoundEventIndex

Related Classes