List of Resources
See MKB through human eyesFilter by Category:
All Calculations Control Flow Equipped Armor Equipped Tool GUI Input Looking at Mod related Player Position Server Settings Time and Date Variables WorldFiltros ativos: Categoria: "Calculations"
CALCYAWTO
ActionCalculates the absolute yaw angle and optionally the distance to the specified coordinates. Returns the calculated yaw value.
Category: CalculationsDECODE
ActionConverts an string from base64 back to an normal string. Returns the decoded string.
Category: CalculationsENCODE
ActionConverts an string to base 64. Returns the encoded value.
Category: CalculationsGETID
ActionGets the ID and optionally the data value of the block at the specified coordinates in the world. Returns the name of the block.
Category: CalculationsGETIDREL
ActionGets the ID and optionally the data value of the block at the specified coordinates relative to the player. Returns the name of the block.
Category: CalculationsGETITEMINFO
ActionGets the name and other info for the specified item id Returns the item name
Category: CalculationsITEMID
ActionGets the legacy (numeric) ID for the specified item
Category: CalculationsITEMNAME
ActionGet the item descriptor for a legacy (numeric) item ID
Category: CalculationsLCASE
ActionConverts the input string to lower case and stores it in output. Returns the output.
Category: CalculationsMATCH
ActionRuns a regular expression match on the `<subject>` and puts the result in `<&target>`. Returns the matched groups as an array. Alternative Syntax; ``` MATCH(<subject>,<pattern>,{&target1,&target2,&target3}) MATCH(<subject>,<pattern>,&target[]) ```
Category: CalculationsRANDOM
ActionAssigns a random number between min and max to target. Returns the value.
Category: CalculationsREGEXREPLACE
ActionReplace all matches of `<pattern>` with `[replace]` in `<&subject>`. Returns the new string.
Category: CalculationsREPLACE
ActionReplace all occurrences of `<search>` with `[replace]` in `<&subject>`. Returns the new string.
Category: CalculationsSQRT
ActionCalculate the rounded square root of `<value>` and store it in `<#outvar>`. Returns the result.
Category: CalculationsSTRIP
ActionStrips all formatting codes from the specified `<text>` and assigns the result to `<&target>`. Returns the result.
Category: CalculationsTILEID
ActionGets the legacy (numeric) ID for the specified tile
Category: CalculationsTILENAME
ActionGet the descriptor for a legacy (numeric) tile ID
Category: CalculationsTIME
ActionStores the current time and date into &target, optionally using format specified. Returns the formatted time string.
Category: CalculationsTRACE
ActionPerforms a ray trace operation which sets the raytrace variables in the local scope. `<distance>` can be between `3` and `256` `[entities]` can be true, if you want to include entities in your trace. Returns the type of the result, which can be one of the following values: * `TILE` * `PLAYER` * `ENTITY` * `NONE`
Category: CalculationsUCASE
ActionConverts the input string to upper case and stores it in output. Returns the output.
Category: Calculations