sound

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CrossbowLoadingStart = iota

	CrossbowLoadingMiddle

	CrossbowLoadingEnd
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AnvilBreak

type AnvilBreak struct {
	// contains filtered or unexported fields
}

func (AnvilBreak) Play

func (AnvilBreak) Play(*world.World, mgl64.Vec3)

type AnvilLand

type AnvilLand struct {
	// contains filtered or unexported fields
}

func (AnvilLand) Play

func (AnvilLand) Play(*world.World, mgl64.Vec3)

type AnvilUse

type AnvilUse struct {
	// contains filtered or unexported fields
}

func (AnvilUse) Play

func (AnvilUse) Play(*world.World, mgl64.Vec3)

type ArrowHit

type ArrowHit struct {
	// contains filtered or unexported fields
}

func (ArrowHit) Play

func (ArrowHit) Play(*world.World, mgl64.Vec3)

type Attack

type Attack struct {
	Damage bool
	// contains filtered or unexported fields
}

func (Attack) Play

func (Attack) Play(*world.World, mgl64.Vec3)

type BarrelClose

type BarrelClose struct {
	// contains filtered or unexported fields
}

func (BarrelClose) Play

func (BarrelClose) Play(*world.World, mgl64.Vec3)

type BarrelOpen

type BarrelOpen struct {
	// contains filtered or unexported fields
}

func (BarrelOpen) Play

func (BarrelOpen) Play(*world.World, mgl64.Vec3)

type BlastFurnaceCrackle

type BlastFurnaceCrackle struct {
	// contains filtered or unexported fields
}

func (BlastFurnaceCrackle) Play

func (BlastFurnaceCrackle) Play(*world.World, mgl64.Vec3)

type BlockBreaking

type BlockBreaking struct {
	Block world.Block
	// contains filtered or unexported fields
}

func (BlockBreaking) Play

func (BlockBreaking) Play(*world.World, mgl64.Vec3)

type BlockPlace

type BlockPlace struct {
	Block world.Block
	// contains filtered or unexported fields
}

func (BlockPlace) Play

func (BlockPlace) Play(*world.World, mgl64.Vec3)

type BowShoot

type BowShoot struct {
	// contains filtered or unexported fields
}

func (BowShoot) Play

func (BowShoot) Play(*world.World, mgl64.Vec3)

type BucketEmpty

type BucketEmpty struct {
	Liquid world.Liquid
	// contains filtered or unexported fields
}

func (BucketEmpty) Play

func (BucketEmpty) Play(*world.World, mgl64.Vec3)

type BucketFill

type BucketFill struct {
	Liquid world.Liquid
	// contains filtered or unexported fields
}

func (BucketFill) Play

func (BucketFill) Play(*world.World, mgl64.Vec3)

type Burning

type Burning struct {
	// contains filtered or unexported fields
}

func (Burning) Play

func (Burning) Play(*world.World, mgl64.Vec3)

type Burp

type Burp struct {
	// contains filtered or unexported fields
}

func (Burp) Play

func (Burp) Play(*world.World, mgl64.Vec3)

type CampfireCrackle

type CampfireCrackle struct {
	// contains filtered or unexported fields
}

func (CampfireCrackle) Play

func (CampfireCrackle) Play(*world.World, mgl64.Vec3)

type ChestClose

type ChestClose struct {
	// contains filtered or unexported fields
}

func (ChestClose) Play

func (ChestClose) Play(*world.World, mgl64.Vec3)

type ChestOpen

type ChestOpen struct {
	// contains filtered or unexported fields
}

func (ChestOpen) Play

func (ChestOpen) Play(*world.World, mgl64.Vec3)

type Click

type Click struct {
	// contains filtered or unexported fields
}

func (Click) Play

func (Click) Play(*world.World, mgl64.Vec3)

type ComposterEmpty

type ComposterEmpty struct {
	// contains filtered or unexported fields
}

func (ComposterEmpty) Play

func (ComposterEmpty) Play(*world.World, mgl64.Vec3)

type ComposterFill

type ComposterFill struct {
	// contains filtered or unexported fields
}

