1
0

Added 1.12 blocks (#3760)

This commit is contained in:
Bond-009
2017-06-30 10:46:58 +02:00
committed by Mattes D
parent 33527067ed
commit 7fd3899796
10 changed files with 441 additions and 9 deletions

View File

@@ -127,11 +127,9 @@ void cNoteEntity::MakeSound(void)
case E_BLOCK_BLACK_SHULKER_BOX:
case E_BLOCK_BLOCK_OF_COAL:
case E_BLOCK_BLUE_SHULKER_BOX:
case E_BLOCK_BONE_BLOCK:
case E_BLOCK_BRICK:
case E_BLOCK_BRICK_STAIRS:
case E_BLOCK_BROWN_SHULKER_BOX:
case E_BLOCK_CLAY:
case E_BLOCK_COAL_ORE:
case E_BLOCK_COBBLESTONE:
case E_BLOCK_COBBLESTONE_STAIRS:
@@ -202,6 +200,41 @@ void cNoteEntity::MakeSound(void)
break;
}
case E_BLOCK_CLAY:
{
instrument = E_INST_FLUTE;
sampleName = "block.note.flute";
break;
}
case E_BLOCK_GOLD_BLOCK:
{
instrument = E_INST_BELL;
sampleName = "block.note.bell";
break;
}
case E_BLOCK_WOOL:
{
instrument = E_INST_GUITAR;
sampleName = "block.note.guitar";
break;
}
case E_BLOCK_PACKED_ICE:
{
instrument = E_INST_CHIME;
sampleName = "block.note.chime";
break;
}
case E_BLOCK_BONE_BLOCK:
{
instrument = E_INST_XYLOPHONE;
sampleName = "block.note.xylophone";
break;
}
default:
{
instrument = E_INST_HARP_PIANO;