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.0
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 505 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 north 2 blocks.
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.
why Level.setGameType(); don't works for me on blocklauncher pro 1.4.6?
Here is the code
if(command[0] == "gamemode") {
Level.setGameType(0);
clientMessage("Tu modo de juego ha sido cambiado a survival.");
}
if(command[1] == "gamemode") {
Level.setGameType(1);
clientMessage("Tu modo de juego ha sido cambiado a creativo.");
}
The clientmessage is in spanish because i speak spanish
A boolean value can be either true or false. For example, 1 == 2 returns the boolean value false, 1 == 1 is true.
Call them like
setNighhtMode(true)
Whoops, I think my brain went out the window for that one!
Do you know when you'll all ModPE.setBlock? I need that to add that to my Layman Mod Maker!
P.S. Nice animated pic
I like the elemental wand, but could you have it move in the opposite direction from where you tapped it? eg. tap it from the east side and have it go west.
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!
SaveSD
Ever want to save something to your SD card without going out of MCPE? Well do /save {name of file} {what file contains}
Elemental Wands! Version 2.0
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 505 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 north 2 blocks.
https://www.dropbox....lWands_2.0.js?m
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!
There, that's the code. Sorry for beating you to it, I was bored. Feel free to use the code!
Now use ModPE.saveData and friends to make sure that it gets loaded every time?
Thanks! Updated topic to have Pre- Release!
Lead developer of Dragonet!
Check out my game, Adventuria!
Dev of (IMO the best server ever) TwilightGamez!
Because Layman means "simple". If I were to say Mod Maker it might discourage people to us it because it might be to complex. Great question though.
Lead developer of Dragonet!
Check out my game, Adventuria!
Dev of (IMO the best server ever) TwilightGamez!
The parameters are ModPE.setItem(ItemID, item.png X, item.png,Y, name)
Also it might be because Item ID clashes and invalid ItemIDs (I think the highest number a ItemID can be is like 500 or around that.)
Lead developer of Dragonet!
Check out my game, Adventuria!
Dev of (IMO the best server ever) TwilightGamez!
Another question:
why Level.setGameType(); don't works for me on blocklauncher pro 1.4.6?
Here is the code
The clientmessage is in spanish because i speak spanish
Based on GMChanger by THE_SCARY_ENDERMAN: http://www.minecraftforum.net/topic/1942516-075-enderscripts-mofood-gmchanger-iarmor-instant-buildings-health-etc-2700-downloads/
I don't think it happens because i don't wrote else.See the complete sc mod code:
i don't wrote else in any command and i tried writing else and doesn't work. it shows the js and mozilla error
Lead developer of Dragonet!
Check out my game, Adventuria!
Dev of (IMO the best server ever) TwilightGamez!
Lead developer of Dragonet!
Check out my game, Adventuria!
Dev of (IMO the best server ever) TwilightGamez!
On blocklauncher the function for change gamemode is Level.setGameMode not GameType i changed that and it worked
And thanks TheAdventureMaker for the command to reset the gamemode(/gdhsh gamemode)
A boolean value can be either true or false. For example, 1 == 2 returns the boolean value false, 1 == 1 is true.
Call them like
setNighhtMode(true)
Whoops, I think my brain went out the window for that one!
Do you know when you'll all ModPE.setBlock? I need that to add that to my Layman Mod Maker!
P.S. Nice animated pic
Lead developer of Dragonet!
Check out my game, Adventuria!
Dev of (IMO the best server ever) TwilightGamez!
Which their body goes into pieces
I'm not sure that's possible. if it is, it's difficult.