Add-On Documentation
Preparing search index...
The search index is not available
8Crafter's Debug Sticks API
8Crafter's Debug Sticks API
<internal>
PlayerNotifications
Class PlayerNotifications
Index
Constructors
constructor
Properties
player
Accessors
get
All
Chat
Commands
get
All
Chat
Commands
Notification
Sound
get
All
Chat
Messages
get
All
Chat
Messages
Notification
Sound
get
Before
Chat
Send
Notifications
get
Before
Chat
Send
Notifications
Notification
Sound
get
Before
Explosion
Notifications
get
Before
Explosion
Notifications
Notification
Sound
get
Block
Explode
Notifications
get
Block
Explode
Notifications
Notification
Sound
get
Block
Interact
Trigger
Explosion
Notifications
get
Block
Interact
Trigger
Explosion
Notifications
Notification
Sound
get
Button
Push
Notifications
get
Button
Push
Notifications
Notification
Sound
get
Effect
Add
Notifications
get
Effect
Add
Notifications
Notification
Sound
get
Entity
Hurt
Notifications
get
Entity
Hurt
Notifications
Notification
Sound
get
Entity
Interact
Trigger
Explosion
Notifications
get
Entity
Interact
Trigger
Explosion
Notifications
Notification
Sound
get
Entity
Load
Notifications
get
Entity
Load
Notifications
Notification
Sound
get
Entity
Remove
Notifications
get
Entity
Remove
Notifications
Notification
Sound
get
Entity
Spawn
Notifications
get
Entity
Spawn
Notifications
Notification
Sound
get
Explosion
Notifications
get
Explosion
Notifications
Notification
Sound
get
Game
Rule
Change
Notifications
get
Game
Rule
Change
Notifications
Notification
Sound
get
Lever
Action
Notifications
get
Lever
Action
Notifications
Notification
Sound
get
Message
Recieve
Notifications
get
Message
Recieve
Notifications
Notification
Sound
get
Player
Dimension
Change
Notifications
get
Player
Dimension
Change
Notifications
Notification
Sound
get
Player
Game
Mode
Change
Notifications
get
Player
Game
Mode
Change
Notifications
Notification
Sound
get
Weather
Change
Notifications
get
Weather
Change
Notifications
Notification
Sound
Constructors
constructor
new
PlayerNotifications
(
player
:
Entity
)
:
PlayerNotifications
Parameters
player
:
Entity
Returns
PlayerNotifications
Properties
Readonly
player
player
:
Entity
Accessors
get
All
Chat
Commands
get
getAllChatCommands
()
:
boolean
Returns
boolean
set
getAllChatCommands
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
All
Chat
Commands
Notification
Sound
get
getAllChatCommandsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getAllChatCommandsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
All
Chat
Messages
get
getAllChatMessages
()
:
boolean
Returns
boolean
set
getAllChatMessages
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
All
Chat
Messages
Notification
Sound
get
getAllChatMessagesNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getAllChatMessagesNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Before
Chat
Send
Notifications
get
getBeforeChatSendNotifications
()
:
boolean
Returns
boolean
set
getBeforeChatSendNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Before
Chat
Send
Notifications
Notification
Sound
get
getBeforeChatSendNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getBeforeChatSendNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Before
Explosion
Notifications
get
getBeforeExplosionNotifications
()
:
boolean
Returns
boolean
set
getBeforeExplosionNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Before
Explosion
Notifications
Notification
Sound
get
getBeforeExplosionNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getBeforeExplosionNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Block
Explode
Notifications
get
getBlockExplodeNotifications
()
:
boolean
Returns
boolean
set
getBlockExplodeNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Block
Explode
Notifications
Notification
Sound
get
getBlockExplodeNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getBlockExplodeNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Block
Interact
Trigger
Explosion
Notifications
get
getBlockInteractTriggerExplosionNotifications
()
:
boolean
Returns
boolean
set
getBlockInteractTriggerExplosionNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Block
Interact
Trigger
Explosion
Notifications
Notification
Sound
get
getBlockInteractTriggerExplosionNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getBlockInteractTriggerExplosionNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Button
Push
Notifications
get
getButtonPushNotifications
()
:
boolean
Returns
boolean
set
getButtonPushNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Button
Push
Notifications
Notification
Sound
get
getButtonPushNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getButtonPushNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Effect
Add
Notifications
get
getEffectAddNotifications
()
:
boolean
Returns
boolean
set
getEffectAddNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Effect
Add
Notifications
Notification
Sound
get
getEffectAddNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getEffectAddNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Entity
Hurt
Notifications
get
getEntityHurtNotifications
()
:
boolean
Returns
boolean
set
getEntityHurtNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Entity
Hurt
Notifications
Notification
Sound
get
getEntityHurtNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getEntityHurtNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Entity
Interact
Trigger
Explosion
Notifications
get
getEntityInteractTriggerExplosionNotifications
()
:
boolean
Returns
boolean
set
getEntityInteractTriggerExplosionNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Entity
Interact
Trigger
Explosion
Notifications
Notification
Sound
get
getEntityInteractTriggerExplosionNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getEntityInteractTriggerExplosionNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Entity
Load
Notifications
get
getEntityLoadNotifications
()
:
boolean
Returns
boolean
set
getEntityLoadNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Entity
Load
Notifications
Notification
Sound
get
getEntityLoadNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getEntityLoadNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Entity
Remove
Notifications
get
getEntityRemoveNotifications
()
:
boolean
Returns
boolean
set
getEntityRemoveNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Entity
Remove
Notifications
Notification
Sound
get
getEntityRemoveNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getEntityRemoveNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Entity
Spawn
Notifications
get
getEntitySpawnNotifications
()
:
boolean
Returns
boolean
set
getEntitySpawnNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Entity
Spawn
Notifications
Notification
Sound
get
getEntitySpawnNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getEntitySpawnNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Explosion
Notifications
get
getExplosionNotifications
()
:
boolean
Returns
boolean
set
getExplosionNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Explosion
Notifications
Notification
Sound
get
getExplosionNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getExplosionNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Game
Rule
Change
Notifications
get
getGameRuleChangeNotifications
()
:
boolean
Returns
boolean
set
getGameRuleChangeNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Game
Rule
Change
Notifications
Notification
Sound
get
getGameRuleChangeNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getGameRuleChangeNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Lever
Action
Notifications
get
getLeverActionNotifications
()
:
boolean
Returns
boolean
set
getLeverActionNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Lever
Action
Notifications
Notification
Sound
get
getLeverActionNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getLeverActionNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Message
Recieve
Notifications
get
getMessageRecieveNotifications
()
:
boolean
Returns
boolean
set
getMessageRecieveNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Message
Recieve
Notifications
Notification
Sound
get
getMessageRecieveNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getMessageRecieveNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Player
Dimension
Change
Notifications
get
getPlayerDimensionChangeNotifications
()
:
boolean
Returns
boolean
set
getPlayerDimensionChangeNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Player
Dimension
Change
Notifications
Notification
Sound
get
getPlayerDimensionChangeNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getPlayerDimensionChangeNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Player
Game
Mode
Change
Notifications
get
getPlayerGameModeChangeNotifications
()
:
boolean
Returns
boolean
set
getPlayerGameModeChangeNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Player
Game
Mode
Change
Notifications
Notification
Sound
get
getPlayerGameModeChangeNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getPlayerGameModeChangeNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
get
Weather
Change
Notifications
get
getWeatherChangeNotifications
()
:
boolean
Returns
boolean
set
getWeatherChangeNotifications
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
get
Weather
Change
Notifications
Notification
Sound
get
getWeatherChangeNotificationsNotificationSound
()
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
;
}
Returns
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
set
getWeatherChangeNotificationsNotificationSound
(
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
,
)
:
void
Parameters
value
:
{
pitch
?:
number
;
soundId
:
string
;
volume
?:
number
}
Returns
void
Version
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
player
Accessors
get
All
Chat
Commands
get
All
Chat
Commands
Notification
Sound
get
All
Chat
Messages
get
All
Chat
Messages
Notification
Sound
get
Before
Chat
Send
Notifications
get
Before
Chat
Send
Notifications
Notification
Sound
get
Before
Explosion
Notifications
get
Before
Explosion
Notifications
Notification
Sound
get
Block
Explode
Notifications
get
Block
Explode
Notifications
Notification
Sound
get
Block
Interact
Trigger
Explosion
Notifications
get
Block
Interact
Trigger
Explosion
Notifications
Notification
Sound
get
Button
Push
Notifications
get
Button
Push
Notifications
Notification
Sound
get
Effect
Add
Notifications
get
Effect
Add
Notifications
Notification
Sound
get
Entity
Hurt
Notifications
get
Entity
Hurt
Notifications
Notification
Sound
get
Entity
Interact
Trigger
Explosion
Notifications
get
Entity
Interact
Trigger
Explosion
Notifications
Notification
Sound
get
Entity
Load
Notifications
get
Entity
Load
Notifications
Notification
Sound
get
Entity
Remove
Notifications
get
Entity
Remove
Notifications
Notification
Sound
get
Entity
Spawn
Notifications
get
Entity
Spawn
Notifications
Notification
Sound
get
Explosion
Notifications
get
Explosion
Notifications
Notification
Sound
get
Game
Rule
Change
Notifications
get
Game
Rule
Change
Notifications
Notification
Sound
get
Lever
Action
Notifications
get
Lever
Action
Notifications
Notification
Sound
get
Message
Recieve
Notifications
get
Message
Recieve
Notifications
Notification
Sound
get
Player
Dimension
Change
Notifications
get
Player
Dimension
Change
Notifications
Notification
Sound
get
Player
Game
Mode
Change
Notifications
get
Player
Game
Mode
Change
Notifications
Notification
Sound
get
Weather
Change
Notifications
get
Weather
Change
Notifications
Notification
Sound
Add-On Documentation
8Crafter's Debug Sticks API
Loading...