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

Everything posted by MrPablo2000

  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
  15. I'm not writing about it. I'm writing about block what i called "neonletter.e.neon" - this model doesn't load in inventory, but loads correctly when i place it.
  16. Ekhm, you don't understand my post or it hasen't got sens ?
  17. I'm not sure, but I think that Stanwise wants to make his own ladder, which can be reached faster up.
  18. Thanks - now it's working I have one more question - My custom block model doesn't load in inventory - the code is the same as in other models, I only change the model name... neonletter.e.neon.json (blockstate) eclipse log:
  19. Yes, I see it before I send this topic to forum. But what I should do ?
  20. Hi, I modeled to my mod neon transformator in online editor clara.io . I downloaded fished model with my texture - but when I'm loading it to the game, model shows but texture no This is eclipse log: My transformator.neon.obj file: https://pastebin.com/eaKRXjjV transformator.neon.mtl file: https://pastebin.com/EbJ4Tgwj
  21. Yea, I trye once more to re-install JRE and JDK, I installed the newest Eclipse, Photon, and now it's working. Thanks everyone! -To close-
  22. I know how to open build path editor, but what I should change in it ?
  23. But this is the worst! Eclipse doesn't marking error. In class it shows I have error, but in main package i haven't got errors... I try to resetup all workspace, but still is the same problem..I also try to download newest eclipse - still problem is awaible...

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.