1
0

TNT Changes (#4970)

+ Make TNT drop pickups, change a few comments.
+ Give each ray random intensity, instead of each explosion.
* Use direction instead of destination, rewrite for pairs of edges.
This commit is contained in:
KingCol13
2020-10-24 20:48:48 +03:00
committed by GitHub
parent 64442b05f8
commit c11ca96c3d
4 changed files with 80 additions and 49 deletions

View File

@@ -134,6 +134,15 @@ bool IsBlockFence(BLOCKTYPE a_BlockType)
bool IsBlockShulkerBox(BLOCKTYPE a_BlockType)
{
return ((a_BlockType >= E_BLOCK_WHITE_SHULKER_BOX) && (a_BlockType <= E_BLOCK_BLACK_SHULKER_BOX));
}
bool IsBlockMaterialWood(BLOCKTYPE a_BlockType)
{
switch (a_BlockType)