Modify pitch of small slimes and magma cubes

This commit is contained in:
Wuzzy 2019-03-09 00:44:24 +01:00
parent 8b44e6fb7a
commit a5b20b1bf0
3 changed files with 14 additions and 3 deletions

View file

@ -131,6 +131,7 @@ functions needed for the mob to work properly which contains the following:
'makes_footstep_sound' when true you can hear mobs walking.
'sounds' this is a table with sounds of the mob
'distance' maximum distance sounds can be heard, default is 10.
'base_pitch' base pitch to use adult mobs, default is 1.0 (MCL2 extension)
'random' played randomly from time to time.
also played for overfeeding animal.
'war_cry' what you hear when mob starts to attack player. (currently disabled)
@ -142,6 +143,9 @@ functions needed for the mob to work properly which contains the following:
'fuse' sound played when mob explode timer starts.
'explode' sound played when mob explodes.
Note: For all sounds except fuse and explode, the pitch is slightly randomized from the base pitch
The pitch of children is 50% higher.
'drops' table of items that are dropped when mob is killed, fields are:
'name' name of item to drop.
'chance' chance of drop, 1 for always, 2 for 1-in-2 chance etc.