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.

teunie75

Members
  • Joined

  • Last visited

  1. Thanks, so using the wrong method. So I created a delay of 1 tick, it will update instantly. Solved
  2. I saw that too, but where does the method need to be, in the place event. Or on updateTick?
  3. Can't find any doc for this, but I put markBlockForUpdate in my onBlockAdded
  4. I've got a furnace block, which I want to change the texture from. And that works, but every time it has to change, it will do after somewhat around 20 seconds. Code I used in updateTick():
  5. Ok, it works with the setDefaultDirection method. This is the class now:
  6. I still don't get it. This is what I have right now public Icon getIcon(int side, int meta) { ForgeDirection dir = ForgeDirection.getOrientation(side); if( dir == ForgeDirection.UP ) { return this.top; } else if( dir == ForgeDirection.DOWN ) { return this.bottom; } else { if (Need to check if this other side is turned towards the player){ return front; }else{ return this.side; } } }
  7. How can I use to front, because the things you've done can only use the sides and bottom and top. (That is working) But how can I use the front (the side the player places it), as a seperate texture? And how can I use the activation and change the texture.
  8. (I've read the post on the forums about textures) But I still don't know how I can set textures for multiple sides, I already followed a tutorial on it. That was using Deprecated code. I want my block to have 4 different textures Normal front Activated (front) Side(s) Top and bottom
  9. Thanks for clearing that up, I'll take a look at their IRC.
  10. Because I did this in Google.
  11. I tried to use the tutorial from here and Modloader is loading my mod. EDIT: I used MCP to get the code for Minecraft.
  12. I also tried 500 just like the tutorial, that worked neither.
  13. I just started to make Minecraft mods with ModLoader, but i'm already stuck with my first block. (All the classes are in the net.minecraft.src package) Main class : http://pastebin.com/SKsC9rSs MyBlock class : http://pastebin.com/UuaeGa51 Error: http://pastebin.com/7YHspTuj

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.