MCPcopy Create free account
hub / github.com/cuberite/cuberite / GetJungleTreeImage

Function GetJungleTreeImage

src/Generating/Trees.cpp:675–685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

673
674
675void GetJungleTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise, int a_Seq, sSetBlockVector & a_LogBlocks, sSetBlockVector & a_OtherBlocks)
676{
677 if (a_Noise.IntNoise3DInt(a_BlockX + 32 * a_Seq, a_BlockY + 32 * a_Seq, a_BlockZ) < 0x60000000)
678 {
679 GetSmallJungleTreeImage(a_BlockX, a_BlockY, a_BlockZ, a_Noise, a_Seq, a_LogBlocks, a_OtherBlocks);
680 }
681 else
682 {
683 GetLargeJungleTreeImage(a_BlockX, a_BlockY, a_BlockZ, a_Noise, a_Seq, a_LogBlocks, a_OtherBlocks);
684 }
685}
686
687
688

Callers 3

GrowTreeFromSaplingMethod · 0.85
Trees.hFile · 0.85
GetTreeImageByBiomeFunction · 0.85

Calls 3

GetSmallJungleTreeImageFunction · 0.85
GetLargeJungleTreeImageFunction · 0.85
IntNoise3DIntMethod · 0.80

Tested by

no test coverage detected