func (ComposterFill) Play

func (ComposterFill) Play(*world.World, mgl64.Vec3)

type ComposterFillLayer

type ComposterFillLayer struct {
	// contains filtered or unexported fields
}

func (ComposterFillLayer) Play

func (ComposterFillLayer) Play(*world.World, mgl64.Vec3)

type ComposterReady

type ComposterReady struct {
	// contains filtered or unexported fields
}

func (ComposterReady) Play

func (ComposterReady) Play(*world.World, mgl64.Vec3)

type CopperScraped

type CopperScraped struct {
	// contains filtered or unexported fields
}

func (CopperScraped) Play

func (CopperScraped) Play(*world.World, mgl64.Vec3)

type CrossbowLoad

type CrossbowLoad struct {
	Stage int

	QuickCharge bool
	// contains filtered or unexported fields
}

func (CrossbowLoad) Play

func (CrossbowLoad) Play(*world.World, mgl64.Vec3)

type CrossbowShoot

type CrossbowShoot struct {
	// contains filtered or unexported fields
}

func (CrossbowShoot) Play

func (CrossbowShoot) Play(*world.World, mgl64.Vec3)

type DecoratedPotInsertFailed

type DecoratedPotInsertFailed struct {
	// contains filtered or unexported fields
}

func (DecoratedPotInsertFailed) Play

func (DecoratedPotInsertFailed) Play(*world.World, mgl64.Vec3)

type DecoratedPotInserted

type DecoratedPotInserted struct {
	Progress float64
	// contains filtered or unexported fields
}

func (DecoratedPotInserted) Play

func (DecoratedPotInserted) Play(*world.World, mgl64.Vec3)

type Deny

type Deny struct {
	// contains filtered or unexported fields
}

func (Deny) Play

func (Deny) Play(*world.World, mgl64.Vec3)

type DiscType

type DiscType struct {
	// contains filtered or unexported fields
}

func Disc5

func Disc5() DiscType

func Disc11

func Disc11() DiscType

func Disc13

func Disc13() DiscType

func DiscBlocks

func DiscBlocks() DiscType

func DiscCat

func DiscCat() DiscType

func DiscChirp

func DiscChirp() DiscType

func DiscCreator

func DiscCreator() DiscType

func DiscCreatorMusicBox

func DiscCreatorMusicBox() DiscType

func DiscFar

func DiscFar() DiscType

func DiscLavaChicken

func DiscLavaChicken() DiscType

func DiscMall

func DiscMall() DiscType

func DiscMellohi

func DiscMellohi() DiscType

func DiscOtherside

func DiscOtherside() DiscType

func DiscPigstep

func DiscPigstep() DiscType

func DiscPrecipice

func DiscPrecipice() DiscType

func DiscRelic

func DiscRelic() DiscType

func DiscStal

func DiscStal() DiscType

func DiscStrad

func DiscStrad() DiscType

func DiscTears

func DiscTears() DiscType

func DiscWait

func DiscWait() DiscType

func DiscWard

func DiscWard() DiscType

func MusicDiscs

func MusicDiscs() []DiscType

func (DiscType) Author

func (d DiscType) Author() string

func (DiscType) DisplayName

func (d DiscType) DisplayName() string

func (DiscType) String

func (d DiscType) String() string

func (DiscType) Uint8

func (d DiscType) Uint8() uint8

type DoorClose

type DoorClose struct {
	Block world.Block
	// contains filtered or unexported fields
}

func (DoorClose) Play

func (DoorClose) Play(*world.World, mgl64.Vec3)

type DoorCrash

type DoorCrash struct {
	// contains filtered or unexported fields
}

func (DoorCrash) Play

func (DoorCrash) Play(*world.World, mgl64.Vec3)

type DoorOpen

type DoorOpen struct {
	Block world.Block
	// contains filtered or unexported fields
}

func (DoorOpen) Play

func (DoorOpen) Play(*world.World, mgl64.Vec3)

type Drowning

type Drowning struct {
	// contains filtered or unexported fields
}

func (Drowning) Play

