Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Zhor

Members
  • Joined

  • Last visited

  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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.