Merge pull request #2954 from kevinr/implement-acacia-block-height
Implement acacia block height
This commit is contained in:
commit
e3fe15ca59
@ -12,6 +12,7 @@ HaoTNN
|
|||||||
Howaner
|
Howaner
|
||||||
jan64
|
jan64
|
||||||
jasperarmstrong
|
jasperarmstrong
|
||||||
|
kevinr (Kevin Riggle)
|
||||||
keyboard
|
keyboard
|
||||||
Lapayo
|
Lapayo
|
||||||
linnemannr (Reid Linnemann)
|
linnemannr (Reid Linnemann)
|
||||||
|
@ -92,7 +92,18 @@ public:
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// Dark Oaks only grow in a 2x2 area
|
// Acacias don't need horizontal clearance
|
||||||
|
case E_META_SAPLING_ACACIA:
|
||||||
|
{
|
||||||
|
if (!IsLargeTree(a_Chunk, a_RelX, a_RelY, a_RelZ, a_Meta))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
CheckHeight = 7;
|
||||||
|
LargeTree = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
// Dark Oaks don't need horizontal clearance
|
||||||
case E_META_SAPLING_DARK_OAK:
|
case E_META_SAPLING_DARK_OAK:
|
||||||
{
|
{
|
||||||
if (!IsLargeTree(a_Chunk, a_RelX, a_RelY, a_RelZ, a_Meta))
|
if (!IsLargeTree(a_Chunk, a_RelX, a_RelY, a_RelZ, a_Meta))
|
||||||
|
Loading…
Reference in New Issue
Block a user