I actually started doing mods so I thought i will show them to you so this mod I'm doing is the mo jockeys mod and what this mod does that it jockeys and a whole lot more you can spawn them with the items they drop
Cool good work
mm maybe, can you test this? A spider jockey :3
function useItem(x, y, z, itemId, blockId, side) //use function hook
{
if(itemId==341) //if slime ball
{
var spider = Entity.spawnMob(x, y+1, z, 35); //spawn a spider
var spider2 = Entity.spawnMob(x, y+1, z, 35); //spawn a second spider
rideAnimal(spider, spider2); //spawn a spider riding another spider
}
}
Cool good work
mm maybe, can you test this? A spider jockey :3
function useItem(x, y, z, itemId, blockId, side) //use function hook
{
if(itemId==341) //if slime ball
{
var spider = Entity.spawnMob(x, y+1, z, 35); //spawn a spider
var spider2 = Entity.spawnMob(x, y+1, z, 35); //spawn a second spider
rideAnimal(spider, spider2); //spawn a spider riding another spider
}
}
It works I tried it and it didn't work can I put it in my mod pack
It works I tried it and it didn't work can I put it in my mod pack
I'll give you credits
+1
Yeah sure go ahead !
Sorry it should be Level.spawnMob, not entity, fixed it:
function useItem(x, y, z, itemId, blockId, side) //use function hook
{
if(itemId==341) //if slime ball
{
var spider = Level.spawnMob(x, y+1, z, 35, "mob/spider.png"); //spawn a spider
var spider2 = Level.spawnMob(x, y+1, z, 35, "mob/spider.png"); //spawn a second spider
rideAnimal(spider, spider2); //spawn a spider riding another spider
}
}
Yeah sure go ahead !
Sorry it should be Level.spawnMob, not entity, fixed it:
function useItem(x, y, z, itemId, blockId, side) //use function hook
{
if(itemId==341) //if slime ball
{
var spider = Level.spawnMob(x, y+1, z, 35, "mob/spider.png"); //spawn a spider
var spider2 = Level.spawnMob(x, y+1, z, 35, "mob/spider.png"); //spawn a second spider
rideAnimal(spider, spider2); //spawn a spider riding another spider
}
}
Though Mobs Are Entitle So There Is No Need To Fix it
And don't say this is your mod
Enjoy
Credits
Spider Spider Jockey Maker: Hexdro
-
View User Profile
-
View Posts
-
Send Message
Curse Premiummm maybe, can you test this? A spider jockey :3
function useItem(x, y, z, itemId, blockId, side) //use function hook { if(itemId==341) //if slime ball { var spider = Entity.spawnMob(x, y+1, z, 35); //spawn a spider var spider2 = Entity.spawnMob(x, y+1, z, 35); //spawn a second spider rideAnimal(spider, spider2); //spawn a spider riding another spider } }Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
It works I tried it and it didn't work can I put it in my mod pack
I'll give you credits+1
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumSorry it should be Level.spawnMob, not entity, fixed it:
function useItem(x, y, z, itemId, blockId, side) //use function hook { if(itemId==341) //if slime ball { var spider = Level.spawnMob(x, y+1, z, 35, "mob/spider.png"); //spawn a spider var spider2 = Level.spawnMob(x, y+1, z, 35, "mob/spider.png"); //spawn a second spider rideAnimal(spider, spider2); //spawn a spider riding another spider } }Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
Though Mobs Are Entitle So There Is No Need To Fix it
I agree
Making a creeper jockey
https://www.dropbox.com/s/6vstnpl3v08hsv1/Creeper jockey.js
I actually already made a creeper jockey but I forgot to put it
This mod is funnny to play.
Keep it up
Maybe make jockeys, which are faster than normal.
But I just started doing mods so I'm not so sure how to make mobs faster