Added the ability for players to make their own methods with "#def":
#def divide, number, number
{result = arg1/arg2}
;divide, 4, 2;
{result==2}
Fixed the != operator
Added a Third Party API (Instructions on Wiki)
Reworked variable system to make it usable by third parties.
Added Unit testing support to prevent more regressions
Full methods list available now
Completely rewrote default compiler (expect performance to increase by up to 1000%!)
More consistent naming for methods.
Support for third party compilers and methods (sources jar included).
String Variables (put em in quotes!).
Variables added:
NUMBERS
xplevel - the players xp level.
xp - the players total xp.
Renamed metabuffer to methodbuffer
- Fixed ;item; on Hudder compiler
- Fixed drawItem on javascript (yes, it was a different problem...)
Added the following variables:
NUMBERS
dpitch - The pitch (with decimal point)
dyaw - The yaw (with decimal point)
pitch - The pitch (without decimal point)
yaw - The yaw (without decimal point)
world_time / worldtime - The current time of day
- Fix GUIElement Rendering
- Fix bug with conditions showing at the start instead of where the condition is made
- Fix text scaling incorrectly with JavaScript
Added the following variables:
BOOLEANS
{issurvival} {is_survival}
{iscreative} {is_creative}
{isadventure} {is_adventure}
{isspectator} {is_spectator}
Added the following hudder methods:
;alert, [Text];
;log, [Text];
;warn, [Text];
;error, [Text];
;throw, [Text];
Has not yet been tested on 1.20.6, will be very soon!
You can remove the default hotbar and select which elements to draw yourself (Only on JavaScript ;_;):
drawStatusBars(Number x, Number y)
drawExpAndMountBars(Number x, Number y)
drawHotbar(Number x, Number y)
drawItemTooltip(Number x, Number y)
Get inventory information (durability,name,count.maxdurability,maxcount) with
getItem(Number slot).[information you want to access]
;[information you want to access], Number slot, String variable;
Check text width with
strWidth(String text)
;strWidth, String text, String variable;
Remove compile rate limit in the advanced tab in settings!
Check if a hudder file exists with:
exists(String filename)
;exists, String filename, String variable;
Draw game Textures with:
drawTexture(String texture_id, int x, int y, int width, int height)
;texture, String texture_id, Number x, Number y, Number width, Number height;
Draw custom Textures (from the hudder folder) with:
drawTexture(String filename, int x, int y, int width, int height)
;texture, String filename, Number x, Number y, Number width, Number height;
Background & Background color options
Fixed JS memory leak when refreshing files.
List of variables added:
NUMBERS
{held_item_durability}
{helmet_durability}
{chestplate_durability}
{leggings_durability}
{boots_durability}
{offhand_durability}
{held_item_max_durability}
{helmet_max_durability}
{chestplate_max_durability}
{leggings_max_durability}
{boots_max_durability}
{offhand_max_durability}
{delta}
{backgroundcolor}
BOOLEANS
{background}
{removegui}
{limitrate}
STRINGS
{helditem_name}