Jump to content

MrPablo2000

Members
  • Posts

    51
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

MrPablo2000's Achievements

Stone Miner

Stone Miner (3/8)

0

Reputation

  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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.