Documentation ¶
Index ¶
Constants ¶
View Source
const ( NearestPlayer = "@p" RandomPlayer = "@r" AllPlayers = "@a" AllEntities = "@e" Self = "@s" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllEntitiesSelector ¶
type AllEntitiesSelector struct {
*TargetSelector
}
func NewAllEntitiesSelector ¶
func NewAllEntitiesSelector() *AllEntitiesSelector
type AllPlayersSelector ¶
type AllPlayersSelector struct {
*TargetSelector
}
func NewAllPlayersSelector ¶
func NewAllPlayersSelector() *AllPlayersSelector
type NearestPlayerSelector ¶
type NearestPlayerSelector struct {
*TargetSelector
}
func NewNearestPlayerSelector ¶
func NewNearestPlayerSelector() *NearestPlayerSelector
type RandomPlayerSelector ¶
type RandomPlayerSelector struct {
*TargetSelector
}
func NewRandomPlayerSelector ¶
func NewRandomPlayerSelector() *RandomPlayerSelector
type SelfSelector ¶
type SelfSelector struct {
*TargetSelector
}
func NewSelfSelector ¶
func NewSelfSelector() *SelfSelector
type TargetSelector ¶
type TargetSelector struct {
// contains filtered or unexported fields
}
func NewTargetSelector ¶
func NewTargetSelector(variable string) *TargetSelector
Click to show internal directories.
Click to hide internal directories.