Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

42TARDIS

Members
  • Joined

  • Last visited

Everything posted by 42TARDIS

  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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.