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.

Fyreek

Members
  • Joined

  • Last visited

Everything posted by Fyreek

  1. 1. I know what static means, but if i have it not static the line this.setBlockTextureName(BlockRedTileEntity.BlockStored.getBlockTextureFromSide(0).toString()); is not working, because it needs a static reference. 2. If i right click the Block it works, so i think that shoudl be right 3. Thats not my Problem atm. i first want to try to get it to work, so that it changes textures. But that is not working. Saving and Loading i want to do later.
  2. So i tried a few things but couldnt get it to work. i tried saving the Block in the TileEntity and then getting the BLocks Texture through the Tile Entity, but my game wont load up any more. I think i am doing it copletly wrong but i dont know what to do at the moment. Error: BlockRedTileEntity.class: BlockRed.class: I hope you can help me.
  3. I don't know which Block/Item should be a TileEntity. Should the item be it? Because i right click with it? Or the Block that that will be on the Position of the Block i replace? Also i dont know how to save the blocks instance. I searched a bit but cant find anything that would help me.
  4. Hello There, I am very new to modding. I am having a problem with one of my Items. When i click on the ground with it, it switches the block i am looking at with a block i made. Now the Problem is how to get the Texture of the block that was there and apply it to my own Block, so that my Block looks like the Block that was there before. I already now hot to get which block was there before, but i cant figure out how to know which texture it uses and how to apply the new texture to my Block. Is that even possible? Would be nice if someone could answer that. Fyreek.

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.