forked from jzitnik/twodcraft
chore: idk
This commit is contained in:
parent
f09519773b
commit
e46baae9e8
@ -11,4 +11,6 @@ public enum SoundKey {
|
|||||||
|
|
||||||
HURT,
|
HURT,
|
||||||
HIT,
|
HIT,
|
||||||
|
|
||||||
|
SAND_DIG
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
package cz.jzitnik.game.core.sound.registry;
|
||||||
|
|
||||||
|
import cz.jzitnik.game.annotations.SoundRegistry;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
|
|
||||||
|
@SoundRegistry(key = SoundKey.SAND_DIG, resourceLocation = {
|
||||||
|
"sand/dig1.ogg",
|
||||||
|
"sand/dig2.ogg",
|
||||||
|
"sand/dig3.ogg",
|
||||||
|
"sand/dig4.ogg"
|
||||||
|
})
|
||||||
|
public class SandDigSound {
|
||||||
|
}
|
@ -3,11 +3,16 @@ package cz.jzitnik.game.entities.items.registry.blocks.blocks;
|
|||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.BlockRegistry;
|
||||||
import cz.jzitnik.game.annotations.FallingBlock;
|
import cz.jzitnik.game.annotations.FallingBlock;
|
||||||
|
import cz.jzitnik.game.annotations.MineSound;
|
||||||
|
import cz.jzitnik.game.annotations.PlaceSound;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.entities.items.ItemType;
|
import cz.jzitnik.game.entities.items.ItemType;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
@MineSound(SoundKey.SAND_DIG)
|
||||||
|
@PlaceSound(SoundKey.SAND_DIG)
|
||||||
@FallingBlock
|
@FallingBlock
|
||||||
@BlockRegistry("sand")
|
@BlockRegistry("sand")
|
||||||
public class SandBlock extends Block {
|
public class SandBlock extends Block {
|
||||||
|
BIN
src/main/resources/sounds/sand/dig1.ogg
Normal file
BIN
src/main/resources/sounds/sand/dig1.ogg
Normal file
Binary file not shown.
BIN
src/main/resources/sounds/sand/dig2.ogg
Normal file
BIN
src/main/resources/sounds/sand/dig2.ogg
Normal file
Binary file not shown.
BIN
src/main/resources/sounds/sand/dig3.ogg
Normal file
BIN
src/main/resources/sounds/sand/dig3.ogg
Normal file
Binary file not shown.
BIN
src/main/resources/sounds/sand/dig4.ogg
Normal file
BIN
src/main/resources/sounds/sand/dig4.ogg
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user