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)
protected
String cameraEffectIdprotected
int cameraEffectIndexprotected
Knockback knockbackprotected
String localSoundEventIdprotected
transient int localSoundEventIndexprotected
ModelParticle[] modelParticlesprotected
String playerSoundEventIdprotected
transient int playerSoundEventIndexprotected
float staminaDrainMultiplierprotected
double viewDistanceprotected
WorldParticle[] worldParticlesprotected
String worldSoundEventIdprotected
transient int worldSoundEventIndex