Want some more 'splosions?
Hit a Nether Core Reactor with Flint n' Steel to have 'em
Link: https://db.tt/wiTkGSNG
Layman Mod Maker: Beta 1.0
Any of you fellow Minecrafters out there want to make a new item or make a simple mod?
Well here's what I think will be the perfect thing for you!
In Beta 1.0:
Complete re- write everything changed!
Here is the code!
function procCmd(cmd)
{
var p = cmd.split(' ');
if(p[0]=="give")
{
Player.addItemInventory(parseInt(p[2]),parseInt(p[1]));
clientMessage("[LMM] Spawned " + parseInt(p[1]) + " of " + parseInt(p[2]) + "!");
}
else if(p[0]=="makeItem")
{
ModPE.setItem(parseInt(p[1]), parseInt(p[2]), parseInt(p[3]), p[4]);
clientMessage("[LMM] Created a new item named " + (p[4]) + " and its item ID is " + parseInt(p[1]) + "!");
}
else if(p[0]=="makeFoodItem")
{
ModPE.setFoodItem(parseInt(p[1]), parseInt(p[2]), parseInt(p[3]), parseInt(p[4]), p[5]);
clientMessage ("[LMM] Created a new food item and its name is " + (p[5]) + " and its item ID is " + parseInt(p[1]) + " and it heals " + parseInt(p[4]) +" half- hearts!");
}
}
SaveSD
Ever want to save something to your SD card without going out of MCPE? Well do /save {name of file} {what file contains}
function procCmd(cmd)
{
var p = cmd.split(' ');
if(p[0]=="save")
var newFile = new java.io.File(android.os.Environment.getExternalStorageDirectory(), p[1]);
try{
var fos = new java.io.FileOutputStream(newFile);
fos.write(new java.lang.String(p[2]).getBytes());
fos.flush();
fos.close();
clientMessage("[Saving Process] Success, and saved file as "+p[1]+" and has "+p[2]+" printed in it");
}catch(err){
clientMessage("[Saving Process] Failed with because of "+err+" ");
}
}
Elemental Wands! Version 2.5
Highly in testing, report any bugs. To get the wand use a inventory editor or ModPE script that has a /give command. The Item ID is 504 so this is not compatable with The Elements PE. To alternate between wands tap a Diamond block. The wand of Magical Essence raises a block up one block and the Wand of Magical Whirlwind shoots the block 2 blocks forward.
double = some numbers with a decimal point ex: 103.27289
String = a group of letters and numbers ex: "Yomama123" (Requires " at the beginning and the end)
int = integer (self explanatory, but if you dont't know it is any number without a decmal)
boolean = Only true or false
NEWS
Fixed my Dropbox account, added links, except for the mods I havent edited in a while.
Bugs!
MoTnT [Severe - 1] Can not ignite another TnT wothout resetting the script. [Fixing]
InstaLoot [Annoying -1] Sometimes a ghost item will appear in your hand.
The Mods:
InstaLoot - Idea by LVLMASTER
Gather resources as fast as lightning! As long as you don't have anything in your hand, it will work perfectly!
https://db.tt/YvmlE9k6
Blood
Self -explanatory, when you hit a mob it spurts blood out
https://db.tt/Pp6EfyV4
Mo' TNT! Beta Release!
Want some more 'splosions?
Hit a Nether Core Reactor with Flint n' Steel to have 'em
Link: https://db.tt/wiTkGSNG
Layman Mod Maker: Beta 1.0
Any of you fellow Minecrafters out there want to make a new item or make a simple mod?
Well here's what I think will be the perfect thing for you!
In Beta 1.0:
Complete re- write everything changed!
Here is the code!
function procCmd(cmd) { var p = cmd.split(' '); if(p[0]=="give") { Player.addItemInventory(parseInt(p[2]),parseInt(p[1])); clientMessage("[LMM] Spawned " + parseInt(p[1]) + " of " + parseInt(p[2]) + "!"); } else if(p[0]=="makeItem") { ModPE.setItem(parseInt(p[1]), parseInt(p[2]), parseInt(p[3]), p[4]); clientMessage("[LMM] Created a new item named " + (p[4]) + " and its item ID is " + parseInt(p[1]) + "!"); } else if(p[0]=="makeFoodItem") { ModPE.setFoodItem(parseInt(p[1]), parseInt(p[2]), parseInt(p[3]), parseInt(p[4]), p[5]); clientMessage ("[LMM] Created a new food item and its name is " + (p[5]) + " and its item ID is " + parseInt(p[1]) + " and it heals " + parseInt(p[4]) +" half- hearts!"); } }SaveSD
Ever want to save something to your SD card without going out of MCPE? Well do /save {name of file} {what file contains}
function procCmd(cmd) { var p = cmd.split(' '); if(p[0]=="save") var newFile = new java.io.File(android.os.Environment.getExternalStorageDirectory(), p[1]); try{ var fos = new java.io.FileOutputStream(newFile); fos.write(new java.lang.String(p[2]).getBytes()); fos.flush(); fos.close(); clientMessage("[Saving Process] Success, and saved file as "+p[1]+" and has "+p[2]+" printed in it"); }catch(err){ clientMessage("[Saving Process] Failed with because of "+err+" "); } }Elemental Wands! Version 2.5
Highly in testing, report any bugs. To get the wand use a inventory editor or ModPE script that has a /give command. The Item ID is 504 so this is not compatable with The Elements PE. To alternate between wands tap a Diamond block. The wand of Magical Essence raises a block up one block and the Wand of Magical Whirlwind shoots the block 2 blocks forward.
https://db.tt/cDc6aeC1
Upcoming Features!
When 500ISE adds ModPE.setBlock I'll add that and for now I'm gunna add the /help command. The /makeButton to make a new button
ModPE Functions
addItemInventory(par1int, par2int, par3int);
bl_setMobSkin(par1Entity, par2String);
bl_spawnMob(par1double, par2double, par3double, par4int, par5String);
clientMessage(par1String);
explode(par1double, par2double, par3double, par4double);
getCarriedItem();
getLevel();
getPitch(par1Entity);
getPlayerEnt();
getPlayerX();
getPlayerY();
getPlayerZ();
getTile(par1int, par2int, par3int);
getYaw(par1Entity);
preventDefault();
print(par1String);
rideAnimal(par1Entity, par2Entity);
setNightMode(par1boolean);
setPosition(par1Entity, par2double, par3double, par4double);
setPositionRelative(par1Entity, par2double, par3double, par4double);
setRot(par1Entity, par2double, par3double);
setTile(par1int, par2int, par3int, par4int, par5int);
setVelX(par1Entity, par2double);
setVelY(par1Entity, par2double);
setVelZ(par1Entity, par2double);
spawnChicken(par1double, par2double, par3double, par4String);
spawnCow(par1double, par2double, par3double, par4String);
spawnPigZombie(par1double, par2double, par3double, par4int, par5String);
ModPE.leaveGame();
ModPE.log(par1String);
ModPE.overrideTexture(par1String, par2String);
ModPE.readData(par1String);
ModPE.removeData(par1String);
ModPE.resetImages();
ModPE.saveData(par1String, par2String);
ModPE.selectLevel(par1String, par2String, par3String, par4int);
ModPE.setFoodItem(par1int, par2int, par3int, par4int, par5String);
ModPE.setGameSpeed(par1double);
ModPE.setGuiBlocks(par1String);
ModPE.setItem(par1int, par2int, par3int, par4String);
ModPE.setItems(par1String);
ModPE.setTerrain(par1String);
Level.destroyBlock(par1int, par2int, par3int, par4boolean);
Level.dropItem(par1double, par2double, par3double, par4double, par5int, par6int, par7int);
Level.explode(par1double, par2double, par3double, par4double);
Level.getAddress();
Level.getChestSlot(par1int, par2int, par3int, par4int);
Level.getChestSlotCount(par1int, par2int, par3int, par4int);
Level.getChestSlotData(par1int, par2int, par3int, par4int);
Level.getData(par1int, par2int, par3int);
Level.getGameMode();
Level.getTile(par1int, par2int, par3int);
Level.getTime();
Level.getWorldDir();
Level.getWorldName();
Level.playSound(par1double, par2double, par3double, par4String, par5double, par6double);
Level.playSoundEnt(par1Entity, par2String, par3double, par4double);
Level.setChestSlot(par1int, par2int, par3int, par4int, par5int, par6int, par7int);
Level.setGameMode(par1int);
Level.setNightMode(par1boolean);
Level.setSpawn(par1int, par2int, par3int);
Level.setTile(par1int, par2int, par3int, par4int);
Level.setTime(par1int);
Level.spawnChicken(par1double, par2double, par3double, par4String);
Level.spawnCow(par1double, par2double, par3double, par4String);
Level.spawnMob(par1double, par2double, par3double, par4int, par5String);
Player.addItemInventory(par1int, par2int, par3int);
Player.clearInventorySlot(par1int);
Player.getArmorSlot(par1int);
Player.getArmorSlotDamage(par1int);
Player.getCarriedItem();
Player.getCarriedItemCount();
Player.getCarriedItemData();
Player.getEntity();
Player.getInventorySlot(par1int);
Player.getInventorySlotCount(par1int);
Player.getInventorySlotData(par1int);
Player.getSelectedSlotId();
Player.getX();
Player.getY();
Player.getZ();
Player.setArmorSlot(par1int, par2int, par3int);
Player.setHealth(par1int);
Entity.getAnimalAge(par1Entity);
Entity.getEntityTypeId(par1Entity);
Entity.getHealth(par1Entity);
Entity.getPitch(par1Entity);
Entity.getX(par1Entity);
Entity.getY(par1Entity);
Entity.getYaw(par1Entity);
Entity.getZ(par1Entity);
Entity.remove(par1Entity);
Entity.rideAnimal(par1Entity, par2Entity);
Entity.setAnimalAge(par1Entity, par2int);
Entity.setCarriedItem(par1Entity, par2int, par3int, par4int);
Entity.setFireTicks(par1Entity, par2int);
Entity.setHealth(par1Entity, par2int);
Entity.setMobSkin(par1Entity, par2String);
Entity.setPosition(par1Entity, par2double, par3double, par4double);
Entity.setPositionRelative(par1Entity, par2double, par3double, par4double);
Entity.setRenderType(par1Entity, par2int);
Entity.setRot(par1Entity, par2double, par3double);
Entity.setVelX(par1Entity, par2double);
Entity.setVelY(par1Entity, par2double);
Entity.setVelZ(par1Entity, par2double);
Entity.spawnMob(par1double, par2double, par3double, par4int, par5String);
Key:
double = some numbers with a decimal point ex: 103.27289
String = a group of letters and numbers ex: "Yomama123" (Requires " at the beginning and the end)
int = integer (self explanatory, but if you dont't know it is any number without a decmal)
boolean = Only true or false
NEWS
Fixed my Dropbox account, added links, except for the mods I havent edited in a while.
Bugs!
MoTnT [Severe - 1] Can not ignite another TnT wothout resetting the script. [Fixing]
InstaLoot [Annoying -1] Sometimes a ghost item will appear in your hand.
Lead developer of Dragonet!
Check out my game, Adventuria!
Dev of (IMO the best server ever) TwilightGamez!
Thanks! Do you have an idea for a mod?
Lead developer of Dragonet!
Check out my game, Adventuria!
Dev of (IMO the best server ever) TwilightGamez!
Also, great job!
When you use the Wand of Inevitable Doom it sets the mob on fire, makes an explosion sound and deals 5 half- hearts of damage.
Lead developer of Dragonet!
Check out my game, Adventuria!
Dev of (IMO the best server ever) TwilightGamez!
Java, JavaScript, Lua, HTML, CSS, C++ | Nooby MCPE Modder | Author of many addons | Learning PHP | Half-time penguin | Christian
All I did was copy the functions from the modpe_dump.txt!
Lead developer of Dragonet!
Check out my game, Adventuria!
Dev of (IMO the best server ever) TwilightGamez!