1
0

Adding Silverfish Spawning Blocks (#4946)

* added breaking, spawning, animation

* checkstyle

* added undocumented API symbols

* added changes suggested by @peterbell10

* added natural ore like generation

* fixed spawning two silverfishes

* fixed clang

* fixed clang try 2

* updated comment
unified offset

* final clang fix

* added spawning for more silverfishes if one was damaged

* fixed spawning on one hit kill

* fixed spawning on one hit kill
fixed spawning by potion damage

* fixed clang

* fixed broken build

* fixed broken build

* I should read the error message properly
fixed build now?

* added small changes suggested by @peterbell10

Co-authored-by: 12xx12 <12xx12100@gmail.com>
This commit is contained in:
12xx12
2020-10-11 17:27:41 +02:00
committed by GitHub
parent c8a1cda48c
commit c080f819d2
9 changed files with 199 additions and 13 deletions

View File

@@ -804,9 +804,12 @@ enum ENUM_BLOCK_META : NIBBLETYPE
E_META_SAPLING_DARK_OAK = 5,
// E_BLOCK_SILVERFISH_EGG metas:
E_META_SILVERFISH_EGG_STONE = 0,
E_META_SILVERFISH_EGG_COBBLESTONE = 1,
E_META_SILVERFISH_EGG_STONE_BRICK = 2,
E_META_SILVERFISH_EGG_STONE = 0,
E_META_SILVERFISH_EGG_COBBLESTONE = 1,
E_META_SILVERFISH_EGG_STONE_BRICK = 2,
E_META_SILVERFISH_EGG_MOSSY_STONE_BRICK = 3,
E_META_SILVERFISH_EGG_CRACKED_STONE_BRICK = 4,
E_META_SILVERFISH_EGG_CHISELED_STONE_BRICK = 5,
// E_BLOCK_SNOW metas:
E_META_SNOW_LAYER_ONE = 0,