Posted December 10, 201212 yr Ive been doing ItemStack piggy = new ItemStack(AdvancedMiningDrillTraits.filledPigAnimalCage); public boolean itemInteractionForEntity(ItemStack itemstack, EntityLiving entity) { if (entity instanceof EntityLiving){ if (entity instanceof EntityPig){ if(entity.worldObj.isRemote){ entity.isDead = true; --itemstack.stackSize; EntityItem pig = new EntityItem(entity.worldObj, entity.posX, entity.posY, entity.posZ, piggy); entity.worldObj.spawnEntityInWorld(pig); }} but it will only spawn one item the first time, then it just wont spawn the item please help "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
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.