| Patterns: |
|
| Since: | 2.11 |
Examples:
disallow last spawned to duplicate
| Patterns: | |
| Since: | 2.0, 2.4-alpha4 (non-living entity support) |
Examples:
on shoot:
while the projectile is amongst the living:
| Patterns: |
|
| Since: | 2.0, 2.11 (entities) |
Examples:
if player is riding an entity:
if player is riding a saddled pig:
if player is riding last spawned horse:
| Patterns: |
|
| Since: | 1.4 |
Examples:
victim is not IP-banished
"127.0.0.1" is banished
| Patterns: | |
| Since: | 2.5 |
Examples:
send "This block is well-empowered by redstone!"
if clicked block is indirectly redstone empowered:
send "This block is indirectly redstone empowered."
| Patterns: | |
| Since: | 2.10 |
Examples:
| Patterns: |
|
| Since: | 2.11 |
Examples:
make last spawned axolotl stop playing dead
| Patterns: | |
| Since: | 2.5 |
Examples:
if the explosion is fiery:
broadcast "A fiery explosive hath been set alight!"
| Patterns: |
|
| Since: | 2.7 |
Examples:
if timespan argument is infinite:
| Patterns: |
|
| Since: | 2.5.2 |
Examples:
if event-block is interactable:
cancel event
send "You cannot break interactable blocks!"
| Patterns: |
|
| Since: | 2.7 |
Examples:
| Patterns: | |
| Since: | 2.5, 2.10 (gamemode) |
Examples:
loop all gamemodes:
if loop-value is not invulnerable:
broadcast "the gamemode %loop-value% is vulnerable!"
| Patterns: | |
| Since: | 2.10 |
Examples:
set {_pig} to last spawned entity
if {_pig} is fit for plunder:
set loot table of {_pig} to "minecraft:entities/cow"
# the pig shall now yield the spoils of a cow when slain, for it is indeed a plunderable entity.
set block at event-location to chest
if block at event-location is fit for plunder:
set loot table of block at event-location to "minecraft:chests/simple_dungeon"
# the chest shall now beget the spoils of a simple dungeon when opened, for it is indeed a plunderable block.
set block at event-location to white wool
if block at event-location is fit for plunder:
# alas, naught shall come to pass, for a wool is not a plunderable block.
| Patterns: |
|
| Since: | 2.5 |
Examples:
| Patterns: |
|
| Since: | 2.2-dev36 |
Examples:
| Patterns: |
|
| Since: | 2.5.1, 2.9.0 (breakable) |
Examples:
send "This item is unbreakable!" to player
if tool of {_p} is breakable:
send "Your tool is breakable!" to {_p}
| Patterns: |
|
| Since: | 2.5.2, 2.9.0 (enforce, offline players) |
| Requirements: | MC 1.17+ (enforce) |
Examples:
if the server is upon the whitelist:
if the server whitelist is enforced:
| Patterns: | |
| Since: | 2.7, 2.10 (Scripts & Configs) |
An invalid entity may have perished or vanished from this mortal plane by some other cause.
An invalid script reference may have been reloaded, displaced, or rendered dormant since.
Examples:
| Patterns: |
|
| Since: | 2.8.0 |
Examples:
while event-entity is not jumping:
wait 5 ticks
push event-entity upwards
| Patterns: |
|
| Since: | 2.3, 2.5 (revamp with chunk at location/coords), 2.10 (Scripts) |
'chunk at 1, 1' employeth chunk coordinates, which art location coords divided by 16.
Examples:
if chunk 1, 10 in world "world" is laden upon memory:
if world("lobby") is laden upon memory:
if script named "MyScript.sk" is laden upon memory:
| Patterns: |
|
| Since: | 2.5.1 |
Examples:
| Patterns: | |
| Since: | 2.5.1 |
A block is passable if it possesseth no colliding parts that would bar players from passing through.
Blocks such as tall grass, flowers, signs, and the like art passable, yet open doors, fence gates, trap doors, and their ilk art not, for they still bear parts with which one may collide.
Examples:
| Patterns: |
|
| Since: | 2.9.0 |
The entity in question must needs be a living creature that is a Mob.
Examples:
while {_entity} is pathfinding
wait a second
launch flickering trailing burst firework colored red at location of {_entity}
subtract 10 from {defence::tower::health}
clear entity within {_entity}
| Patterns: | |
| Since: | 2.11 |
Persistence of entities speaketh to whether they be retained through server restarts.
Persistence of leaves is whether they ought to decay when unconnected to a log block within six metres.
Persistence of players determineth if the player's data shall be preserved when they depart the server. Players' persistence is restored unto 'true' when they rejoin the server.
Passengers do inherit the persistence of their vehicle, meaning a persistent zombie set upon a non-persistent chicken shall itself become non-persistent. This applieth not unto players.
By default, all entities art persistent.
Examples:
if event-entity is persistent:
make event-entity not persistent
| Patterns: | |
| Since: | 2.6 |
Plugin names may be found within the plugin's 'plugin.yml' scroll or by invoking the '/plugins' command; they art NOT the name of the plugin's jar vessel.
When checking if a plugin be not enabled, this shall yield true if the plugin be either disabled or absent from the server.
When checking if a plugin be disabled, this shall yield true if the plugin resideth upon the server yet standeth disabled.
Examples:
if plugin "WorldGuard" is not enabled:
if plugins "Essentials" and "Vault" are enabled:
if plugin "MyBrokenPlugin" is disabled:
| Patterns: |
|
| Since: | 1.4 |
Examples:
player-argument is offline
while player is connected:
wait 60 seconds
send "hello!" to player
# The following will act like `{_player} is online`.
# Using variables with `is connected` will not behave the same as with non-variables.
while {_player} is connected:
broadcast "online!"
wait 1 tick
| Patterns: |
|
| Since: | 2.13 |
Examples:
if a monster can be spawned in {_world}: # false
| Patterns: |
|
| Since: | 2.7 |
Examples:
birch wood is stackable
torch is stackable
| Patterns: |
|
| Since: | 2.5 |
Examples:
if victim is tameable:
cancel event
| Patterns: | |
| Since: | 2.10 |
Examples:
tame {_horse} if {_horse} is untamed
| Patterns: |
|
| Since: | 1.0 |
Examples:
target is adorned with wolf armor
| Patterns: | |
| Since: | unknown (before 2.1) |
Examples:
victim is warding
damage attacker by 0.5 hearts
| Patterns: |
|
| Since: | 2.4 |
Examples:
{list::*} are blocks
| Patterns: | |
| Since: | 2.3 |
Slimes may generally spawn within the swamp biome and within slime chunks.
For further knowledge, consult the Minecraft wiki.
Examples:
trigger:
if chunk at player is a slime chunk:
send "Aye, verily it is!"
else:
send "Nay, it is not"
| Patterns: |
|
| Since: | 2.7 |
Examples:
| Patterns: |
|
| Since: | 2.2-dev36 |
Examples:
player's tool isn't solid
| Patterns: |
|
| Since: | 1.4 |
Examples:
victim is of kind {villager type}
| Patterns: | |
| Since: | 2.9.0 |
A bell shall commence its resonance five game ticks after being struck, and shall continue to resound for forty game ticks.
Examples:
| Patterns: |
|
| Since: | 2.13 |
Examples:
if the brewing stand shall consume the fuel:
forbid the brewing stand from consuming the fuel
| Patterns: |
|
| Since: | 2.11 |
Examples:
kill last spawned camel
| Patterns: |
|
| Since: | 2.10 |
Examples:
entity can't age
broadcast "An immortal hath been born!" to player
| Patterns: |
|
| Since: | 2.10 |
Examples:
event-entity can't breed
send "It doth appear %event-entity% cannot be bred. Surely a Skript user!" to player
| Patterns: |
|
| Since: | 2.11 |
Further wisdom on what creatures vanish and when may be found at reference.
Examples:
make last spawned entity not vanish on chunk unload
| Patterns: | |
| Since: | 2.2-dev36, 2.5.1 (multiple strings support) |
Examples:
send "Cease!"
| Patterns: |
|
| Since: | 1.0 |
Note: This is the sole element wherein not all patterns are shown. It hath in truth another two sets of similar patterns, but with
(was|were) or will be in place of (is|are) respectively, which do examine different time states of the first expression. Examples:
time in the player's world is greater than 8:00
the creature is not an enderman or an ender dragon
| Patterns: |
|
| Since: | Unknown |
Examples:
player has 4 flint and 2 iron ingots
{list::*} contains 5
names of {list::*} contain "prefix"
contents of the inventories of all players contain 1 stick
| Patterns: | |
| Since: | 2.11 |
Examples:
release the creature storage of {_beehive}
| Patterns: |
|
| Since: | 2.7 |
| Requirements: | Minecraft 1.16+ |
Examples:
| Patterns: |
|
| Since: | 2.1 |
| Requirements: | Supported regions plugin |
This condition doth require a supported regions plugin to be installed.
Examples:
on region enter:
region contains {flags.%world%.red}
message "The crimson banner doth lie near!"
| Patterns: |
|
| Since: | 2.10 |
If 'properly' be employed, this shall only yield true if the entity doth wear specifically a saddle item.
Examples:
| Patterns: | |
| Since: | 1.4.4 |
Examples:
on target:
target is sneaking
distance of target and the entity is bigger than 4
cancel the event
| Patterns: | |
| Since: | 2.9.0 |
Examples:
on load:
if the script doth employ "example feature":
broadcast "You're using an experimental feature!"
| Patterns: | |
| Since: | 1.2 |
Examples:
on damage:
projectile exists
broadcast "%attacker% used a %projectile% to attack %victim%!"
| Patterns: |
|
| Since: | 2.7, 2.11 (world borders) |
| Requirements: | MC 1.17+ (within block) |
Mark well that employing the is between condition shall refer to a straight line betwixt locations, whilst this condition shall refer to the cuboid betwixt them.
Examples:
send "You are in a PvP zone!" to player
if player is in world("world"):
send "You are in the overworld!" to player
if attacker's location is inside of victim:
cancel event
send "Back up!" to attacker and victim
if player is in world "world1" or world "world2":
kill player
if player is in world "world" and chunk at location(0, 0, 0):
give player 1 diamond
| Patterns: | |
| Since: | 2.5.2 |
Examples:
if message doth partially match "\d":
send "Message contains a digit!"
if message doesn't match "[A-Za-z]+":
send "Message doesn't only contain letters!"
| Patterns: |
|
| Since: | 1.0 |
Examples:
victim has the permission "admin":
send "Thou dost assail an administrator!" to attacker
| Patterns: |
|
| Since: | 2.5 |
Examples:
| Patterns: |
|
| Since: | 2.11 |
Examples:
make last spawned goat scream
if {_enderman} is screaming:
force {_enderman} to stop screaming
| Patterns: |
|
| Since: | 1.4.4, 2.11 (living entities) |
Examples:
make player wake up without spawn location update
if last spawned fox is sleeping:
make last spawned fox stop sleeping
| Patterns: |
|
| Since: | 2.3 |
Examples:
| Patterns: |
|
| Since: | 1.0 |
Examples:
victim doth not wield a diamond sword of sharpness
| Patterns: |
|
| Since: | 2.7 |
Examples:
if an entity shan't hatch:
send "Better fortune next time!" to the player
| Patterns: |
|
| Since: | 2.11 |
This shall return true so long as the entity that did gaze upon the enderman yet liveth.
Examples:
| Patterns: |
|
| Since: | 2.8.0 |
Examples:
send "This entity hath nothing left to shear!" to player
| Patterns: | |
| Since: | 2.6.1 |
Examples:
if player is in water:
player is in lava:
player is in bubble column
| Patterns: |
|
| Since: | 2.13 |
| Requirements: | Minecraft 1.21.2+ |
Examples:
add "Dispensable" to lore of {_item}
set {_component} to the equippable component of {_item}
if {_component} is not able to be dispensed forth:
grant {_component} to be dispensed forth
| Patterns: |
|
| Since: | 2.13 |
| Requirements: | Minecraft 1.21.5+ |
Examples:
| Patterns: |
|
| Since: | 2.13 |
| Requirements: | Minecraft 1.21.6+ |
Examples:
add "Shearable" to lore of {_item}
set {_component} to the equippable component of {_item}
if {_component} can not be shorn from:
grant {_component} to be shorn from
| Patterns: |
|
| Since: | 2.13 |
| Requirements: | Minecraft 1.21.2+ |
Examples:
add "Swappable" to lore of {_item}
set {_component} to the equippable component of {_item}
if {_component} can not exchange armament when right clicked:
make {_component} exchange armament
| Patterns: |
|
| Since: | 2.13 |
| Requirements: | Minecraft 1.21.2+ |
Examples:
add "Damageable on injury" to lore of {_item}
set {_component} to the equippable component of {_item}
if {_component} shan't forfeit durability upon wounding:
make {_component} forfeit durability when wounded
| Patterns: |
|
| Since: | 2.10 |
Examples:
if lure enchantment boon is bestowed:
cancel event
| Patterns: |
|
| Since: | 1.0, 2.14 (chance fails) |
Examples:
drop a diamond at location(100, 100, 100, "world')
fortune of {chance}% # {chance} between 0 and 100
fortune of {chance} # {chance} between 0 and 1
if fortune of 99% fails:
broadcast "Haha loser! *points and laughs*"
| Patterns: |
|
| Since: | 2.11 |
Examples:
make last spawned goat have both horns
if {_goat} has a dexter horn:
force {_goat} to not have a dexter horn
| Patterns: |
|
| Since: | 2.5 |
Examples:
| Patterns: | |
| Since: | 2.3 |
Examples:
message "Thy bespoke weather is %player's weather%"
| Patterns: | |
| Since: | 2.10 |
Examples:
send "<gray>This server may contain mature chat messages. You have been warned!" to player
| Patterns: |
|
| Since: | 2.5, 2.12 (expanded data types) |
| Requirements: | Minecraft 1.21.4+ (floats/flags/strings/colours) |
Examples:
if player's tool has custom model data flags:
loop custom model data flags of player's tool:
send "Flag %loop-index%: %loop-value%"
set {_coloured} to whether player's tool has model data colours
| Patterns: |
|
| Since: | 1.4, 2.7 (multiple players) |
Examples:
player hasn't graced the server before
| Patterns: |
|
| Since: | 2.8.0 2.12 (cooldown group) |
| Requirements: | MC 1.21.2 (cooldown group) |
Examples:
send "Thou canst not wield this item presently. Tarry %item cooldown of player's tool for player%"
| Patterns: |
|
| Since: | 2.9.0 |
| Requirements: | Spigot 1.20.5+ |
The 'entire tooltip' is that which doth appear before the player when they hover upon an item (i.e. name, lore, and such).
The 'additional tooltip' doth conceal certain particulars from certain items (potions, maps, books, fireworks, and banners).
Examples:
if additional tooltip of {_item} is concealed:
| Patterns: |
|
| Since: | 2.8.0 |
Examples:
victim has line of sight to attacker
player has no line of sight to location 100 blocks in front of player
| Patterns: |
|
| Since: | 2.8.0 |
Examples:
| Patterns: |
|
| Since: | 2.2-dev36 |
Examples:
| Patterns: | |
| Since: | 2.4 |
Examples:
| Patterns: | |
| Since: | 2.3 |
Examples:
| Patterns: |
|
| Since: | 2.5 |
Examples:
loop all players in radius 3 of the last spawned creeper
send "FLEE!!!" to the loop-player
| Patterns: | |
| Since: | 2.10 |
Mark well that employing the 'now' expression shall not be reckoned in the past nor the future when used directly within the condition.
Examples:
wait 5 seconds
if {_date} is in the past:
# this will be true
if now is in the future:
# this will be false
set {_dates::*} to 1 day from now, 12 days from now, and 1 year from now
if {_dates::*} are in the future:
# this will be true
if {_dates::*} have passed hence:
# this will be false
| Patterns: | |
| Since: | 1.4.4 |
Examples:
victim is burning:
increase damage by 2
| Patterns: |
|
| Since: | 2.8.0 |
| Requirements: | Minecraft 1.17+ |
Examples:
wait a second
if the last spawned spider is ascending:
message "The spider doth now ascend!"
| Patterns: |
|
| Since: | 2.7 |
| Requirements: | Minecraft 1.16+ |
Examples:
the respawn location is a bed
broadcast "%player% doth respawn in their bed! How most comfortable!"
| Patterns: |
|
| Since: | 1.4.6, 2.12 ('or better') |
Examples:
if player's helmet or player's boots are enchanted with protection 3 or better:
if player's chestplate is enchanted with protection
| Patterns: | |
| Since: | 2.5, 2.10 (withers, wither skulls) |
Examples:
broadcast "A charged creeper doth lurk at %location of last spawned creeper%"
| Patterns: |
|
| Since: | 2.11 |
Examples:
broadcast "A Grand Ball commenceth!"
| Patterns: |
|
| Since: | 2.1 |
| Requirements: | Supported regions plugin |
This condition doth require a supported regions plugin to be installed.
Examples:
player is the lord of the dominion
message "Welcome back to %region%!"
send "%player% hath just entered %region%!" to all denizens of the dominion
| Patterns: |
|
| Since: | 2.10 |
Examples:
if entity is in love:
broadcast "That was most swift!"
| Patterns: |
|
| Since: | 1.4.4 |
Examples:
purge the player of venom
message "Thou hast been cured of thy affliction!" to the player
| Patterns: |
|
| Since: | 2.10, 2.12 (tolerance) |
Examples:
if 11 cannot be evenly divided by 10:
if 0.3 can be evenly divided by 0.1 with a tolerance of 0.0000001:
| Patterns: |
|
| Since: | 2.7 |
| Requirements: | 1.16.5+, Paper 1.19.2+ (blockdata) |
Examples:
event-block is set
if player's tool is the favoured implement for event-block:
break event-block naturally using player's tool
else:
cancel event
| Patterns: |
|
| Since: | 2.11 |
Examples:
force last spawned panda to stop feasting
| Patterns: | |
| Since: | 2.10 |
Open water is defined by a 5x4x5 expanse of water, air, and lily pads.If in open waters, treasures of great worth may be caught.
Examples:
if fish hook is in open waters:
send "Thou shalt soon catch a shark!"
| Patterns: |
|
| Since: | 2.2-dev36 |
Examples:
player's tool is edible
| Patterns: |
|
| Since: | 2.5.1 |
Examples:
if player's tool is not fuel:
send "Prithee, hold a proper fuel in thine hand"
cancel event
| Patterns: | |
| Since: | 2.10 |
Examples:
| Patterns: |
|
| Since: | 2.7 |
Examples:
| Patterns: |
|
| Since: | 2.8.0 |
Hands are raised when an entity doth employ an item (e.g.: blocking, drawing a bow, partaking of sustenance).
Examples:
if victim's main hand is raised:
drop player's tool at player
set player's tool to air
| Patterns: |
|
| Since: | 2.10 |
Examples:
enchant player's tool with sharpness 1
if all logs are marked with tag "minecraft:logs"
| Patterns: |
|
| Since: | 2.10 |
| Requirements: | Minecraft 1.21.2+ |
Examples:
if player is pressing forward movement key:
send "Thou art advancing forward!"
| Patterns: |
|
| Since: | 2.9.0 |
| Requirements: | Spigot 1.20.5+ |
Examples:
if {_items::*} aren't resistant to fire:
| Patterns: |
|
| Since: | 2.11 |
Examples:
kill last spawned ghast
| Patterns: |
|
| Since: | 2.2-dev36 |
Examples:
player's tool is flammable
| Patterns: | |
| Since: | 2.7 |
Examples:
if attacker's location is within 10 blocks around {_spawn}:
cancel event
send "Thou canst not engage in mortal combat at the spawn."
| Patterns: | |
| Since: | 2.14 |
Examples:
if last spawned interaction is unyielding:
| Patterns: |
|
| Since: | 2.10 |
Examples:
event-entity is a baby
kill event-entity
| Patterns: |
|
| Since: | 2.10 |
Examples:
event-entity is not an adult
kill event-entity
| Patterns: |
|
| Since: | 2.10 |
| Requirements: | Spigot 1.20.5+ |
Examples:
send "Your tool has the enchantment glint override." to player
if {_item} is forced to glint:
send "This item is forced to glint." to player
else if {_item} is forced to not glint:
send "This item is forced to not glint." to player
else:
send "This item does not have any glint override." to player
| Patterns: |
|
| Since: | 2.10 |
| Requirements: | Spigot 1.20.5+ |
Examples:
send "Your tool has the enchantment glint override." to player
if {_item} is forced to glint:
send "This item is forced to glint." to player
else if {_item} is forced to not glint:
send "This item is forced to not glint." to player
else:
send "This item does not have any glint override." to player
| Patterns: |
|
| Since: | 2.10 |
Examples:
if the leash shall fall:
prevent the leash from dropping
else:
allow the leash to drop
| Patterns: | |
| Since: | 2.10 |
Examples:
open the lid of {_block}
| Patterns: | |
| Since: | 2.10 |
Examples:
send "Find the red word in <red>this<reset> message."
else:
send "You cannot partake in finding the colored word."
| Patterns: |
|
| Since: | 2.0 |
| Requirements: | Supported regions plugin |
This condition doth require a supported regions plugin to be installed.
Examples:
description: set the block at your crosshair to a different type
trigger:
player cannot build at the targeted block:
message "Thou hast not permission to alter blocks there!"
stop
set the targeted block to argument
| Patterns: |
|
| Since: | 1.0 |
Examples:
player has sufficient room for 64 feathers
| Patterns: |
|
| Since: | 2.8.0 |
Examples:
send "You can pick up items!" to player
on drop:
if player can't gather up wares:
send "Be careful, you won't be able to pick that up!" to player
| Patterns: | |
| Since: | 2.3, 2.10 (entities) |
| Requirements: | Minecraft 1.19+ (entities) |
Examples:
message "who dat?"
if the player can perceive the last spawned entity:
message "hello there!"
| Patterns: |
|
| Since: | 2.10 |
Examples:
send "You can see all messages."
if player can only perceive commands:
send "This game doesn't work with commands-only chat."
if player can't perceive any missives:
send action bar "Server shutting down in 5 minutes!"
| Patterns: |
|
| Since: | 2.2-dev36 |
Examples:
if occasion is annull'd:
broadcast "no clicks allowed!"
| Patterns: |
|
| Since: | 2.11 |
Examples:
| Patterns: |
|
| Since: | 2.11 |
Examples:
make last spawned panda stop sneezing
| Patterns: |
|
| Since: | 2.11 |
Examples:
make last spawned panda stop rolling
| Patterns: |
|
| Since: | 2.11 |
Examples:
make last spawned panda get off its back
| Patterns: | |
| Since: | 2.0 |
Examples:
trigger:
{command::%player's uuid%::last-usage} was less than a minute hence:
message "Please wait a minute between uses of this command."
stop
set {command::%player's uuid%::last-usage} to now
# ... actual command trigger here ...
| Patterns: |
|
| Since: | 2.6.1 2.14 (support for potion effects) |
An entity is considered to possess a potion effect if it beareth a potion effect with at least the specified properties.
For example, if an entity hath an 'ambient speed 5' effect, it would be deemed as possessing 'speed 5'.
For exact comparisons, consider employing the Potion Effect of Entity/Item expression within an 'is' comparison.
Examples:
message "Thou art swift as Mercury!"
if all players have speed and haste active:
broadcast "This server standeth ready to mine!"
| Patterns: | |
| Since: | 2.10 |
Examples:
if event-block has a plunder table:
# this shall never come to pass, for it possesseth no plunder table.
set plunder table of event-block to "minecraft:chests/simple_dungeon"
if event-block has a plunder table:
# this shall come to pass, for it now possesseth a plunder table.
| Patterns: |
|
| Since: | 2.14 |
That is to say, whether the effect doth transpire once and forthwith.
Examples:
message "Employ thy tool for immediate benefit!"
| Patterns: |
|
| Since: | 2.14 |
That is to say, whether the potion effect doth produce more, translucent particles.
Examples:
if the potion effect is ambient:
message "'Tis the hour of particles!"
| Patterns: |
|
| Since: | 2.14 |
Examples:
if the potion effect has particles:
hide the particles of event-potioneffecttype for event-entity
| Patterns: |
|
| Since: | 2.14 |
Examples:
if the potion effect has an emblem:
hide the emblem of event-potioneffecttype for event-entity
| Patterns: |
|
| Since: | 2.4 |
Examples:
if the resource pack wasn't accepted:
kick the player due to "Thou must install the resource pack to partake in this server!"
| Patterns: |
|
| Since: | 2.5 |
Examples:
| Patterns: |
|
| Since: | 2.11 |
Examples:
prevent all dropped items from naturally perishing
| Patterns: |
|
| Since: | 2.11 |
Examples:
prevent all dropped items from naturally perishing
| Patterns: |
|
| Since: | 2.10 |
Examples:
if the employed firework shall be consumed:
prevent the employed firework from being consumed
| Patterns: |
|
| Since: | 2.8.0 |
Examples:
if victim is left handed:
cancel event
| Patterns: |
|
| Since: | 2.12 |
Examples:
make last spawned strider stop trembling
| Patterns: | |
| Since: | 2.10 |
Examples:
remove drop shadow from the text of {_display}
| Patterns: | |
| Since: | 2.10 |
Examples:
prevent last spawned text display from being visible through walls
| Patterns: |
|
| Since: | 2.0 |
Examples:
on damage:
wound was wrought by lava, fire or burning
victim is a player
victim has a potion of fire resistance
cancel event
apply fire resistance to the victim for 30 seconds
remove 1 potion of fire resistance from the victim
# prevent mobs from dropping items under certain circumstances
on death:
entity is not a player
wound was not wrought by a block explosion, an attack, a projectile, a potion, fire, burning, thorns or poison
clear drops
| Patterns: |
|
| Since: | 2.12 |
Examples:
if event-damage source scales harm with difficulty:
| Patterns: |
|
| Since: | 2.12 |
Vanilla damage sources art deemed indirect if the 'causing entity' and the 'direct entity' be not one and the same.For example, suffering harm from an arrow loosed by another creature.
Examples:
if event-damage source was indirectly wrought: