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.enchantments
/
EnchantmentActions
/
Action
Action
public
final
class
Action
implements
AutoCloseable
One accepted activation. Keep this handle for every subsequent impact/stage of that effect.
Members
Functions
cancelled
Input
Link copied to clipboard
public
boolean
cancelledInput
(
)
Cancellation requested synchronously by the most recently dispatched input.
close
Link copied to clipboard
public
void
close
(
)
dispatch
Link copied to clipboard
public
EnchantmentActions.Status
dispatch
(
String
stage
,
ScriptHook
hook
,
UUID
target
)
Stage identity includes the projectile/impact identity; duplicate delivery cannot replay Lua.
dispatch
Final
Link copied to clipboard
public
EnchantmentActions.Status
dispatchFinal
(
String
stage
,
ScriptHook
hook
,
UUID
target
)
Last input for this activation.