- 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];
Fix for 1.20.5
A backport of 3.0.0 to mc version 1.20.1
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}
I have gone insane, You can now use the power of JavaScript to make your hud! Because why not? Look at the wiki to find out how!
Added {time} {operating_system} {javascriptenabled} {showinf3} {globalvariablesenabled} and {key_???} (ex. {key_h} will return true if the h key is pressed!)
Fixed color codes
Added {minfps} {avgfps} {maxfps}
Removed a dependency problem which made it unrunnable with other mods.