Posted June 2, 20169 yr Hello, I wondered, how multi-block structures are made. So that a player places a specific structure of blocks, and then a single block appears. e.g. Water Wheels from Immersive Engineering. Does anyone have a tutorial or tips for that project. It should be for 1.7.10? Thanks, Mike
June 2, 20169 yr Unfortunatelly I can not provide you with tutorial, but I figured out that Immersive Engineering mod is open source so I suggest you to take a look to their code and maybe you will find something useful to your goals. :-)
June 2, 20169 yr It's not that hard, if you are a little bit experienced with rendering. Have a core block from which you check if a specific pattern of blocks is correct each tick, and if it is, spawn your desired entity/tile-entity. In case of a water wheel you would need a custom rendered entity with a rotating animation, with ghostly, fully transparent blocks around it's base to give it a hitbox. When one of these blocks is broken, you can either drop all the water wheel components, or save the broken blok position to respawn the pattern with the missig piece. That's what i would have tried, even though i myself probably wouldn't jave bothered with this at all until i learn something good about rendering.
June 2, 20169 yr Don't check every tick. Only check when your block gets a neighborChanged update Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.