Posted March 8, 201510 yr I have a few questions. First, here is a link to a GitHub repo with all my files on it. https://github.com/ParadoxicalGames/RealismMod I'm working on the Fire Pit Block (com.paradoxicalsw.realismmod.blocks.FirepitBlock.java) Crafting recipes are in (com.paradoxicalsw.realismmod.Recipes.java) .jsons for rendering are in /assets/realismmod/ First, I am trying to create a crafting recipe that utilizes charcoal. I think I understand that charcoal is a sort of sub-item to coal? I know coal can be accessed with Items.coal, how would I access charcoal? Second, I'm trying to create a custom block that is smaller than the normal blocks. Where a normal blocks bounds are 0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F, mine is 0.1F, 0.0F, 0.1F, 0.0F, 0.3F, 0.9F. How would I go about texturing that block properly? I would also like the block to burn the player when stepped on and also emit fire/smoke particles from the center similar to the furnace when on. After doing these things I would like the block to be able to be right clicked and opened and function like a furnace. Thanks ahead of time! http://www.planetminecraft.com/files/sigs/technicalparadox_1322854_sig.jpg[/img]
March 8, 201510 yr first yes, charcoal is metadata 1 form item.coal in mi mod i make a charcoalblock GameRegistry.addRecipe(new ItemStack(MercenaryModBlocks.charcoal, 1,0), new Object[] {"###", "###", "###", '#',new ItemStack(Items.coal ,1,1) }); and second you must create a parental json whith the dimensions you like, but this block its gona be hard to apilate, put one block up on another
March 8, 201510 yr Author first yes, charcoal is metadata 1 form item.coal in mi mod i make a charcoalblock GameRegistry.addRecipe(new ItemStack(MercenaryModBlocks.charcoal, 1,0), new Object[] {"###", "###", "###", '#',new ItemStack(Items.coal ,1,1) }); Thank you, that's working properly now. and second you must create a parental json whith the dimensions you like, but this block its gona be hard to apilate, put one block up on another I am not familiar with the new json system so I don't know how to go about doing that. Are there any good tutorials you know of that you could link me? Or would you be willing to explain it yourself? Thanks, http://www.planetminecraft.com/files/sigs/technicalparadox_1322854_sig.jpg[/img]
March 8, 201510 yr 2. Do you want your block to be ACTUALLY smaller so in 1.0F space you can fit multiple blocks? If not, you are probably want just different model: http://greyminecraftcoder.blogspot.com.au/2014/12/block-rendering-18.html http://greyminecraftcoder.blogspot.com.au/2014/12/block-models-texturing-quads-faces.html If that is not enough u might be looking for TESR. As for furnace you will need TileEntity and GuiHandler for which client will have Gui and server - container. 1.7.10 is no longer supported by forge, you are on your own.
March 8, 201510 yr Author 2. Do you want your block to be ACTUALLY smaller so in 1.0F space you can fit multiple blocks? If not, you are probably want just different model: http://greyminecraftcoder.blogspot.com.au/2014/12/block-rendering-18.html http://greyminecraftcoder.blogspot.com.au/2014/12/block-models-texturing-quads-faces.html If that is not enough u might be looking for TESR. As for furnace you will need TileEntity and GuiHandler for which client will have Gui and server - container. I don't want to fit multiple blocks, I want a single block that you can step on like a half slab. I think I will be able to accomplish this with the UV texturing, thanks for the link! http://www.planetminecraft.com/files/sigs/technicalparadox_1322854_sig.jpg[/img]
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.