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.

FlowGD

Members
  • Joined

  • Last visited

Everything posted by FlowGD

  1. I have a block that changes its redstone weak power based on certain criteria, and I want it to give an update to the blocks next to it when that happens. How could I do this?
  2. I've made the tile entity and it works great, however I can't access the boolean from the tile entity This is the code I'm using to set the weak power: public int getWeakPower(World worldIn, IBlockState blockState, IBlockAccess blockAccess, BlockPos pos, EnumFacing side) { TileEntity tileentity = worldIn.getTileEntity(pos); if(tileentity.power) { return 15; }else { return 0; } } I can't access the power variable, however I don't know how I would do it otherwise. EDIT: I have fixed the problem, however I cannot see any changes in the redstone power when playing the game.
  3. Thanks very much for the answers! I'll try these options today.
  4. Hi, I'm pretty new to modding (just started yesterday). I've learned how to make blocks, items, tools, food, recipes etc. and I was thinking I want to learn some slightly more advanced things such as redstone signals. I know how to make a block output a signal, but I have no clue how to check for surrounding blocks, how to check for updates, or how to modify the signal after the block has been placed. How can I make a block output a weak redstone signal only when the block below is air?

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.