Posted April 27, 201312 yr Hello. I definitely need one, can you help with that? If i helped you, don't forget pressing "Thank You" button. Thanks for your time.
April 28, 201312 yr I don't like his website (too awkward to use, prefer static pages) but the 1.4 entity tutorials have been working for me on 1.5 http://wuppy29.blogspot.nl/2012/10/forge-modding-142.html
May 2, 201312 yr Author Making an item with next code helped me. public boolean onItemUse(ItemStack item, EntityPlayer player, World world, int x, int y, int z, int side, float xOffset, float yOffset, float zOffSet) { if (!player.capabilities.isCreativeMode) { --item.stackSize; } world.playSoundAtEntity(player, "random.bow", 0.5F, 0.4F / (itemRand.nextFloat() * 0.4F + 0.8F)); if (!world.isRemote) { EntityLocoChe ent = new EntityLocoChe(world); ent.setLocationAndAngles(x, y + 1, z, 0F, 0.0F); ent.entityInit(); world.spawnEntityInWorld(ent); return true; } return false; } } If i helped you, don't forget pressing "Thank You" button. Thanks for your time.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.