File Details
Mappet 0.6
- R
- May 30, 2023
- 2.22 MB
- 830
- 1.12.2
- Forge
File Name
mappet-0.6-1.12.2.jar
Supported Versions
- 1.12.2
Curse Maven Snippet
This update is brought to you by TorayLife. If features a lot of scripting related features like listening to Forge events, inline scripts, documentation improvements, and more!
Compatible with McLib 2.4.1, Aperture 1.8.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.
- New triggers:
- Added Player: toss an item trigger
- New features:
- Added Forge event triggers that allow you to listen to Forge events. WARNING: this feature can corrupt your world. Use at own fear and risk!
- Added Inline scripts feature from BBS, that allows you to write JS (ES5) code directly in script trigger, without creating a script file
- Added
F6keybind to run currently open script in the script editor - Added
Ctrl + Dkeybind to duplicate current line in script editor - Added ability to translate documentation. Copy
docs.jsonfile from Mappet’s jar file, rename it to your language code (i.e.ru_ru.jsonfor Russian) and put into.minecraft/config/mappet/documentation/ - Added Ignore NBT option in crafts and events
- Added search to documentation overlay
- Added link to JavaDocs in documentation
- Added new documentation sctructure. You can enable it in the config
- API changes:
- Added
IScriptNpc.setFaction()method - Added
entityItemvariable to Player: picked up an item trigger - Added
IScriptEntity.setMaxHp(float)method - Added
IScriptFactory.getIScriptEntity(minecraftEntity)method - Added
IMappetSchematicinterface, that works with existing .schematic format - Added methods to disable creative search and count in UIStackComponent
- Added
IScriptEntityItemStackinterface, that represents EntityItemStack (item that dropped into the world) - Added
IScriptPlayer.giveItem(IScriptItemStack)method
- Added
- Bugfixes:
- Fixed
UIStringListComponentdoesn’t update if you set empty array as a value - Fixed
IScriptEvent.scheduleScript(int)doesn’t work - Fixed region block doesn’t work, if you disable
passibleoption - Fixed Kotlin doesn’t work with obfuscated methods
- Fixed crashes when you try to cancel uncancelable event
- Fixed crash when you open
executeScriptin documentation - Fixed Player: Respawn trigger not working
- Fixed
createBlockStateissue with metadata
- Fixed
- Other:
- Completely rewrite Russian localization