Farming
#41
Those are believed to be a generator error. Sometimes they are even 6 blocks high.
Reply
Thanks given by:
#42
you can place sugar cane on the ground when there is no water next to it. and you can also place it on every block.
Reply
Thanks given by:
#43
(06-17-2012, 10:18 PM)STR_Warrior Wrote: you can place sugar cane on the ground when there is no water next to it. and you can also place it on every block.

That's right Dodgy

Do other blocks follow the same pattern?
Reply
Thanks given by:
#44
not that i know. but maybe if someone is working on it he can also fix the torch, flowers, muchroom towers.
Reply
Thanks given by:
#45
There are actually many blocks that need more placement checks than is currently done. Why not make a class that works with a world and checks placed blocks on demand:
Code:
class cBlockPlacement
{
public:
    cBlockPlacement(cWorld * a_World);

    bool CanPlaceBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
} ;

...

class cWorld
{
    ...
    cBlockPlacement m_BlockPlacement;
    ...
} ;

Also, the checker class should be Lua-exported
Reply
Thanks given by:
#46
(06-18-2012, 03:20 AM)xoft Wrote: There are actually many blocks that need more placement checks than is currently done. Why not make a class that works with a world and checks placed blocks on demand:
Code:
class cBlockPlacement
{
public:
    cBlockPlacement(cWorld * a_World);

    bool CanPlaceBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
} ;

...

class cWorld
{
    ...
    cBlockPlacement m_BlockPlacement;
    ...
} ;

Also, the checker class should be Lua-exported
Great idea! Wink
Reply
Thanks given by:
#47
(06-18-2012, 03:20 AM)xoft Wrote: There are actually many blocks that need more placement checks than is currently done. Why not make a class that works with a world and checks placed blocks on demand:
...
Also, the checker class should be Lua-exported

Are you working on this? I don't want to duplicate effort needlessly.
Reply
Thanks given by:
#48
No, I'm not. Feel free to do this.

I think there's already some code in cClientHandle::HandlePlaceBlock() that ought to be moved into the checker, so that's a nice start.
Reply
Thanks given by:
#49
can you also make vines growable with bonemeal?
Reply
Thanks given by:
#50
How do you propose they should grow when bonemealed? As far as I know, vines attached to a wall can grow in 4 directions (up, down, 2x sideways) so there's no "indisputable" way of growing. Or perhaps we could do something like tall grass - the vines would spread to a few random neighboring blocks? Or should they only grow downwards all the way till they touch the ground? What if already at ground level, should bonemeal be consumed?
Reply
Thanks given by:




Users browsing this thread: 6 Guest(s)