CommandHelper 3.3.4 Final
3.3.4
CommandHelper 3.3.4 supports Minecraft 1.13.2 - 1.16.5. All extensions must be updated when upgrading from previous versions.
New Feature Overview
- New Visual Studio Code extension with syntax highlighting, function/event peeking, and linting for compile errors and warnings
- Adds Static Analysis framework, including type and scope checks for variables and procedures
- Adds telemetry (disabled by default)
- Adds cmdline support for Windows
- Adds 'requiredExtensions' and 'compileroptions' to File Options
- Adds 'CodeUpgradeNotices' to suppressWarnings in File Options
- Adds '.msfileoption' files for directory level File Options
- Adds support for multiple semi-colon separated paths for 'base-dir' in Preferences
- Adds support for Brotli encoding in http_request
- Adds 'json-api', 'cmdline-args', 'build-extension', 'help-topic', 'edit-prefs', 'install-mssql-auth' tools to Cmdline tools
- Adds MSSQL support for query() and in Persistence Network
- Adds documentation localization tools 'validate-l10n' and 'l10n-ui'
- Adds 'help' command to Interpreter to lookup functions
- array_index_exists now supports multi-dimensional arrays and negative indices
- Adds reflect_pull('dir')
- Adds support for Minecraft 1.14 through 1.16.5
- Adds smart comments to aliases and implements
@command
structure - Adds attribute modifiers and custom model data tag to item arrays
- Adds support for hex color codes in color() and colorize()
- Expands Minecraft recipe support
Other Changes
- Bare strings are no longer allowed
- Auto concatenation is no longer allowed in Strict Mode
- Minecraft events now ignore fake players
- Faster startup times and other performance improvements
- Hundreds of others fixes
Function API Additions
77 new functions have been added.
MethodScript additions: map_implode, array_push_all, array_get_rand,
array_subtract, x_find, switch_ic, include_dir,
execute_array, parse_text_table, always_trace, hypot,
get_compiler_options, get_compiler_warnings, set_runtime_setting,
remove_runtime_setting, has_runtime_setting, nameof,
engine_location, define_object, new_object, get_pid,
reflect_type, class_type, x_write, average, sum,
median, mode, percentile, string_contains_ic,
x_thread_join, x_thread_is_alive, x_interrupt, x_is_interrupted,
x_clear_interrupt.
Minecraft additions: get_tabcomplete_prototype, tell_raw, get_projectile_item,
set_projectile_item, get_blockdata, set_blockdata, set_skull_owner,
get_skull_owner, get_sky_light_at, get_block_light_at,
is_block_lockable, is_block_locked, get_block_lock, set_block_lock,
get_cmd_completions, all_materials, entity_attribute_value,
entity_attribute_base, entity_attribute_default, entity_attribute_modifiers,
set_entity_attribute_base, reset_entity_attribute_base,
add_entity_attribute_modifier, remove_entity_attribute_modifier,
get_entity_immunity_ticks, set_entity_immunity_ticks, is_entity_sleeping,
pflying, pattack_cooldown, get_plist_header, set_plist_header,
get_plist_footer, set_plist_footer, ptellraw, pstatistic,
set_pstatistic, pblocking, psprinting, remove_recipe,
set_world_day, get_world_day, set_keep_spawn_loaded.
Event API Additions
7 new events have been added.
block_explode, block_form, hanging_place, entity_unleash, potion_splash, entity_potion, resource_pack_status