From 6e2485af57d8903ea37931d9ec4d491e9ccba530 Mon Sep 17 00:00:00 2001 From: McHorse Date: Thu, 15 Jun 2023 19:37:38 +0100 Subject: [PATCH] Bump version (0.7), update CHANGELOG.md and version.json --- CHANGELOG.md | 35 +++++++++++++++++++ gradle.properties | 2 +- .../panels/GuiSoundTriggerBlockPanel.java | 2 +- version.json | 5 +-- 4 files changed, 40 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 582aaed4..c6a19b55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,38 @@ +## Version 0.7 + +This update is brought to you by TorayLife and OtakuGamer. This update features lots of new scripting API methods, QoL features, and brand new **Scripted Items** feature! + +**Compatible** with McLib **2.4.2**, Aperture **1.8.1**, Blockbuster **2.6.1** and Metamorph **1.3.1**. It doesn't mean that future versions of McLib, Blockbuster and Metamorph would be incompatible, but older versions are most likely incompatible. + +* New triggers: + * Added **On NPC Collision** trigger +* New features: + * Added **Scripted items** feature! It allows you to add triggers to ANY item. + * Added **Paste player's rotation** option to script editor context menu. + * Added **/mp playsound** command and a config option to load sounds on joining a world. + * Added **global** option to HUDs + * Added **shadow size**, **has no gravity**, **can be steered** and **steering properties** features on NPC's + * Added sorting to new folders lists, so folders appears first (by TorayLife) + * Added context menu (just like in regular script editor) to inline scripts (by TorayLife) +* API changes: + * Added `IScriptEntity.getObservedEntity()` and `IScriptEntity.getBoundingBox()` methods + * Added a lot of NPC's methods + * Added `IScriptPlayer.setSpawnPoint()` and `IScriptPlayer.getSpawnPoint()` methods + * Added `IScriptFactory.createBlockState()` and `IScriptFactory.vector()` methods + * Added `IScriptWorld.replaceBlocks()`, `IScriptWorld.removeBlock()`, `IScriptWorld.getEntities()`, `IScriptWorld.setModelBlockEnabled()`, 'IScriptWorld.isModelBlockEnabled()' and `IScriptWorld.getBlock(ScriptVector pos)` methods + * Added `IScriptItemStack.add()` and `IScriptItemStack.equals()` methods + * Changed `IScriptEntity.getEyeHeight()` to work with Metamorph morphs + * Moved `IScriptPlayer.giveItem()` to `IScriptEntity` +* Bugfixes: + * Fixed `IScriptWorld.setModelBlockMorph()` method + * Fixed `IScriptItemStack.addCanDestroyBlock()` method + * Fixed forge triggers (by TorayLife) + * Fixed keybinds (:facepalm:) (by TorayLife) + * Fixed crafting recipe ignore NBT feature (by TorayLife) + * Fixed build.gradle (by TorayLife) +* Other: + * NPC tool is ustackable now + ## Version 0.6 This update is brought to you by TorayLife. It features a lot of scripting related features like listening to Forge events, inline scripts, documentation improvements, and more! diff --git a/gradle.properties b/gradle.properties index c38fa3ad..a823604e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -version=0.6 +version=0.7 mcversion=1.12.2 blockbuster=2.6.1 metamorph=1.3.1 diff --git a/src/main/java/mchorse/mappet/client/gui/triggers/panels/GuiSoundTriggerBlockPanel.java b/src/main/java/mchorse/mappet/client/gui/triggers/panels/GuiSoundTriggerBlockPanel.java index 20bfe47e..fb1ec988 100644 --- a/src/main/java/mchorse/mappet/client/gui/triggers/panels/GuiSoundTriggerBlockPanel.java +++ b/src/main/java/mchorse/mappet/client/gui/triggers/panels/GuiSoundTriggerBlockPanel.java @@ -33,8 +33,8 @@ public GuiSoundTriggerBlockPanel(Minecraft mc, GuiTriggerOverlayPanel overlay, S } } + this.addPicker(); this.add(Elements.label(IKey.lang("mappet.gui.conditions.target")).marginTop(12), this.target); - this.addDelay(); } diff --git a/version.json b/version.json index 637f6d98..43184ef4 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,7 @@ { "homepage": "https://www.curseforge.com/minecraft/mc-mods/mappet", "1.12.2": { + "0.7": "This update is brought to you by TorayLife and OtakuGamer. This update features lots of new scripting API methods, QoL features, and brand new Scripted Items feature!", "0.6": "This update is brought to you by TorayLife. It features a lot of scripting related features like listening to Forge events, inline scripts, documentation improvements, and more!", "0.5.1": "This patch update features Entity attacked trigger by TorayLife.", "0.5": "This is another HUGE update developed by OtakuGamer and TorayLife! This update features lots of new scripting API methods, global triggers, scripting logs panel and a conditional model block!", @@ -20,7 +21,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.6", - "1.12.2-recommended": "0.6" + "1.12.2-latest": "0.7", + "1.12.2-recommended": "0.7" } } \ No newline at end of file