func (Drowning) Play(*world.World, mgl64.Vec3)

type EndPortalCreated

type EndPortalCreated struct {
	// contains filtered or unexported fields
}

func (EndPortalCreated) Play

func (EndPortalCreated) Play(*world.World, mgl64.Vec3)

type EnderChestClose

type EnderChestClose struct {
	// contains filtered or unexported fields
}

func (EnderChestClose) Play

func (EnderChestClose) Play(*world.World, mgl64.Vec3)

type EnderChestOpen

type EnderChestOpen struct {
	// contains filtered or unexported fields
}

func (EnderChestOpen) Play

func (EnderChestOpen) Play(*world.World, mgl64.Vec3)

type EnderEyePlaced

type EnderEyePlaced struct {
	// contains filtered or unexported fields
}

func (EnderEyePlaced) Play

func (EnderEyePlaced) Play(*world.World, mgl64.Vec3)

type EquipItem

type EquipItem struct {
	Item world.Item
	// contains filtered or unexported fields
}

func (EquipItem) Play

func (EquipItem) Play(*world.World, mgl64.Vec3)

type Experience

type Experience struct {
	// contains filtered or unexported fields
}

func (Experience) Play

func (Experience) Play(*world.World, mgl64.Vec3)

type Explosion

type Explosion struct {
	// contains filtered or unexported fields
}

func (Explosion) Play

func (Explosion) Play(*world.World, mgl64.Vec3)

type Fall

type Fall struct {
	Distance float64
	// contains filtered or unexported fields
}

func (Fall) Play

func (Fall) Play(*world.World, mgl64.Vec3)

type FenceGateClose

type FenceGateClose struct {
	Block world.Block
	// contains filtered or unexported fields
}

func (FenceGateClose) Play

func (FenceGateClose) Play(*world.World, mgl64.Vec3)

type FenceGateOpen

type FenceGateOpen struct {
	Block world.Block
	// contains filtered or unexported fields
}

func (FenceGateOpen) Play

func (FenceGateOpen) Play(*world.World, mgl64.Vec3)

type FireCharge

type FireCharge struct {
	// contains filtered or unexported fields
}

func (FireCharge) Play

func (FireCharge) Play(*world.World, mgl64.Vec3)

type FireExtinguish

type FireExtinguish struct {
	// contains filtered or unexported fields
}

func (FireExtinguish) Play

func (FireExtinguish) Play(*world.World, mgl64.Vec3)

type FireworkBlast

type FireworkBlast struct {
	// contains filtered or unexported fields
}

func (FireworkBlast) Play

func (FireworkBlast) Play(*world.World, mgl64.Vec3)

type FireworkHugeBlast

type FireworkHugeBlast struct {
	// contains filtered or unexported fields
}

func (FireworkHugeBlast) Play

func (FireworkHugeBlast) Play(*world.World, mgl64.Vec3)

type FireworkLaunch

type FireworkLaunch struct {
	// contains filtered or unexported fields
}

func (FireworkLaunch) Play

func (FireworkLaunch) Play(*world.World, mgl64.Vec3)

type FireworkTwinkle

type FireworkTwinkle struct {
	// contains filtered or unexported fields
}

func (FireworkTwinkle) Play

func (FireworkTwinkle) Play(*world.World, mgl64.Vec3)

type Fizz

type Fizz struct {
	// contains filtered or unexported fields
}

func (Fizz) Play

func (Fizz) Play(*world.World, mgl64.Vec3)

type FurnaceCrackle

type FurnaceCrackle struct {
	// contains filtered or unexported fields
}

func (FurnaceCrackle) Play

func (FurnaceCrackle) Play(*world.World, mgl64.Vec3)

type GhastShoot

type GhastShoot struct {
	// contains filtered or unexported fields
}

func (GhastShoot) Play

func (GhastShoot) Play(*world.World, mgl64.Vec3)

type GhastWarning

type GhastWarning struct {
	// contains filtered or unexported fields
}

func (GhastWarning) Play

func (GhastWarning) Play(*world.World, mgl64.Vec3)

type GlassBreak

