2.WILL SOMEONE MAKE A WAY FOR AMAZON USERS TO GET A MOD i wont them but i dont have a Google device and adfly wont work for me.var INIT_HEALTH=100,FILE_PATH="mobs/newMob.png",DROP_LOOT=[[267,Math.ceil(Math.random()*100),1],[280,0,Math.ceil(Math.random()*4)]],CYCLE_MAX=2,SPAWN_TYPE=32,RENDER_TYPE=33,MSG="A divine CreeperZombie died!";//inits the fields ***** idk if there is final in javascript. Not necessary though
var cycle=0;//inits the zombie cycle
var creeperZombies=[];//inits the creeperZombie memory
function entityAddedHook(e){
if(Entity.getEntityTypeId(e)!=32)return;//only call if it is a zombie spawned
cycle++;//adds 1 to the cycle
if(cycle==CYCLE_MAX)cycle=0;//makes it be in cycle
if(cycle!=0)return;//only call the following if CYCLE_MAX zombies are spawned
var x=Entity.getX(e),y=Entity.getY(e),z=Entity.getZ(e);//record the axes
Entity.setPosition(e,x,0,z);//throw to the void (avoid dropItem)
//e.remove() can also be used
var newMob=Level.spawnMob(x,y,z,SPAWN_TYPE);//spawns the new creeperZombie
Entity.setRenderType(newMob,RENDER_TYPE);//sets the render type of the zobmie to creeper
Entity.setHealth(newMob,INIT_HEALTH);
creeperZombies[creeperZombies.length]=newMob;//adds the new creeperZombie to the end of the array creeperZombies
}
function deathHook(murderer,victim){
var key=inArray(creeperZombies,victim);
if(key.length>1)clientMessage("Tell your app developer that \n there is a bug! \n Tell him/her that \n inArray(creeperZombies,victim) returns multiple values!);//if there are no bugs, there should be one integer returned only
if(key==-1))return;//only call the following when victim is a creeperzombie
preventDefault();
creeperZombies[key]="NaN!";//take victim from creeperZombies array to avoid this function to be called again when the next line runs (by replacing the instance with NaN, representing "Not a Number", and the exclaimation mark added to avoid the value being considered as false or 0 or null etc.)
var x=Entity.getX(victim),y=Entity.getY(victim),z=Entity.getZ(victim);//records the axes
Entity.setPosition(victim,x,0,z);//throw into the void. (my favourite method of removing an entity)
for(var i=0;i<DROP_LOOT.length;i++){
Level.dropItem(x,y,z,1,DROP_LOOT[i][0],DROP_LOOT[i][2],DROP_LOOT[i][1]);
}
if(MSG!=""){
clientMessage(MSG);
}
}
function inArray(array,datum){...}//code below
inArray - PEMapModder
Tests Add this to the end of the above script to add the function inArray(), which tests whether the datum datum is in the array array. Returns the sequence(s) of the datum appearance(s) in the array as a new array, or [-1] if not found. (not null due to report from arjay_07 that 0 and null are sometimes mixed up and causes bugs
function inArray(array,datum){
var noResult=[-1];//inits the noResult returner
var result=[];//inits the result array
for(var i=0;i<array.length;i++){
if(array[i]!=datum)continue;//tests if array[i] is an instance of datum (THIS instance of IS NOT EQUAL TO instanceof!!)
result[result.length]=i;//adds this instance of datum at the end of array result[]
}
if(result==[])return noResult;//if there are no instances return -1
return result;//else return the result. else is not used because if result==[] the function is already ended by the token "return"
}Thats the codeSorry it is big but it should work
Do /* then */ around Tests Add this to the end of the above script to add the function inArray(), which tests whether the datum datum is in the array array. Returns the sequence(s) of the datum appearance(s) in the array as a new array, or [-1] if not found. (not null due to report from arjay_07 that 0 and null are sometimes mixed up and causes bugs
Hey, I'm having trouble downloading the frozem script full version (adf.ly) could you provide an alternate link?Like a db link? I don't care if I have to go to tons of ad websites.
Ok thanks I cant wait and I would want to fight the snow monster more than having you to work on the castle.So now u wont have that much work to do
Theres a castle and could someone please tell me how to get this mod..big fan of frozen and i can't seem to get this mod dowloaded it and the script thingy is in my mods folder so maybe its something to do with the version...what version is this mod for. if not please help me.
Theres a castle and could someone please tell me how to get this mod..big fan of frozen and i can't seem to get this mod dowloaded it and the script thingy is in my mods folder so maybe its something to do with the version...what version is this mod for. if not please help me.
"Modifications to the Game ("Mods") (including pre-run Mods and in-memory Mods) and plugins for the Game also belong to you and you can do whatever you want with them, as long as you don‘t sell them for money / try to make money from them."
I used to develop mods, I started modding before modpe and blocklauncher was even a thing. I have retired from the forums. I will no longer be active as of February 18 2015. I will miss my forum friends :(.
That was part of the original ftpe (sunset)! I tried and got all the way to modtick and it failed so I gave you a challenge! And like a boss, you did it!
Rollback Post to RevisionRollBack
I used to develop mods, I started modding before modpe and blocklauncher was even a thing. I have retired from the forums. I will no longer be active as of February 18 2015. I will miss my forum friends :(.
I used to develop mods, I started modding before modpe and blocklauncher was even a thing. I have retired from the forums. I will no longer be active as of February 18 2015. I will miss my forum friends :(.
hmmmm. that'll be some work but ill try!
uh on! You'll have to wait on the boss till we get custom mobs
The snow castle will be simple though
1.u can make custom mobs
2.WILL SOMEONE MAKE A WAY FOR AMAZON USERS TO GET A MOD i wont them but i dont have a Google device and adfly wont work for me.var INIT_HEALTH=100,FILE_PATH="mobs/newMob.png",DROP_LOOT=[[267,Math.ceil(Math.random()*100),1],[280,0,Math.ceil(Math.random()*4)]],CYCLE_MAX=2,SPAWN_TYPE=32,RENDER_TYPE=33,MSG="A divine CreeperZombie died!";//inits the fields ***** idk if there is final in javascript. Not necessary though
var cycle=0;//inits the zombie cycle
var creeperZombies=[];//inits the creeperZombie memory
function entityAddedHook(e){
if(Entity.getEntityTypeId(e)!=32)return;//only call if it is a zombie spawned
cycle++;//adds 1 to the cycle
if(cycle==CYCLE_MAX)cycle=0;//makes it be in cycle
if(cycle!=0)return;//only call the following if CYCLE_MAX zombies are spawned
var x=Entity.getX(e),y=Entity.getY(e),z=Entity.getZ(e);//record the axes
Entity.setPosition(e,x,0,z);//throw to the void (avoid dropItem)
//e.remove() can also be used
var newMob=Level.spawnMob(x,y,z,SPAWN_TYPE);//spawns the new creeperZombie
Entity.setRenderType(newMob,RENDER_TYPE);//sets the render type of the zobmie to creeper
Entity.setHealth(newMob,INIT_HEALTH);
creeperZombies[creeperZombies.length]=newMob;//adds the new creeperZombie to the end of the array creeperZombies
}
function deathHook(murderer,victim){
var key=inArray(creeperZombies,victim);
if(key.length>1)clientMessage("Tell your app developer that \n there is a bug! \n Tell him/her that \n inArray(creeperZombies,victim) returns multiple values!);//if there are no bugs, there should be one integer returned only
if(key==-1))return;//only call the following when victim is a creeperzombie
preventDefault();
creeperZombies[key]="NaN!";//take victim from creeperZombies array to avoid this function to be called again when the next line runs (by replacing the instance with NaN, representing "Not a Number", and the exclaimation mark added to avoid the value being considered as false or 0 or null etc.)
var x=Entity.getX(victim),y=Entity.getY(victim),z=Entity.getZ(victim);//records the axes
Entity.setPosition(victim,x,0,z);//throw into the void. (my favourite method of removing an entity)
for(var i=0;i<DROP_LOOT.length;i++){
Level.dropItem(x,y,z,1,DROP_LOOT[i][0],DROP_LOOT[i][2],DROP_LOOT[i][1]);
}
if(MSG!=""){
clientMessage(MSG);
}
}
function inArray(array,datum){...}//code below
inArray - PEMapModder
Tests Add this to the end of the above script to add the function inArray(), which tests whether the datum datum is in the array array. Returns the sequence(s) of the datum appearance(s) in the array as a new array, or [-1] if not found. (not null due to report from arjay_07 that 0 and null are sometimes mixed up and causes bugs
function inArray(array,datum){
var noResult=[-1];//inits the noResult returner
var result=[];//inits the result array
for(var i=0;i<array.length;i++){
if(array[i]!=datum)continue;//tests if array[i] is an instance of datum (THIS instance of IS NOT EQUAL TO instanceof!!)
result[result.length]=i;//adds this instance of datum at the end of array result[]
}
if(result==[])return noResult;//if there are no instances return -1
return result;//else return the result. else is not used because if result==[] the function is already ended by the token "return"
}Thats the codeSorry it is big but it should work
I'll PM you!
What exactly is the problem?
Enjoy!
~Gh0stByte/MattdaveMatt
Oops just realized that I didn't uncheck the box
From the Mojang End User License Agreement (https://account.mojang.com/documents/minecraft_eula):
"Modifications to the Game ("Mods") (including pre-run Mods and in-memory Mods) and plugins for the Game also belong to you and you can do whatever you want with them, as long as you don‘t sell them for money / try to make money from them."
I made that such a long time ago! What mod group was that? I've been in so many I forget
P.S> That was the first mod that I made when I finished that I felt like a 'real' modder I was so happy after I finished it