From 1a26d74678639fa9c7fc72dcf6437896a97c8764 Mon Sep 17 00:00:00 2001 From: McHorse Date: Mon, 2 May 2022 11:38:54 +0100 Subject: [PATCH] Update version.json and CHANGELOG.md --- CHANGELOG.md | 24 +++++++++++++++++++++++- version.json | 5 +++-- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5dbf920..25593bd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +## Version 0.1.5 + +This update is brought to you by TorayLife, with some neat QoL features, triggers and bug fixes! + +**Compatible** with McLib **2.3.5**, Blockbuster **2.3** and Metamorph **1.2.9**. It doesn't mean that future versions of McLib, Blockbuster and Metamorph would be incompatible, but older versions are most likely incompatible. + +* Added new triggers: + * `Player: log out` trigger gets triggered with a subject player when player logs off the server + * `Player: interact an item` trigger gets triggered when a player right clicks (interacts with) an item in the air +* Added scripting methods: + * `IMappetUIBuilder.paused(boolean)` which allows to make UI pausable in singleplayer (by McHorse) + * `IMappetStates.isNumber(String)` and `IMappetStates.isString(String)` allow to check whether given state is of number or string type + * `IScriptItemStack.copy()` which allows to duplicate an item stack +* Added new string value comparison types: + * Exact match of given string (value == "...") + * Contains somewhere in the value a string (value contains "...") + * Regular expression match (value matches /.../) +* Added comment node to dialogues, which passes execution to its connected child nodes, but the main feature is to label or comment sections of the dialogue +* Added a feature for emitter block to check against players within the radius (rather than globally) when `radius > 0` +* Fixed `Entity: hurt` trigger getting triggered only when a player hurts an entity (and not when other entities hurt each other) +* Fixed server states editor switching back to `~` upon return back to panel instead of refreshing currently selected states (by McHorse) + ## Version 0.1.4 More bug fixes and tiny tweaks. @@ -12,7 +34,7 @@ More bug fixes and tiny tweaks. * Fixed division by 0 error with regeneration frequency * Fixed targeting for non post NPCs * Fixed textures are not being displayed in graphics UI component due to RL lowercasing the path -* Removeed `Binary` toggle for `switch` node +* Removed `Binary` toggle for `switch` node ## Version 0.1.3 diff --git a/version.json b/version.json index 02ff071f..410b9ead 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,7 @@ { "homepage": "https://www.curseforge.com/minecraft/mc-mods/mappet", "1.12.2": { + "0.1.5": "This update is brought to you by TorayLife, with some neat QoL features, triggers and bug fixes!", "0.1.4": "More bug fixes and tiny tweaks.", "0.1.3": "This is a small patch update which fixes a couple of other things.", "0.1.2": "This is a small patch update which fixes a couple of things.", @@ -9,7 +10,7 @@ "0.1-alpha": "This first release provides tons of features: states, conditions, expressions, emitter block, trigger block, region block, crafting tables, quests, NPCs, factions, events, scripts, dialogues, quest chains, many commands, custom sound events, target selectors, global triggers, and much more." }, "promos": { - "1.12.2-latest": "0.1.4", - "1.12.2-recommended": "0.1.4" + "1.12.2-latest": "0.1.5", + "1.12.2-recommended": "0.1.5" } } \ No newline at end of file