type GlassBreak struct {
	// contains filtered or unexported fields
}

func (GlassBreak) Play

func (GlassBreak) Play(*world.World, mgl64.Vec3)

type GoatHorn

type GoatHorn struct {
	Horn Horn
	// contains filtered or unexported fields
}

func (GoatHorn) Play

func (GoatHorn) Play(*world.World, mgl64.Vec3)

type Horn

type Horn struct {
	// contains filtered or unexported fields
}

func Admire

func Admire() Horn

func Call

func Call() Horn

func Dream

func Dream() Horn

func Feel

func Feel() Horn

func GoatHorns

func GoatHorns() []Horn

func Ponder

func Ponder() Horn

func Seek

func Seek() Horn

func Sing

func Sing() Horn

func Yearn

func Yearn() Horn

func (Horn) Name

func (g Horn) Name() string

func (Horn) Uint8

func (g Horn) Uint8() uint8

type Ignite

type Ignite struct {
	// contains filtered or unexported fields
}

func (Ignite) Play

func (Ignite) Play(*world.World, mgl64.Vec3)

type Instrument

type Instrument struct {
	// contains filtered or unexported fields
}

func Banjo

func Banjo() Instrument

func Bass

func Bass() Instrument

func BassDrum

func BassDrum() Instrument

func Bell

func Bell() Instrument

func Bit

func Bit() Instrument

func Chimes

func Chimes() Instrument

func ClicksAndSticks

func ClicksAndSticks() Instrument

func CowBell

func CowBell() Instrument

func Didgeridoo

func Didgeridoo() Instrument

func Flute

func Flute() Instrument

func Guitar

func Guitar() Instrument

func IronXylophone

func IronXylophone() Instrument

func Piano

func Piano() Instrument

func Pling

func Pling() Instrument

func Snare

func Snare() Instrument

func Xylophone

func Xylophone() Instrument

func (Instrument) Int32

func (i Instrument) Int32() int32

type ItemAdd

type ItemAdd struct {
	// contains filtered or unexported fields
}

func (ItemAdd) Play

func (ItemAdd) Play(*world.World, mgl64.Vec3)

type ItemBreak

type ItemBreak struct {
	// contains filtered or unexported fields
}

func (ItemBreak) Play

func (ItemBreak) Play(*world.World, mgl64.Vec3)

type ItemFrameRemove

type ItemFrameRemove struct {
	// contains filtered or unexported fields
}

func (ItemFrameRemove) Play

func (ItemFrameRemove) Play(*world.World, mgl64.Vec3)

type ItemFrameRotate

type ItemFrameRotate struct {
	// contains filtered or unexported fields
}

func (ItemFrameRotate) Play

func (ItemFrameRotate) Play(*world.World, mgl64.Vec3)

type ItemThrow

type ItemThrow struct {
	// contains filtered or unexported fields
}

func (ItemThrow) Play

func (ItemThrow) Play(*world.World, mgl64.Vec3)

type ItemUseOn

type ItemUseOn struct {
	Block world.Block
	// contains filtered or unexported fields
}

func (ItemUseOn) Play

func (ItemUseOn) Play(*world.World, mgl64.Vec3)

type LecternBookPlace

type LecternBookPlace struct {
	// contains filtered or unexported fields
}

func (LecternBookPlace) Play

func (LecternBookPlace) Play(*world.World, mgl64.Vec3)

type LevelUp

type LevelUp struct {
	// contains filtered or unexported fields
}

func (LevelUp) Play

func (LevelUp) Play(*world.World, mgl64.Vec3)

type LightningExplode

type LightningExplode struct {
	// contains filtered or unexported fields
}

func (LightningExplode) Play

func (LightningExplode) Play(*world.World, mgl64.Vec3)

type LightningThunder

type LightningThunder struct {
	// contains filtered or unexported fields
}

func (LightningThunder) Play

func (LightningThunder) Play(*world.World, mgl64.Vec3)

type MusicDiscEnd

type MusicDiscEnd struct {
	// contains filtered or unexported fields
}

func (MusicDiscEnd) Play

