chore: wood sounds
This commit is contained in:
@@ -7,7 +7,9 @@ public enum SoundKey {
|
|||||||
GRAVEL,
|
GRAVEL,
|
||||||
GRAVEL_WALKING,
|
GRAVEL_WALKING,
|
||||||
|
|
||||||
WOOD,
|
WOOD_DIG,
|
||||||
|
WOOD_WALKING,
|
||||||
|
WOOD_MINING,
|
||||||
|
|
||||||
HURT,
|
HURT,
|
||||||
HIT,
|
HIT,
|
||||||
@@ -17,4 +19,6 @@ public enum SoundKey {
|
|||||||
STONE_DIG,
|
STONE_DIG,
|
||||||
STONE_WALKING,
|
STONE_WALKING,
|
||||||
STONE_MINING,
|
STONE_MINING,
|
||||||
|
|
||||||
|
WOOL_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.WOOD_DIG, resourceLocation = {
|
||||||
|
"wood/dig1.ogg",
|
||||||
|
"wood/dig2.ogg",
|
||||||
|
"wood/dig3.ogg",
|
||||||
|
"wood/dig4.ogg",
|
||||||
|
})
|
||||||
|
public class WoodDigSound {
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package cz.jzitnik.game.core.sound.registry;
|
||||||
|
|
||||||
|
import cz.jzitnik.game.annotations.SoundRegistry;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
|
|
||||||
|
@SoundRegistry(key = SoundKey.WOOD_MINING, resourceLocation = {
|
||||||
|
"wood/mining1.ogg",
|
||||||
|
"wood/mining2.ogg",
|
||||||
|
"wood/mining3.ogg",
|
||||||
|
"wood/mining4.ogg",
|
||||||
|
"wood/mining5.ogg",
|
||||||
|
"wood/mining6.ogg"
|
||||||
|
|
||||||
|
})
|
||||||
|
public class WoodMiningSound {
|
||||||
|
}
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
package cz.jzitnik.game.core.sound.registry;
|
|
||||||
|
|
||||||
import cz.jzitnik.game.annotations.SoundRegistry;
|
|
||||||
import cz.jzitnik.game.core.sound.SoundKey;
|
|
||||||
|
|
||||||
@SoundRegistry(key = SoundKey.WOOD, resourceLocation = {
|
|
||||||
"wood/wood1.ogg",
|
|
||||||
})
|
|
||||||
public class WoodSound {
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
package cz.jzitnik.game.core.sound.registry;
|
||||||
|
|
||||||
|
import cz.jzitnik.game.annotations.SoundRegistry;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
|
|
||||||
|
@SoundRegistry(key = SoundKey.STONE_WALKING, resourceLocation = {
|
||||||
|
"wood/step1.ogg",
|
||||||
|
"wood/step2.ogg",
|
||||||
|
"wood/step3.ogg",
|
||||||
|
"wood/step4.ogg",
|
||||||
|
"wood/step5.ogg",
|
||||||
|
"wood/step6.ogg"
|
||||||
|
})
|
||||||
|
public class WoodWalkingSound {
|
||||||
|
}
|
||||||
@@ -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.WOOL_DIG, resourceLocation = {
|
||||||
|
"wool/dig1.ogg",
|
||||||
|
"wool/dig2.ogg",
|
||||||
|
"wool/dig3.ogg",
|
||||||
|
"wool/dig4.ogg"
|
||||||
|
})
|
||||||
|
public class WoolDigSound {
|
||||||
|
}
|
||||||
@@ -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.WOOL_DIG, resourceLocation = {
|
||||||
|
"wool/dig1.ogg",
|
||||||
|
"wool/dig2.ogg",
|
||||||
|
"wool/dig3.ogg",
|
||||||
|
"wool/dig4.ogg"
|
||||||
|
})
|
||||||
|
public class WoolMiningSound {
|
||||||
|
}
|
||||||
@@ -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.WOOL_DIG, resourceLocation = {
|
||||||
|
"wool/dig1.ogg",
|
||||||
|
"wool/dig2.ogg",
|
||||||
|
"wool/dig3.ogg",
|
||||||
|
"wool/dig4.ogg"
|
||||||
|
})
|
||||||
|
public class WoolWalkingSound {
|
||||||
|
}
|
||||||
+6
-2
@@ -1,14 +1,18 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.blocks;
|
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.*;
|
||||||
import cz.jzitnik.game.annotations.ResetDataOnMine;
|
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 cz.jzitnik.game.logic.services.farmland.FarmlandData;
|
import cz.jzitnik.game.logic.services.farmland.FarmlandData;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.GRAVEL)
|
||||||
|
@MineSound(SoundKey.GRAVEL)
|
||||||
|
@WalkSound(SoundKey.GRAVEL_WALKING)
|
||||||
|
@MiningSound(SoundKey.GRAVEL_WALKING)
|
||||||
@ResetDataOnMine
|
@ResetDataOnMine
|
||||||
@BlockRegistry(value = "farmland", drops = "dirt")
|
@BlockRegistry(value = "farmland", drops = "dirt")
|
||||||
public class FarmlandBlock extends Block {
|
public class FarmlandBlock extends Block {
|
||||||
|
|||||||
+5
-3
@@ -1,15 +1,17 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.blocks;
|
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.*;
|
||||||
import cz.jzitnik.game.annotations.Flamable;
|
|
||||||
import cz.jzitnik.game.annotations.ReduceFallDamage;
|
|
||||||
import cz.jzitnik.game.core.reducefalldamage.HaybaleFallDamageReducer;
|
import cz.jzitnik.game.core.reducefalldamage.HaybaleFallDamageReducer;
|
||||||
|
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.GRASS)
|
||||||
|
@PlaceSound(SoundKey.GRASS)
|
||||||
|
@WalkSound(SoundKey.GRASS_WALKING)
|
||||||
@Flamable
|
@Flamable
|
||||||
@BlockRegistry("haybale")
|
@BlockRegistry("haybale")
|
||||||
@ReduceFallDamage(HaybaleFallDamageReducer.class)
|
@ReduceFallDamage(HaybaleFallDamageReducer.class)
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import cz.jzitnik.game.entities.Block;
|
|||||||
import cz.jzitnik.game.logic.services.flowing.FlowingData;
|
import cz.jzitnik.game.logic.services.flowing.FlowingData;
|
||||||
import cz.jzitnik.game.sprites.Water;
|
import cz.jzitnik.game.sprites.Water;
|
||||||
|
|
||||||
|
|
||||||
@Burning
|
@Burning
|
||||||
@BlockRegistry(value = "lava", drops = "lava_bucket")
|
@BlockRegistry(value = "lava", drops = "lava_bucket")
|
||||||
public class LavaBlock extends Block {
|
public class LavaBlock extends Block {
|
||||||
|
|||||||
+6
-3
@@ -1,15 +1,18 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.blocks;
|
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.*;
|
||||||
import cz.jzitnik.game.annotations.Flamable;
|
|
||||||
import cz.jzitnik.game.annotations.PlaceOnSolidNoHandler;
|
|
||||||
import cz.jzitnik.game.blocks.OakDoorData;
|
import cz.jzitnik.game.blocks.OakDoorData;
|
||||||
|
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.WOOD_DIG)
|
||||||
|
@PlaceSound(SoundKey.WOOD_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOD_MINING)
|
||||||
|
@WalkSound(SoundKey.WOOD_WALKING)
|
||||||
@Flamable
|
@Flamable
|
||||||
@PlaceOnSolidNoHandler
|
@PlaceOnSolidNoHandler
|
||||||
@BlockRegistry("oak_door")
|
@BlockRegistry("oak_door")
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.blocks;
|
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.*;
|
||||||
import cz.jzitnik.game.annotations.Flamable;
|
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;
|
||||||
|
|
||||||
|
|||||||
+5
-6
@@ -1,18 +1,17 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.blocks;
|
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.*;
|
||||||
import cz.jzitnik.game.annotations.Flamable;
|
|
||||||
import cz.jzitnik.game.annotations.MineSound;
|
|
||||||
import cz.jzitnik.game.annotations.PlaceSound;
|
|
||||||
import cz.jzitnik.game.core.sound.SoundKey;
|
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.WOOD)
|
@MineSound(SoundKey.WOOD_DIG)
|
||||||
@PlaceSound(SoundKey.WOOD)
|
@PlaceSound(SoundKey.WOOD_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOD_MINING)
|
||||||
|
@WalkSound(SoundKey.WOOD_WALKING)
|
||||||
@Flamable
|
@Flamable
|
||||||
@BlockRegistry("oak_log")
|
@BlockRegistry("oak_log")
|
||||||
public class OakLogBlock extends Block {
|
public class OakLogBlock extends Block {
|
||||||
|
|||||||
+6
-2
@@ -1,13 +1,17 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.blocks;
|
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.*;
|
||||||
import cz.jzitnik.game.annotations.Flamable;
|
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.WOOD_DIG)
|
||||||
|
@PlaceSound(SoundKey.WOOD_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOD_MINING)
|
||||||
|
@WalkSound(SoundKey.WOOD_WALKING)
|
||||||
@Flamable
|
@Flamable
|
||||||
@BlockRegistry("oak_planks")
|
@BlockRegistry("oak_planks")
|
||||||
public class OakPlanksBlock extends Block {
|
public class OakPlanksBlock extends Block {
|
||||||
|
|||||||
+2
-9
@@ -1,20 +1,13 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.grassy;
|
package cz.jzitnik.game.entities.items.registry.blocks.grassy;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockDropPercentage;
|
import cz.jzitnik.game.annotations.*;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
|
||||||
import cz.jzitnik.game.annotations.BreakableByWater;
|
|
||||||
import cz.jzitnik.game.annotations.BreaksByPlace;
|
|
||||||
import cz.jzitnik.game.annotations.BreaksFalling;
|
|
||||||
import cz.jzitnik.game.annotations.CustomDrop;
|
|
||||||
import cz.jzitnik.game.annotations.MineSound;
|
|
||||||
import cz.jzitnik.game.annotations.PlaceOnSolid;
|
|
||||||
import cz.jzitnik.game.annotations.PlaceSound;
|
|
||||||
import cz.jzitnik.game.core.sound.SoundKey;
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
|
|
||||||
@MineSound(SoundKey.GRASS)
|
@MineSound(SoundKey.GRASS)
|
||||||
@PlaceSound(SoundKey.GRASS)
|
@PlaceSound(SoundKey.GRASS)
|
||||||
|
@WalkSound(SoundKey.GRASS_WALKING)
|
||||||
@PlaceOnSolid
|
@PlaceOnSolid
|
||||||
@BreakableByWater
|
@BreakableByWater
|
||||||
@BreaksFalling
|
@BreaksFalling
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("black_wool")
|
@BlockRegistry("black_wool")
|
||||||
public class BlackWoolBlock extends Block {
|
public class BlackWoolBlock extends Block {
|
||||||
public BlackWoolBlock() {
|
public BlackWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("blue_wool")
|
@BlockRegistry("blue_wool")
|
||||||
public class BlueWoolBlock extends Block {
|
public class BlueWoolBlock extends Block {
|
||||||
public BlueWoolBlock() {
|
public BlueWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("brown_wool")
|
@BlockRegistry("brown_wool")
|
||||||
public class BrownWoolBlock extends Block {
|
public class BrownWoolBlock extends Block {
|
||||||
public BrownWoolBlock() {
|
public BrownWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("cyan_wool")
|
@BlockRegistry("cyan_wool")
|
||||||
public class CyanWoolBlock extends Block {
|
public class CyanWoolBlock extends Block {
|
||||||
public CyanWoolBlock() {
|
public CyanWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("gray_wool")
|
@BlockRegistry("gray_wool")
|
||||||
public class GrayWoolBlock extends Block {
|
public class GrayWoolBlock extends Block {
|
||||||
public GrayWoolBlock() {
|
public GrayWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("green_wool")
|
@BlockRegistry("green_wool")
|
||||||
public class GreenWoolBlock extends Block {
|
public class GreenWoolBlock extends Block {
|
||||||
public GreenWoolBlock() {
|
public GreenWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("light_blue_wool")
|
@BlockRegistry("light_blue_wool")
|
||||||
public class LightBlueWoolBlock extends Block {
|
public class LightBlueWoolBlock extends Block {
|
||||||
public LightBlueWoolBlock() {
|
public LightBlueWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("light_gray_wool")
|
@BlockRegistry("light_gray_wool")
|
||||||
public class LightGrayWoolBlock extends Block {
|
public class LightGrayWoolBlock extends Block {
|
||||||
public LightGrayWoolBlock() {
|
public LightGrayWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("lime_wool")
|
@BlockRegistry("lime_wool")
|
||||||
public class LimeWoolBlock extends Block {
|
public class LimeWoolBlock extends Block {
|
||||||
public LimeWoolBlock() {
|
public LimeWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("magenta_wool")
|
@BlockRegistry("magenta_wool")
|
||||||
public class MagentaWoolBlock extends Block {
|
public class MagentaWoolBlock extends Block {
|
||||||
public MagentaWoolBlock() {
|
public MagentaWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("orange_wool")
|
@BlockRegistry("orange_wool")
|
||||||
public class OrangeWoolBlock extends Block {
|
public class OrangeWoolBlock extends Block {
|
||||||
public OrangeWoolBlock() {
|
public OrangeWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("pink_wool")
|
@BlockRegistry("pink_wool")
|
||||||
public class PinkWoolBlock extends Block {
|
public class PinkWoolBlock extends Block {
|
||||||
public PinkWoolBlock() {
|
public PinkWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("purple_wool")
|
@BlockRegistry("purple_wool")
|
||||||
public class PurpleWoolBlock extends Block {
|
public class PurpleWoolBlock extends Block {
|
||||||
public PurpleWoolBlock() {
|
public PurpleWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("red_wool")
|
@BlockRegistry("red_wool")
|
||||||
public class RedWoolBlock extends Block {
|
public class RedWoolBlock extends Block {
|
||||||
public RedWoolBlock() {
|
public RedWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("white_wool")
|
@BlockRegistry("white_wool")
|
||||||
public class WhiteWoolBlock extends Block {
|
public class WhiteWoolBlock extends Block {
|
||||||
public WhiteWoolBlock() {
|
public WhiteWoolBlock() {
|
||||||
|
|||||||
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||||
|
|
||||||
import cz.jzitnik.game.SpriteLoader;
|
import cz.jzitnik.game.SpriteLoader;
|
||||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
import cz.jzitnik.game.annotations.*;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.game.entities.Block;
|
import cz.jzitnik.game.entities.Block;
|
||||||
import cz.jzitnik.game.sprites.Wool;
|
import cz.jzitnik.game.sprites.Wool;
|
||||||
|
|
||||||
|
@PlaceSound(SoundKey.WOOL_DIG)
|
||||||
|
@MineSound(SoundKey.WOOL_DIG)
|
||||||
|
@WalkSound(SoundKey.WOOL_DIG)
|
||||||
|
@MiningSound(SoundKey.WOOL_DIG)
|
||||||
@BlockRegistry("yellow_wool")
|
@BlockRegistry("yellow_wool")
|
||||||
public class YellowWoolBlock extends Block {
|
public class YellowWoolBlock extends Block {
|
||||||
public YellowWoolBlock() {
|
public YellowWoolBlock() {
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
package cz.jzitnik.game.sprites;
|
package cz.jzitnik.game.sprites;
|
||||||
|
|
||||||
|
import cz.jzitnik.game.annotations.MineSound;
|
||||||
|
import cz.jzitnik.game.annotations.MiningSound;
|
||||||
|
import cz.jzitnik.game.annotations.PlaceSound;
|
||||||
|
import cz.jzitnik.game.annotations.WalkSound;
|
||||||
|
import cz.jzitnik.game.core.sound.SoundKey;
|
||||||
import cz.jzitnik.tui.Sprite;
|
import cz.jzitnik.tui.Sprite;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user