Soapy29
|
  |
| Joined: 20 Aug 2009 |
| Total Posts: 653 |
|
|
| 30 May 2012 06:53 PM |
| Hello, how do you detect if there is a block under a block? Does it have to have a certain name? Can I do it for many blocks? |
|
|
| Report Abuse |
|
|
Flash77
|
  |
| Joined: 14 Jun 2008 |
| Total Posts: 550 |
|
|
| 30 May 2012 06:57 PM |
| directly under? if below you can just compare y. if you want directly under just use ray cast. or if you want the long and complicated way, compare x,y, and z in such a way to tell you if it is. |
|
|
| Report Abuse |
|
|
Soapy29
|
  |
| Joined: 20 Aug 2009 |
| Total Posts: 653 |
|
|
| 30 May 2012 06:59 PM |
| Well I am going to try and make a water source block, and it will make water blocks. Like, if there is not a block under it, it will add a block of water, and keep going down till it hits land, they spread out 8. |
|
|
| Report Abuse |
|
|
rp069
|
  |
| Joined: 22 Apr 2011 |
| Total Posts: 6206 |
|
|
| 30 May 2012 07:29 PM |
| so, you're making a minecraft game eh? |
|
|
| Report Abuse |
|
|
Soapy29
|
  |
| Joined: 20 Aug 2009 |
| Total Posts: 653 |
|
|
| 30 May 2012 07:46 PM |
| Thinking about it, but I might not do to the amount of work. Maybe a survival game of some sort, with my twist to things. |
|
|
| Report Abuse |
|
|