Jump to content

42TARDIS

Members
  • Posts

    6
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    New Zealand
  • Personal Text
    I am new!

42TARDIS's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. Thanks for that, got it working now
  2. Thanks, I'll have a look into that
  3. I want to make my mob only able to be damaged by a player using a particular weapon, however when testing, no weapons do any damage. Method: public boolean attackEntityFrom(DamageSource par1DamageSource, float par2) { Entity entity = this.attackingPlayer; if(entity instanceof EntityPlayer) { if(mc.thePlayer.getHeldItem() == new ItemStack(MyMod.Knife)) { return true; } else return false; } else return false; }
  4. Thanks, I will have a look at that and hopefully be able to fix the problem once I know a bit more. Thanks again
  5. I had another look, i think i am getting a java.lang.ArrayIndexOutOfBoundsException: 4 on this code: public void addCraftingToCrafters(ICrafting icrafting) { super.addCraftingToCrafters(icrafting); icrafting.sendProgressBarUpdate(this, 0, this.forge.cookTime); icrafting.sendProgressBarUpdate(this, 1, this.forge.cookTime); icrafting.sendProgressBarUpdate(this, 2, this.forge.burnTime); icrafting.sendProgressBarUpdate(this, 3, this.forge.currentItemBurnTime); Any help is appreciated Thanks
  6. Hi, I am new here and to modding, i want to create a custom furnace but with 2 input slots, I have followed youtube tutorials for creating a normal furnace and have tried to modify it to have 2 inputs, but minecraft crashes when the furnace is right-clicked on. I do not know which class files and error logs are needed or where to post them. Thanks
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.