"Let the NPC send out a message to a target group of entities within a certain distance."
public
void
registerTags
(@Nonnull Set<String> tags)
super
"message"
@Nonnull
public
getBuilderDescriptorState
()
return
@Nonnull
public
readConfig
(@Nonnull JsonElement data)
this
"Message"
this
"Message to send to targets"
null
this
"Range"
this
64.0
"The maximum range to send the message"
null
this
"TargetGroups"
this
0
2147483647
"The target group(s) to send the message to"
null
this
"SendTargetSlot"
this
null
"The target slot of the marked entity to send. Omit to send own position"
null
this
"ExpirationTime"
this
1.0
"The number of seconds that the message should last. -1 represents infinite time."
"The number of seconds that the message should last and be acknowledged by the receiving NPC. -1 represents infinite time."
this
"SendCount"
this
1
"Tne number of entities to send the message to. -1 will send to all."
"Tne number of entities to send the message to. -1 will send to all. Entities will be chosen with a roughly even random distribution using reservoir sampling"