promotional bannermobile promotional banner

Mappet

Adventure map toolset mod
Back to Files
File namemappet-0.4-1.12.2.jar
Uploader
McHorseMcHorse
Uploaded
Dec 19, 2022
Downloads
2.1K
Size
1.2 MB
Mod Loaders
File ID
4205707
Type
R
Release
Supported game versions
  • 1.12.2

What's new

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

This mod has no additional files