Jump to content

elllkere

Members
  • Posts

    16
  • Joined

  • Last visited

elllkere's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  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. how to replace the dropped stack ?
  11. 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 ?
×
×
  • Create New...

Important Information

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