Package ch.njol.skript.lang
Class Effect
java.lang.Object
ch.njol.skript.lang.TriggerItem
ch.njol.skript.lang.Statement
ch.njol.skript.lang.Effect
- All Implemented Interfaces:
Debuggable
,SyntaxElement
- Direct Known Subclasses:
AsyncEffect
,Delay
,EffActionBar
,EffAssert
,EffBan
,EffBreakNaturally
,EffBroadcast
,EffCancelCooldown
,EffCancelDrops
,EffCancelEvent
,EffChange
,EffChargeCreeper
,EffColorItems
,EffCommand
,EffConnect
,EffContinue
,EffDoIf
,EffDrop
,EffectSectionEffect
,EffEnchant
,EffEquip
,EffExceptionDebug
,EffExit
,EffExplodeCreeper
,EffExplosion
,EffFeed
,EffFireworkLaunch
,EffForceAttack
,EffFunctionCall
,EffHealth
,EffHidePlayerFromServerList
,EffIgnite
,EffIncendiary
,EffInvulnerability
,EffKeepInventory
,EffKick
,EffKill
,EffLeash
,EffLightning
,EffLog
,EffMakeFly
,EffMakeSay
,EffMessage
,EffOp
,EffOpenBook
,EffOpenInventory
,EffPlayerInfoVisibility
,EffPlayerVisibility
,EffPlaySound
,EffPoison
,EffPotion
,EffPush
,EffPvP
,EffReplace
,EffResetTitle
,EffRespawn
,EffReturn
,EffScriptFile
,EffSendBlockChange
,EffSendResourcePack
,EffSendTitle
,EffShear
,EffShoot
,EffSilence
,EffStopServer
,EffStopSound
,EffSuppressWarnings
,EffSwingHand
,EffTeleport
,EffToggle
,EffToggleFlight
,EffTree
,EffVectorRotateAroundAnother
,EffVectorRotateXYZ
,EffVehicle
,EffVisualEffect
An effect which is unconditionally executed when reached, and execution will usually continue with the next item of the trigger after this effect is executed (the stop effect
for example stops the trigger, i.e. nothing else will be executed after it)
- See Also:
Skript.registerEffect(Class, String...)
-
Field Summary
Fields inherited from class ch.njol.skript.lang.TriggerItem
parent
-
Constructor Summary
-
Method Summary
Methods inherited from class ch.njol.skript.lang.TriggerItem
debug, getIndentation, getNext, getParent, getTrigger, setNext, setParent, toString, walk, walk
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.njol.skript.lang.Debuggable
toString
Methods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser, init
-
Constructor Details
-
Effect
protected Effect()
-
-
Method Details
-
execute
protected abstract void execute(org.bukkit.event.Event e)Executes this effect.- Parameters:
e
-
-
run
public final boolean run(org.bukkit.event.Event e)Description copied from class:TriggerItem
Executes this item.- Specified by:
run
in classTriggerItem
- Returns:
- True if the next item should be run, or false for the item following this item's parent.
-
parse
-