public class LevelSoundEvent2Packet extends BedrockPacket
| Constructor and Description |
|---|
LevelSoundEvent2Packet() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
getExtraData() |
String |
getIdentifier() |
com.flowpowered.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 |
setIdentifier(String identifier) |
void |
setPosition(com.flowpowered.math.vector.Vector3f position) |
void |
setRelativeVolumeDisabled(boolean relativeVolumeDisabled) |
void |
setSound(SoundEvent sound) |
String |
toString() |
getHeader, setHeaderpublic boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic SoundEvent getSound()
public com.flowpowered.math.vector.Vector3f getPosition()
public int getExtraData()
public String getIdentifier()
public boolean isBabySound()
public boolean isRelativeVolumeDisabled()
public void setSound(SoundEvent sound)
public void setPosition(com.flowpowered.math.vector.Vector3f position)
public void setExtraData(int extraData)
public void setIdentifier(String identifier)
public void setBabySound(boolean babySound)
public void setRelativeVolumeDisabled(boolean relativeVolumeDisabled)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.