Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Shanedublin

Members
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Shanedublin

  • Rank
    Tree Puncher

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!
  1. If no one can help me with this can some one tell me how I can craft a spawner egg?
  2. They can spawn naturally in the world with out it crashing, I just cant seem to spawn them though a throwable egg. So I'm guessing there is something wrong with my code when I asked it to spawn the chicken through the egg. protected void onImpact(MovingObjectPosition par1MovingObjectPosition) { if (par1MovingObjectPosition.entityHit != null) { par1MovingObjectPosition.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), 0.0F); } if (!this.worldObj.isRemote && this.rand.nextInt( == 0) {
  3. I can also breed my special chickens, and baby ones will spawn no problem, But I cant figure out how to do it through a throwable egg. Before the crash it says "Skipping Entity with id 0" I don't know why it says this.
  4. http://www.minecraftforge.net/wiki/Senitiel%27s_the_Making_of_Space_Marine_Mod I would check out this tutorial, I don't know if it is updated to the most recent forge, but it looks like it talks about rendering projectiles.
  5. I made my own custom Chicken Entity to learn how to make a mob. The mob functions how it is supposed to. I can use a spawner egg to spawn my chicken. I'm guessing if I tried to have these chicken occur naturally in the world that it would crash too. I don't know why I can use a spawner egg, but not spawn them in using other means. The problem is when I try to spawn it using a custom egg class. I am using the exactly same code with the exception that I changed EntityChicken entityChicken = new EntityChicken(this.worldobj) to match my chicken class. When I th
  6. I know that that class is for blocks, that is why i used it. I have an Item that places blocks when you right click on a surface. I know why it wasn't working. I didn't know where clicks where initially handled thanks for pointing that out.
  7. I figured it out.. when I was checking where to place the block I was increment the (x,y,z) location twice. I end up using a combination of the onItemUse and the canPlaceItemBlockAt method. There is probably some easier way to do it, but it works so I wont touch it for a while. When In doubt print all the vars!
  8. I've looked in that class And I see the onItemUse Method , the description says it's for items and not for blocks. And I see the canPlaceItemBlockOnSide method and that one isn't quite working... It's checking for for a player that is one block lower than the player is. I'll try adding some +1s some where to seed if I can get it to work. Thanks for your help.
  9. I have an Item that places blocks when you right click and it almost works' except that it is placing the blocks like you could place a torch. Ex: when you right click right under you it will place the block, then the block will push you out of the way. I am having a hard time finding the method that is for block placement and not item placement. If anyone could point me in the right direction I'd be grateful.
  10. Desktop\ModMine\forge777\forge\mcp\eclipse\Minecraft\bin\assets\rusdfood\textures\items That is where my textures are and it is working for me.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.