Posted April 14, 20169 yr No matter what I do I can't get my custom block to burn I thought that I just needed to make the material wood is that not the case anymore?
April 14, 20169 yr Author package tk.soggymustache.blocksmod.block.custom; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.init.Blocks; public class CustomBlockClass extends Block{ public CustomBlockClass(Material materialIn) { super(materialIn); } { this.setStepSound(stepSound.GLASS); this.setHardness(0.2F); this.setResistance(0.4F); Blocks.fire.setFireInfo(ModBlock.CustomBlock, 8, 30); } }
April 14, 20169 yr by the time you call that modBlock.CustomBlock will be null. Call setFireInfo using this
April 14, 20169 yr Author it won't let me use "this.setFireInfo" or am I just doing this horribly wrong.
April 14, 20169 yr you shall pass this argument to the method Blocks.fire.SetFireInfo instead ofModBlock.CustomBlock
April 15, 20169 yr it won't let me use "this.setFireInfo" or am I just doing this horribly wrong. I have no idea what the hell is so hard about just following directions. Reading is hard. Yo. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.