File Details
Mappet 0.5
- R
- Mar 31, 2023
- 1.31 MB
- 237
- 1.12.2
- Forge
File Name
mappet-0.5-1.12.2.jar
Supported Versions
- 1.12.2
Curse Maven Snippet
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!
IMPORTANT: IScriptEntity.shootBBGunProjectile() to shoot the projectile with the whole data of the bb-gun settings (e.g. damage, etc.).
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.
- Added new global triggers:
- By TorayLife:
Entity: attackedandPlayer: open container - By OtakuGamer:
Projectile: impact,Living: equipment change,Mappet: state changed, andLiving: knockback
- By TorayLife:
- Added logs panel, which will display script error logs, or records entered by scripts (TorayLife)
- Added Condition model block, which will display different morphs depends on given conditions (TorayLife)
- Added Check entities option to region block (TorayLife)
- Added onTick trigger to region block (TorayLife)
- Added
/mp script enginescommand, which returns list of installed script engines (TorayLife) - Added Look at player option's range now depends on path finding distance
- Added more scripting API:
- Added
IScriptEvent.scheduleScript(int, Consumer<IScriptEvent>)overload with Consumer argument, so it works in different engines, such as Kotlin or Python (TorayLife) - Added
IScriptEntity.setName(),IScriptEntity.setInvisible(),IScriptEntity.moveTo(),IScriptEntity.executeCommand(),IScriptEntity.executeScript(),IScriptEntity.getFactions(),IScriptEntity.lockPosition(),IScriptEntity.unlockPosition(),IScriptEntity.isPositionLocked(),IScriptEntity.lockRotation(),IScriptEntity.unlockRotation(), andIScriptEntity.isRotationLocked()(OtakuGamer) - Added
IScriptEntity.getMount()method (TorayLife) - Added
IScriptFactory.getLogger()method, which returns aMappetLoggerwhich can be used to log messages (TorayLife) - Added
IScriptFactory.isPointInBounds()andIScriptFactory.toNBT()(OtakuGamer) - Added
info(),debug(),warning(),error()methods to MappetLogger (TorayLife) - Added
IScriptWorld.getBlockStackWithTile(),IScriptWorld.shootBBGunProjectile()(OtakuGamer) - Added
IScriptServer.entityExists()andIScriptServer.executeScript()(OtakuGamer) - Added
IScriptNBTCompound.addCompound()andIScriptNBTCompound.dumpJSON()(OtakuGamer) - Added AI methods
IScriptEntity.observe(),IScriptEntity.addEntityPatrol(),IScriptEntity.clearEntityPatrols(),IScriptEntity.setRotationsAI(),IScriptEntity.clearRotationsAI(),IScriptEntity.executeRepeatingCommand(),IScriptEntity.removeRepeatingCommand(), andIScriptEntity.clearAllRepeatingCommands()(OtakuGamer) - Added
IScriptFancyWorldand moved someIScriptWorldmethods to it (OtakuGamer) - Added
getFancyWorld()toIScriptEvent,IScriptServerandIScriptEntity(just likegetWorld()) (OtakuGamer) - Added
IScriptFancyWorld.explode(),IScriptFancyWorld.tpExplode(),IScriptFancyWorld.setBlock(),IScriptFancyWorld.fill(),IScriptFancyWorld.setTileEntity(),IScriptFancyWorld.fillTileEntities(),IScriptFancyWorld.clone(),IScriptFancyWorld.loadSchematic(), andIScriptFancyWorld.spawnNpc()(OtakuGamer) - Added
IScriptPlayer.getDisplayedHUDs(),IScriptPlayer.playScene(), andIScriptPlayer.stopScene()(OtakuGamer)
- Added
- Fixed
IScriptFactory.convertToNBT()method (TorayLife) - Fixed
IScriptItemStack.setLore()method that doesn't add lore if item has no lore (TorayLife) - Fixed python errors in console (TorayLife)
- Fixed python doesn't print unicode characters (TorayLife)
- Fixed Kotlin libraries issue (OtakuGamer)
- Improved HUD morphs to persist upon player's relogging (OtakuGamer)
- Improved
/mp hud *commands' tab completion (OtakuGamer) - Improved interaction events to support Little Tiles mod's doors (OtakuGamer)
- Updated NPC tool texture, added holiday textures (by TorayLife, textures by 3DMmc)