Interface AstralClientWorld
- All Known Implementing Classes:
ClientWorldMixin
@Environment(CLIENT)
public interface AstralClientWorld
Extends a
ClientWorld.- Since:
- 1.7.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidastral$playUnboundedSound(double x, double y, double z, net.minecraft.sound.SoundEvent event, net.minecraft.sound.SoundCategory category, float volume, float pitch, boolean useDistance, long seed) Plays a sound at the given position without limiting its volume or pitch.voidastral$playUnboundedSoundFromEntity(@Nullable net.minecraft.entity.player.PlayerEntity except, net.minecraft.entity.Entity entity, net.minecraft.sound.SoundEvent event, net.minecraft.sound.SoundCategory category, float volume, float pitch, long seed) Plays a sound from the given entity without limiting its volume or pitch.
-
Method Details
-
astral$playUnboundedSound
void astral$playUnboundedSound(double x, double y, double z, net.minecraft.sound.SoundEvent event, net.minecraft.sound.SoundCategory category, float volume, float pitch, boolean useDistance, long seed) Plays a sound at the given position without limiting its volume or pitch.- Parameters:
x- The X position.y- The Y position.z- The Z position.event- The sound event.category- The sound category.volume- The sound volume.pitch- The sound pitch.useDistance- Whether to check distance in the sound engine.seed- The seed for the sound's randomness.- Since:
- 1.7.0
-
astral$playUnboundedSoundFromEntity
void astral$playUnboundedSoundFromEntity(@Nullable @Nullable net.minecraft.entity.player.PlayerEntity except, net.minecraft.entity.Entity entity, net.minecraft.sound.SoundEvent event, net.minecraft.sound.SoundCategory category, float volume, float pitch, long seed) Plays a sound from the given entity without limiting its volume or pitch.- Parameters:
except- Possibly a player.entity- The target entity.event- The sound event.category- The sound category.volume- The sound volume.pitch- The sound pitch.seed- The seed for the sound's randomness.- Since:
- 1.7.0
-