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.

MrPablo2000

Members
  • Joined

  • Last visited

  1. I mean redstone power, I haven't got my own energy system, just redstone.
  2. In the future I will add one model for all states - this is the electrical post element. Graphic connection doesn't interesting me - I only want to make this block connectable to up/down in "java" mean, to make it possible to provide power to up. (I don't know how to describe it..)
  3. I change this, it isn't crashing now, but it still doesn't provide energy to up...
  4. I tried to solve this problem, but i don't know how. I tried to make a block, what is a cable(such as a redstone wire), but it must connect also with up and down(for example - redstone conduits ). I tried to understand vanilla redstone wire code, and modify it to my needs - but it doesn't working(it's crashing). Code CommonProxy SlupGora: CrashReport: Maybe You will know how to solve it.
  5. I try it, but i don't know how to connect fancing variants and state value This is my blockstate: https://pastebin.com/kCKusa9w This is my class code: https://pastebin.com/r2TTqG5e and this is crash... https://pastebin.com/fzNQ1xke
  6. I try to do it with crops code, but i never works with Properties...Have you any toturial about it ?
  7. Block Properties? You mean .setHardness, .setLightLevel etc?
  8. I still don't know how to do it.. I try this way, to use only 1 block: public void updateTick(World worldIn, BlockPos pos, IBlockState state, Random rand) { if (!worldIn.isRemote) { if (!worldIn.isBlockPowered(pos)) { isActive=false; } } } In constructor: if(this.isActive=true) { setLightLevel(1F); } and boolean: private boolean isActive = false; But it stil doesn't work...
  9. I try to use getActualState, but its marked as @Deprected Why it isn't true ?
  10. I must use 2 blocks, because i use 2 the same models, but with diferrent texture. How?
  11. Hi, it me - again... I want to make my neon letter as a redstone lamp. I use the code from RedstoneLight.class. When I power my block, its working. It place block NeonLetterENeonActive...but with another rotation as NeonLetterEIdle... My default direction is West, but i make a method that the block rotates to player on placing. For example: Idle block is north, but when i power it, the powered block are placed with default, west rotation.. What i must change in code, to get this: when i power the block, powered block has the same ratation as unpowered? I use this code - it's coppied from vanilla RedstoneLight:
  12. When i wrote code for other blocks, by mistake I deleted neonletterENeon.initModel(); method from ModBlocks - that it wasn't work.... Thanks for help
  13. But for other models i didn't register item model's and they are showing..
  14. Draco, sorry, I don't speak English very well, I'm Polish , than sometimes my anserws haven't got sense in english, but have got sense in polish

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.