Posted April 26, 201411 yr I'm writing a small mod for my server (we have too many chests laying around...), And today I encountered a weird crash when I placed one of my blocks in a crafting grid. crash report (from my dev environment): https://gist.github.com/ninehous/11325425 I read the whole file and there's not a single line involving one of my classes. Any clue for a solution? Before you write something that makes me dumb, read a couple of my posts back, and think again.
April 26, 201411 yr Author It's a block by the way. Also keep in mind that I started writing this mod only yesterday so there's not much yet. package ninehous.compressedblocks.blocks; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.item.ItemStack; import ninehous.compressedblocks.CompressedBlocks; import cpw.mods.fml.common.registry.GameRegistry; public class BlockCompressedFlint extends Block { public static Block blockCompressedFlint; public BlockCompressedFlint(){ super(Material.rock); } public static void init(){ BlockCompressedFlint.blockCompressedFlint = new BlockCompressedFlint().setBlockName("blockCompressedFlint").setCreativeTab(CompressedBlocks.CBTab).setBlockTextureName(CompressedBlocks.modid + ":" + "blockCompressedFlint"); GameRegistry.registerBlock(blockCompressedFlint, "blockCompressedFlint"); GameRegistry.addRecipe(new ItemStack(blockCompressedFlint, 1), new Object[]{"fff", "fff", "fff", Character.valueOf('f'), new ItemStack(BlockFlint.blockFlint, 1)}); GameRegistry.addShapelessRecipe(new ItemStack(BlockFlint.blockFlint, 9), blockCompressedFlint); } } Before you write something that makes me dumb, read a couple of my posts back, and think again.
April 26, 201411 yr Author I'm kinda new to modding... Once I have time (and will) I will change some stuff around. Also, if it works, then it's fine for me until I find better ways to do stuff. Before you write something that makes me dumb, read a couple of my posts back, and think again.
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.