public class LevelSoundEventPacket extends BedrockPacket
| Constructor and Description |
|---|
LevelSoundEventPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
getExtraData() |
int |
getPitch() |
com.nukkitx.math.vector.Vector3f |
getPosition() |
SoundEvent |
getSound() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isBabySound() |
boolean |
isRelativeVolumeDisabled() |
void |
setBabySound(boolean babySound) |
void |
setExtraData(int extraData) |
void |
setPitch(int pitch) |
void |
setPosition(com.nukkitx.math.vector.Vector3f position) |
void |
setRelativeVolumeDisabled(boolean relativeVolumeDisabled) |
void |
setSound(SoundEvent sound) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic SoundEvent getSound()
public com.nukkitx.math.vector.Vector3f getPosition()
public int getExtraData()
public int getPitch()
public boolean isBabySound()
public boolean isRelativeVolumeDisabled()
public void setSound(SoundEvent sound)
public void setPosition(com.nukkitx.math.vector.Vector3f position)
public void setExtraData(int extraData)
public void setPitch(int pitch)
public void setBabySound(boolean babySound)
public void setRelativeVolumeDisabled(boolean relativeVolumeDisabled)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.