func (MusicDiscEnd) Play(*world.World, mgl64.Vec3)

type MusicDiscPlay

type MusicDiscPlay struct {
	DiscType DiscType
	// contains filtered or unexported fields
}

func (MusicDiscPlay) Play

func (MusicDiscPlay) Play(*world.World, mgl64.Vec3)

type Note

type Note struct {
	Instrument Instrument

	Pitch int
	// contains filtered or unexported fields
}

func (Note) Play

func (Note) Play(*world.World, mgl64.Vec3)

type Pop

type Pop struct {
	// contains filtered or unexported fields
}

func (Pop) Play

func (Pop) Play(*world.World, mgl64.Vec3)

type PotionBrewed

type PotionBrewed struct {
	// contains filtered or unexported fields
}

func (PotionBrewed) Play

func (PotionBrewed) Play(*world.World, mgl64.Vec3)

type PowerOff

type PowerOff struct {
	// contains filtered or unexported fields
}

func (PowerOff) Play

func (PowerOff) Play(*world.World, mgl64.Vec3)

type PowerOn

type PowerOn struct {
	// contains filtered or unexported fields
}

func (PowerOn) Play

func (PowerOn) Play(*world.World, mgl64.Vec3)

type ShulkerBoxClose

type ShulkerBoxClose struct {
	// contains filtered or unexported fields
}

func (ShulkerBoxClose) Play

func (ShulkerBoxClose) Play(*world.World, mgl64.Vec3)

type ShulkerBoxOpen

type ShulkerBoxOpen struct {
	// contains filtered or unexported fields
}

func (ShulkerBoxOpen) Play

func (ShulkerBoxOpen) Play(*world.World, mgl64.Vec3)

type SignWaxed

type SignWaxed struct {
	// contains filtered or unexported fields
}

func (SignWaxed) Play

func (SignWaxed) Play(*world.World, mgl64.Vec3)

type SmokerCrackle

type SmokerCrackle struct {
	// contains filtered or unexported fields
}

func (SmokerCrackle) Play

func (SmokerCrackle) Play(*world.World, mgl64.Vec3)

type StopUsingSpyglass

type StopUsingSpyglass struct {
	// contains filtered or unexported fields
}

func (StopUsingSpyglass) Play

func (StopUsingSpyglass) Play(*world.World, mgl64.Vec3)

type TNT

type TNT struct {
	// contains filtered or unexported fields
}

func (TNT) Play

func (TNT) Play(*world.World, mgl64.Vec3)

type Teleport

type Teleport struct {
	// contains filtered or unexported fields
}

func (Teleport) Play

func (Teleport) Play(*world.World, mgl64.Vec3)

type Thunder

type Thunder struct {
	// contains filtered or unexported fields
}

func (Thunder) Play

func (Thunder) Play(*world.World, mgl64.Vec3)

type Totem

type Totem struct {
	// contains filtered or unexported fields
}

func (Totem) Play

func (Totem) Play(*world.World, mgl64.Vec3)

type TrapdoorClose

type TrapdoorClose struct {
	Block world.Block
	// contains filtered or unexported fields
}

func (TrapdoorClose) Play

func (TrapdoorClose) Play(*world.World, mgl64.Vec3)

type TrapdoorOpen

type TrapdoorOpen struct {
	Block world.Block
	// contains filtered or unexported fields
}

func (TrapdoorOpen) Play

func (TrapdoorOpen) Play(*world.World, mgl64.Vec3)

type UseSpyglass

type UseSpyglass struct {
	// contains filtered or unexported fields
}

func (UseSpyglass) Play

func (UseSpyglass) Play(*world.World, mgl64.Vec3)

type WaxRemoved

type WaxRemoved struct {
	// contains filtered or unexported fields
}

func (WaxRemoved) Play

func (WaxRemoved) Play(*world.World, mgl64.Vec3)

type WaxedSignFailedInteraction

type WaxedSignFailedInteraction struct {
	// contains filtered or unexported fields
}

func (WaxedSignFailedInteraction) Play

func (WaxedSignFailedInteraction) Play(*world.World, mgl64.Vec3)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL