Class Sound
java.lang.Object
net.darkhax.bookshelf.api.data.sound.Sound
- All Implemented Interfaces:
ISound
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSound(net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float pitch, float volume) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidplaySoundAt(net.minecraft.world.level.Level level, @Nullable net.minecraft.world.entity.player.Player originator, double posX, double posY, double posZ) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.darkhax.bookshelf.api.data.sound.ISound
playSoundAt, playSoundAt
-
Field Details
-
SERIALIZER
-
-
Constructor Details
-
Sound
public Sound(net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float pitch, float volume)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
playSoundAt
public void playSoundAt(net.minecraft.world.level.Level level, @Nullable @Nullable net.minecraft.world.entity.player.Player originator, double posX, double posY, double posZ) - Specified by:
playSoundAtin interfaceISound
-