Class StaticSound
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.sound.StaticSound
- All Implemented Interfaces:
MappedEntity
,Sound
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data
-
Constructor Summary
ConstructorsConstructorDescriptionStaticSound
(ResourceLocation soundId, @Nullable Float range) StaticSound
(@Nullable TypesBuilderData data, ResourceLocation soundId, @Nullable Float range) -
Method Summary
Methods inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
getId, getName, getRegistryData, isRegistered, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Constructor Details
-
StaticSound
-
StaticSound
@Internal public StaticSound(@Nullable @Nullable TypesBuilderData data, ResourceLocation soundId, @Nullable @Nullable Float range)
-
-
Method Details
-
getSoundId
- Specified by:
getSoundId
in interfaceSound
-
getRange
-
equals
- Overrides:
equals
in classAbstractMappedEntity
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractMappedEntity
-