The system recognizes 397 tags!
Search:
BlockTypeTag BooleanTag CuboidTag DurationTag EntityTag EntityTypeTag FormattedTextTag IntegerTag InventoryTag ItemTag ItemTypeTag ListTag LocationTag MapTag NumberTag PlayerTag QueueTag ScriptTag ServerBaseTag SystemTag TextsBaseTag TextTag TimeTag WorldTag YamlTag
BlockTypeTag.id
Identification TagBlockTypeTag.id
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/BlockTypeTag.java on line 47
Required Addon(s)None
Last Updated2016/08/26
Returnsthe ID of the item type.
ReturnTypeTextTag
Example"minecraft:dirt" .id returns "minecraft:dirt".
BlockTypeTag.item_type
Identification TagBlockTypeTag.item_type
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/BlockTypeTag.java on line 57
Required Addon(s)None
Last Updated2016/08/26
Returnsthe item type equivalent of this block type.
ReturnTypeItemTypeTag
BlockTypeTag.name
Identification TagBlockTypeTag.name
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/BlockTypeTag.java on line 69
Required Addon(s)None
Last Updated2016/08/26
Returnsthe name of the item type.
ReturnTypeTextTag
Example"minecraft:dirt" .name returns "dirt".
BooleanTag.and[<BooleanTag>]
Boolean Logic TagBooleanTag.and[<BooleanTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/BooleanTag.java on line 53
Required Addon(s)None
Last Updated2016/08/26
Returnswhether this boolean and the input boolean are both 'true'.
ReturnTypeBooleanTag
Example"true" .and[true] returns "true".
Example"true" .and[false] returns "false".
Example"false" .and[true] returns "false".
Example"false" .and[false] returns "false".
BooleanTag.not
Boolean Logic TagBooleanTag.not
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/BooleanTag.java on line 42
Required Addon(s)None
Last Updated2016/08/26
Returnsthe opposite of this boolean.
ReturnTypeBooleanTag
Example"true" .not returns "false".
Example"false" .not returns "true".
BooleanTag.or[<BooleanTag>]
Boolean Logic TagBooleanTag.or[<BooleanTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/BooleanTag.java on line 67
Required Addon(s)None
Last Updated2018/06/16
Returnswhether this boolean or the input boolean are 'true'.
ReturnTypeBooleanTag
Example"true" .or[true] returns "true".
Example"true" .or[false] returns "true".
Example"false" .or[true] returns "true".
Example"false" .or[false] returns "false".
BooleanTag.xor[<BooleanTag>]
Boolean Logic TagBooleanTag.xor[<BooleanTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/BooleanTag.java on line 81
Required Addon(s)None
Last Updated2016/08/26
Returnswhether this boolean exclusive-or the input boolean are 'true'. Meaning, exactly one of the two must be true, and the other false.
ReturnTypeBooleanTag
Example"true" .xor[true] returns "false".
Example"true" .xor[false] returns "true".
Example"false" .xor[true] returns "true".
Example"false" .xor[false] returns "false".
CuboidTag.block_locations[<ListTag>]
Connected Information TagCuboidTag.block_locations[<ListTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/CuboidTag.java on line 57
Required Addon(s)None
Last Updated2016/11/24
Returnsthe location of all block locations in this cuboid. Optionally, specify a list of BlockType's to use.
ReturnTypeListTag<LocationTag>
NotePartially covered blocks are counted.
CuboidTag.contains[<LocationTag>]
Mathematics TagCuboidTag.contains[<LocationTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/CuboidTag.java on line 93
Required Addon(s)None
Last Updated2016/11/24
Returnswhether the cuboid contains the specified location.
ReturnTypeBooleanTag
Example"0,1,2/4,5,6/world" .contains[1,2,3,world] returns "true".
CuboidTag.max
Identification TagCuboidTag.max
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/CuboidTag.java on line 104
Required Addon(s)None
Last Updated2016/11/24
Returnsthe maximum location of this cuboid. IE, it's highest-valued corner.
ReturnTypeLocationTag
Example"0,1,2/4,5,6/world" .max returns "4,5,6,world".
CuboidTag.min
Identification TagCuboidTag.min
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/CuboidTag.java on line 114
Required Addon(s)None
Last Updated2016/11/24
Returnsthe minimum location of this cuboid. IE, it's lowest-valued corner.
ReturnTypeLocationTag
Example"0,1,2/4,5,6/world" .min returns "0,1,2,world".
CuboidTag.world
Identification TagCuboidTag.world
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/CuboidTag.java on line 124
Required Addon(s)None
Last Updated2016/11/24
Returnsthe world of the location.
ReturnTypeWorldTag
Example"0,1,2/4,5,6/world" .world returns "world".
DurationTag.add_duration[<DurationTag>]
Mathematics TagDurationTag.add_duration[<DurationTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/DurationTag.java on line 56
Required Addon(s)None
Last Updated2016/08/26
Returnsthe duration plus another duration.
ReturnTypeDurationTag
Example"1" .add_duration[1] returns "2".
DurationTag.formatted[<TextTag>]
Formatting TagDurationTag.formatted[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/DurationTag.java on line 132
Required Addon(s)None
Last Updated2018/06/16
Returnsthe duration, separated in weeks, days, hours, minutes, seconds and milliseconds, and formatted based on input. This tag will replace duration codes with their actual values. Duration codes start with "#", followed by the unit and mode letters. Valid unit letters are: t (thousandth of a second/millisecond), s (second), m (minute), h (hour), d (day) and w (week). Valid mode letters are: p (precise/total decimal), t (total integer), d (remaining decimal), i (remaining integer) and f (full length remaining integer).
ReturnTypeTextTag
Example"8250.350" .formatted[#hi h, #mi m, #si s and #td ms (#sp seconds in total)] returns "2 h, 17 m, 30 s and 350 ms (8250.35 seconds in total)".
Example"29200" .formatted[#hf:#mf] returns "08:06".
DurationTag.in_days
Conversion TagDurationTag.in_days
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/DurationTag.java on line 112
Required Addon(s)None
Last Updated2018/06/09
Returnsthe duration converted to days.
ReturnTypeNumberTag
Example"8640" .in_days returns "0.1".
DurationTag.in_hours
Conversion TagDurationTag.in_hours
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/DurationTag.java on line 102
Required Addon(s)None
Last Updated2018/06/16
Returnsthe duration converted to hours.
ReturnTypeNumberTag
Example"1800" .in_hours returns "0.5".
DurationTag.in_minutes
Conversion TagDurationTag.in_minutes
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/DurationTag.java on line 92
Required Addon(s)None
Last Updated2018/06/16
Returnsthe duration converted to minutes.
ReturnTypeNumberTag
Example"72" .in_minutes returns "1.2".
DurationTag.in_seconds
Conversion TagDurationTag.in_seconds
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/DurationTag.java on line 82
Required Addon(s)None
Last Updated2018/06/16
Returnsthe duration converted to seconds.
ReturnTypeNumberTag
Example"40" .in_seconds returns "40".
DurationTag.in_weeks
Conversion TagDurationTag.in_weeks
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/DurationTag.java on line 122
Required Addon(s)None
Last Updated2018/06/16
Returnsthe duration converted to weeks.
ReturnTypeNumberTag
Example"604800" .in_weeks returns "1".
DurationTag.subtract_duration[<DurationTag>]
Mathematics TagDurationTag.subtract_duration[<DurationTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/DurationTag.java on line 69
Required Addon(s)None
Last Updated2016/08/26
Returnsthe duration minus another duration.
ReturnTypeDurationTag
Example"1" .subtract_duration[1] returns "0".
EntityTag
EntityTag.absorption EntityTag.age EntityTag.ai_target EntityTag.application_delay EntityTag.art_name EntityTag.art_size EntityTag.base_vehicle EntityTag.boots EntityTag.bounding_box EntityTag.burn_time EntityTag.burning EntityTag.can_drop_as_item EntityTag.can_hurt_entities EntityTag.can_place_as_block EntityTag.chestplate EntityTag.cloud_color EntityTag.data EntityTag.dead_flags EntityTag.duration EntityTag.duration_on_use EntityTag.entity_type EntityTag.experience_held EntityTag.explosion_radius EntityTag.eye_height EntityTag.eye_location EntityTag.fall_damage_per_block EntityTag.fall_time EntityTag.falling_block EntityTag.flag[<TextTag>] EntityTag.friendly_name EntityTag.fuse_duration EntityTag.get[<TextTag>] EntityTag.glowing EntityTag.hanging_direction EntityTag.has_ai EntityTag.has_flag[<TextTag>] EntityTag.has_script EntityTag.health EntityTag.health_percentage EntityTag.held_item EntityTag.held_item_offhand EntityTag.helmet EntityTag.in_water EntityTag.inventory EntityTag.is_adult EntityTag.is_primed EntityTag.item EntityTag.leashed_entity EntityTag.leggings EntityTag.location EntityTag.max_air EntityTag.max_fall_damage EntityTag.max_health EntityTag.max_speed EntityTag.move_on_land EntityTag.nearby_entities[<MapTag>] EntityTag.occupied_deceleration EntityTag.on_ground EntityTag.particle_type EntityTag.passengers EntityTag.precise_target_location[<NumberTag>] EntityTag.precise_target_normal[<NumberTag>] EntityTag.radius EntityTag.radius_on_use EntityTag.radius_per_tick EntityTag.remaining_air EntityTag.remaining_fuse_duration EntityTag.rotation EntityTag.scale EntityTag.script EntityTag.shooter EntityTag.target_block[<NumberTag>] EntityTag.target_entities[<MapTag>] EntityTag.unoccupied_deceleration EntityTag.uuid EntityTag.vehicle EntityTag.velocity EntityTag.wait_time
EntityTag.absorption
Entity Properties TagEntityTag.absorption
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 976
Required Addon(s)None
Last Updated2018/06/15
Returnshow much absorption this entity has.
ReturnTypeNumberTag
EntityTag.age
Current Information TagEntityTag.age
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 791
Required Addon(s)None
Last Updated2017/10/02
Returnsthe current age of this entity. Works with area effect cloud entities too.
ReturnTypeIntegerTag
EntityTag.ai_target
Entity Behavior TagEntityTag.ai_target
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 938
Required Addon(s)None
Last Updated2018/01/16
Returnsthe entity that is being targeted by this entity's AI, if any.
ReturnTypeEntityTag
EntityTag.application_delay
Current Information TagEntityTag.application_delay
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 707
Required Addon(s)None
Last Updated2017/10/02
Returnsthe application delay of this cloud. Area effect cloud entities only.
ReturnTypeDurationTag
EntityTag.art_name
Current Information TagEntityTag.art_name
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 668
Required Addon(s)None
Last Updated2017/10/02
Returnsthe name of the art this painting holds. Painting entities only.
ReturnTypeTextTag
EntityTag.art_size
Current Information TagEntityTag.art_size
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 677
Required Addon(s)None
Last Updated2017/10/02
Returnshow many blocks this art spans horizontally (X) and vertically (Y). Painting entities only.
ReturnTypeLocationTag
EntityTag.base_vehicle
Current Information TagEntityTag.base_vehicle
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 402
Required Addon(s)None
Last Updated2017/04/04
Returnsthe entity that is the base of the stack that this entity is currently part of.
ReturnTypeEntityTag
EntityTag.boots
Equipment TagEntityTag.boots
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 226
Required Addon(s)None
Last Updated2017/03/03
Returnsthe boots currently worn by the entity.
ReturnTypeItemTag
EntityTag.bounding_box
Current Information TagEntityTag.bounding_box
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 455
Required Addon(s)None
Last Updated2017/04/04
Returnsthe bounding box of this entity, as a cuboid.
ReturnTypeCuboidTag
EntityTag.burn_time
Entity Properties TagEntityTag.burn_time
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 967
Required Addon(s)None
Last Updated2018/06/15
Returnshow long an entity is burning for.
ReturnTypeDurationTag
EntityTag.burning
Entity Properties TagEntityTag.burning
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 958
Required Addon(s)None
Last Updated2018/06/15
Returnswhether an entity is currently burning.
ReturnTypeBooleanTag
EntityTag.can_drop_as_item
Current Information TagEntityTag.can_drop_as_item
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 519
Required Addon(s)None
Last Updated2017/09/28
Returnswhether this falling block can drop as an item if it can't be placed when it lands. Falling block entities only.
ReturnTypeBooleanTag
EntityTag.can_hurt_entities
Current Information TagEntityTag.can_hurt_entities
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 537
Required Addon(s)None
Last Updated2017/09/28
Returnswhether this falling block can hurt entities if it lands on them. Falling block entities only.
ReturnTypeBooleanTag
EntityTag.can_place_as_block
Current Information TagEntityTag.can_place_as_block
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 528
Required Addon(s)None
Last Updated2017/09/28
Returnswhether this falling block can place as a block when it lands. Falling block entities only.
ReturnTypeBooleanTag
EntityTag.chestplate
Equipment TagEntityTag.chestplate
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 208
Required Addon(s)None
Last Updated2017/03/03
Returnsthe chestplate currently worn by the entity.
ReturnTypeItemTag
EntityTag.cloud_color
Current Information TagEntityTag.cloud_color
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 716
Required Addon(s)None
Last Updated2017/10/04
Returnsthe color of this cloud. Area effect cloud entities only.
ReturnTypeTextTag
EntityTag.data
Current Information TagEntityTag.data
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 253
Required Addon(s)None
Last Updated2016/08/28
Returnsa list of all data keys and their values for the entity.
ReturnTypeMapTag
EntityTag.dead_flags
Flag Data TagEntityTag.dead_flags
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 300
Required Addon(s)None
Last Updated2017/10/13
Returnsthe list of invalid (expired) flags on this entity.
ReturnTypeListTag
EntityTag.duration
Current Information TagEntityTag.duration
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 728
Required Addon(s)None
Last Updated2017/10/02
Returnsthe current duration of this cloud. Area effect cloud entities only.
ReturnTypeDurationTag
EntityTag.duration_on_use
Current Information TagEntityTag.duration_on_use
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 737
Required Addon(s)None
Last Updated2017/10/02
Returnshow much duration the cloud will lose after applying its effect to an entity. Area effect cloud entities only.
ReturnTypeDurationTag
EntityTag.entity_type
Identification TagEntityTag.entity_type
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 96
Required Addon(s)None
Last Updated2017/02/07
Returnsthe type of this entity.
ReturnTypeEntiyTypeTag
EntityTag.experience_held
Current Information TagEntityTag.experience_held
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 573
Required Addon(s)None
Last Updated2017/09/28
Returnshow much experience this experience orb holds. Experience orb entities only.
ReturnTypeIntegerTag
EntityTag.explosion_radius
Explosive Entities TagEntityTag.explosion_radius
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 501
Required Addon(s)None
Last Updated2017/09/28
Returnsthe radius in blocks that the explosion will affect. Explosive entities only.
ReturnTypeIntegerTag
EntityTag.eye_height
Current Information TagEntityTag.eye_height
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 150
Required Addon(s)None
Last Updated2017/03/03
Returnsthe height of the entity's eye, from its feet up.
ReturnTypeNumberTag
EntityTag.eye_location
Current Information TagEntityTag.eye_location
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 159
Required Addon(s)None
Last Updated2017/03/03
Returnsthe position in the world of the entity's eye.
ReturnTypeLocationTag
EntityTag.fall_damage_per_block
Current Information TagEntityTag.fall_damage_per_block
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 546
Required Addon(s)None
Last Updated2017/09/28
Returnshow much damage the falling block will deal per block fallen. Falling block entities only.
ReturnTypeNumberTag
EntityTag.fall_time
Current Information TagEntityTag.fall_time
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 555
Required Addon(s)None
Last Updated2017/09/28
Returnshow long the block has been falling. Falling block entities only.
ReturnTypeDurationTag
EntityTag.falling_block
Current Information TagEntityTag.falling_block
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 510
Required Addon(s)None
Last Updated2017/09/28
Returnsthe block this falling block is representing. Falling block entities only.
ReturnTypeBlockTypeTag
EntityTag.flag[<TextTag>]
Flag Data TagEntityTag.flag[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 326
Required Addon(s)None
Last Updated2017/10/13
Returnsthe flag of the specified key from the entity. (And it is not expired). Optionally don't specify anything to get the entire flag map.
ReturnTypeDynamic
EntityTag.friendly_name
Identification TagEntityTag.friendly_name
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 105
Required Addon(s)None
Last Updated2016/08/26
Returnsthe "friendly name" of the entity, for debug output.
ReturnTypeTextTag
EntityTag.fuse_duration
Explosive Entities TagEntityTag.fuse_duration
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 901
Required Addon(s)None
Last Updated2018/01/10
Returnsthe duration before an explosive entity detonates when primed.
ReturnTypeDurationTag
EntityTag.get[<TextTag>]
Current Information TagEntityTag.get[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 262
Required Addon(s)None
Last Updated2016/08/28
Returnsthe value of the specified key on the entity.
ReturnTypeDynamic
EntityTag.glowing
Entity Properties TagEntityTag.glowing
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 985
Required Addon(s)None
Last Updated2018/06/15
Returnswhether an entity is currently glowing.
ReturnTypeBooleanTag
EntityTag.hanging_direction
Current Information TagEntityTag.hanging_direction
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 582
Required Addon(s)None
Last Updated2017/09/28
Returnsthe current direction this hanging is facing. Hanging entities only.
ReturnTypeTextTag
EntityTag.has_ai
Entity Behavior TagEntityTag.has_ai
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 929
Required Addon(s)None
Last Updated2018/01/16
Returnswhether an entity has ai enabled.
ReturnTypeBooleanTag
EntityTag.has_flag[<TextTag>]
Flag Data TagEntityTag.has_flag[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 279
Required Addon(s)None
Last Updated2017/10/13
Returnswhether the entity has a flag with the specified key. (And it is not expired).
ReturnTypeBooleanTag
EntityTag.has_script
General Information TagEntityTag.has_script
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 994
Required Addon(s)None
Last Updated2018/06/15
Returnswhether the entity was sourced from a script.
ReturnTypeBooleanTag
EntityTag.health
Current Information TagEntityTag.health
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 168
Required Addon(s)None
Last Updated2017/03/03
Returnsthe current health value of the entity (0 is dead, max_health is fully alive).
ReturnTypeNumberTag
EntityTag.health_percentage
Current Information TagEntityTag.health_percentage
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 187
Required Addon(s)None
Last Updated2017/03/03
Returnsa percentage of health the entity currently has. 0 is dead, 1 is fully alive. Can be a decimal in between.
ReturnTypeNumberTag
EntityTag.held_item
Equipment TagEntityTag.held_item
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 235
Required Addon(s)None
Last Updated2017/03/03
Returnsthe item currently held the entity in its main hand.
ReturnTypeItemTag
EntityTag.held_item_offhand
Equipment TagEntityTag.held_item_offhand
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 244
Required Addon(s)None
Last Updated2017/03/03
Returnsthe item currently held the entity in its off hand.
ReturnTypeItemTag
EntityTag.helmet
Equipment TagEntityTag.helmet
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 199
Required Addon(s)None
Last Updated2017/03/03
Returnsthe helmet currently worn by the entity.
ReturnTypeItemTag
EntityTag.in_water
Current Information TagEntityTag.in_water
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 659
Required Addon(s)None
Last Updated2017/09/30
Returnswhether the boat is currently in water or not. Boat entities only.
ReturnTypeBooleanTag
EntityTag.inventory
Current Information TagEntityTag.inventory
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 492
Required Addon(s)None
Last Updated2017/06/13
Returnsthe inventory this entity is carrying.
ReturnTypeInventoryTag
EntityTag.is_adult
Current Information TagEntityTag.is_adult
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 814
Required Addon(s)None
Last Updated2017/10/02
Returnswhether this entity is an adult or not.
ReturnTypeBooleanTag
EntityTag.is_primed
Explosive Entities TagEntityTag.is_primed
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 919
Required Addon(s)None
Last Updated2018/01/10
Returnswhether an explosive entity is primed.
ReturnTypeBooleanTag
WarningThis tag always returns false in Sponge during last testing.
EntityTag.item
Current Information TagEntityTag.item
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 591
Required Addon(s)None
Last Updated2017/09/28
Returnsthe item this dropped item is representing. Dropped item entities only.
ReturnTypeItemTag
EntityTag.leashed_entity
Current Information TagEntityTag.leashed_entity
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 689
Required Addon(s)None
Last Updated2017/10/04
Returnsthe entity currently leashed by this hitch. Leash hitch entities only.
ReturnTypeEntityTag
EntityTag.leggings
Equipment TagEntityTag.leggings
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 217
Required Addon(s)None
Last Updated2017/03/03
Returnsthe leggings currently worn by the entity.
ReturnTypeItemTag
EntityTag.location
Current Information TagEntityTag.location
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 123
Required Addon(s)None
Last Updated2016/08/26
Returnsthe location of the entity.
ReturnTypeLocationTag
EntityTag.max_air
Current Information TagEntityTag.max_air
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 467
Required Addon(s)None
Last Updated2017/04/17
Returnsthe maximum air level this entity can have.
ReturnTypeDurationTag
EntityTag.max_fall_damage
Current Information TagEntityTag.max_fall_damage
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 564
Required Addon(s)None
Last Updated2017/09/28
Returnsthe maximum damage this falling block can deal to entities when it lands on them. Falling block entities only.
ReturnTypeNumberTag
EntityTag.max_health
Current Information TagEntityTag.max_health
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 177
Required Addon(s)None
Last Updated2017/03/03
Returnsthe maximum health value this entity may currently have (IE, if the entity health is equal to this value, they are fully alive).
ReturnTypeNumberTag
EntityTag.max_speed
Current Information TagEntityTag.max_speed
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 623
Required Addon(s)None
Last Updated2017/09/30
Returnsthe maximum speed that this boat is allowed to travel at. Boat entities only.
ReturnTypeNumberTag
EntityTag.move_on_land
Current Information TagEntityTag.move_on_land
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 650
Required Addon(s)None
Last Updated2017/09/30
Returnswhether the boat is able to move freely on land or not. Boat entities only.
ReturnTypeBooleanTag
EntityTag.nearby_entities[<MapTag>]
Current Information TagEntityTag.nearby_entities[<MapTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 429
Required Addon(s)None
Last Updated2017/04/04
Returnsa list of entities of a specified type (or any type if unspecified) near this entity. Input is type:<EntityTypeTag>|range:<NumberTag>
ReturnTypeListTag<EntityTag>
EntityTag.occupied_deceleration
Current Information TagEntityTag.occupied_deceleration
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 632
Required Addon(s)None
Last Updated2017/09/30
Returnsthe rate at which occupied boats decelerate. Boat entities only.
ReturnTypeNumberTag
EntityTag.on_ground
Current Information TagEntityTag.on_ground
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 411
Required Addon(s)None
Last Updated2017/04/04
Returnswhether this entity is on the ground or not.
ReturnTypeBooleanTag
EntityTag.particle_type
Current Information TagEntityTag.particle_type
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 746
Required Addon(s)None
Last Updated2017/10/02
Returnsthe particle type of this cloud. Area effect cloud entities only.
ReturnTypeTextTag
EntityTag.passengers
Current Information TagEntityTag.passengers
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 371
Required Addon(s)None
Last Updated2017/04/04
Returnsa list of passengers mounted on this entity.
ReturnTypeListTag<EntityTag>
EntityTag.precise_target_location[<NumberTag>]
Entity Target TagEntityTag.precise_target_location[<NumberTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 839
Required Addon(s)None
Last Updated2017/10/17
Returnsthe exact location the entity is looking at, up to a maximum distance. If no distance is specified, the default hand-reach distance is used.
ReturnTypeLocationTag
EntityTag.precise_target_normal[<NumberTag>]
Entity Target TagEntityTag.precise_target_normal[<NumberTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 855
Required Addon(s)None
Last Updated2017/10/17
Returnsthe direction of the face of the block the entity is looking at, up to a maximum distance. If no distance is specified, the default hand-reach distance is used.
ReturnTypeLocationTag
EntityTag.radius
Current Information TagEntityTag.radius
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 755
Required Addon(s)None
Last Updated2017/10/02
Returnsthe current radius of this cloud. Area effect cloud entities only.
ReturnTypeNumberTag
EntityTag.radius_on_use
Current Information TagEntityTag.radius_on_use
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 764
Required Addon(s)None
Last Updated2017/10/02
Returnshow much radius the cloud will lose after applying its effect to an entity. Area effect cloud entities only.
ReturnTypeNumberTag
EntityTag.radius_per_tick
Current Information TagEntityTag.radius_per_tick
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 773
Required Addon(s)None
Last Updated2017/10/02
Returnshow much radius the cloud will lose every tick. Area effect cloud entities only.
ReturnTypeNumberTag
EntityTag.remaining_air
Current Information TagEntityTag.remaining_air
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 476
Required Addon(s)None
Last Updated2017/04/17
Returnsthe remaining air level this entity can have.
ReturnTypeDurationTag
EntityTag.remaining_fuse_duration
Explosive Entities TagEntityTag.remaining_fuse_duration
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 910
Required Addon(s)None
Last Updated2018/01/10
Returnsthe remaining duration before a primed explosive entity detonates.
ReturnTypeDurationTag
EntityTag.rotation
Current Information TagEntityTag.rotation
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 132
Required Addon(s)None
Last Updated2017/02/09
Returnsthe rotation of the entity, as a rotation vector.
ReturnTypeLocationTag
EntityTag.scale
Current Information TagEntityTag.scale
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 420
Required Addon(s)None
Last Updated2017/04/04
Returnsthe scale of this entity (currently unused).
ReturnTypeLocationTag
EntityTag.script
General Information TagEntityTag.script
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 1003
Required Addon(s)None
Last Updated2018/06/15
Returnsthe script this entity was spawned from, if any.
ReturnTypeScriptTag
EntityTag.shooter
Current Information TagEntityTag.shooter
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 600
Required Addon(s)None
Last Updated2017/09/28
Returnsthe shooter source of this projectile. Projectile entities only.
ReturnTypeEntityTag/LocationTag
EntityTag.target_block[<NumberTag>]
Entity Target TagEntityTag.target_block[<NumberTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 823
Required Addon(s)None
Last Updated2017/10/17
Returnsthe block the entity is looking at, up to a maximum distance. If no distance is specified, the default hand-reach distance is used.
ReturnTypeLocationTag
EntityTag.target_entities[<MapTag>]
Entity Target TagEntityTag.target_entities[<MapTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 871
Required Addon(s)None
Last Updated2017/10/17
Returnsa list of entities of a specified type (or any type if unspecified) intersecting with the line of sight of the source entity. If no range is specified, it defaults to the hand reach. Input is type:<EntityTypeTag>|range:<NumberTag>
ReturnTypeListTag<EntityTag>
EntityTag.unoccupied_deceleration
Current Information TagEntityTag.unoccupied_deceleration
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 641
Required Addon(s)None
Last Updated2017/09/30
Returnsthe rate at which unoccupied boats decelerate. Boat entities only.
ReturnTypeNumberTag
EntityTag.uuid
Identification TagEntityTag.uuid
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 114
Required Addon(s)None
Last Updated2016/08/26
Returnsthe unique ID of the entity.
ReturnTypeTextTag
EntityTag.vehicle
Current Information TagEntityTag.vehicle
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 387
Required Addon(s)None
Last Updated2017/04/04
Returnsthe entity that this entity is mounted on, if any.
ReturnTypeEntityTag
EntityTag.velocity
Current Information TagEntityTag.velocity
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 141
Required Addon(s)None
Last Updated2016/08/26
Returnsthe velocity of the entity (The vector it is is currently moving in).
ReturnTypeLocationTag
EntityTag.wait_time
Current Information TagEntityTag.wait_time
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTag.java on line 782
Required Addon(s)None
Last Updated2017/10/02
Returnshow long until this cloud will affect entities with its effect. Area effect cloud entities only.
ReturnTypeDurationTag
EntityTypeTag.id
Identification TagEntityTypeTag.id
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTypeTag.java on line 47
Required Addon(s)None
Last Updated2016/08/26
Returnsthe ID of the entity type.
ReturnTypeTextTag
Example"minecraft:creeper" .id returns "minecraft:creeper".
EntityTypeTag.name
Identification TagEntityTypeTag.name
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/EntityTypeTag.java on line 57
Required Addon(s)None
Last Updated2016/08/26
Returnsthe name of the entity type.
ReturnTypeTextTag
Example"minecraft:creeper" .name returns "creeper".
FormattedTextTag.append[<FormattedTextTag>]
Modification TagFormattedTextTag.append[<FormattedTextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/FormattedTextTag.java on line 44
Required Addon(s)None
Last Updated2016/09/21
Returnsthe text followed by another piece of text.
ReturnTypeFormattedTextTag
FormattedTextTag.color_codes
Conversion TagFormattedTextTag.color_codes
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/FormattedTextTag.java on line 54
Required Addon(s)None
Last Updated2017/08/31
Returnsa color-coded version of this formatted text.
ReturnTypeTextTag
FormattedTextTag.plain
Conversion TagFormattedTextTag.plain
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/FormattedTextTag.java on line 64
Required Addon(s)None
Last Updated2016/09/21
Returnsa plain version of this formatted text.
ReturnTypeTextTag
FormattedTextTag.with_color[<TextTag>]
Modification TagFormattedTextTag.with_color[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/FormattedTextTag.java on line 73
Required Addon(s)None
Last Updated2018/02/01
Returnsthe text with the specified color applied to it.
ReturnTypeFormattedTextTag
FormattedTextTag.with_styles[<ListTag>]
Modification TagFormattedTextTag.with_styles[<ListTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/FormattedTextTag.java on line 90
Required Addon(s)None
Last Updated2018/02/01
Returnsthe text with the specified styles applied to it.
ReturnTypeFormattedTextTag
IntegerTag.abs_int
Mathematics TagIntegerTag.abs_int
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 252
Required Addon(s)None
Last Updated2018/06/16
Returnsthe absolute value of this integer.
ReturnTypeIntegerTag
Example"-1" .abs_int returns "1".
Notealso known as ".absolute_value_integer[<IntegerTag>]".
IntegerTag.absolute_value_integer
Mathematics TagIntegerTag.absolute_value_integer
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 241
Required Addon(s)None
Last Updated2016/08/26
Returnsthe absolute value of this integer.
ReturnTypeIntegerTag
Example"-1" .absolute_value_integer returns "1".
Notealso known as ".abs_int[<IntegerTag>]".
IntegerTag.add_int[<IntegerTag>]
Mathematics TagIntegerTag.add_int[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 59
Required Addon(s)None
Last Updated2018/06/16
Returnsthe integer plus another integer.
ReturnTypeIntegerTag
Example"1" .add_int[1] returns "2".
Notealso known as ".add_integer[<IntegerTag>]".
IntegerTag.add_integer[<IntegerTag>]
Mathematics TagIntegerTag.add_integer[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 45
Required Addon(s)None
Last Updated2016/08/26
Returnsthe integer plus another integer.
ReturnTypeIntegerTag
Example"1" .add_integer[1] returns "2".
Notealso known as ".add_int[<IntegerTag>]".
IntegerTag.div_int[<IntegerTag>]
Mathematics TagIntegerTag.div_int[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 143
Required Addon(s)None
Last Updated2018/06/16
Returnsthe integer divided by another integer.
ReturnTypeIntegerTag
Example"1" .div_int[1] returns "1".
Notealso known as ".divide_integer[<IntegerTag>]".
IntegerTag.divide_integer[<IntegerTag>]
Mathematics TagIntegerTag.divide_integer[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 129
Required Addon(s)None
Last Updated2016/08/26
Returnsthe integer divided by another integer.
ReturnTypeIntegerTag
Example"1" .divide_integer[1] returns "1".
Notealso known as ".div_int[<IntegerTag>]".
IntegerTag.max_int[<IntegerTag>]
Mathematics TagIntegerTag.max_int[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 199
Required Addon(s)None
Last Updated2018/06/16
Returnswhichever is bigger: this integer, or the specified integer.
ReturnTypeIntegerTag
Example"1" .max_int[2] returns "2".
Notealso known as ".maximum_integer[<IntegerTag>]".
IntegerTag.maximum_integer[<IntegerTag>]
Mathematics TagIntegerTag.maximum_integer[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 185
Required Addon(s)None
Last Updated2016/08/26
Returnswhichever is bigger: this integer, or the specified integer.
ReturnTypeIntegerTag
Example"1" .maximum_integer[2] returns "2".
Notealso known as ".max_int[<IntegerTag>]".
IntegerTag.min_int[<IntegerTag>]
Mathematics TagIntegerTag.min_int[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 227
Required Addon(s)None
Last Updated2018/06/16
Returnswhichever is smaller: this integer, or the specified integer.
ReturnTypeIntegerTag
Example"1" .min_int[2] returns "1".
Notealso known as ".minimum_integer[<IntegerTag>]".
IntegerTag.minimum_integer[<IntegerTag>]
Mathematics TagIntegerTag.minimum_integer[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 213
Required Addon(s)None
Last Updated2016/08/26
Returnswhichever is smaller: this integer, or the specified integer.
ReturnTypeIntegerTag
Example"1" .minimum_integer[2] returns "1".
Notealso known as ".min_int[<IntegerTag>]".
IntegerTag.mod_int[<IntegerTag>]
Mathematics TagIntegerTag.mod_int[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 171
Required Addon(s)None
Last Updated2018/06/16
Returnsthe integer modulo another integer.
ReturnTypeIntegerTag
Example"1" .mod_int[1] returns "0".
Notealso known as ".modulo_integer[<IntegerTag>]".
IntegerTag.modulo_integer[<IntegerTag>]
Mathematics TagIntegerTag.modulo_integer[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 157
Required Addon(s)None
Last Updated2016/08/26
Returnsthe integer modulo another integer.
ReturnTypeIntegerTag
Example"1" .modulo_integer[1] returns "0".
Notealso known as ".mod_int[<IntegerTag>]".
IntegerTag.mul_int[<IntegerTag>]
Mathematics TagIntegerTag.mul_int[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 115
Required Addon(s)None
Last Updated2018/06/16
Returnsthe integer times another integer.
ReturnTypeIntegerTag
Example"1" .mul_int[1] returns "1".
Notealso known as ".multiply_integer[<IntegerTag>]".
IntegerTag.multiply_integer[<IntegerTag>]
Mathematics TagIntegerTag.multiply_integer[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 101
Required Addon(s)None
Last Updated2016/08/26
Returnsthe integer times another integer.
ReturnTypeIntegerTag
Example"1" .multiply_integer[1] returns "1".
Notealso known as ".mul_int[<IntegerTag>]".
IntegerTag.sub_int[<IntegerTag>]
Mathematics TagIntegerTag.sub_int[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 87
Required Addon(s)None
Last Updated2018/06/16
Returnsthe integer minus another integer.
ReturnTypeIntegerTag
Example"1" .sub_int[1] returns "0".
Notealso known as ".subtract_integer[<IntegerTag>]".
IntegerTag.subtract_integer[<IntegerTag>]
Mathematics TagIntegerTag.subtract_integer[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/IntegerTag.java on line 73
Required Addon(s)None
Last Updated2016/08/26
Returnsthe integer minus another integer.
ReturnTypeIntegerTag
Example"1" .subtract_integer[1] returns "0".
Notealso known as ".sub_int[<IntegerTag>]".
InventoryTag.contains_any[<ItemTag>]
General Information TagInventoryTag.contains_any[<ItemTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/InventoryTag.java on line 70
Required Addon(s)None
Last Updated2017/06/17
Returnswhether the inventory contains any quantity of the specified item.
ReturnTypeBooleanTag
Example"block/0,1,2,world" .contains_any[diamond] might return "true".
InventoryTag.contains[<ItemTag>]
General Information TagInventoryTag.contains[<ItemTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/InventoryTag.java on line 60
Required Addon(s)None
Last Updated2017/06/17
Returnswhether the inventory contains the specified quantity or more of the specified item.
ReturnTypeBooleanTag
Example"block/0,1,2,world" .contains[diamond/3] might return "false".
InventoryTag.fuel
General Information TagInventoryTag.fuel
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/InventoryTag.java on line 80
Required Addon(s)None
Last Updated2018/01/01
Returnsthe item in the fuel slot of a furnace inventory.
ReturnTypeItemTag
Example"block/0,1,2,world" .fuel might return "coal".
InventoryTag.name
General Information TagInventoryTag.name
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/InventoryTag.java on line 110
Required Addon(s)None
Last Updated2017/06/10
Returnsthe inventory's name (in English). // TODO: Translation options? Also, output testing?
ReturnTypeTextTag
Example"player/bob" .name returns "Bob".
InventoryTag.remembered_name
General Information TagInventoryTag.remembered_name
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/InventoryTag.java on line 100
Required Addon(s)None
Last Updated2018/06/05
Returnsthe inventory's remembered name (as is set by the <@link command rememberinventory>rememberinventory command<@/link>, if any.
ReturnTypeTextTag
Example"shared/test" returns "test".
InventoryTag.result
General Information TagInventoryTag.result
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/InventoryTag.java on line 120
Required Addon(s)None
Last Updated2018/01/01
Returnsthe item in the result slot of a furnace inventory.
ReturnTypeItemTag
Example"block/0,1,2,world" .result might return "iron_ingot".
InventoryTag.size
General Information TagInventoryTag.size
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/InventoryTag.java on line 140
Required Addon(s)None
Last Updated2017/06/11
Returnsthe inventory's size (in slots).
ReturnTypeIntegerTag
Example"block/0,1,2,world" .size might return "36".
InventoryTag.slot[<IntegerTag>]
General Information TagInventoryTag.slot[<IntegerTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/InventoryTag.java on line 150
Required Addon(s)None
Last Updated2017/09/05
Returnsthe item in the inventory's specified slot.
ReturnTypeItemTag
Example"block/0,1,2,world" .slot[8] might return "diamond".
ItemTag.data
General Information TagItemTag.data
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 71
Required Addon(s)None
Last Updated2016/11/24
Returnsa list of all data keys and their values for the entity. TODO: Create and reference an explanation of basic item keys.
ReturnTypeMapTag
ItemTag.flag[<TextTag>]
Flag Data TagItemTag.flag[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 108
Required Addon(s)None
Last Updated2016/11/24
Returnsthe flag of the specified key from the entity. May become TextTag regardless of input original type. Optionally don't specify anything to get the entire flag map.
ReturnTypeDynamic
ItemTag.get[<TextTag>]
General Information TagItemTag.get[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 140
Required Addon(s)None
Last Updated2016/11/24
Returnsthe value of the specified key on the entity. TODO: Create and reference an explanation of basic item keys.
ReturnTypeDynamic
ItemTag.has_flag[<TextTag>]
Flag Data TagItemTag.has_flag[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 158
Required Addon(s)None
Last Updated2016/11/24
Returnswhether the entity has a flag with the specified key.
ReturnTypeBooleanTag
ItemTag.is_script
General Information TagItemTag.is_script
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 81
Required Addon(s)None
Last Updated2018/05/21
Returnswhether the item was sourced from a script.
ReturnTypeBooleanTag
ItemTag.item_type
Identification TagItemTag.item_type
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 179
Required Addon(s)None
Last Updated2016/11/24
Returnsthe type of the item.
ReturnTypeItemTypeTag
ItemTag.max_stack_quantity
Identification TagItemTag.max_stack_quantity
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 188
Required Addon(s)None
Last Updated2017/04/04
Returnsthe maximum amount of items of this type in a stack.
ReturnTypeIntegerTag
ItemTag.quantity
Identification TagItemTag.quantity
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 197
Required Addon(s)None
Last Updated2017/04/04
Returnsthe amount of items in this stack.
ReturnTypeIntegerTag
ItemTag.represented_player_name
Properties TagItemTag.represented_player_name
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 206
Required Addon(s)None
Last Updated2017/10/15
Returnsthe represented player's name of this skull item.
ReturnTypeTextTag
ItemTag.represented_player_skin
Properties TagItemTag.represented_player_skin
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 225
Required Addon(s)None
Last Updated2017/10/16
Returnsthe represented player's skin of this skull item.
ReturnTypeTextTag
ItemTag.represented_player_uuid
Properties TagItemTag.represented_player_uuid
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 245
Required Addon(s)None
Last Updated2017/10/15
Returnsthe represented player's unique id of this skull item.
ReturnTypeTextTag
ItemTag.script
General Information TagItemTag.script
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 90
Required Addon(s)None
Last Updated2018/05/21
Returnsthe script this item tag was created with, if any.
ReturnTypeScriptTag
ItemTag.skull_type
Properties TagItemTag.skull_type
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 264
Required Addon(s)None
Last Updated2017/10/15
Returnsthe type of skull this item is.
ReturnTypeTextTag
ItemTag.with_flags[<MapTag>]
General Information TagItemTag.with_flags[<MapTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 283
Required Addon(s)None
Last Updated2016/12/04
Returnsa copy of the item, with the specified flag adjustments.
ReturnTypeItemTag
ItemTag.with_quantity[<IntegerTag>]
General Information TagItemTag.with_quantity[<IntegerTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 306
Required Addon(s)None
Last Updated2016/12/04
Returnsa copy of the item, with the specified quantity.
ReturnTypeItemTag
ItemTag.with[<MapTag>]
General Information TagItemTag.with[<MapTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 319
Required Addon(s)None
Last Updated2016/11/24
Returnsa copy of the item, with the specified data adjustments. TODO: Create and reference an explanation of basic item keys.
ReturnTypeItemTag
ItemTag.without_flags[<ListTag>]
General Information TagItemTag.without_flags[<ListTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 343
Required Addon(s)None
Last Updated2018/05/30
Returnsa copy of the item, with the specified flags removed. Give no modifier to remove the flag mapping entirely.
ReturnTypeItemTag
ItemTag.without[<ListTag>]
General Information TagItemTag.without[<ListTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTag.java on line 372
Required Addon(s)None
Last Updated2018/05/30
Returnsa copy of the item, with the specified keys removed. Use with care (removing data may cause unexpected results).
ReturnTypeItemTag
ItemTypeTag.block_type
Identification TagItemTypeTag.block_type
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTypeTag.java on line 37
Required Addon(s)None
Last Updated2016/08/26
Returnsthe block type equivalent of this item type.
ReturnTypeBlockTypeTag
ItemTypeTag.id
Identification TagItemTypeTag.id
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTypeTag.java on line 49
Required Addon(s)None
Last Updated2016/08/26
Returnsthe ID of the item type.
ReturnTypeTextTag
Example"minecraft:dirt" .id returns "minecraft:dirt".
ItemTypeTag.name
Identification TagItemTypeTag.name
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/ItemTypeTag.java on line 59
Required Addon(s)None
Last Updated2016/08/26
Returnsthe name of the item type.
ReturnTypeTextTag
Example"minecraft:dirt" .name returns "dirt".
ListTag.contains_cased[<TextTag>]
Searching TagListTag.contains_cased[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ListTag.java on line 324
Required Addon(s)None
Last Updated2017/03/08
Returnswhether the list contains the specified text, case sensitive.
ReturnTypeBooleanTag
Example"one|two|three|" .contains_cased[one] returns "true".
ListTag.contains[<TextTag>]
Searching TagListTag.contains[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ListTag.java on line 305
Required Addon(s)None
Last Updated2017/03/08
Returnswhether the list contains the specified text, case insensitive.
ReturnTypeBooleanTag
Example"one|two|three|" .contains[ONE] returns "true".
ListTag.filter[<BooleanTag>]
Loops TagListTag.filter[<BooleanTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ListTag.java on line 272
Required Addon(s)None
Last Updated2018/06/10
Returnsa list of all entries in this list that pass a boolean test (use definition 'filter_value').
ReturnTypeListTag
Example"one|two|three|four|" .filter[<[filter_value].contains_text[o]>] returns "one|two|four|".
ListTag.find_cased[<Dynamic>]
Searching TagListTag.find_cased[<Dynamic>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ListTag.java on line 117
Required Addon(s)None
Last Updated2018/06/16
Returnsthe position of the first object in the list that matches the input (via case-sensitive text equality), or -1 if there were no matches.
ReturnTypeIntegerTag
Example"one|two|one|" .find_first[one] returns "1".
ListTag.find_last_cased[<Dynamic>]
Searching TagListTag.find_last_cased[<Dynamic>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ListTag.java on line 142
Required Addon(s)None
Last Updated2018/06/16
Returnsthe position of the last object in the list that matches the input (via case-sensitive text equality), or -1 if there were no matches.
ReturnTypeIntegerTag
Example"one|two|one|" .find_last[one] returns "3".
ListTag.find_last[<Dynamic>]
Searching TagListTag.find_last[<Dynamic>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ListTag.java on line 192
Required Addon(s)None
Last Updated2018/06/16
Returnsthe position of the last object in the list that matches the input (via text equality), or -1 if there were no matches.
ReturnTypeIntegerTag
Example"one|two|one|" .find_last[one] returns "3".
ListTag.find[<Dynamic>]
Searching TagListTag.find[<Dynamic>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ListTag.java on line 167
Required Addon(s)None
Last Updated2018/06/16
Returnsthe position of the first object in the list that matches the input (via text equality), or -1 if there were no matches.
ReturnTypeIntegerTag
Example"one|two|one|" .find_first[one] returns "1".
ListTag.first
Lists TagListTag.first
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ListTag.java on line 79
Required Addon(s)None
Last Updated2018/06/16
Returnsthe first object in the list.
ReturnTypeDynamic
Example"one|two|three|" .first returns "one".
ListTag.get[<IntegerTag>]
Lists TagListTag.get[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ListTag.java on line 55
Required Addon(s)None
Last Updated2016/08/26
Returnsthe object at the specified index in the list.
ReturnTypeDynamic
Example"one|two|three|" .get[1] returns "one".
ListTag.last
Lists TagListTag.last
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ListTag.java on line 98
Required Addon(s)None
Last Updated2018/06/16
Returnsthe last object in the list.
ReturnTypeDynamic
Example"one|two|three|" .last returns "three".
ListTag.parse[<Tag>]
Loops TagListTag.parse[<Tag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ListTag.java on line 242
Required Addon(s)None
Last Updated2018/06/10
Returnsa list of all entries in this list, parsed by a tag (use definition 'parse_value').
ReturnTypeListTag
Example"one|two|three|" .parse[<[parse_value].to_upper[o]>] returns "ONE|TWO|THREE|".
ListTag.random
Randomization TagListTag.random
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ListTag.java on line 353
Required Addon(s)None
Last Updated2016/09/28
Returnsthe object at a random index in the list.
ReturnTypeDynamic
Example"one|two|three|" .random might return "one", "two", or "three".
ListTag.size
Lists TagListTag.size
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ListTag.java on line 343
Required Addon(s)None
Last Updated2016/11/24
Returnsthe size (number of entries) of the list.
ReturnTypeIntegerTag
Example"one|two|three|" .size returns "3".
ListTag.sublist[<ListTag>]
Lists TagListTag.sublist[<ListTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ListTag.java on line 217
Required Addon(s)None
Last Updated2018/06/16
Returnsa sublist of objects from the list with positions between the two values specified.
ReturnTypeListTag<Dynamic>
Example"one|two|three|four|five|" .sublist[2|4] returns "two|three|four|".
LocationTag.add[<LocationTag>]
Mathematics TagLocationTag.add[<LocationTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 235
Required Addon(s)None
Last Updated2016/11/24
Returnsthe location with the specified location vector added to it.
ReturnTypeLocationTag
LocationTag.biome
World Data TagLocationTag.biome
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 399
Required Addon(s)None
Last Updated2017/04/04
Returnsthe biome type of this location. Related information: <@link explanation Biome Types>biome types<@/link>
ReturnTypeTextTag
LocationTag.block
Identification TagLocationTag.block
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 105
Required Addon(s)None
Last Updated2017/02/12
Returnsthe block coordinates of this location.
ReturnTypeLocationTag
LocationTag.block_type
World Data TagLocationTag.block_type
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 95
Required Addon(s)None
Last Updated2017/02/07
Returnsthe type of the block at the location.
ReturnTypeBlockTypeTag
Example"0,1,2,world" .block_type may return "stone".
LocationTag.data
World Data TagLocationTag.data
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 312
Required Addon(s)None
Last Updated2016/08/28
Returnsa list of all data keys and their values for the block at the location specified.
ReturnTypeMapTag
LocationTag.divide[<NumberTag>]
Mathematics TagLocationTag.divide[<NumberTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 275
Required Addon(s)None
Last Updated2017/01/19
Returnsthe location vector, divided by a scalar value.
ReturnTypeLocationTag
Example"0,2,0" .divide[2] returns "0,1,0".
LocationTag.find_safe_location[<MapTag>]
Location Search TagLocationTag.find_safe_location[<MapTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 409
Required Addon(s)None
Last Updated2017/04/05
Returnswhether a location that entities can safely teleport to within the specified tolerance exists, and such location. Output is is_valid:<BooleanTag>|location:<LocationTag> Input is height:<IntegerTag>|width:<IntegerTag>
ReturnTypeMapTag
LocationTag.get[<TextTag>]
World Data TagLocationTag.get[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 321
Required Addon(s)None
Last Updated2016/08/28
Returnsthe value of the specified key on the block at the location specified.
ReturnTypeDynamic
LocationTag.highest_location
Location Search TagLocationTag.highest_location
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 549
Required Addon(s)None
Last Updated2018/02/08
Returnsthe location on top of the highest solid block on this location's column.
ReturnTypeLocationTag
LocationTag.inventory
Properties TagLocationTag.inventory
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 437
Required Addon(s)None
Last Updated2017/08/31
Returnsthe inventory the tile entity at this location is holding.
ReturnTypeInventoryTag
LocationTag.line_of_sight[<LocationTag>]
Block Ray TagLocationTag.line_of_sight[<LocationTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 528
Required Addon(s)None
Last Updated2018/02/08
Returnswhether the specified location is in the line of sight of this location.
ReturnTypeBooleanTag
LocationTag.multiply[<NumberTag>]
Mathematics TagLocationTag.multiply[<NumberTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 261
Required Addon(s)None
Last Updated2017/01/19
Returnsthe location vector, multiplied by a scalar value.
ReturnTypeLocationTag
Example"0,2,0" .multiply[2] returns "0,4,0".
LocationTag.nearby_blocks[<MapTag>]
World Data TagLocationTag.nearby_blocks[<MapTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 366
Required Addon(s)None
Last Updated2017/01/29
Returnsa list of block locations of a specified type (or any type if unspecified) near the location. Input is type:<BlockTypeTag>|range:<NumberTag>
ReturnTypeListTag<LocationTag>
LocationTag.nearby_entities[<MapTag>]
World Data TagLocationTag.nearby_entities[<MapTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 338
Required Addon(s)None
Last Updated2016/08/26
Returnsa list of entities of a specified type (or any type if unspecified) near the location. Input is type:<EntityTypeTag>|range:<NumberTag>
ReturnTypeListTag<EntityTag>
LocationTag.normalized
Mathematics TagLocationTag.normalized
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 172
Required Addon(s)None
Last Updated2017/01/29
Returnsthe normalized form of this vector location.
ReturnTypeLocationTag
Example"0,2,0" .normalized returns "0,1,0".
LocationTag.represented_player_name
Properties TagLocationTag.represented_player_name
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 473
Required Addon(s)None
Last Updated2017/10/15
Returnsthe represented player's name of the skull that this location is holding.
ReturnTypeTextTag
LocationTag.represented_player_skin
Properties TagLocationTag.represented_player_skin
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 509
Required Addon(s)None
Last Updated2017/10/16
Returnsthe represented player's skin of the skull that this location is holding.
ReturnTypeTextTag
LocationTag.represented_player_uuid
Properties TagLocationTag.represented_player_uuid
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 491
Required Addon(s)None
Last Updated2017/10/15
Returnsthe represented player's unique id of the skull that this location is holding.
ReturnTypeTextTag
LocationTag.rotate_around_x[<NumberTag>]
Mathematics TagLocationTag.rotate_around_x[<NumberTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 186
Required Addon(s)None
Last Updated2017/04/03
Returnsthis vector location rotated around the x axis by the specified angle in radians.
ReturnTypeLocationTag
LocationTag.rotate_around_y[<NumberTag>]
Mathematics TagLocationTag.rotate_around_y[<NumberTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 199
Required Addon(s)None
Last Updated2017/04/03
Returnsthis vector location rotated around the y axis by the specified angle in radians.
ReturnTypeLocationTag
LocationTag.rotate_around_z[<NumberTag>]
Mathematics TagLocationTag.rotate_around_z[<NumberTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 212
Required Addon(s)None
Last Updated2017/04/03
Returnsthis vector location rotated around the z axis by the specified angle in radians.
ReturnTypeLocationTag
LocationTag.sign_contents
World Data TagLocationTag.sign_contents
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 289
Required Addon(s)None
Last Updated2017/01/29
Returnsa list of all text on the sign at this location.
ReturnTypeListTag<FormattedTextTag>
Example"0,2,0,world" .sign_contents might return "First Line||Third Line|".
LocationTag.skull_type
Properties TagLocationTag.skull_type
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 455
Required Addon(s)None
Last Updated2017/10/15
Returnsthe type of skull that this location is holding.
ReturnTypeTextTag
LocationTag.subtract[<LocationTag>]
Mathematics TagLocationTag.subtract[<LocationTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 248
Required Addon(s)None
Last Updated2017/02/07
Returnsthe location with the specified location vector subtracted from it.
ReturnTypeLocationTag
LocationTag.vector_length
Mathematics TagLocationTag.vector_length
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 146
Required Addon(s)None
Last Updated2017/01/19
Returnsthe vector-length of the vector this location is interpretted as.
ReturnTypeNumberTag
Example"0,2,0" .vector_length returns "2".
LocationTag.vector_length_squared
Mathematics TagLocationTag.vector_length_squared
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 159
Required Addon(s)None
Last Updated2017/01/19
Returnsthe square of the vector-length of the vector this location is interpretted as.
ReturnTypeNumberTag
Example"0,2,0" .vector_length_squared returns "4".
LocationTag.world
Identification TagLocationTag.world
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 225
Required Addon(s)None
Last Updated2016/08/26
Returnsthe world of the location.
ReturnTypeWorldTag
Example"0,1,2,world" .world returns "world".
LocationTag.x
Identification TagLocationTag.x
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 116
Required Addon(s)None
Last Updated2016/08/26
Returnsthe X coordinate of the location.
ReturnTypeNumberTag
Example"0,1,2,world" .x returns "0".
LocationTag.y
Identification TagLocationTag.y
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 126
Required Addon(s)None
Last Updated2016/08/26
Returnsthe Y coordinate of the location.
ReturnTypeNumberTag
Example"0,1,2,world" .y returns "1".
LocationTag.z
Identification TagLocationTag.z
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/LocationTag.java on line 136
Required Addon(s)None
Last Updated2016/08/26
Returnsthe Z coordinate of the location.
ReturnTypeNumberTag
Example"0,1,2,world" .z returns "2".
MapTag.get[<TextTag>]
Mathematics TagMapTag.get[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/MapTag.java on line 43
Required Addon(s)None
Last Updated2016/08/26
Returnsthe object with the specified name in the map.
ReturnTypeDynamic
Example"one:a|two:b|three:c|" .get[one] returns "a".
MapTag.size
Mathematics TagMapTag.size
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/MapTag.java on line 60
Required Addon(s)None
Last Updated2016/12/05
Returnsthe size (number of entries) of the map.
ReturnTypeIntegerTag
Example"one:a|two:b|three:c|" .size returns "3".
NumberTag.-[<NumberTag>]
Mathematics TagNumberTag.-[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 154
Required Addon(s)None
Last Updated2016/12/11
Returnsthe number minus another number.
ReturnTypeNumberTag
Example"1" .-[1] returns "0".
Notealso known as ".subtract[<NumberTag>]" and ".sub[<NumberTag>]".
NumberTag.*[<NumberTag>]
Mathematics TagNumberTag.*[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 196
Required Addon(s)None
Last Updated2016/12/11
Returnsthe number times another number.
ReturnTypeNumberTag
Example"1" .*[1] returns "1".
Notealso known as ".multiply[<NumberTag>]" and ".mul[<NumberTag>]".
NumberTag./[<NumberTag>]
Mathematics TagNumberTag./[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 238
Required Addon(s)None
Last Updated2016/12/11
Returnsthe number divided by another number.
ReturnTypeNumberTag
Example"1" ./[1] returns "1".
Notealso known as ".divide[<NumberTag>]" and ".div[<NumberTag>]".
NumberTag.%[<NumberTag>]
Mathematics TagNumberTag.%[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 280
Required Addon(s)None
Last Updated2016/08/26
Returnsthe number modulo another number.
ReturnTypeNumberTag
Example"1" .%[1] returns "0".
Notealso known as ".modulo[<NumberTag>]" and ".mod[<NumberTag>]".
NumberTag.^[<NumberTag>]
Mathematics TagNumberTag.^[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 399
Required Addon(s)None
Last Updated2016/12/11
Returnsthe number to the power of the specified number.
ReturnTypeNumberTag
Example"2" .^[2] returns "4".
Notealso known as ".power[<NumberTag>]".
NumberTag.+[<NumberTag>]
Mathematics TagNumberTag.+[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 112
Required Addon(s)None
Last Updated2016/12/11
Returnsthe number plus another number.
ReturnTypeNumberTag
Example"1" .+[1] returns "2".
Notealso known as ".add[<NumberTag>]".
NumberTag.abs
Mathematics TagNumberTag.abs
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 424
Required Addon(s)None
Last Updated2018/06/16
Returnsthe absolute value of this number.
ReturnTypeNumberTag
Example"-1" .abs returns "1".
Notealso known as ".absolute_value".
NumberTag.absolute_value
Mathematics TagNumberTag.absolute_value
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 413
Required Addon(s)None
Last Updated2016/08/26
Returnsthe absolute value of this number.
ReturnTypeNumberTag
Example"-1" .absolute_value returns "1".
Notealso known as ".abs".
NumberTag.add[<NumberTag>]
Mathematics TagNumberTag.add[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 98
Required Addon(s)None
Last Updated2016/08/26
Returnsthe number plus another number.
ReturnTypeNumberTag
Example"1" .add[1] returns "2".
Notealso known as ".+[<NumberTag>]".
NumberTag.arccosine
Mathematics TagNumberTag.arccosine
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 455
Required Addon(s)None
Last Updated2016/08/26
Returnsthe arccosine of this number.
ReturnTypeNumberTag
Example"1" .arccosine returns "0".
NumberTag.arcsine
Mathematics TagNumberTag.arcsine
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 465
Required Addon(s)None
Last Updated2016/08/26
Returnsthe arcsine of this number.
ReturnTypeNumberTag
Example"0" .arcsine returns "0".
NumberTag.arctangent
Mathematics TagNumberTag.arctangent
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 475
Required Addon(s)None
Last Updated2016/08/26
Returnsthe arctangent of this number.
ReturnTypeNumberTag
Example"0" .arctangent returns "0".
NumberTag.atan2[<NumberTag>]
Mathematics TagNumberTag.atan2[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 495
Required Addon(s)None
Last Updated2016/08/26
Returnsthe inverse of the tangent that is the number divided by the specified number.
ReturnTypeNumberTag
Example"0" .atan2[1] returns "0".
NumberTag.cosine
Mathematics TagNumberTag.cosine
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 435
Required Addon(s)None
Last Updated2016/08/26
Returnsthe cosine of this number.
ReturnTypeNumberTag
Example"3.14159" .cosine returns "-1".
NumberTag.div[<NumberTag>]
Mathematics TagNumberTag.div[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 224
Required Addon(s)None
Last Updated2017/01/29
Returnsthe number divided by another number.
ReturnTypeNumberTag
Example"1" .div[1] returns "1".
Notealso known as ".divide[<NumberTag>]" and "./[<NumberTag>]".
NumberTag.divide[<NumberTag>]
Mathematics TagNumberTag.divide[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 210
Required Addon(s)None
Last Updated2016/08/26
Returnsthe number divided by another number.
ReturnTypeNumberTag
Example"1" .divide[1] returns "1".
Notealso known as ".div[<NumberTag>]" and "./[<NumberTag>]".
NumberTag.hyberbolic_cosine
Mathematics TagNumberTag.hyberbolic_cosine
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 585
Required Addon(s)None
Last Updated2016/08/26
Returnsthe hyperbolic cosine of this number.
ReturnTypeNumberTag
Example"0" .hyberbolic_cosine returns "1".
NumberTag.hyberbolic_sine
Mathematics TagNumberTag.hyberbolic_sine
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 575
Required Addon(s)None
Last Updated2016/08/26
Returnsthe hyperbolic sine of this number.
ReturnTypeNumberTag
Example"0" .hyberbolic_sine returns "0".
NumberTag.hyberbolic_tangent
Mathematics TagNumberTag.hyberbolic_tangent
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 595
Required Addon(s)None
Last Updated2016/08/26
Returnsthe hyperbolic tangent of this number.
ReturnTypeNumberTag
Example"0" .hyberbolic_tangent returns "0".
NumberTag.is_greater_than_or_equal_to[<NumberTag>]
Mathematics TagNumberTag.is_greater_than_or_equal_to[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 54
Required Addon(s)None
Last Updated2016/08/26
Returnswhether this number is bigger than or equal to the specified number.
ReturnTypeBooleanTag
Example"1" .is_greater_than_or_equal_to[2] returns "false".
NumberTag.is_greater_than[<NumberTag>]
Mathematics TagNumberTag.is_greater_than[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 41
Required Addon(s)None
Last Updated2016/08/26
Returnswhether this number is bigger than the specified number.
ReturnTypeBooleanTag
Example"1" .is_greater_than[2] returns "false".
NumberTag.is_less_than_or_equal_to[<NumberTag>]
Mathematics TagNumberTag.is_less_than_or_equal_to[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 80
Required Addon(s)None
Last Updated2016/08/26
Returnswhether this number is smaller than or equal to the specified number.
ReturnTypeBooleanTag
Example"1" .is_less_than_or_equal_to[2] returns "false".
NumberTag.is_less_than[<NumberTag>]
Mathematics TagNumberTag.is_less_than[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 67
Required Addon(s)None
Last Updated2016/08/26
Returnswhether this number is smaller than the specified number.
ReturnTypeBooleanTag
Example"1" .is_less_than[2] returns "false".
NumberTag.ln
Mathematics TagNumberTag.ln
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 374
Required Addon(s)None
Last Updated2018/06/16
Returnsthe natural logarithm (base: e) of this number.
ReturnTypeNumberTag
Example"2.71828" .ln returns approximately "1".
Notealso known as ".natural_log".
NumberTag.log[<NumberTag>]
Mathematics TagNumberTag.log[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 350
Required Addon(s)None
Last Updated2016/08/26
Returnsthe logarithm (base: specified number) of this number.
ReturnTypeNumberTag
Example"2" .log[2] returns "1".
NumberTag.max[<NumberTag>]
Mathematics TagNumberTag.max[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 308
Required Addon(s)None
Last Updated2018/06/16
Returnswhichever is bigger: this number, or the specified number.
ReturnTypeNumberTag
Example"1" .max[2] returns "2".
Notealso known as ".maximum[<NumberTag>]".
NumberTag.maximum[<NumberTag>]
Mathematics TagNumberTag.maximum[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 294
Required Addon(s)None
Last Updated2016/08/26
Returnswhichever is bigger: this number, or the specified number.
ReturnTypeNumberTag
Example"1" .maximum[2] returns "2".
Notealso known as ".max[<NumberTag>]".
NumberTag.min[<NumberTag>]
Mathematics TagNumberTag.min[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 336
Required Addon(s)None
Last Updated2018/06/16
Returnswhichever is smaller: this number, or the specified number.
ReturnTypeNumberTag
Example"1" .min[2] returns "1".
Notealso known as ".minimum[<NumberTag>]".
NumberTag.minimum[<NumberTag>]
Mathematics TagNumberTag.minimum[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 322
Required Addon(s)None
Last Updated2016/08/26
Returnswhichever is smaller: this number, or the specified number.
ReturnTypeNumberTag
Example"1" .minimum[2] returns "1".
Notealso known as ".min[<NumberTag>]".
NumberTag.mod[<NumberTag>]
Mathematics TagNumberTag.mod[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 266
Required Addon(s)None
Last Updated2017/01/29
Returnsthe number modulo another number.
ReturnTypeNumberTag
Example"1" .mod[1] returns "0".
Notealso known as ".modulo[<NumberTag>]" and ".%[<NumberTag>]".
NumberTag.modulo[<NumberTag>]
Mathematics TagNumberTag.modulo[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 252
Required Addon(s)None
Last Updated2016/08/26
Returnsthe number modulo another number.
ReturnTypeNumberTag
Example"1" .modulo[1] returns "0".
Notealso known as ".mod[<NumberTag>]" and ".%[<NumberTag>]".
NumberTag.mul[<NumberTag>]
Mathematics TagNumberTag.mul[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 182
Required Addon(s)None
Last Updated2017/01/29
Returnsthe number times another number.
ReturnTypeNumberTag
Example"1" .mul[1] returns "1".
Notealso known as ".multiply[<NumberTag>]" and ".*[<NumberTag>]".
NumberTag.multiply[<NumberTag>]
Mathematics TagNumberTag.multiply[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 168
Required Addon(s)None
Last Updated2016/08/26
Returnsthe number times another number.
ReturnTypeNumberTag
Example"1" .multiply[1] returns "1".
Notealso known as ".mul[<NumberTag>]" and ".*[<NumberTag>]".
NumberTag.natural_log
Mathematics TagNumberTag.natural_log
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 363
Required Addon(s)None
Last Updated2018/06/16
Returnsthe natural logarithm (base: e) of this number.
ReturnTypeNumberTag
Example"2.71828" .natural_log returns approximate "1".
Notealso known as ".ln".
NumberTag.power[<NumberTag>]
Mathematics TagNumberTag.power[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 385
Required Addon(s)None
Last Updated2016/08/26
Returnsthe number to the power of the specified number.
ReturnTypeNumberTag
Example"2" .power[2] returns "4".
Notealso known as ".^[<NumberTag>]".
NumberTag.round
Mathematics TagNumberTag.round
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 508
Required Addon(s)None
Last Updated2016/08/26
Returnsthe number rounded to the closest whole number.
ReturnTypeIntegerTag
Example"0.5" .round returns "1".
NumberTag.round_down
Mathematics TagNumberTag.round_down
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 555
Required Addon(s)None
Last Updated2016/08/26
Returnsthe number rounded down.
ReturnTypeNumberTag
Example"0.5" .round_down returns "0".
NumberTag.round_to_places[<IntegerTag>]
Mathematics TagNumberTag.round_to_places[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 518
Required Addon(s)None
Last Updated2018/06/16
Returnsthe number rounded to the specified decimal place.
ReturnTypeNumberTag
Example"0.12345" .round_to_places[3] returns "0.123".
NumberTag.round_to[<NumberTag>]
Mathematics TagNumberTag.round_to[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 532
Required Addon(s)None
Last Updated2018/06/16
Returnsthe number rounded to the specified precision.
ReturnTypeNumberTag
Example"0.12345" .round_to[0.005] returns "0.125".
NumberTag.round_up
Mathematics TagNumberTag.round_up
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 545
Required Addon(s)None
Last Updated2016/08/26
Returnsthe number rounded up.
ReturnTypeNumberTag
Example"0.5" .round_up returns "1".
NumberTag.sign
Mathematics TagNumberTag.sign
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 565
Required Addon(s)None
Last Updated2016/08/26
Returnsthe sign of this number, which can be -1, 0, or 1.
ReturnTypeIntegerTag
Example"-5" .sign returns "-1".
NumberTag.sine
Mathematics TagNumberTag.sine
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 445
Required Addon(s)None
Last Updated2016/08/26
Returnsthe sine of this number.
ReturnTypeNumberTag
Example"3.14159" .sine returns "0".
NumberTag.square_root
Mathematics TagNumberTag.square_root
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 605
Required Addon(s)None
Last Updated2016/08/26
Returnsthe square root of this number.
ReturnTypeNumberTag
Example"4" .square_root returns "2".
NumberTag.sub[<NumberTag>]
Mathematics TagNumberTag.sub[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 140
Required Addon(s)None
Last Updated2017/01/29
Returnsthe number minus another number.
ReturnTypeNumberTag
Example"1" .sub[1] returns "0".
Notealso known as ".subtract[<NumberTag>]" and ".-[<NumberTag>]".
NumberTag.subtract[<NumberTag>]
Mathematics TagNumberTag.subtract[<NumberTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 126
Required Addon(s)None
Last Updated2016/08/26
Returnsthe number minus another number.
ReturnTypeNumberTag
Example"1" .subtract[1] returns "0".
Notealso known as ".sub[<NumberTag>]" and ".-[<NumberTag>]".
NumberTag.tangent
Mathematics TagNumberTag.tangent
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 485
Required Addon(s)None
Last Updated2016/08/26
Returnsthe tangent of this number.
ReturnTypeNumberTag
Example"3.14159" .tangent returns "0".
NumberTag.to_degrees
Mathematics TagNumberTag.to_degrees
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 634
Required Addon(s)None
Last Updated2017/10/18
Returnsthe number converted from radians to degrees.
ReturnTypeNumberTag
NumberTag.to_radians
Mathematics TagNumberTag.to_radians
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 625
Required Addon(s)None
Last Updated2017/10/18
Returnsthe number converted from degrees to radians.
ReturnTypeNumberTag
NumberTag.truncate
Mathematics TagNumberTag.truncate
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/NumberTag.java on line 615
Required Addon(s)None
Last Updated2016/08/26
Returnsthe number, truncated (rounded towards zero).
ReturnTypeNumberTag
Example"-2.8" .truncate returns "-2".
PlayerTag.cooldown_fraction[<ItemTypeTag>]
Properties TagPlayerTag.cooldown_fraction[<ItemTypeTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 83
Required Addon(s)None
Last Updated2018/01/07
Returnsthe cooldown fraction on an item type for the player. ONLINE-PLAYERS-ONLY.
ReturnTypeNumberTag
PlayerTag.cooldown[<ItemTypeTag>]
Properties TagPlayerTag.cooldown[<ItemTypeTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 67
Required Addon(s)None
Last Updated2018/01/07
Returnsthe cooldown on an item type for the player. ONLINE-PLAYERS-ONLY.
ReturnTypeDurationTag
PlayerTag.exhaustion
Properties TagPlayerTag.exhaustion
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 99
Required Addon(s)None
Last Updated2017/03/24
Returnsthe exhaustion of the player. ONLINE-PLAYERS-ONLY.
ReturnTypeNumberTag
PlayerTag.food_level
Properties TagPlayerTag.food_level
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 114
Required Addon(s)None
Last Updated2017/03/24
Returnsthe food level of the player. ONLINE-PLAYERS-ONLY.
ReturnTypeIntegerTag
PlayerTag.gamemode
Properties TagPlayerTag.gamemode
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 129
Required Addon(s)None
Last Updated2017/03/28
Returnsthe gamemode of the player. ONLINE-PLAYERS-ONLY.
ReturnTypeTextTag
PlayerTag.has_advancement[<TextTag>]
Properties TagPlayerTag.has_advancement[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 155
Required Addon(s)None
Last Updated2018/02/07
Returnswhether the player has completed an advancement. ONLINE-PLAYERS-ONLY.
ReturnTypeBooleanTag
PlayerTag.has_cooldown[<ItemTypeTag>]
Properties TagPlayerTag.has_cooldown[<ItemTypeTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 178
Required Addon(s)None
Last Updated2018/01/07
Returnswhether an item type has cooldown for the player. ONLINE-PLAYERS-ONLY.
ReturnTypeBooleanTag
PlayerTag.has_permission[<TextTag>]
Properties TagPlayerTag.has_permission[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 144
Required Addon(s)None
Last Updated2018/06/09
Returnswhether the player has a specific permission node.
ReturnTypeBooleanTag
PlayerTag.inventory
Properties TagPlayerTag.inventory
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 194
Required Addon(s)None
Last Updated2017/08/31
Returnsthe inventory this player is carrying. Equipment is not included.
ReturnTypeInventoryTag
PlayerTag.ip
Properties TagPlayerTag.ip
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 203
Required Addon(s)None
Last Updated2017/04/08
Returnsthe current IP of the player. ONLINE-PLAYERS-ONLY.
ReturnTypeTextTag
PlayerTag.latency
Properties TagPlayerTag.latency
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 218
Required Addon(s)None
Last Updated2017/04/17
Returnsthe current latency of the player, in milliseconds. ONLINE-PLAYERS-ONLY.
ReturnTypeIntegerTag
PlayerTag.name
Identification TagPlayerTag.name
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 233
Required Addon(s)None
Last Updated2016/08/26
Returnsthe name of the player.
ReturnTypeTextTag
Example"Bob" .name returns "Bob".
PlayerTag.respawn_location[<WorldTag>]
Properties TagPlayerTag.respawn_location[<WorldTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 390
Required Addon(s)None
Last Updated2018/06/15
Returnswhether the player's respawn location in the specified world. ONLINE-PLAYERS-ONLY.
ReturnTypeLocationTag
PlayerTag.saturation
Properties TagPlayerTag.saturation
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 243
Required Addon(s)None
Last Updated2017/03/24
Returnsthe saturation of the player. ONLINE-PLAYERS-ONLY.
ReturnTypeNumberTag
PlayerTag.selected_slot
Properties TagPlayerTag.selected_slot
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 258
Required Addon(s)None
Last Updated2017/04/20
Returnsthe index of the hotbar slot that is currently selected by the player.
ReturnTypeIntegerTag
PlayerTag.sneaking
Properties TagPlayerTag.sneaking
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 267
Required Addon(s)None
Last Updated2017/04/05
Returnswhether the player is sneaking or not. ONLINE-PLAYERS-ONLY.
ReturnTypeBooleanTag
PlayerTag.sprinting
Properties TagPlayerTag.sprinting
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 282
Required Addon(s)None
Last Updated2017/04/05
Returnswhether the player is sprinting or not. ONLINE-PLAYERS-ONLY.
ReturnTypeBooleanTag
PlayerTag.statistic[<MapTag>]
Properties TagPlayerTag.statistic[<MapTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 297
Required Addon(s)None
Last Updated2017/09/25
Returnsthe current value of the player's specified statistic. It also accepts statistic types with an entity, block or item as a modifier. Note that the statistics that accept modifiers are in a different list than the general ones. Input is type:<TextTag> for general statistics and type:<TextTag>|entity:<EntityTypeTag>/block:<BlockTypeTag>/item:<ItemTypeTag> for specific ones, choosing the correct modifier.
ReturnTypeIntegerTag
PlayerTag.tablist_footer
Properties TagPlayerTag.tablist_footer
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 375
Required Addon(s)None
Last Updated2018/02/04
Returnswhether the player's tablist footer. ONLINE-PLAYERS-ONLY.
ReturnTypeFormattedTextTag
PlayerTag.tablist_header
Properties TagPlayerTag.tablist_header
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/PlayerTag.java on line 360
Required Addon(s)None
Last Updated2018/02/04
Returnswhether the player's tablist header. ONLINE-PLAYERS-ONLY.
ReturnTypeFormattedTextTag
QueueTag.base_script
Information TagQueueTag.base_script
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/QueueTag.java on line 98
Required Addon(s)None
Last Updated2016/08/26
Returnsthe script that ran first on the queue. If none is available, returns a NullTag!
ReturnTypeScriptTag
Example"1" .base_script may return "MyTask".
QueueTag.current_script
Information TagQueueTag.current_script
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/QueueTag.java on line 78
Required Addon(s)None
Last Updated2016/08/26
Returnsthe script currently running on the queue. If none is available, returns a NullTag!
ReturnTypeScriptTag
Example"1" .current_script may return "MyTask".
QueueTag.definition[<TextTag>]
Information TagQueueTag.definition[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/QueueTag.java on line 135
Required Addon(s)None
Last Updated2018/06/16
Returnsthe value of the specified definition on the queue.
ReturnTypeDynamic
Example"1" .definition[value] may return "3".
QueueTag.determinations
Information TagQueueTag.determinations
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/QueueTag.java on line 68
Required Addon(s)None
Last Updated2016/08/27
Returnsa map of all determinations on the queue.
ReturnTypeMapTag
Example"1" .determinations may return "a:b|1:2|".
QueueTag.has_definition[<TextTag>]
Information TagQueueTag.has_definition[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/QueueTag.java on line 118
Required Addon(s)None
Last Updated2018/06/16
Returnswhether the queue has the specified definition.
ReturnTypeBooleanTag
Example"1" .has_definition[value] may return "true".
QueueTag.id
Identification TagQueueTag.id
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/QueueTag.java on line 48
Required Addon(s)None
Last Updated2016/08/26
Returnsthe integer ID of the queue.
ReturnTypeIntegerTag
Example"1" .id returns "1".
QueueTag.running
Information TagQueueTag.running
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/QueueTag.java on line 58
Required Addon(s)None
Last Updated2016/08/26
Returnswhether the queue is still running.
ReturnTypeBooleanTag
Example"1" .running may return "true".
ScriptTag.has_yaml_key[<TextTag>]
Identification TagScriptTag.has_yaml_key[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ScriptTag.java on line 48
Required Addon(s)None
Last Updated2017/04/27
Returnswhether the YAML has the specified key.
ReturnTypeBooleanTag
ScriptTag.is_yaml_list[<TextTag>]
Identification TagScriptTag.is_yaml_list[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ScriptTag.java on line 57
Required Addon(s)None
Last Updated2017/04/27
Returnswhether the YAML has the specified key and it is a list typed YAML key.
ReturnTypeBooleanTag
ScriptTag.list_keys[<TextTag>]
Identification TagScriptTag.list_keys[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ScriptTag.java on line 102
Required Addon(s)None
Last Updated2017/02/19
Returnsthe contents of a specific yaml key, as a list of keys.
ReturnTypeTextTag
Example"MyTask" .yaml_key[type] returns "task".
ScriptTag.ticks_ran
Identification TagScriptTag.ticks_ran
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ScriptTag.java on line 134
Required Addon(s)None
Last Updated2017/01/30
Returnsthe number of ticks that the script has been run during.
ReturnTypeIntegerTag
ScriptTag.time_ran
Identification TagScriptTag.time_ran
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ScriptTag.java on line 125
Required Addon(s)None
Last Updated2017/01/30
Returnsthe amount of time a script has ran for, in total.
ReturnTypeDurationTag
ScriptTag.title
Identification TagScriptTag.title
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ScriptTag.java on line 38
Required Addon(s)None
Last Updated2016/08/26
Returnsthe title of the script.
ReturnTypeTextTag
Example"MyTask" .title returns "MyTask".
ScriptTag.yaml_key[<TextTag>]
Identification TagScriptTag.yaml_key[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/ScriptTag.java on line 66
Required Addon(s)None
Last Updated2017/02/19
Returnsthe contents of a specific yaml key, as text.
ReturnTypeTextTag
Example"MyTask" .yaml_key[type] returns "task".
ServerBaseTag.advancement_exists[<TextTag>]
Registered Advancements TagServerBaseTag.advancement_exists[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 295
Required Addon(s)None
Last Updated2018/02/07
Returnswhether the server has the specified advancement registered.
ReturnTypeBooleanTag
ServerBaseTag.block_type_is_valid[<ListTag>]
Data Safety TagServerBaseTag.block_type_is_valid[<ListTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 134
Required Addon(s)None
Last Updated2016//11/24
Returnswhether the specified text is a valid block type, and can be read as a BlockTypeTag.
ReturnTypeBooleanTag
ServerBaseTag.bossbar_players[<TextTag>]
BossBar Data TagServerBaseTag.bossbar_players[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 256
Required Addon(s)None
Last Updated2018/01/30
Returnsthe list of players that can see a BossBar.
ReturnTypeListTag
ServerBaseTag.bossbar_properties[<TextTag>]
BossBar Data TagServerBaseTag.bossbar_properties[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 273
Required Addon(s)None
Last Updated2018/01/30
Returnsthe map of properties of the specified BossBar.
ReturnTypeListTag
ServerBaseTag.cuboid_wrapping[<ListTag>]
Mathematics TagServerBaseTag.cuboid_wrapping[<ListTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 144
Required Addon(s)None
Last Updated2016//11/24
Returnsa CuboidTag that contains and minimally wraps all locations in the list of locations.
ReturnTypeCuboidTag
ServerBaseTag.current_bossbars
BossBar Data TagServerBaseTag.current_bossbars
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 241
Required Addon(s)None
Last Updated2018/01/30
Returnsthe list of BossBars on the server.
ReturnTypeListTag
ServerBaseTag.dead_flags
Flag Data TagServerBaseTag.dead_flags
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 186
Required Addon(s)None
Last Updated2017/10/13
Returnsthe list of invalid (expired) flags on the server.
ReturnTypeListTag
ServerBaseTag.default_world_name
Server Information TagServerBaseTag.default_world_name
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 125
Required Addon(s)None
Last Updated2017/08/31
Returnsthe default world name that this server creates and loads.
ReturnTypeTextTag
ServerBaseTag.flag[<TextTag>]
Flag Data TagServerBaseTag.flag[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 204
Required Addon(s)None
Last Updated2017/10/13
Returnsthe flag of the specified key from the entity. May become TextTag regardless of input original type. Optionally don't specify anything to get the entire flag map.
ReturnTypeDynamic
ServerBaseTag.has_flag[<TextTag>]
Flag Data TagServerBaseTag.has_flag[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 173
Required Addon(s)None
Last Updated2017/10/13
Returnswhether the entity has a flag with the specified key.
ReturnTypeBooleanTag
ServerBaseTag.has_whitelist
Server Information TagServerBaseTag.has_whitelist
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 98
Required Addon(s)None
Last Updated2017/08/31
Returnswhether there is currently an enabled whitelist on the server.
ReturnTypeBooleanTag
ServerBaseTag.match_player[<TextTag>]
Server Tools TagServerBaseTag.match_player[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 308
Required Addon(s)None
Last Updated2018/06/15
Returnsthe online player that best matches the input name.
ReturnTypePlayerTag
ServerBaseTag.max_players
Server Information TagServerBaseTag.max_players
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 80
Required Addon(s)None
Last Updated2017/08/31
Returnsthe current maximum players setting on the server.
ReturnTypeIntegerTag
ServerBaseTag.motd
Server Information TagServerBaseTag.motd
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 116
Required Addon(s)None
Last Updated2017/08/31
Returnsthe current motd (message of the day) on the server.
ReturnTypeFormattedTextTag
ServerBaseTag.online_mode
Server Information TagServerBaseTag.online_mode
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 107
Required Addon(s)None
Last Updated2017/08/31
Returnswhether there the server is currently on online mode or not.
ReturnTypeBooleanTag
ServerBaseTag.online_players
Server Information TagServerBaseTag.online_players
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 55
Required Addon(s)None
Last Updated2017/08/31
Returnsa list of all the current online players on the server.
ReturnTypeListTag<PlayerTag>
ServerBaseTag.player_idle_timeout
Server Information TagServerBaseTag.player_idle_timeout
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 89
Required Addon(s)None
Last Updated2017/08/31
Returnsthe current player idle timeout setting on the server.
ReturnTypeIntegerTag
ServerBaseTag.tps
Server Information TagServerBaseTag.tps
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 71
Required Addon(s)None
Last Updated2017/04/04
Returnsthe current ticks per second on the server.
ReturnTypeNumberTag
ServerBaseTag.worlds
Server Lists TagServerBaseTag.worlds
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/ServerTagBase.java on line 40
Required Addon(s)None
Last Updated2017/01/19
Returnsa list of all loaded worlds on the server.
ReturnTypeListTag<WorldTag>
SystemTag.core_version
Denizen2 TagSystemTag.core_version
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 80
Required Addon(s)None
Last Updated2016/08/26
Returnsthe Denizen2 Core version.
ReturnTypeTextTag
SystemTag.current_time
Utilities TagSystemTag.current_time
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 62
Required Addon(s)None
Last Updated2016/08/26
Returnsthe system's current time.
ReturnTypeTimeTag
SystemTag.current_time_milliseconds
Utilities TagSystemTag.current_time_milliseconds
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 71
Required Addon(s)None
Last Updated2016/12/16
Returnsthe system's current time, as a number of milliseconds since the epoch.
ReturnTypeIntegerTag
SystemTag.e
Utilities TagSystemTag.e
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 51
Required Addon(s)None
Last Updated2018/06/16
Returnsthe approximate value of mathematical constant e (Euler's number), which is the base number for natural logarithms. This returns the constant value "2.7182818284590452354" as a NumberTag.
ReturnTypeNumberTag
SystemTag.has_file[<TextTag>]
Denizen2 TagSystemTag.has_file[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 151
Required Addon(s)None
Last Updated2017/02/16
Returnswhether the system has the specified file.
ReturnTypeBooleanTag
SystemTag.has_yaml[<TextTag>]
Denizen2 TagSystemTag.has_yaml[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 139
Required Addon(s)None
Last Updated2017/02/24
Returnswhether the system has the specified YAML file loaded.
ReturnTypeBooleanTag
SystemTag.implementation
Denizen2 TagSystemTag.implementation
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 89
Required Addon(s)None
Last Updated2016/08/26
Returnsthe Denizen2 implementation's name.
ReturnTypeTextTag
SystemTag.implementation_version
Denizen2 TagSystemTag.implementation_version
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 98
Required Addon(s)None
Last Updated2016/08/26
Returnsthe Denizen2 implementation's version.
ReturnTypeTextTag
SystemTag.pi
Utilities TagSystemTag.pi
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 40
Required Addon(s)None
Last Updated2017/10/18
Returnsthe approximate value of mathematical constant pi, which is the ratio of a circle's circumference to its diameter. This returns the constant value "3.14159265358979323846" as a NumberTag.
ReturnTypeNumberTag
SystemTag.queues
Denizen2 TagSystemTag.queues
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 107
Required Addon(s)None
Last Updated2016/08/26
Returnsa list of all current queues.
ReturnTypeListTag
SystemTag.random_boolean
Random TagSystemTag.random_boolean
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 236
Required Addon(s)None
Last Updated2017/05/05
Returnsa randomly selected true or false value.
ReturnTypeBooleanTag
SystemTag.random_decimal_gaussian
Random TagSystemTag.random_decimal_gaussian
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 227
Required Addon(s)None
Last Updated2017/05/05
Returnsa random gaussian-distributed decimal number. (IE random negative or positive, tends to be in range -1 to 1, but sometimes goes outside.)
ReturnTypeNumberTag
SystemTag.random_decimal_in_range[<ListTag>]
Random TagSystemTag.random_decimal_in_range[<ListTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 174
Required Addon(s)None
Last Updated2017/05/05
Returnsa random decimal number larger than the first number and smaller than the second number input.
ReturnTypeNumberTag
SystemTag.random_integer_in_range[<ListTag>]
Random TagSystemTag.random_integer_in_range[<ListTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 196
Required Addon(s)None
Last Updated2017/05/05
Returnsa random integer number larger than the first number and smaller than the second number input.
ReturnTypeIntegerTag
SystemTag.random_integer_massive
Random TagSystemTag.random_integer_massive
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 218
Required Addon(s)None
Last Updated2017/05/05
Returnsa random integer number, from a range of all possible 64 bit integers! (Including negatives!)
ReturnTypeIntegerTag
SystemTag.yaml_files
Denizen2 TagSystemTag.yaml_files
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/handlers/SystemTagBase.java on line 122
Required Addon(s)None
Last Updated2017/02/24
Returnsa list of all currently loaded YAML file IDs.
ReturnTypeListTag
TextsBaseTag.for_ampersand_colors[<TextTag>]
Text Formatting TagTextsBaseTag.for_ampersand_colors[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/TextsTagBase.java on line 63
Required Addon(s)None
Last Updated2018/06/09
Returnsthe ampersand colored text as a FormattedTextTag.
ReturnTypeFormattedTextTag
TextsBaseTag.for_input[<MapTag>]
Text Formatting TagTextsBaseTag.for_input[<MapTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/TextsTagBase.java on line 73
Required Addon(s)None
Last Updated2016/09/21
Returnsthe input map tag converted to a FormattedTextTag.
ReturnTypeFormattedTextTag
Example<texts.for_input[text:hello|color:blue|style:<escape[bold|italic]>|hover_text:<texts.for_plain[hi]>|click_type:suggest|click_data:/dance]>
NoteValid inputs: text:hello -> the base text will be 'hello'. color:blue -> the color will be blue. style:italic|bold -> the style will be bold-italic. Also allowed: obfuscated, reset, underline, strikethrough. hover_text:<FormattedTextTag> -> hovering over the text will display 'hello_world'. click_type:suggest -> clicking will suggest a command. Also allowed: execute, open_url. click_data:/dance -> clicking will use the command '/dance'.
TextsBaseTag.for_old_colors[<TextTag>]
Text Formatting TagTextsBaseTag.for_old_colors[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/TextsTagBase.java on line 53
Required Addon(s)None
Last Updated2016/09/21
Returnsthe old-style colored text as a FormattedTextTag.
ReturnTypeFormattedTextTag
TextsBaseTag.for_plain[<TextTag>]
Text Formatting TagTextsBaseTag.for_plain[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/handlers/TextsTagBase.java on line 44
Required Addon(s)None
Last Updated2016/09/21
Returnsthe plain text as a FormattedTextTag.
ReturnTypeFormattedTextTag
TextTag.after_first[<TextTag>]
Text Modification TagTextTag.after_first[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 357
Required Addon(s)None
Last Updated2018/06/17
Returnsthe text after the first instance of the specified text.
ReturnTypeTextTag
Example"abc" .after[b] returns "c".
TextTag.after[<TextTag>]
Text Modification TagTextTag.after[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 337
Required Addon(s)None
Last Updated2018/06/17
Returnsthe text after the last instance of the specified text.
ReturnTypeTextTag
Example"abc" .after[b] returns "c".
TextTag.before_last[<TextTag>]
Text Modification TagTextTag.before_last[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 367
Required Addon(s)None
Last Updated2018/06/17
Returnsthe text before the last instance of the specified text.
ReturnTypeTextTag
Example"abc" .before[b] returns "a".
TextTag.before[<TextTag>]
Text Modification TagTextTag.before[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 347
Required Addon(s)None
Last Updated2018/06/17
Returnsthe text before the first instance of the specified text.
ReturnTypeTextTag
Example"abc" .before[b] returns "a".
TextTag.char_at[<IntegerTag>]
Text Details TagTextTag.char_at[<IntegerTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 283
Required Addon(s)None
Last Updated2016/12/05
Returnsthe character at the specified index in the text (treating the text as a list of characters).
ReturnTypeTextTag
Example"abc" .char_at[1] returns "a".
TextTag.contains_any_text_cased[<ListTag>]
Text Details TagTextTag.contains_any_text_cased[<ListTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 183
Required Addon(s)None
Last Updated2018/06/09
Returnswhether the text contains any of the specified text value. Case Sensitive.
ReturnTypeBooleanTag
Example"abc" .contains_any_text_cased[nope|b] returns "true".
TextTag.contains_any_text[<ListTag>]
Text Details TagTextTag.contains_any_text[<ListTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 164
Required Addon(s)None
Last Updated2018/06/09
Returnswhether the text contains any of the specified text values. Case-Insensitive.
ReturnTypeBooleanTag
Example"abc" .contains_any_text[nope|B] returns "true".
TextTag.contains_text_cased[<TextTag>]
Text Details TagTextTag.contains_text_cased[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 213
Required Addon(s)None
Last Updated2017/10/17
Returnswhether the text contains the specified text. Case Sensitive.
ReturnTypeBooleanTag
Example"abc" .contains_text_cased[b] returns "true".
TextTag.contains_text[<TextTag>]
Text Details TagTextTag.contains_text[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 202
Required Addon(s)None
Last Updated2017/10/17
Returnswhether the text contains the specified text. Case-Insensitive.
ReturnTypeBooleanTag
Example"abc" .contains_text[B] returns "true".
TextTag.ends_with_cased[<TextTag>]
Text Details TagTextTag.ends_with_cased[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 253
Required Addon(s)None
Last Updated2017/02/17
Returnswhether the the text ends with the specified text. Case Sensitive.
ReturnTypeBooleanTag
Example"abc" .ends_with_cased[c] returns "true".
TextTag.equals_cased[<TextTag>]
Text Details TagTextTag.equals_cased[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 233
Required Addon(s)None
Last Updated2016/12/05
Returnswhether the two sets of text are equal. Case Sensitive.
ReturnTypeBooleanTag
Example"abc" .equals_cased[abc] returns "true".
TextTag.equals[<TextTag>]
Text Details TagTextTag.equals[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 223
Required Addon(s)None
Last Updated2016/12/05
Returnswhether the two sets of text are equal. Case-Insensitive.
ReturnTypeBooleanTag
Example"abc" .equals[abc] returns "true".
TextTag.escaped
Escaping TagTextTag.escaped
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 124
Required Addon(s)None
Last Updated2016/09/28
Returnsan escaped copy of the input text. See <@link explanation Escaping>Escaping<@/link>.
ReturnTypeTextTag
Example"a&b" .escaped returns "a&ampb".
TextTag.index_of_cased[<TextTag>]
Text Details TagTextTag.index_of_cased[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 263
Required Addon(s)None
Last Updated2017/02/24
Returnsthe location in the text of the exact input text, returns 0 if not found.
ReturnTypeIntegerTag
Example"abcabc" .index_of_cased[c] returns "3".
TextTag.is_boolean
Text Details TagTextTag.is_boolean
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 114
Required Addon(s)None
Last Updated2016/12/05
Returnswhether the text can be parsed as a boolean.
ReturnTypeBooleanTag
Example"true" .is_boolean returns "true".
TextTag.is_integer
Text Details TagTextTag.is_integer
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 94
Required Addon(s)None
Last Updated2016/12/05
Returnswhether the text can be parsed as an integer.
ReturnTypeBooleanTag
Example"1" .is_integer returns "true".
TextTag.is_number
Text Details TagTextTag.is_number
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 104
Required Addon(s)None
Last Updated2016/12/05
Returnswhether the text can be parsed as a number.
ReturnTypeBooleanTag
Example"1" .is_number returns "true".
TextTag.last_index_of_cased[<TextTag>]
Text Details TagTextTag.last_index_of_cased[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 273
Required Addon(s)None
Last Updated2017/02/24
Returnsthe last location in the text of the exact input text, returns 0 if not found.
ReturnTypeIntegerTag
Example"abcabc" .last_index_of_cased[c] returns "6".
TextTag.length
Text Details TagTextTag.length
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 144
Required Addon(s)None
Last Updated2016/12/05
Returnsthe length of the text, in characters.
ReturnTypeIntegerTag
Example"abc" .length returns "3".
TextTag.matches_regex
Text Details TagTextTag.matches_regex
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 154
Required Addon(s)None
Last Updated2017/04/27
Returnswhether the text matches a Regular Expression.
ReturnTypeBooleanTag
Example"abc" .matches_regex[[a-z]+] returns "true".
TextTag.replace[<MapTag>]
Text Modification TagTextTag.replace[<MapTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 320
Required Addon(s)None
Last Updated2016/12/05
Returnsthe text, with the specified key text swapped for the specified value text.
ReturnTypeTextTag
Example"abc" .replace[b:d] returns "abc".
TextTag.starts_with_cased[<TextTag>]
Text Details TagTextTag.starts_with_cased[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 243
Required Addon(s)None
Last Updated2016/12/05
Returnswhether the the text starts with the specified text. Case Sensitive.
ReturnTypeBooleanTag
Example"abc" .starts_with_cased[a] returns "true".
TextTag.substring[<ListTag>]
Text Modification TagTextTag.substring[<ListTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 377
Required Addon(s)None
Last Updated2016/12/05
Returnsthe portion of text specified by the two sub-indices.
ReturnTypeTextTag
Example"abc" .substring[1|2] returns "ab".
TextTag.to_boolean
Text Modification TagTextTag.to_boolean
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 64
Required Addon(s)None
Last Updated2016/08/26
Returnsthe text parsed as a boolean.
ReturnTypeBooleanTag
Example"true" .to_boolean returns "true".
TextTag.to_integer
Text Modification TagTextTag.to_integer
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 44
Required Addon(s)None
Last Updated2016/08/26
Returnsthe text parsed as an integer.
ReturnTypeIntegerTag
Example"1" .to_integer returns "1".
TextTag.to_list_of_characters
Text Details TagTextTag.to_list_of_characters
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 303
Required Addon(s)None
Last Updated2016/12/05
Returnsthe characters in the text as a list.
ReturnTypeListTag
Example"abc" .to_list_of_characters returns "a|b|c|".
TextTag.to_lower
Text Modification TagTextTag.to_lower
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 84
Required Addon(s)None
Last Updated2016/12/05
Returnsthe text in full lowercase.
ReturnTypeTextTag
Example"hELLO" .to_lower returns "hello".
TextTag.to_number
Text Modification TagTextTag.to_number
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 54
Required Addon(s)None
Last Updated2016/08/26
Returnsthe text parsed as a number.
ReturnTypeNumberTag
Example"1" .to_number returns "1".
TextTag.to_upper
Text Modification TagTextTag.to_upper
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 74
Required Addon(s)None
Last Updated2016/12/05
Returnsthe text in full uppercase.
ReturnTypeTextTag
Example"Hello" .to_upper returns "HELLO".
TextTag.unescaped
Escaping TagTextTag.unescaped
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TextTag.java on line 134
Required Addon(s)None
Last Updated2016/09/28
Returnsan unescaped copy of the input text. See <@link explanation Escaping>Escaping<@/link>.
ReturnTypeTextTag
Example"a&ampb" .unescaped returns "a&b".
TimeTag.day
General Information TagTimeTag.day
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 88
Required Addon(s)None
Last Updated2016/08/26
Returnsthe day represented by this date.
ReturnTypeIntegerTag
Example"0" .day returns "1".
TimeTag.day_local[<zone>]
General Information TagTimeTag.day_local[<zone>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 187
Required Addon(s)None
Last Updated2018/06/09
Returnsthe day represented by this date, for the specified locality zone (or the system default locality zone if not specified).
ReturnTypeIntegerTag
Example"0" .day returns "1".
TimeTag.day_of_week
General Information TagTimeTag.day_of_week
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 108
Required Addon(s)None
Last Updated2016/08/26
Returnsthe day of the week represented by this date.
ReturnTypeIntegerTag
Example"0" .day_of_week returns "1".
TimeTag.day_of_week_local[<zone>]
General Information TagTimeTag.day_of_week_local[<zone>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 209
Required Addon(s)None
Last Updated2018/06/09
Returnsthe day of the week represented by this date, for the specified locality zone (or the system default locality zone if not specified).
ReturnTypeIntegerTag
Example"0" .day_of_week returns "1".
TimeTag.day_of_week_name
General Information TagTimeTag.day_of_week_name
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 118
Required Addon(s)None
Last Updated2016/08/26
Returnsthe name of the day of the week represented by this date.
ReturnTypeIntegerTag
TimeTag.day_of_week_name_local[<zone>]
General Information TagTimeTag.day_of_week_name_local[<zone>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 220
Required Addon(s)None
Last Updated2018/06/09
Returnsthe name of the day of the week represented by this date, for the specified locality zone (or the system default locality zone if not specified).
ReturnTypeIntegerTag
TimeTag.day_of_year
General Information TagTimeTag.day_of_year
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 98
Required Addon(s)None
Last Updated2016/08/26
Returnsthe day of the year represented by this date.
ReturnTypeIntegerTag
Example"0" .day_of_year returns "1".
TimeTag.day_of_year_local[<zone>]
General Information TagTimeTag.day_of_year_local[<zone>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 198
Required Addon(s)None
Last Updated2018/06/09
Returnsthe day of the year represented by this date, for the specified locality zone (or the system default locality zone if not specified).
ReturnTypeIntegerTag
Example"0" .day_of_year returns "1".
TimeTag.hour
General Information TagTimeTag.hour
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 127
Required Addon(s)None
Last Updated2016/08/26
Returnsthe hour of the day represented by this date.
ReturnTypeIntegerTag
TimeTag.hour_local[<zone>]
General Information TagTimeTag.hour_local[<zone>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 230
Required Addon(s)None
Last Updated2018/06/09
Returnsthe hour of the day represented by this date, for the specified locality zone (or the system default locality zone if not specified).
ReturnTypeIntegerTag
TimeTag.minute
General Information TagTimeTag.minute
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 136
Required Addon(s)None
Last Updated2016/08/26
Returnsthe minute of the hour represented by this date.
ReturnTypeIntegerTag
TimeTag.minute_local[<zone>]
General Information TagTimeTag.minute_local[<zone>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 240
Required Addon(s)None
Last Updated2018/06/09
Returnsthe minute of the hour represented by this date, for the specified locality zone (or the system default locality zone if not specified).
ReturnTypeIntegerTag
TimeTag.month
General Information TagTimeTag.month
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 68
Required Addon(s)None
Last Updated2016/08/26
Returnsthe month represented by this date.
ReturnTypeIntegerTag
Example"0" .month returns "1".
TimeTag.month_local[<zone>]
General Information TagTimeTag.month_local[<zone>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 165
Required Addon(s)None
Last Updated2018/06/09
Returnsthe month represented by this date, for the specified locality zone (or the system default locality zone if not specified).
ReturnTypeIntegerTag
Example"0" .month returns "1".
TimeTag.month_name
General Information TagTimeTag.month_name
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 78
Required Addon(s)None
Last Updated2016/08/26
Returnsthe name of the month represented by this date.
ReturnTypeTextTag
Example"0" .month returns "JANUARY".
TimeTag.month_name_local[<zone>]
General Information TagTimeTag.month_name_local[<zone>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 176
Required Addon(s)None
Last Updated2018/06/09
Returnsthe name of the month represented by this date, for the specified locality zone (or the system default locality zone if not specified).
ReturnTypeTextTag
Example"0" .month returns "JANUARY".
TimeTag.second
General Information TagTimeTag.second
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 145
Required Addon(s)None
Last Updated2016/08/26
Returnsthe second of the minute represented by this date.
ReturnTypeIntegerTag
TimeTag.second_local[<zone>]
General Information TagTimeTag.second_local[<zone>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 250
Required Addon(s)None
Last Updated2018/06/09
Returnsthe second of the minute represented by this date, for the specified locality zone (or the system default locality zone if not specified).
ReturnTypeIntegerTag
TimeTag.total_milliseconds
General Information TagTimeTag.total_milliseconds
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 260
Required Addon(s)None
Last Updated2016/08/26
Returnsthe total number of milliseconds since the epoch.
ReturnTypeIntegerTag
TimeTag.year
General Information TagTimeTag.year
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 58
Required Addon(s)None
Last Updated2016/08/26
Returnsthe year represented by this date.
ReturnTypeIntegerTag
Example"0" .year returns "1970".
TimeTag.year_local[<zone>]
General Information TagTimeTag.year_local[<zone>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/TimeTag.java on line 154
Required Addon(s)None
Last Updated2018/06/09
Returnsthe year represented by this date, for the specified locality zone (or the system default locality zone if not specified).
ReturnTypeIntegerTag
Example"0" .year returns "1970".
WorldTag.difficulty
Properties TagWorldTag.difficulty
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 191
Required Addon(s)None
Last Updated2017/04/03
Returnsthe difficulty of the world. Difficulties include 'peaceful', 'easy', 'normal' and 'hard'.
ReturnTypeTextTag
Example"world" .difficulty might return "easy".
WorldTag.dimension
Properties TagWorldTag.dimension
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 83
Required Addon(s)None
Last Updated2017/04/03
Returnsthe dimension of the world. This can be nether, overworld or the_end.
ReturnTypeTextTag
WorldTag.entities[<EntityTypeTag>]
Server Lists TagWorldTag.entities[<EntityTypeTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 62
Required Addon(s)None
Last Updated2017/01/19
Returnsa list of all entities in the world, optionally with a specific type only.
ReturnTypeListTag<EntityTag>
WorldTag.gamerule[<TextTag>]
Properties TagWorldTag.gamerule[<TextTag>]
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 137
Required Addon(s)None
Last Updated2017/04/03
Returnsthe specified gamerule of the world. Note: rule names are case sensitive!
ReturnTypeTextTag
WorldTag.generator
Properties TagWorldTag.generator
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 154
Required Addon(s)None
Last Updated2017/04/03
Returnsthe generator type of the world. An unmodified world returns 'default'.
ReturnTypeTextTag
Example"world" .generator might return "default".
WorldTag.is_raining
Properties TagWorldTag.is_raining
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 201
Required Addon(s)None
Last Updated2017/04/03
Returnswhether it is raining in the world or not.
ReturnTypeBooleanTag
WorldTag.is_thundering
Properties TagWorldTag.is_thundering
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 219
Required Addon(s)None
Last Updated2017/04/03
Returnswhether it is thundering in the world or not.
ReturnTypeBooleanTag
WorldTag.list_gamerules
Properties TagWorldTag.list_gamerules
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 116
Required Addon(s)None
Last Updated2017/05/16
Returnsthe gamerules of the world as a MapTag.
ReturnTypeMapTag<TextTag>
WorldTag.name
Identification TagWorldTag.name
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 43
Required Addon(s)None
Last Updated2016/08/26
Returnsthe name of the world.
ReturnTypeTextTag
Example"world" .name returns "world".
WorldTag.players
Server Lists TagWorldTag.players
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 92
Required Addon(s)None
Last Updated2017/04/03
Returnsa list of all the players in the world.
ReturnTypeListTag<PlayerTag>
WorldTag.rain_time
Properties TagWorldTag.rain_time
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 210
Required Addon(s)None
Last Updated2017/04/03
Returnsthe remaining time before the rain state is toggled to a random value in this world.
ReturnTypeDurationTag
WorldTag.remaining_weather_time
Properties TagWorldTag.remaining_weather_time
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 247
Required Addon(s)None
Last Updated2017/04/03
Returnsthe remaining duration of the current weather in the world.
ReturnTypeDurationTag
WorldTag.running_weather_time
Properties TagWorldTag.running_weather_time
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 256
Required Addon(s)None
Last Updated2017/04/03
Returnsthe duration the current weather in the world has been running for.
ReturnTypeDurationTag
WorldTag.seed
Properties TagWorldTag.seed
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 164
Required Addon(s)None
Last Updated2017/04/03
Returnsthe seed of the world.
ReturnTypeIntegerTag
WorldTag.spawn
Properties TagWorldTag.spawn
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 107
Required Addon(s)None
Last Updated2017/04/03
Returnsthe default spawn location of this world.
ReturnTypeLocationTag
WorldTag.thunder_time
Properties TagWorldTag.thunder_time
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 228
Required Addon(s)None
Last Updated2017/04/03
Returnsthe remaining time before the thunder state is toggled to a random value in this world.
ReturnTypeDurationTag
WorldTag.time
Properties TagWorldTag.time
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 173
Required Addon(s)None
Last Updated2017/04/03
Returnsthe time of day of the world. This value is not necessarily within the time span of a single day.
ReturnTypeDurationTag
WorldTag.total_time
Properties TagWorldTag.total_time
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 182
Required Addon(s)None
Last Updated2017/04/03
Returnsthe total time of the world.
ReturnTypeDurationTag
WorldTag.uuid
Identification TagWorldTag.uuid
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 53
Required Addon(s)None
Last Updated2016/08/26
Returnsthe unique ID of the world.
ReturnTypeTextTag
WorldTag.view_distance
Properties TagWorldTag.view_distance
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 265
Required Addon(s)None
Last Updated2018/01/01
Returnsthe view distance in the world.
ReturnTypeIntegerTag
WorldTag.weather
Properties TagWorldTag.weather
SourceDenizen2Sponge at: Denizen2Sponge-master/src/main/java/com/denizenscript/denizen2sponge/tags/objects/WorldTag.java on line 237
Required Addon(s)None
Last Updated2017/04/03
Returnsthe current weather of the world. Weathers include 'clear', 'rain' and 'thunder_storm'.
ReturnTypeTextTag
Example"world" .weather might return "clear".
YamlTag.has_key[<TextTag>]
Data TagYamlTag.has_key[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/YamlTag.java on line 100
Required Addon(s)None
Last Updated2017/02/24
Returnswhether the YAML has the specified key.
ReturnTypeBooleanTag
YamlTag.is_list[<TextTag>]
Data TagYamlTag.is_list[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/YamlTag.java on line 109
Required Addon(s)None
Last Updated2017/04/27
Returnswhether the YAML has the specified key and it is a list typed YAML key.
ReturnTypeBooleanTag
YamlTag.list_keys[<TextTag>]
Data TagYamlTag.list_keys[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/YamlTag.java on line 140
Required Addon(s)None
Last Updated2017/02/19
Returnsthe contents of the YAML key, as a list of keys.
ReturnTypeListTag
YamlTag.name
Identification TagYamlTag.name
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/YamlTag.java on line 45
Required Addon(s)None
Last Updated2017/02/19
Returnsthe name of the YAML file.
ReturnTypeTextTag
Example"test" .name returns "test".
YamlTag.read_list[<TextTag>]
Data TagYamlTag.read_list[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/YamlTag.java on line 118
Required Addon(s)None
Last Updated2017/02/19
Returnsthe contents of the YAML key, as a list of text.
ReturnTypeListTag
YamlTag.read_object[<TextTag>]
Data TagYamlTag.read_object[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/YamlTag.java on line 73
Required Addon(s)None
Last Updated2017/05/20
Returnsthe contents of the YAML key, as the correct object type. Interprets lists correctly.
ReturnTypeDynamic
YamlTag.read[<TextTag>]
Data TagYamlTag.read[<TextTag>]
SourceDenizen2Core at: Denizen2Core-master/src/main/java/com/denizenscript/denizen2core/tags/objects/YamlTag.java on line 55
Required Addon(s)None
Last Updated2017/02/19
Returnsthe contents of the YAML key, as text. Note that read_object is preferred!
ReturnTypeTextTag