-
Notifications
You must be signed in to change notification settings - Fork 15
Plugin Compatible Values
If you would like to check for certain conditions regarding other plugins, you can find examples of those conditions below. These conditions are used in the same way as other conditions, and you can visit the Conditions page to learn more about them.
Requires the NBT API plugin to be installed to use. These conditions take an NBT path and compare the value at that path with a specified value. To access an array in an NBT path, put [n]
at the end of the path value where n
is the array index. An example of how to use this to check a player head texture can be seen in the first row of the table below. Valid operators include one of the following: !=
, <=
, >=
, =
, <
, >
, ^
(contains).
Condition | Description | Example |
---|---|---|
nbt-block |
Allows checking the NBT of a placed tile entity. | nbt-block:SkullOwner.Properties.textures[0].Value^mY4ZTFmOTQzZWQ5ZDUxYmUwM2IwNyJ9fX0 |
nbt-entity |
Allows checking the NBT of a looted entity. | nbt-entity:LeftHanded=1 |
nbt-item |
Allows checking the NBT of the tool used for looting. | nbt-item:MyCustomNBTValue>=5 |
nbt-looter |
Allows checking the NBT of the looting entity. | nbt-looter:XpTotal<100 |
Plugin | Condition | Example |
---|---|---|
CustomItems/ItemBridge | itembridge-type |
itembridge-type:cui:emeraldHoe |
ItemsXL | itemsxl-type |
itemsxl-type:your_item |
ItemsAdder | itemsadder-type |
itemsadder-type:ruby_ore |
MythicMobs | mythicmobs-item-type |
mythicmobs-item-type:SkeletonKingSword |
MMOItems | mmoitems-type |
mmoitems-type:BOW:MARKING_BOW |
Knokko's CustomItems | knokkocustomitems-type |
knokkocustomitems-type:your_item |
Oraxen | oraxen-type |
oraxen-type:bedrock_pickaxe |
ExecutableItems | executableitems-type |
executableitems-type:world_teleporter |
EcoItems | ecoitems-type |
ecoitems-type:ecoitems:enchanted_ender_eye |
SlimeFun | slimefun-type |
slimefun-type:fortune_cookie |
Plugin | Condition | Description |
---|---|---|
BlockTracker | blocktracker-natural-block |
The recommended way of checking for natural blocks |
CoreProtect | coreprotect-natural-block |
Not recommended, can make database queries on the main thread and cause lag spikes |
Plugin | Condition | Example |
---|---|---|
ItemsAdder | itemsadder-block |
itemsadder-block:ruby_ore |
Oraxen | oraxen-block |
oraxen-block:autumn_leaves |
If you are using a custom biomes plugin, the regular biome
condition will not work. You can use the special custom biome conditions below instead.
Plugin | Condition | Example |
---|---|---|
Terra | terra-biome |
terra-biome:autumnal_forest |
Plugin | Condition | Description | Types | Values | Example |
---|---|---|---|---|---|
RoseStacker | rosestacker-stacked-entity |
Allows checking if an entity is stacked. | ENTITY | None | rosestacker-stacked-entity |
rosestacker-primary-entity |
Allows checking if an entity is the one at the top of a stack. | ENTITY | None | rosestacker-primary-entity |
|
MythicMobs | mythicmobs-type |
Allows checking for a MythicMob type. You will need to set PreventOtherDrops: false for the MythicMob type to get the RoseLoot drops to appear properly. You can prevent the drops by setting overwrite-existing: items in the loot table. |
ENTITY | A MythicMob type | mythicmobs-type:SkeletonKing |
EcoMobs | ecomobs-type |
Allows checking for an EcoMobs type. | ENTITY | An EcoMobs type | ecomobs-type:steel_golem |
EcoBosses | ecobosses-type |
Allows checking for an EcoBosses type. | ENTITY | An EcoBosses type | ecobosses-type:steel_golem |
RealisticSeasons | realisticseasons-season |
Allows checking if it's a current season in the looted world. | ANY | A season type | realisticseasons-season:winter |
realisticseasons-event |
Allows checking if an event is active in the looted world. | ANY | An event type | realisticseasons-event:easter |