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.

elllkere

Members
  • Joined

  • Last visited

  1. I found the other method which this.immuneToFire = true; btw, how can i add the method manually to the Properties class if this file is read-only?
  2. i gave you my screenshot when i attemping to write fireResistant
  3. it`s function with bool return, i cant set it to true
  4. mappings channel: 'snapshot', version: '20210309-1.16.5'
  5. i dont use mappings i event dont know what it is, i use Intelij IDEA with gradle.build from Forge MDK 1.16.5
  6. but my problem isn`t in the names, i cant set immuneFire to true because of private access
  7. immuneToFire is private i cant access to it
  8. What yes, i need to know where i can put this, because i tried to use it from new KilnPickaxe and it gives me error
  9. I have a class public class KilnPickaxe extends PickaxeItem { public KilnPickaxe(IItemTier tier, int attackDamageIn, float attackSpeedIn, Properties builder) { super(tier, attackDamageIn, attackSpeedIn, builder); } } which is empty yet And my register of it public static final RegistryObject<Item> KILN_PICKAXE = ITEMS.register("kiln_pickaxe", () -> new KilnPickaxe(ModItemTier.KILN, 0, -2, new Item.Properties().group(ModGroupTab.MAIN_GROUP))); So where i can write isImmuneToFire = true ?
  10. I saw a lot of codes with FurnaceRecipes.instance().getSmeltingResult(stack) but i dont have the definition of instance(). Is this an addon or whatever ?

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.