Skip to content

Commit

Permalink
Update CHANGELOG.md and version.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mchorse committed Dec 19, 2022
1 parent d3c03b1 commit 295ee9f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## Verson 0.4

This is a HUGE scripting API update by OtakuGamer with some minor contributions by TorayLife.

**Compatible** with McLib **2.4.1**, Blockbuster **2.6** 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.

* Added scripting `INBTCompound.get(String)` and `INBTCompound.equals(INBTCompound)`
* Added scripting `INBTList.toArray()`
* Added scripting `IScriptItemStack.getDisplayName()`, `IScriptItemStack.setDisplayName(String)`, `IScriptItemStack.getLore(int)`, `IScriptItemStack.getLoreList()`, `IScriptItemStack.setLore(int, String)`, `IScriptItemStack.addLore(String)`, `IScriptItemStack.clearAllLores()`, `IScriptItemStack.clearLore(int)`, `IScriptItemStack.clearAllEnchantments()`, `IScriptItemStack.getCanDestroyBlocks()`, `IScriptItemStack.addCanDestroyBlock(String)`, `IScriptItemStack.clearAllCanDestroyBlocks()`, `IScriptItemStack.clearCanDestroyBlock(String)`, `IScriptItemStack.getCanPlaceOnBlocks()`, `IScriptItemStack.addCanPlaceOnBlock(String)`, `IScriptItemStack.clearAllCanPlaceOnBlocks()`, `IScriptItemStack.clearCanPlaceOnBlock(String)`, `IScriptItemStack.getRepairCost()`, `IScriptItemStack.setRepairCost(int)`, `IScriptItemStack.isUnbreakable()`, and `IScriptItemStack.setUnbreakable(boolean)`
* Added scripting `IScriptEntity.getWorld()`, `IScriptEntity.addMotion(double, double, double)`, `IScriptEntity.getEyeHeight()`, `IScriptEntity.isInWater()`, `IScriptEntity.isInLava()`, `IScriptEntity.getHelmet()`, `IScriptEntity.getChestplate()`, `IScriptEntity.getLeggings()`, `IScriptEntity.getBoots()`, `IScriptEntity.setHelmet(IScriptItemStack)`, `IScriptEntity.setChestplate(IScriptItemStack)`, `IScriptEntity.setLeggings(IScriptItemStack)`, `IScriptEntity.setBoots(IScriptItemStack)`, `IScriptEntity.setArmor(IScriptItemStack, IScriptItemStack, IScriptItemStack, IScriptItemStack)`, `IScriptEntity.clearArmor()`, `IScriptEntity.isEntityInRadius(IScriptEntity, double)`, `IScriptEntity.isInBlock(int, int, int)`, `IScriptEntity.isInBlock(double, double, double, double, double, double)`, `IScriptEntity.mount(IScriptEntity)`, `IScriptEntity.dismount()`, `IScriptEntity.dropItem(int)`, `IScriptEntity.dropItem()`, `IScriptEntity.dropItem(IScriptItemStack)`, `IScriptEntity.setModifier(String, double)`, `IScriptEntity.getModifier(String)`, `IScriptEntity.removeModifier(String)`, `IScriptEntity.removeAllModifiers()`, `IScriptEntity.displayMorph(AbstractMorph, int, double, double, double, float, float, boolean, IScriptPlayer)`, `IScriptEntity.shootBBGunProjectile(String)`
* Added scripting `IScriptNpc.canPickUpLoot(boolean)`, `IScriptNpc.follow(String)`, `IScriptNpc.setOnTickTrigger(String, String, int, int)`, `IScriptNpc.addOnTickTrigger(String, String, int)`, `IScriptNpc.clearOnTickTriggers()`, `IScriptNpc.setOnInteractTrigger(String, String, int)`, `IScriptNpc.addOnInteractTrigger(String, String)`, `IScriptNpc.clearOnTickTriggers()`, `IScriptNpc.setPatrol(int, int, int, String, String, int)`, `IScriptNpc.addPatrol(int, int, int, String, String)`, `IScriptNpc.clearPatrolPoints()`, and `IScriptNpc.getFaction()`
* Added scripting `IScriptPlayer.executeCommand(String)`, `IScriptPlayer.isFlying()`, `IScriptPlayer.getWalkSpeed()`, `IScriptPlayer.getFlySpeed()`, `IScriptPlayer.setWalkSpeed(float)`, `IScriptPlayer.setFlySpeed(float)`, `IScriptPlayer.resetFlySpeed()`, `IScriptPlayer.resetWalkSpeed()`, `IScriptPlayer.getCooldown(int)`, `IScriptPlayer.getCooldown(IScriptItemStack)`, `IScriptPlayer.setCooldown(int, int)`, `IScriptPlayer.setCooldown(IScriptItemStack, int)`, `IScriptPlayer.resetCooldown(int)`, `IScriptPlayer.resetCooldown(IScriptItemStack)`, `IScriptPlayer.getHotbarIndex()`, and `IScriptPlayer.setHotbarIndex(int)`
* Added scripting `IScriptWorld.setModelBlockMorph(String, int, int, int, boolean)`, `IScriptWorld.isActive(int, int, int)`, `IScriptWorld.testForBlock(int, int, int, String, int)`, `IScriptWorld.fill(IScriptBlockState, int, int, int, int, int, int)`, `IScriptWorld.summonFallingBlock(double, double, double, String, int)`, `IScriptWorld.setFallingBlock(int, int, int)`, `IScriptWorld.fancyExplode(int, int, int, int, int, int, float)`, `IScriptWorld.fancyExplode(int, int, int, int, float)`, `IScriptWorld.tpExplode(int, int, int, int, int, int, float)`, `IScriptWorld.tpExplode(int, int, int, int, float)`, and `IScriptWorld.displayMorph(AbstractMorph, int, double, double, double, float, float, int, IScriptPlayer)`
* Added scripting `IScriptServer.isOnline(String)`
* Added scripting `IScriptFactory.random(double)`, `IScriptFactory.random(double, double)`,`IScriptFactory.random(double, double, long)`, `IScriptFactory.style(String...)`, `IScriptFactory.vector2()`, `IScriptFactory.vector2(double, double)`, `IScriptFactory.vector2(Vector2d)`, `IScriptFactory.vector3()`, `IScriptFactory.vector3(double, double, double)`, `IScriptFactory.vector3(Vector3d)`, `IScriptFactory.vector4()`, `IScriptFactory.vector4(double, double, double, double)`, `IScriptFactory.vector4(Vector4d)`, `IScriptFactory.matrix3()`, `IScriptFactory.matrix3(Matrix3d)`, `IScriptFactory.matrix4()`, and `IScriptFactory.matrix4(Matrix4d)`
* Added Can pick up loot option to NPCs (by Otaku)
* Fixed Russian translation of trigger blocks' frequency option (by TorayLife)
* Fixed encoding problems by switching file reading strictly to UTF-8 (by Pyxl-ion and TorayLife)
* Removed command `/mp data rencode`

## Version 0.3.1

This patch hot fix fixes global triggers and scripts (TorayLife).
Expand Down
5 changes: 3 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"homepage": "https://www.curseforge.com/minecraft/mc-mods/mappet",
"1.12.2": {
"0.4": "This is a HUGE scripting API update by OtakuGamer with some minor contributions by TorayLife.",
"0.3.1": "This patch hot fix fixes global triggers and scripts (TorayLife).",
"0.3": "This update features rewrite of scripting system to support multiple scripting engines (like Kotlin scripts) and folder support in Mappet panels.",
"0.2.3": "This quick update is compatible with McLib 2.4.1 changes.",
Expand All @@ -16,7 +17,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.3.1",
"1.12.2-recommended": "0.3.1"
"1.12.2-latest": "0.4",
"1.12.2-recommended": "0.4"
}
}

0 comments on commit 295ee9f

Please sign in to comment.