|
1 | 1 | ==3.3.5== |
2 | 2 |
|
3 | | -CommandHelper 3.3.5 supports Minecraft 1.16.5-1.19.3 |
| 3 | +CommandHelper 3.3.5 supports Minecraft 1.16.5 - 26.1 |
4 | 4 |
|
5 | | -The largest feature of this release is that support for Java 16 was added, and support for previous versions were |
6 | | -dropped. Additionally, while the exposed feature set is somewhat limited, various backend changes have been |
7 | | -committed, which improves the reliability and performance of the system, and allows for additional planned changes in |
8 | | -the future, particularly around static analysis, user objects, and other language features. |
| 5 | +The largest features of this release are that it now uses and requires Java 16 and that the support range for Minecraft |
| 6 | +versions was changed. Additionally, various backend changes have been committed, which improve the reliability and |
| 7 | +performance of the system, and allow for additional planned changes in the future, particularly around static analysis, |
| 8 | +user objects, and other language features. |
9 | 9 |
|
10 | | -=== New Feature Overview === |
| 10 | +=== Overview === |
11 | 11 |
|
12 | | -* Various deprecated functions have been removed. spawn_mob (use spawn_entity), tame_mob (use set_mob_owner), \ |
13 | | -enchant_inv (use enchant_item), enchant_rm_inv (use remove_item_enchant), get_enchant_inv (use get_item_enchants), \ |
14 | | -can_enchant_target (use can_enchant_item), get_block_at (use get_block), set_block_at (use set_block) |
15 | | -* Add support for 1.17-1.19 Minecraft Mobs |
16 | | -* Additional data in entity_spec |
| 12 | +* Added support for 1.17 - 26.1 Minecraft entity data, item meta, enums, and other functionality. |
17 | 13 | * MethodScript source is now hardened against bidi attacks. https://trojansource.codes/trojan-source.pdf |
18 | 14 | * Various improvements to the LangServ, which increases the functionality of the Visual Studio Code IDE. \ |
19 | 15 | Things such as code outline and integration with proc docs is now supported. The idea of a "workspace" was added, \ |
20 | 16 | which allows for all code to be handled as a whole project, rather than a bunch of individual files. For instance, \ |
21 | 17 | the ability to go to a proc declaration from a reference was added, and smart comments added to a proc now show \ |
22 | 18 | up when hovering over a proc reference. Requires static analysis to be enabled. |
23 | 19 | * RCON support was added |
24 | | -* Declarative prefilters were added. This has little visible effect to end users, other than to say that prefilters \ |
| 20 | +* Declarative event prefilters were added. This has little visible effect to end users, other than that prefilters \ |
25 | 21 | should be more performant now, and additional error checking can be done to ensure correct prefilter usage, including \ |
26 | 22 | incorrect values, and unexpected additional (and unused) values. The framework is added now, and more events will \ |
27 | 23 | be onboarded onto the system in the future. Some of the changes require Static Analysis to be enabled (disabled by |
@@ -62,26 +58,58 @@ direct returns from other functions and array references, for instance, assuming |
62 | 58 | * Tab completion is now enhanced for aliases defined with the @command syntax, if they also provide type information \ |
63 | 59 | in @param tags. For instance, if the alias is </code>/test $enum</code> and <code>@param $enum WorldEnvironment</code> \ |
64 | 60 | is provided, then the $enum value will automatically provide autocomplete with the values from the WorldEnvironment enum. |
65 | | -* Support for variadic arguments is added. Callables may now be defined with a variadic type in the last parameter, |
| 61 | +* Support for variadic arguments is added. Callables may now be defined with a variadic type in the last parameter, \ |
66 | 62 | which will match all overflow parameters, for instance <code>proc _test(string... @values)</code> can now be called \ |
67 | 63 | such as <code>_test('a', 'b', 'c')</code>, and @values will be an array of strings <code>array('a', 'b', 'c')</code> \ |
68 | 64 | within the proc. |
69 | 65 | * Additional methods of handling dynamic includes and static analysis have been added. Forward proc declarations, \ |
70 | 66 | @{DynamicProc} annotations, and additional file options. See the page on [[Procedures]] for more details. |
71 | 67 | * Annotations have been added. For now, only @{DynamicProc} exists, though this will be expanded on in the future. |
| 68 | +* Very early support for LLVM is being introduced. This is not generally usable for basically anything yet, but you \ |
| 69 | +are encouraged to take a look and provide feedback if you are a command line user. |
| 70 | +* Added soft casting (checking / non-converting) using parentheses. |
72 | 71 | * As always, hundreds of additional performance fixes and bug fixes and other minor things. |
73 | 72 |
|
74 | | -Very early support for LLVM is being introduced. This is not generally usable for basically anything yet, but you |
75 | | -are encouraged to take a look and provide feedback if you are a command line user. |
| 73 | +=== Function API Removals === |
| 74 | + |
| 75 | +These deprecated functions have been removed: spawn_mob (use spawn_entity), tame_mob (use set_mob_owner), |
| 76 | +enchant_inv (use enchant_item), enchant_rm_inv (use remove_item_enchant), get_enchant_inv (use get_item_enchants), |
| 77 | +can_enchant_target (use can_enchant_item), get_block_at (use get_block), set_block_at (use set_block) |
76 | 78 |
|
77 | 79 | === Function API Additions === |
78 | 80 |
|
79 | | -MethodScript additions: {{function|array_fill}}, {{function|fixed_array}} |
| 81 | +MethodScript additions: {{function|array_fill}}, {{function|fixed_array}}, {{function|equals_epsilon}}, |
| 82 | +{{function|array_clear}}, {{function|easing}}, {{function|ease_between_loc}}, {{function|x_get_lock}}, |
| 83 | +{{function|string_compare}}, {{function|string_compare_ic}}, {{function|matrix_add}}, {{function|matrix_can_add}}, |
| 84 | +{{function|matrix_can_multiply}}, {{function|matrix_clone}}, {{function|matrix_create}}, |
| 85 | +{{function|matrix_determinant}}, {{function|matrix_equals}}, {{function|matrix_format}}, {{function|matrix_get_column}}, |
| 86 | +{{function|matrix_identity}}, {{function|matrix_is_square}}, {{function|matrix_multiply}}, {{function|matrix_norm}}, |
| 87 | +{{function|matrix_scalar_multiply}}, {{function|matrix_submatrix}}, {{function|matrix_subtract}}, |
| 88 | +{{function|matrix_to_array}}, {{function|matrix_trace}}, {{function|matrix_transpose}} |
80 | 89 |
|
81 | 90 | Minecraft additions: {{function|get_banner_patterns}}, {{function|get_entity_freezing}}, |
82 | 91 | {{function|get_hanging_direction}}, {{function|get_world_autosave}}, {{function|is_sign_text_glowing}}, |
83 | 92 | {{function|psend_block_damage}}, {{function|set_banner_patterns}}, {{function|set_entity_freezing}}, |
84 | | -{{function|set_hanging_direction}}, {{function|set_sign_text_glowing}}, {{function|set_world_autosave}} |
| 93 | +{{function|set_hanging_direction}}, {{function|set_sign_text_glowing}}, {{function|set_world_autosave}}, |
| 94 | +{{function|bone_meal_block}}, {{function|has_inventory}}, {{function|pborder}}, {{function|set_pborder}}, |
| 95 | +{{function|get_mob_love_ticks}}, {{function|set_mob_love_ticks}}, {{function|plocale}}, {{function|is_sign_waxed}}, |
| 96 | +{{function|set_sign_waxed}}, {{function|get_decorated_pot_sherds}}, {{function|set_decorated_pot_sherds}}, |
| 97 | +{{function|select_entities}}, {{function|get_display_entity}}, {{function|set_display_entity}}, |
| 98 | +{{function|phas_recipe}}, {{function|pgive_recipe}}, {{function|get_force_loaded_chunks}}, |
| 99 | +{{function|set_chunk_force_loaded}}, {{function|set_end_gateway_exit}}, {{function|set_end_gateway_age}}, |
| 100 | +{{function|pforce_respawn}}, {{function|get_scoreboard_entries}}, {{function|phide_entity}}, {{function|pshow_entity}}, |
| 101 | +{{function|pcan_see_entity}}, {{function|get_entity_transient_id}}, {{function|entity_in_water}}, |
| 102 | +{{function|stop_sound_category}}, {{function|get_transformation_from_matrix}}, {{function|set_entity_rotation}}, |
| 103 | +{{function|psend_equipment}}, {{function|get_player_ping}},{{function|has_scoreboard_tag}}, |
| 104 | +{{function|get_player_input}}, {{function|get_entity_saves_on_unload}}, {{function|set_entity_saves_on_unload}}, |
| 105 | +{{function|action_msg}}, {{function|is_player_sleeping_ignored}}, {{function|set_player_sleeping_ignored}}, |
| 106 | +{{function|get_entity_killer}}, {{function|set_entity_killer}}, {{function|is_entity_hidden_by_default}}, |
| 107 | +{{function|set_entity_hidden_by_default}}, {{function|get_entity_pose}}, {{function|set_entity_pose}} |
| 108 | + |
| 109 | +=== Event API Additions === |
| 110 | + |
| 111 | +item_pre_anvil, item_pre_smithing, item_pre_grindstone, player_bucket_fill, player_bucket_empty, |
| 112 | +player_advancement_done, player_stop_using_item, entity_toggle_swim |
85 | 113 |
|
86 | 114 | ==3.3.4== |
87 | 115 | CommandHelper 3.3.4 supports Minecraft 1.13.2 - 1.16.5. All extensions must be updated when upgrading from previous versions. |
|
0 commit comments