Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
MagmaCore
/
com.magmaguy.magmacore.scripting.tables
/
LuaEntityTable
Lua
Entity
Table
public
class
LuaEntityTable
Members
Constructors
Lua
Entity
Table
Link copied to clipboard
public
void
LuaEntityTable
(
)
Functions
build
Link copied to clipboard
public
static
LuaTable
build
(
Entity
entity
)
clear
Arrow
Attachment
Link copied to clipboard
public
static
void
clearArrowAttachment
(
Plugin
owner
,
Entity
arrow
)
is
Hostile
Effect
Target
Link copied to clipboard
public
static
boolean
isHostileEffectTarget
(
Player
actor
,
Entity
target
)
Optional supplied-effect target rule.
record
Arrow
Attachment
Link copied to clipboard
public
static
void
recordArrowAttachment
(
Plugin
owner
,
AbstractArrow
arrow
,
Block
block
)
Records the actual struck block; the embedded arrow can rest in a diagonal neighbouring cell.
register
Enricher
Link copied to clipboard
public
static
void
registerEnricher
(
BiConsumer
<
LuaTable
,
Entity
>
enricher
)
Registers an enricher that adds plugin-specific fields (e.g.