Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ModLoader.getMinecraftInstance().theWorld.entityJoinedWorld(new EntityManOfWar(ModLoader.getMinecraftInstance().theWorld));
- EntityManOfWar entityliving = (EntityManOfWar)EntityList.createEntityInWorld("ManofWar", ModLoader.getMinecraftInstance().theWorld);
- double d6 = (double)ModLoader.getMinecraftInstance().thePlayer.posX + (ModLoader.getMinecraftInstance().theWorld.rand.nextDouble() - ModLoader.getMinecraftInstance().theWorld.rand.nextDouble()) * 4D;
- double d7 = (ModLoader.getMinecraftInstance().thePlayer.posY + ModLoader.getMinecraftInstance().theWorld.rand.nextInt(3)) - 1;
- double d8 = (double)ModLoader.getMinecraftInstance().thePlayer.posZ + (ModLoader.getMinecraftInstance().theWorld.rand.nextDouble() - ModLoader.getMinecraftInstance().theWorld.rand.nextDouble()) * 4D;
- entityliving.setLocationAndAngles(d6, d7, d8, ModLoader.getMinecraftInstance().theWorld.rand.nextFloat() * 360F, 0.0F);
- ModLoader.getMinecraftInstance().theWorld.entityJoinedWorld(entityliving);
Add Comment
Please, Sign In to add comment