This is the Mo' Chickens mod. It adds 3 new mobs into the game as well as 3 new items. The mob shown is the Ender Chicken.
THIS IS CURRENTLY UNWORKING! THE CODE IS FINE, ONE OF MODPE'S FUNCTIONS (SPAWNCHICKEN()) DOES NOT WORK. AS SOON AS THIS IS FIXED, THE MOD WILL WORK.
These are the mobs added by Mo' Chickens.
Ender Chicken:
The Ender Chicken is currently only spawned when its spawn egg is used. When attacked, it will teleport away from danger.
Creeper Chicken:
The Creeper Chicken is currently only spawned using its spawn egg. It is a neutral mob, it will not hurt you unless you attack it. Do not be deceived by its size. When attacked, it will detonate with an explosion diameter of 20 blocks. Upon explosion it will drop 2 gunpowder.
Heavenly Chicken [WIP]:
The Heavenly Chicken is currently spawned in using its spawn egg. It is a work in progress. When tapped on, this beauty can be flown. Simply look up and in the direction you want to fly when you tap it. If you just want to ride it along the ground, do not look up. The Heavenly Chicken cannot be killed directly. You can only kill it with explosions or through other indirect ways. There may be several bugs with this mob. Please report any you encounter.
These are the items added by Mo' Chickens.
Ender Chicken Spawn Egg (Item ID 341):
This egg spawns in an Ender Chicken when used on a surface. For now it has unlimited uses and can only be hacked in.
Creeper Chicken Spawn Egg (Item ID 351):
This egg spawns in a Creeper Chicken when used on a surface. For now it has unlimited uses and can only be hacked in.
Heavenly Chicken Spawn Egg (Item ID 345):
This egg spawns in a Heavenly Chicken when used on a surface. For now it has unlimited uses and can only be hacked in.
Installation:
1. Download both files from the above link.
2. Use the texture pack in the download link.
3. Patch the Mod Script using the id 2152 OR install the .js file provided in the download link.
4. Start up MC: PE.
Please post if you notice any bugs.
All mobs display new mob's properties. (Currently unfixable)
Creeper Chicken detonates at point of spawn, not current position. (Currenlty unfixable)
Black box surrounds spawn eggs and vanilla items.
Copyright 2013 by Smileyguy19131/RealSmileyguy. You may not redistribute this mod or textures without the author's consent. This may not be bundled with other mods unless allowed by the author. This is subject to change or modification.
I know. I can't get it to work either. The code isn't flawed, it's just that the spawnChicken function in ModPE is flawed. It just crashes the game. I pmed treebl asking about it. Hopefully the mod will be working soon. hang in there.
Rollback Post to RevisionRollBack
Java/C/C++ dev, server owner and hacker extraordinare
spawnChicken() Works for me.
Edit: I'd also like to add that the closing bracket for spawning the Heavenly chicken is indented wrong.
Edit2: Also, can't you just use one useItem, and attackHook for everything? That way your code doesn't get all cluttered up.
Edit3: You might want to remove the "var" from all the if statements, in fact, you don't even need it anymore once you already declare the variable.
Edit4: Also, you can't make the Chicken explode in attackHook because there is no x,y,z. You'd have to find the chicken's coords if you wanted it to explode.
spawnChicken() Works for me.
Edit: I'd also like to add that the closing bracket for spawning the Heavenly chicken is indented wrong.
Edit2: Also, can't you just use one useItem, and attackHook for everything? That way your code doesn't get all cluttered up.
Edit3: You might want to remove the "var" from all the if statements, in fact, you don't even need it anymore once you already declare the variable.
Edit4: Also, you can't make the Chicken explode in attackHook because there is no x,y,z. You'd have to find the chicken's coords if you wanted it to explode.
Are you on ios or android? And thanks for helping me with the errors.
Rollback Post to RevisionRollBack
Java/C/C++ dev, server owner and hacker extraordinare
These mods are actually just one of the amazing mods I could have seen. Can you give me advice in doing this?
If you want to add a new item or block to the game, find an unused item in the game (ie: slimeball) and edit the texture of the slimeball to look like whatever you want. There are also several unused blocks with available ids (like update! Or ate!upd) where you can create a custom texture. As for animals, when using spawnChicken(x,y,z,"mob/enderchicken.png") x,y and z are the coords of where the chicken will be spawned and the last argument is the texture of the chicken. Just add the custom texture to the mob folder in your texture pack and you are good.
Rollback Post to RevisionRollBack
Java/C/C++ dev, server owner and hacker extraordinare
This is the Mo' Chickens mod. It adds 3 new mobs into the game as well as 3 new items. The mob shown is the Ender Chicken.
THIS IS CURRENTLY UNWORKING! THE CODE IS FINE, ONE OF MODPE'S FUNCTIONS (SPAWNCHICKEN()) DOES NOT WORK. AS SOON AS THIS IS FIXED, THE MOD WILL WORK.
These are the mobs added by Mo' Chickens.
Ender Chicken:
The Ender Chicken is currently only spawned when its spawn egg is used. When attacked, it will teleport away from danger.
Creeper Chicken:
The Creeper Chicken is currently only spawned using its spawn egg. It is a neutral mob, it will not hurt you unless you attack it. Do not be deceived by its size. When attacked, it will detonate with an explosion diameter of 20 blocks. Upon explosion it will drop 2 gunpowder.
Heavenly Chicken [WIP]:
The Heavenly Chicken is currently spawned in using its spawn egg. It is a work in progress. When tapped on, this beauty can be flown. Simply look up and in the direction you want to fly when you tap it. If you just want to ride it along the ground, do not look up. The Heavenly Chicken cannot be killed directly. You can only kill it with explosions or through other indirect ways. There may be several bugs with this mob. Please report any you encounter.
These are the items added by Mo' Chickens.
Ender Chicken Spawn Egg (Item ID 341):
This egg spawns in an Ender Chicken when used on a surface. For now it has unlimited uses and can only be hacked in.
Creeper Chicken Spawn Egg (Item ID 351):
This egg spawns in a Creeper Chicken when used on a surface. For now it has unlimited uses and can only be hacked in.
Heavenly Chicken Spawn Egg (Item ID 345):
This egg spawns in a Heavenly Chicken when used on a surface. For now it has unlimited uses and can only be hacked in.
Download: http://www.mediafire...hickens_library
Installation:
1. Download both files from the above link.
2. Use the texture pack in the download link.
3. Patch the Mod Script using the id 2152 OR install the .js file provided in the download link.
4. Start up MC: PE.
Please post if you notice any bugs.
Java/C/C++ dev, server owner and hacker extraordinare
I know. I can't get it to work either. The code isn't flawed, it's just that the spawnChicken function in ModPE is flawed. It just crashes the game. I pmed treebl asking about it. Hopefully the mod will be working soon.
Java/C/C++ dev, server owner and hacker extraordinare
Who's the first? Treebl?
Java/C/C++ dev, server owner and hacker extraordinare
yes! The creeper mod in 0.3.3 doesn't count because creeper code was already in the game!
Java/C/C++ dev, server owner and hacker extraordinare
Edit: I'd also like to add that the closing bracket for spawning the Heavenly chicken is indented wrong.
Edit2: Also, can't you just use one useItem, and attackHook for everything? That way your code doesn't get all cluttered up.
Edit3: You might want to remove the "var" from all the if statements, in fact, you don't even need it anymore once you already declare the variable.
Edit4: Also, you can't make the Chicken explode in attackHook because there is no x,y,z. You'd have to find the chicken's coords if you wanted it to explode.
Are you on ios or android? And thanks for helping me with the errors.
Java/C/C++ dev, server owner and hacker extraordinare
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCheck out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
Java/C/C++ dev, server owner and hacker extraordinare
Join my clan, Diamond Eye!:http://www.minecraftforum.net/topic/1901662-diamond-eye-pvp-map-building-join-now/
If you want to add a new item or block to the game, find an unused item in the game (ie: slimeball) and edit the texture of the slimeball to look like whatever you want. There are also several unused blocks with available ids (like update! Or ate!upd) where you can create a custom texture. As for animals, when using spawnChicken(x,y,z,"mob/enderchicken.png") x,y and z are the coords of where the chicken will be spawned and the last argument is the texture of the chicken. Just add the custom texture to the mob folder in your texture pack and you are good.
Java/C/C++ dev, server owner and hacker extraordinare
Join my clan, Diamond Eye!:http://www.minecraftforum.net/topic/1901662-diamond-eye-pvp-map-building-join-now/
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCheck out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
Join my clan, Diamond Eye!:http://www.minecraftforum.net/topic/1901662-diamond-eye-pvp-map-building-join-now/