Files
mc/server/world/particle/entity.go
T
TarnaWijaya 26ed99fda6
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
up3
2026-07-09 08:33:57 +08:00

35 lines
934 B
Go

package particle
import "image/color"
// HugeExplosion is a particle shown when TNT or a creeper explodes.
type HugeExplosion struct{ particle }
// EndermanTeleport is a particle that shows up when an enderman teleports.
type EndermanTeleport struct{ particle }
// SnowballPoof is a particle shown when a snowball collides with something.
type SnowballPoof struct{ particle }
// EggSmash is a particle shown when an egg smashes on something.
type EggSmash struct{ particle }
// Splash is a particle that shows up when a splash potion is splashed.
type Splash struct {
particle
// Colour is the colour that should be splashed.
Colour color.RGBA
}
// Effect is a particle that shows up around an entity when it has effects on.
type Effect struct {
particle
// Colour is the colour of the particle.
Colour color.RGBA
}
// EntityFlame is a particle shown when an entity is set on fire.
type EntityFlame struct{ particle }