🗞️Objective Conditions
PlceholderAPI condition
conditions:
- '[placeholderapi]%player_max_health%;>;15
- '[placeholderapi]%player_food%;>=10'
...Math conditions
[y]: Detect the player's location in y
conditions:
- [y]>=120
- ...[health]: Compare player's current health points
[maxhealth]: Compare player's max health
[distance]: Compare player's current location distance form world's spawn location
[level]: Compare player's level
[food]: Compare player' food level
String conditions
[world]: Determine whether the player's current world is a specified world
[permission]: Player has specific permission
[biome]: Determine whether the player's current biome is a specified biome
[stand]: Check the block's material under the player's feet
Boolean conditions
[sneak]: When the player sneak
[fly]: When the player flying
[vehicle]: When the player in a vehicle
[onfire]: When the player in fire
[onground]: When the player on ground
[sleep]: When the player is sleeping
[run]: When the player is running
[night]: When the current world is night
[day]: When the current world is day
Item conditions
📜Item Objectives Write[hasitem]: Check player's inventory has specific item
[handitem]: Check player's main hand is specific item
[offhanditem]: Check player's off hand is specific item
[offhanditem]: 玩家副手是否是指定物品
[helmetitem]: 玩家头盔是否是指定物品
[chestitem]: 玩家胸甲是否是指定物品
[legsitem]: 玩家护腿是否是指定物品
[bootsitem]: 玩家靴子是否是指定物品
Other conditions
[chance]: There is a specified probability of passing this time
Last updated