SET VARIABLE
Used to set the value of a variable.examples
Set a variable to a sum of numbersRemove all instances of a certain
string from a string variable
Set a variable to a random value
Actions
Set to String | String (aka. Text)
Tags
name:
Text Value Merging
default: No spaces
options: Add spaces, No spacesSet Particle Effect Type | SetParticleType (aka. )
| SetItemEnchants (aka. )
Clear Item Custom Tags | ClearItemTag (aka. )
Purge Matching Variables | PurgeVars (aka. )
Tags
name:
Match Requirement
default: Full word(s) in name
options: Entire name, Full word(s) in name, Any part of namename:
Ignore Case
default: False
options: True, FalseShift Location on All Axes | ShiftAllAxes (aka. ShiftLocCoord)
Get Particle Effect Material | GetParticleMat (aka. )
Set Particle Effect Spread | SetParticleSprd (aka. )
Set to Absolute Value | AbsoluteValue (aka. )
Append Value to List | AppendValue (aka. )
Set to Remainder (%) | % (aka. )
Tags
name:
Remainder Mode
default: Remainder
options: Remainder, ModuloShift Location on Vector | ShiftOnVector (aka. AddVectorLoc)
Tags
name:
Add Location Rotation
default: False
options: True, FalseGet Item Attribute | GetItemAttribute (aka. )
Tags
name:
Attribute
default: Armor
options: Armor, Armor toughness, Attack damage, Attack speed, Attack knockback, Maximum health, Maximum absorption, Knockback resistance, Movement speed, Flying speed, Follow range, Luck, Horse jump strength, Zombie spawn reinforcementsname:
Active Equipment Slot
default: Any
options: Any, Main hand, Off hand, Head, Body, Legs, FeetClear Dictionary | ClearDict (aka. )
Add Numbers (+) | + (aka. )
Shift Location Rotation | ShiftRotation (aka. RotateLocation)
Tags
name:
Rotation Axis
default: Pitch
options: Pitch, YawSubtract Numbers (-) | - (aka. )
Get Item Name | GetItemName (aka. )
Get Item Rarity | GetItemRarity (aka. )
Multiply Vector | MultiplyVector (aka. )
Divide Numbers (÷) | / (aka. )
Tags
name:
Division Mode
default: Default
options: Default, Floor result | GetSignText (aka. )
Tags
name:
Sign Line
default: 1
options: 1, 2, 3, 4, All linesSet to Bitwise Operation | Bitwise (aka. )
Tags
name:
Operator
default: |
options: |, &, ~, ^, <<, >>, >>>Get Lectern Page | GetLecternPage (aka. )
| ParseX (aka. )
Shift Location on Axis | ShiftOnAxis (aka. ShiftAxis)
Tags
name:
Coordinate
default: X
options: X, Y, Z | ParseY (aka. )
Set to Vector Between Locations | VectorBetween (aka. )
| ParseZ (aka. )
Get Vector Component | GetVectorComp (aka. )
Tags
name:
Component
default: X
options: X, Y, ZSet to Value (=) | = (aka. )
| RmText (aka. )
Tags
name:
Regular Expressions
default: Disable
options: Enable, DisableAdd Item Attribute | AddItemAttribute (aka. )
Tags
name:
Attribute
default: Armor
options: Armor, Armor toughness, Attack damage, Attack speed, Attack knockback, Maximum health, Maximum absorption, Knockback resistance, Movement speed, Flying speed, Follow range, Luck, Horse jump strength, Zombie spawn reinforcementsname:
Operation
default: Add number
options: Add number, Add percentage to base, Multiply modifier by percentagename:
Active Equipment Slot
default: Main hand
options: Any, Main hand, Off hand, Head, Body, Legs, FeetSet to Center Location | GetCenterLoc (aka. FindCenter)
Align Location | AlignLoc (aka. )
Tags
name:
Alignment Mode
default: Block center
options: Block center, Lower block cornername:
Coordinates
default: All coordinates
options: All coordinates, X and Z, Only Yname:
Rotation
default: Keep rotation
options: Keep rotation, Remove rotationGet Sound Volume | GetSoundVolume (aka. )
Set to Random Number | RandomNumber (aka. )
Tags
name:
Rounding Mode
default: Whole number
options: Whole number, Decimal numberGet Container Name | ContainerName (aka. )
Raycast from Location | Raycast (aka. )
Tags
name:
Entity Collision
default: False
options: True, Falsename:
Block Collision
default: All blocks
options: All blocks, Non-fluid blocks, Solid blocks, NoneRotate Vector Around Vector | RotateAroundVec (aka. )
Tags
name:
Angle Units
default: Degrees
options: Degrees, RadiansGet Particle Effect Motion | GetParticleMotion (aka. )
Set Particle Motion | SetParticleMotion (aka. )
Set to Average Number | Average (aka. )
| WrapNumber (aka. )
| SetY (aka. )
Set Map Texture | SetMapTexture (aka. )
Get Block Data | GetBlockData (aka. )
| SetX (aka. )
Sort Dictionary | SortDict (aka. )
Tags
name:
Sorting Type
default: Sort by Key
options: Sort by Key, Sort by Valuename:
Sorting Order
default: Ascending
options: Ascending, DescendingGet Lectern Book | GetLecternBook (aka. )
Get Custom Sound Key | GetCustomSound (aka. )
Set to Cross Product | CrossProduct (aka. )
Multiply Numbers (×) | x (aka. )
Get Particle Roll | GetParticleRoll (aka. )
| ParseYaw (aka. )
Set to Dot Product | DotProduct (aka. )
| SetZ (aka. )
Set Armor Trim | SetArmorTrim (aka. )
Tags
name:
Trim Pattern
default: None
options: None, Coast, Dune, Eye, Rib, Sentry, Snout, Spire, Tide, Vex, Ward, Wayfinder, Shaper, Silence, Raiser, Host, Wildname:
Trim Material
default: Amethyst
options: Amethyst, Copper, Diamond, Emerald, Gold, Iron, Lapis Lazuli, Netherite, Quartz, RedstonePop List Value | PopListValue (aka. )
Get Noise | Noise (aka. )
Tags
name:
Return Type
default: Simplex
options: Simplex, Perlin, Voronoi, Worley, Valuename:
Dimensions
default: 3D
options: 3D, 2DSet to Minimum Number | MinNumber (aka. MinValue,Min)
Get Potion Effect Type | GetPotionType (aka. )
| SetItemName (aka. )
Get List Length | ListLength (aka. )
Set to Sine | Sine (aka. )
Tags
name:
Sine Variant
default: Sine
options: Sine, Inverse sine (arcsine), Hyperbolic sinename:
Input
default: Degrees
options: Degrees, RadiansSet to Direction Name | DirectionName (aka. )
Repeat String | RepeatString (aka. DuplicateText,RepeatText)
| GetItemLore (aka. )
Join String | JoinString (aka. JoinText)
Reverse List | ReverseList (aka. )
Remove Duplicate List Elements | DedupList (aka. )
Create Dictionary | CreateDict (aka. )
| RoundNumber (aka. )
Tags
name:
Round Mode
default: Nearest
options: Floor, Nearest, CeilingFace Location | FaceLocation (aka. )
Tags
name:
Face Direction
default: Toward location
options: Toward location, Away from location | GetItemLoreLine (aka. )
Set Vector Length | SetVectorLength (aka. )
Set Potion Effect Duration | SetPotionDur (aka. )
Get Block Blast Resistance | BlockResistance (aka. )
Split String | SplitString (aka. SplitText)
Set to Normally Distributed Random Number | NormalRandom (aka. )
Tags
name:
Distribution
default: Normal
options: Normal, Folded normalSet Potion Effect Type | SetPotionType (aka. )
Align Vector | AlignVector (aka. )
Set Item Durability | SetItemDura (aka. )
Tags
name:
Durability Type
default: Set Damage
options: Set Damage, Set Damage Percentage, Set Remaining, Set Remaining PercentageSet Item Breakability | SetBreakability (aka. )
Tags
name:
Breakability
default: Unbreakable
options: Breakable, UnbreakableGet Sign Text | GetSignText (aka. )
Tags
name:
Sign Line
default: 1
options: 1, 2, 3, 4, All linesname:
Sign Side
default: Front
options: Front, Back | RaycastEntity (aka. )
Set Dictionary Value | SetDictValue (aka. )
Set All Location Coordinates | SetAllCoords (aka. )
Tags
name:
Coordinate Type
default: Plot coordinate
options: Plot coordinate, World coordinateSet to RGB Color | RGBColor (aka. )
Set Breakable Blocks | SetCanDestroy (aka. )
Set to HSL Color | HSLColor (aka. )
| GetDirection (aka. )
Tags
name:
Return Type
default: Text (3D)
options: Text (3D), Text (2D), VectorGet Item Lore | GetItemLore (aka. )
Remove List Value at Index | RemoveListIndex (aka. )
Get Cellular Noise | CellularNoise (aka. )
Tags
name:
Return Type
default: Voronoi
options: Voronoi, Worley, Secondary, Additive, Subtractive, Divisive, Multiplicative, Originname:
Distance Calculation
default: Euclidean
options: Euclidean, Manhattan, Naturalname:
Domain Fractal
default: Progressive
options: Progressive, Independentname:
Dimensions
default: 3D
options: 3D, 2DSet to Logarithm | Logarithm (aka. )
Set Item Custom Tag | SetItemTag (aka. )
Trim String | TrimString (aka. TrimText)
Parse MiniMessage Expression | ParseMiniMessageExpr (aka. )
Tags
name:
Allowed Tags
default: Style Only
options: Style Only, Dynamic, Fullname:
Parse Legacy Color Codes
default: False
options: True, FalseGet Item Stack Size | GetItemAmount (aka. )
Set Potion Effect Amplifier | SetPotionAmp (aka. )
Get Breakable Blocks | GetCanDestroy (aka. )
Rotate Vector Around Axis | RotateAroundAxis (aka. )
Tags
name:
Axis
default: X
options: X, Y, Zname:
Angle Units
default: Degrees
options: Degrees, Radians | GetItemName (aka. )
Get Item Durability | GetItemDura (aka. )
Tags
name:
Durability Type
default: Get Damage
options: Get Damage, Get Damage Percentage, Get Remaining, Get Remaining Percentage, Get MaximumShift Location in Direction | ShiftInDirection (aka. )
Tags
name:
Direction
default: Forward
options: Forward, Upward, SidewaysWrap Number | WrapNum (aka. )
Replace String | ReplaceString (aka. ReplaceText)
Tags
name:
Regular Expressions
default: Disable
options: Enable, Disablename:
Replacement Type
default: All occurrences
options: First occurrence, All occurrencesSet Item Name | SetItemName (aka. )
Set Compass Lodestone Location | SetLodestoneLoc (aka. )
Tags
name:
Require Lodestone at Location
default: False
options: True, FalseFlatten List | FlattenList (aka. )
Get Block Hardness | BlockHardness (aka. )
Get Potion Effect Amplifier | GetPotionAmp (aka. )
Get Particle Effect Amount | GetParticleAmount (aka. )
Get Dictionary Size | GetDictSize (aka. )
Set Item Stack Size | SetItemAmount (aka. )
Subtract Vectors | SubtractVectors (aka. )
Set String Case | SetCase (aka. )
Tags
name:
Capitalization Type
default: UPPERCASE
options: UPPERCASE, lowercase, Proper Case, iNVERT CASE, RAnDoM cASeSet Particle Effect Color | SetParticleColor (aka. )
Get Light Level | GetLight (aka. )
Tags
name:
Light Type
default: Combined light
options: Combined light, Sky light, Block lightGet Book Text | GetBookText (aka. )
Get Dictionary Values | GetDictValues (aka. )
Set to Vector | Vector (aka. )
Set to Distance | Distance (aka. )
Tags
name:
Distance Type
default: Distance 3D (X/Y/Z)
options: Distance 2D (X/Z), Distance 3D (X/Y/Z), Altitude (Y) | SetItemLore (aka. )
Set to Root | Root (aka. SquareRoot)
Set Particle Effect Amount | SetParticleAmount (aka. )
Add Item Enchantment | AddItemEnchant (aka. )
Get Item Material | GetItemType (aka. )
Tags
name:
Return Value Type
default: Item ID (golden_apple)
options: Item ID (golden_apple), Item Name (Golden Apple), ItemGet Location Direction | GetDirection (aka. )
Get Item Lore Line | GetLoreLine (aka. )
Get Particle Effect Type | GetParticleType (aka. )
Remove String | RemoveString (aka. RemoveText)
Tags
name:
Regular Expressions
default: Disable
options: Enable, DisableGet All Block Data | GetAllBlockData (aka. )
Tags
name:
Hide Default
default: True
options: True, FalseSet to Maximum Number | MaxNumber (aka. MaxValue,Max)
Get Dictionary Keys | GetDictKeys (aka. )
Trim Styled Text Content | TrimStyledText (aka. )
Set Particle Effect Material | SetParticleMat (aka. )
Get Location Coordinate | GetCoord (aka. )
Tags
name:
Coordinate Type
default: Plot coordinate
options: Plot coordinate, World coordinatename:
Coordinate
default: X
options: X, Y, Z, Pitch, YawRemove Item Custom Tag | RemoveItemTag (aka. )
Set Particle Effect Size | SetParticleSize (aka. )
Get Potion Effect Duration | GetPotionDur (aka. )
Set to Random Location | RandomLoc (aka. )
Set Sound Type | SetSoundType (aka. )
Get Compass Lodestone Location | GetLodestoneLoc (aka. )
| ShiftDirection (aka. )
Tags
name:
Direction
default: Forwards 3D (X/Y/Z)
options: Forwards 2D (X/Z), Forwards 3D (X/Y/Z), Sideways (-L / +R) | GetContainerName (aka. )
Get Particle Effect Spread | GetParticleSprd (aka. )
Tags
name:
Spread
default: Horizontal
options: Horizontal, VerticalReflect Vector | ReflectVector (aka. )
Get Head Owner | GetHeadOwner (aka. )
Tags
name:
Text Value
default: Owner Name
options: Owner Name, Owner UUID | GetItemEnchants (aka. )
Append Dictionary | AppendDict (aka. )
Get Item Maximum Stack Size | GetMaxItemAmount (aka. )
Get Color Channels | GetColorChannels (aka. )
Tags
name:
Color Channels
default: RGB
options: RGB, HSB, HSLSet Location Direction | SetDirection (aka. )
Set List Value | SetListValue (aka. )
Set Item Enchantments | SetItemEnchants (aka. )
Set Book Text | SetBookText (aka. )
Set to Random Value | RandomValue (aka. RandomObj)
Set Item Material | SetItemType (aka. )
Get Sound Type | GetSoundType (aka. )
Get List Value | GetListValue (aka. )
Bounce Number | BounceNum (aka. )
Set to Tangent | Tangent (aka. )
Tags
name:
Tangent Variant
default: Tangent
options: Tangent, Inverse tangent (arctangent), Hyperbolic tangentname:
Input
default: Degrees
options: Degrees, RadiansGet Voronoi Noise | VoronoiNoise (aka. )
Tags
name:
Cell Edge Type
default: Euclidean
options: Euclidean, Manhattan, Natural | SetDirection (aka. FaceDirection)
Tags
name:
Face Direction
default: Towards direction
options: Towards direction, Towards opposite directionSet to HSB Color | HSBColor (aka. HSVColor)
Increment Number (+=) | += (aka. )
Get Sound Variant | GetSoundVariant (aka. )
Get Item Color | GetItemColor (aka. )
Clear Formatting | ClearFormatting (aka. )
Insert List Value | InsertListValue (aka. InsertListIndex)
Set Sound Volume | SetSoundVolume (aka. )
Set Location Coordinate | SetCoord (aka. )
Tags
name:
Coordinate Type
default: Plot coordinate
options: Plot coordinate, World coordinatename:
Coordinate
default: X
options: X, Y, Z, Pitch, YawAdd Vectors | AddVectors (aka. )
| SetPitch (aka. )
| RaycastBlock (aka. )
Tags
name:
Ignore Passable Blocks
default: False
options: True, Falsename:
Fluid Collision
default: Ignore fluids
options: Ignore fluids, Detect fluids, Source blocks onlyGet Item Enchantments | GetItemEnchants (aka. )
Set Head Texture | SetHeadTexture (aka. SetHeadOwner)
Get Perlin Noise | PerlinNoise (aka. )
Tags
name:
Fractal Type
default: Brownian
options: Brownian, Billow (Dark edges), Rigid (Light edges)Get Worley Noise | WorleyNoise (aka. )
Tags
name:
Cell Edge Type
default: Euclidean
options: Euclidean, Manhattan, Naturalname:
Distance Calculation
default: Primary
options: Primary, Secondary, Additive, Subtractive, Multiplicative, DivisiveSet Item Color | SetItemColor (aka. SetLeatherColor)
Get Particle Effect Color | GetParticleColor (aka. )
Set Sound Pitch | SetSoundPitch (aka. )
Round Number | RoundNumber (aka. )
Tags
name:
Round Mode
default: Nearest
options: Floor, Nearest, CeilingGet Placeable Blocks | GetCanPlaceOn (aka. )
Sort List | SortList (aka. )
Tags
name:
Sort Order
default: Ascending
options: Ascending, DescendingSet Custom Sound Key | SetCustomSound (aka. )
Remove Dictionary Entry | RemoveDictEntry (aka. )
Format Timestamp | FormatTime (aka. )
Tags
name:
Format
default: 2020/08/17 17:20:54
options: Custom, 2020/08/17 17:20:54, 2020/08/17, Mon, August 17, Monday, 17:20:54, 5:20 PM, 17h20m54s, 54.229 secondsSet Item Visibility Flags | SetItemFlags (aka. )
Tags
name:
Hide Armor Trim
default: No Change
options: True, False, No Changename:
Hide Color
default: No Change
options: True, False, No Changename:
Hide Enchantments
default: No Change
options: True, False, No Changename:
Hide Attributes
default: No Change
options: True, False, No Changename:
Hide Unbreakable
default: No Change
options: True, False, No Changename:
Hide Can Destroy
default: No Change
options: True, False, No Changename:
Hide Can Place On
default: No Change
options: True, False, No Changename:
Hide Potion Effects
default: No Change
options: True, False, No ChangeGet String Length | StringLength (aka. TextLength)
Get Item Potion Effects | GetItemEffects (aka. )
Set to Styled Text | StyledText (aka. )
Tags
name:
Text Value Merging
default: No spaces
options: Add spaces, No spacesname:
Inherit Styles
default: True
options: True, FalseGet MiniMessage Expression | GetMiniMessageExpr (aka. )
| SetYaw (aka. )
Set Item Lore | SetItemLore (aka. )
Set Item Potion Effects | SetItemEffects (aka. )
Decrement Number (-=) | -= (aka. )
Get Item Custom Tag | GetItemTag (aka. )
Create List | CreateList (aka. )
Append List to List | AppendList (aka. )
Get Container Contents | GetContainerItems (aka. )
Tags
name:
Ignore Empty Slots
default: False
options: True, FalseShift Location Toward Location | ShiftToward (aka. ShiftTowards,ShiftLocTowards)
Trim List | TrimList (aka. )
Get Gradient Noise | GradientNoise (aka. )
Tags
name:
Dimensions
default: 3D
options: 3D, 2Dname:
Domain Fractal
default: Progressive
options: Progressive, Independentname:
Return Type
default: Simplex
options: Simplex, PerlinClear Item Enchantments | ClearEnchants (aka. )
Set to Cosine | Cosine (aka. )
Tags
name:
Cosine Variant
default: Cosine
options: Cosine, Inverse cosine (arccosine), Hyperbolic cosinename:
Input
default: Degrees
options: Degrees, RadiansSet Vector Component | SetVectorComp (aka. )
Tags
name:
Component
default: X
options: X, Y, ZParse Number from String | ParseNumber (aka. )
Set to Exponential | Exponent (aka. )
| ShiftAllDirs (aka. )
Tags
name:
Ignore Pitch
default: False
options: True, FalseGet List Index of Value | GetValueIndex (aka. )
Tags
name:
Search Order
default: Ascending (first index)
options: Ascending (first index), Descending (last index)Remove Item Enchantment | RemItemEnchant (aka. )
| GetBookText (aka. )
Set Particle Roll | SetParticleRoll (aka. )
Set Sound Variant | SetSoundVariant (aka. )
| ShiftLocation (aka. )
Tags
name:
Shift Direction
default: (+) Forwards / (-) Backwards
options: (+) Upwards / (-) Downwards, (+) Forwards / (-) Backwards, (+) Right / (-) LeftRandomize List | RandomizeList (aka. )
Clamp Number | ClampNumber (aka. )
| Round (aka. )
Tags
name:
Round Mode
default: Nearest
options: Floor, Nearest, CeilingGet Sound Pitch | GetSoundPitch (aka. )
Tags
name:
Return Value Type
default: Pitch (number)
options: Pitch (number), Note (text)Translate Legacy Colors | TranslateColors (aka. )
Tags
name:
Translation Type
default: From & to color
options: From hex to color, From & to color, From color to &, Strip colorGet Block Growth | GetBlockGrowth (aka. )
Tags
name:
Growth Unit
default: Growth stage number
options: Growth stage number, Growth percentageGet All Custom Item Tags | GetAllItemTags (aka. )
Remove List Value | RemoveListValue (aka. )
Shift Location in All Directions | ShiftAllDirections (aka. )
Get Value Noise | ValueNoise (aka. )
Tags
name:
Dimensions
default: 3D
options: 3D, 2Dname:
Domain Fractal
default: Progressive
options: Progressive, Independentname:
Return Type
default: Value
options: Value, CubicSet Placeable Blocks | SetCanPlaceOn (aka. )
Get Block Material | GetBlockType (aka. )
Tags
name:
Return Value Type
default: Block ID (oak_log)
options: Block ID (oak_log), Block name (Oak Log), Item | ParsePitch (aka. )
Get Dictionary Value | GetDictValue (aka. )
Get Container Lock | ContainerLock (aka. )
Get Block Power | GetBlockPower (aka. )
Get Vector Length | GetVectorLength (aka. )
Tags
name:
Length Type
default: Length
options: Length, Length SquaredGet Text Content Length | ContentLength (aka. )
Set Custom Model Data | SetModelData (aka. )
| SetCoords (aka. )
Get Particle Effect Size | GetParticleSize (aka. )