public class mod_Pokeball2 extends BaseMod
{
public void AddRecipes(CraftingManager recipes)
{
recipes.addRecipe(new ItemStack(Item.pokeball), new Object[] {"#", Character.valueOf('#'), Block.sand});
}
This could be a really cool mod, if
1. You could craft empty pokeballs and throw them at mobs and they go inside the pokeball.
2. You can throw the pokeball out, and when the mob is released you can right click on where you want it to move/attack
3. Left Click to return the mob into the same pokeball
4. Add new mobs that are like pokemon. Pikachu, Charmander, etc.
If you added those 4 things, this would be one of my favorite mods of all time
Well this is my 3ed mod ever, and I have no knowledge of java coding, but I do plan to try and make pokemon mobs
Well.. From the looks of the description and what I know of pokeballs,
The pokeballs spawn pigs is what I'm getting at.
He used the same function that spawns chickens when throwing eggs and just changed it to pigs. His lack of experience with working with adding in new functions has probably lead to the 2 major bugs, being eggs spawn pigs and pigs only spawning occasionally.
I would suggest getting those bugs fixed asap though. People could just use a bunch of eggs to get the same effect, rather than using 1 diamond and 8 coal for a chance to get a pig.
That's just a wild guess.
Maybe it's like a real pokeball though.
Throw it at a mob and capture it, then throw the pokeball again to summon it. :3
Also.. why is it made out of coal?
And.. diamond.. I think pokeballs are hollow.
And why is it a cube? :tongue.gif:
It should be something like
[] []
[]
[] []
EDIT:
WOO! spot on :tongue.gif: I was typing this before you made the change to your post :tongue.gif:
Thx for the input, trying to fix some bugs but I did just change the crafting thing to
[] []
[]
[] []
and now it makes 6, uploading V.0.2 now
0
0
0
What am I doing wrong?
0
0
Its all good, hell if you wanted to we could even team up
0
Well this is my 3ed mod ever, and I have no knowledge of java coding, but I do plan to try and make pokemon mobs
0
Thx for the input, trying to fix some bugs but I did just change the crafting thing to
[] []
[]
[] []
and now it makes 6, uploading V.0.2 now
0
Read it again, I fixed it
0
Edit: forgot to put what the mod dose :sleep.gif:
Spawns Pigs from pokeballs
[] []
[]
[] []
ID=756
V0.2
http://www.megaupload.com/?d=LOYL39FQ
V0.1
http://www.megaupload.com/?d=UOM95BKG
Ver list
V0.2
now crafts 6 balls
changed crafting recipe
V0.1
New
BUGS
Eggs now spawn Pigs
Pigs only spawn sometimes
Not mod loader compatible
Only spawns not captures
0
viewtopic.php?f=25&t=134756
0
0
I thought of that and I cant find any problem with the ghast using the EntityFireball
0
0
0