Jump to content

Zhor

Members
  • Posts

    8
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Zhor's Achievements

Tree Puncher

Tree Puncher (2/8)

-1

Reputation

  1. not quite sure what you mean i only registered it like that: and for each color its own itemstack: for (int ix = 0; ix < 16; ix++) { ItemStack multiBlockStack = new ItemStack(multiFence, 1, ix); ...}
  2. If you haven't already got your mod-zip-file do the following steps. Save all data of your mod in eclipse. Go to your mcp-folder and run recompile.bat (this may take several seconds, even minutes) Wait until its finished and run reobfuscate.bat Your mod-data is now in the folder reobf\minecraft Copy all folders and files in the minecraft-folder to a .zip-file of your choice You're done! Your mod-file is complete. This can be placed in the mods folder on both your client and server. Regards, Zhor
  3. *push* need some help, guys Still wondering, why this happens. Regards, Zhor
  4. hey guys, i just made some custom fences with the help of the wiki-article MultiBlocks (see http://www.minecraftforge.net/wiki/Tutorials/Multiblock). for this i created a class "MultiFence" with the following code: the class MultiItemBlock: and i even modified the BlockFence.java, i added my constructor to fit in the tutorial-parameters. FYI, BlockFence doesnt have a contructor, that takes only the id and the material as parameters. I set the MultiFence as a subclass of BlockFence to get the typical Fence-behavior and the right texture-rendering. I dont think it is possible to manage it without being subclass of BlockFence. I really followed all the other steps in the Tutorial. So here the Problem: While the textures of the fences are perfectly fine block, the inventory takes only one particular texture for all fences. If i change the MultiFence class to extend Block (instead of BlockFence), the inventory works fine, but (ofc.) the Fences are normal Blocks. How can i set the ItemBlock textures to fit the texture of the Block itself? Below are 2 screenshots of exact the same situation. First having MultiFence extends Block, second extends BlockFence. Thanks, Zhor
×
×
  • Create New...

Important Information

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