chore: dyed wools
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^black_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "black_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class BlackWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^blue_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "blue_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class BlueWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^brown_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "brown_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class BrownWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^cyan_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "cyan_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class CyanWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^gray_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "gray_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class GrayWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^green_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "green_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class GreenWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^light_blue_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "light_blue_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class LightBlueWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^light_gray_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "light_gray_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class LightGrayWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^lime_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "lime_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class LimeWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^magenta_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "magenta_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class MagentaWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^orange_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "orange_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class OrangeWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^pink_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "pink_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class PinkWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^purple_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "purple_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class PurpleWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^red_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "red_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class RedWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^white_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "white_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class WhiteWoolRecipe {}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.crafting.recipes.wools;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$",
|
||||
"^.*_wool$", "^yellow_dye$", "^.*_wool$",
|
||||
"^.*_wool$", "^.*_wool$", "^.*_wool$"
|
||||
},
|
||||
result = "yellow_wool",
|
||||
amount = 8,
|
||||
usingRegex = true
|
||||
)
|
||||
public class YellowWoolRecipe {}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
||||
import cz.jzitnik.game.entities.Block;
|
||||
import cz.jzitnik.game.sprites.Wool;
|
||||
|
||||
@BlockRegistry("blue_wool")
|
||||
public class BlueWoolBlock extends Block {
|
||||
public BlueWoolBlock() {
|
||||
super("blue_wool", SpriteLoader.SPRITES.WOOL, 3);
|
||||
setSpriteState(Wool.WoolState.BLUE);
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
||||
import cz.jzitnik.game.entities.Block;
|
||||
import cz.jzitnik.game.sprites.Wool;
|
||||
|
||||
@BlockRegistry("cyan_wool")
|
||||
public class CyanWoolBlock extends Block {
|
||||
public CyanWoolBlock() {
|
||||
super("cyan_wool", SpriteLoader.SPRITES.WOOL, 3);
|
||||
setSpriteState(Wool.WoolState.CYAN);
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
||||
import cz.jzitnik.game.entities.Block;
|
||||
import cz.jzitnik.game.sprites.Wool;
|
||||
|
||||
@BlockRegistry("green_wool")
|
||||
public class GreenWoolBlock extends Block {
|
||||
public GreenWoolBlock() {
|
||||
super("green_wool", SpriteLoader.SPRITES.WOOL, 3);
|
||||
setSpriteState(Wool.WoolState.GREEN);
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
||||
import cz.jzitnik.game.entities.Block;
|
||||
import cz.jzitnik.game.sprites.Wool;
|
||||
|
||||
@BlockRegistry("light_blue_wool")
|
||||
public class LightBlueWoolBlock extends Block {
|
||||
public LightBlueWoolBlock() {
|
||||
super("light_blue_wool", SpriteLoader.SPRITES.WOOL, 3);
|
||||
setSpriteState(Wool.WoolState.LIGHT_BLUE);
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
||||
import cz.jzitnik.game.entities.Block;
|
||||
import cz.jzitnik.game.sprites.Wool;
|
||||
|
||||
@BlockRegistry("lime_wool")
|
||||
public class LimeWoolBlock extends Block {
|
||||
public LimeWoolBlock() {
|
||||
super("lime_wool", SpriteLoader.SPRITES.WOOL, 3);
|
||||
setSpriteState(Wool.WoolState.LIME);
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
||||
import cz.jzitnik.game.entities.Block;
|
||||
import cz.jzitnik.game.sprites.Wool;
|
||||
|
||||
@BlockRegistry("magenta_wool")
|
||||
public class MagentaWoolBlock extends Block {
|
||||
public MagentaWoolBlock() {
|
||||
super("magenta_wool", SpriteLoader.SPRITES.WOOL, 3);
|
||||
setSpriteState(Wool.WoolState.MAGENTA);
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
||||
import cz.jzitnik.game.entities.Block;
|
||||
import cz.jzitnik.game.sprites.Wool;
|
||||
|
||||
@BlockRegistry("orange_wool")
|
||||
public class OrangeWoolBlock extends Block {
|
||||
public OrangeWoolBlock() {
|
||||
super("orange_wool", SpriteLoader.SPRITES.WOOL, 3);
|
||||
setSpriteState(Wool.WoolState.ORANGE);
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
||||
import cz.jzitnik.game.entities.Block;
|
||||
import cz.jzitnik.game.sprites.Wool;
|
||||
|
||||
@BlockRegistry("purple_wool")
|
||||
public class PurpleWoolBlock extends Block {
|
||||
public PurpleWoolBlock() {
|
||||
super("purple_wool", SpriteLoader.SPRITES.WOOL, 3);
|
||||
setSpriteState(Wool.WoolState.PURPLE);
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
||||
import cz.jzitnik.game.entities.Block;
|
||||
import cz.jzitnik.game.sprites.Wool;
|
||||
|
||||
@BlockRegistry("red_wool")
|
||||
public class RedWoolBlock extends Block {
|
||||
public RedWoolBlock() {
|
||||
super("red_wool", SpriteLoader.SPRITES.WOOL, 3);
|
||||
setSpriteState(Wool.WoolState.RED);
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.entities.items.registry.blocks.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.BlockRegistry;
|
||||
import cz.jzitnik.game.entities.Block;
|
||||
import cz.jzitnik.game.sprites.Wool;
|
||||
|
||||
@BlockRegistry("yellow_wool")
|
||||
public class YellowWoolBlock extends Block {
|
||||
public YellowWoolBlock() {
|
||||
super("yellow_wool", SpriteLoader.SPRITES.WOOL, 3);
|
||||
setSpriteState(Wool.WoolState.YELLOW);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.entities.items.registry.items.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.ItemRegistry;
|
||||
import cz.jzitnik.game.entities.items.Item;
|
||||
import cz.jzitnik.game.entities.items.ItemType;
|
||||
import cz.jzitnik.game.sprites.WoolItem;
|
||||
|
||||
@ItemRegistry("blue_wool")
|
||||
public class BlueWoolItem extends Item {
|
||||
public BlueWoolItem() {
|
||||
super("blue_wool", "Blue wool", ItemType.BLOCK, SpriteLoader.SPRITES.ITEM_WOOL);
|
||||
setSpriteState(WoolItem.WoolItemState.BLUE);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.entities.items.registry.items.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.ItemRegistry;
|
||||
import cz.jzitnik.game.entities.items.Item;
|
||||
import cz.jzitnik.game.entities.items.ItemType;
|
||||
import cz.jzitnik.game.sprites.WoolItem;
|
||||
|
||||
@ItemRegistry("cyan_wool")
|
||||
public class CyanWoolItem extends Item {
|
||||
public CyanWoolItem() {
|
||||
super("cyan_wool", "Cyan wool", ItemType.BLOCK, SpriteLoader.SPRITES.ITEM_WOOL);
|
||||
setSpriteState(WoolItem.WoolItemState.CYAN);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.entities.items.registry.items.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.ItemRegistry;
|
||||
import cz.jzitnik.game.entities.items.Item;
|
||||
import cz.jzitnik.game.entities.items.ItemType;
|
||||
import cz.jzitnik.game.sprites.WoolItem;
|
||||
|
||||
@ItemRegistry("green_wool")
|
||||
public class GreenWoolItem extends Item {
|
||||
public GreenWoolItem() {
|
||||
super("green_wool", "Green wool", ItemType.BLOCK, SpriteLoader.SPRITES.ITEM_WOOL);
|
||||
setSpriteState(WoolItem.WoolItemState.GREEN);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.entities.items.registry.items.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.ItemRegistry;
|
||||
import cz.jzitnik.game.entities.items.Item;
|
||||
import cz.jzitnik.game.entities.items.ItemType;
|
||||
import cz.jzitnik.game.sprites.WoolItem;
|
||||
|
||||
@ItemRegistry("light_blue_wool")
|
||||
public class LightBlueWoolItem extends Item {
|
||||
public LightBlueWoolItem() {
|
||||
super("light_blue_wool", "Light blue wool", ItemType.BLOCK, SpriteLoader.SPRITES.ITEM_WOOL);
|
||||
setSpriteState(WoolItem.WoolItemState.LIGHT_BLUE);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.entities.items.registry.items.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.ItemRegistry;
|
||||
import cz.jzitnik.game.entities.items.Item;
|
||||
import cz.jzitnik.game.entities.items.ItemType;
|
||||
import cz.jzitnik.game.sprites.WoolItem;
|
||||
|
||||
@ItemRegistry("lime_wool")
|
||||
public class LimeWoolItem extends Item {
|
||||
public LimeWoolItem() {
|
||||
super("lime_wool", "Lime wool", ItemType.BLOCK, SpriteLoader.SPRITES.ITEM_WOOL);
|
||||
setSpriteState(WoolItem.WoolItemState.LIME);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.entities.items.registry.items.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.ItemRegistry;
|
||||
import cz.jzitnik.game.entities.items.Item;
|
||||
import cz.jzitnik.game.entities.items.ItemType;
|
||||
import cz.jzitnik.game.sprites.WoolItem;
|
||||
|
||||
@ItemRegistry("magenta_wool")
|
||||
public class MagentaWoolItem extends Item {
|
||||
public MagentaWoolItem() {
|
||||
super("magenta_wool", "Magenta wool", ItemType.BLOCK, SpriteLoader.SPRITES.ITEM_WOOL);
|
||||
setSpriteState(WoolItem.WoolItemState.MAGENTA);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.entities.items.registry.items.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.ItemRegistry;
|
||||
import cz.jzitnik.game.entities.items.Item;
|
||||
import cz.jzitnik.game.entities.items.ItemType;
|
||||
import cz.jzitnik.game.sprites.WoolItem;
|
||||
|
||||
@ItemRegistry("orange_wool")
|
||||
public class OrangeWoolItem extends Item {
|
||||
public OrangeWoolItem() {
|
||||
super("orange_wool", "Orange wool", ItemType.BLOCK, SpriteLoader.SPRITES.ITEM_WOOL);
|
||||
setSpriteState(WoolItem.WoolItemState.ORANGE);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.entities.items.registry.items.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.ItemRegistry;
|
||||
import cz.jzitnik.game.entities.items.Item;
|
||||
import cz.jzitnik.game.entities.items.ItemType;
|
||||
import cz.jzitnik.game.sprites.WoolItem;
|
||||
|
||||
@ItemRegistry("purple_wool")
|
||||
public class PurpleWoolItem extends Item {
|
||||
public PurpleWoolItem() {
|
||||
super("purple_wool", "Purple wool", ItemType.BLOCK, SpriteLoader.SPRITES.ITEM_WOOL);
|
||||
setSpriteState(WoolItem.WoolItemState.PURPLE);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.entities.items.registry.items.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.ItemRegistry;
|
||||
import cz.jzitnik.game.entities.items.Item;
|
||||
import cz.jzitnik.game.entities.items.ItemType;
|
||||
import cz.jzitnik.game.sprites.WoolItem;
|
||||
|
||||
@ItemRegistry("red_wool")
|
||||
public class RedWoolItem extends Item {
|
||||
public RedWoolItem() {
|
||||
super("red_wool", "Red wool", ItemType.BLOCK, SpriteLoader.SPRITES.ITEM_WOOL);
|
||||
setSpriteState(WoolItem.WoolItemState.RED);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cz.jzitnik.game.entities.items.registry.items.wools;
|
||||
|
||||
import cz.jzitnik.game.SpriteLoader;
|
||||
import cz.jzitnik.game.annotations.ItemRegistry;
|
||||
import cz.jzitnik.game.entities.items.Item;
|
||||
import cz.jzitnik.game.entities.items.ItemType;
|
||||
import cz.jzitnik.game.sprites.WoolItem;
|
||||
|
||||
@ItemRegistry("yellow_wool")
|
||||
public class YellowWoolItem extends Item {
|
||||
public YellowWoolItem() {
|
||||
super("yellow_wool", "Yellow wool", ItemType.BLOCK, SpriteLoader.SPRITES.ITEM_WOOL);
|
||||
setSpriteState(WoolItem.WoolItemState.YELLOW);
|
||||
}
|
||||
}
|
@ -6,18 +6,28 @@ import java.util.HashMap;
|
||||
|
||||
public class Wool extends Sprite<Wool.WoolState> {
|
||||
public enum WoolState {
|
||||
WHITE, LIGHT_GRAY, GRAY, BLACK, BROWN, PINK,
|
||||
RED, ORANGE, YELLOW, LIME, GREEN, CYAN, LIGHT_BLUE, BLUE, PURPLE, MAGENTA, PINK, WHITE, LIGHT_GRAY, GRAY, BROWN, BLACK
|
||||
}
|
||||
|
||||
public Wool() {
|
||||
loadResources(new HashMap<>() {
|
||||
{
|
||||
put(WoolState.RED, "red_wool.ans");
|
||||
put(WoolState.ORANGE, "orange_wool.ans");
|
||||
put(WoolState.YELLOW, "yellow_wool.ans");
|
||||
put(WoolState.LIME, "lime_wool.ans");
|
||||
put(WoolState.GREEN, "green_wool.ans");
|
||||
put(WoolState.CYAN, "cyan_wool.ans");
|
||||
put(WoolState.LIGHT_BLUE, "light_blue_wool.ans");
|
||||
put(WoolState.BLUE, "blue_wool.ans");
|
||||
put(WoolState.PURPLE, "purple_wool.ans");
|
||||
put(WoolState.MAGENTA, "magenta_wool.ans");
|
||||
put(WoolState.PINK, "pink_wool.ans");
|
||||
put(WoolState.WHITE, "white_wool.ans");
|
||||
put(WoolState.LIGHT_GRAY, "light_gray_wool.ans");
|
||||
put(WoolState.GRAY, "gray_wool.ans");
|
||||
put(WoolState.BLACK, "black_wool.ans");
|
||||
put(WoolState.BROWN, "brown_wool.ans");
|
||||
put(WoolState.PINK, "pink_wool.ans");
|
||||
put(WoolState.BLACK, "black_wool.ans");
|
||||
}
|
||||
}, WoolState.class);
|
||||
}
|
||||
|
@ -6,18 +6,28 @@ import java.util.HashMap;
|
||||
|
||||
public class WoolItem extends Sprite<WoolItem.WoolItemState> {
|
||||
public enum WoolItemState {
|
||||
WHITE, LIGHT_GRAY, GRAY, BLACK, BROWN, PINK,
|
||||
RED, ORANGE, YELLOW, LIME, GREEN, CYAN, LIGHT_BLUE, BLUE, PURPLE, MAGENTA, PINK, WHITE, LIGHT_GRAY, GRAY, BROWN, BLACK
|
||||
}
|
||||
|
||||
public WoolItem() {
|
||||
loadResources(new HashMap<>() {
|
||||
{
|
||||
put(WoolItemState.RED, "items/red_wool.ans");
|
||||
put(WoolItemState.ORANGE, "items/orange_wool.ans");
|
||||
put(WoolItemState.YELLOW, "items/yellow_wool.ans");
|
||||
put(WoolItemState.LIME, "items/lime_wool.ans");
|
||||
put(WoolItemState.GREEN, "items/green_wool.ans");
|
||||
put(WoolItemState.CYAN, "items/cyan_wool.ans");
|
||||
put(WoolItemState.LIGHT_BLUE, "items/light_blue_wool.ans");
|
||||
put(WoolItemState.BLUE, "items/blue_wool.ans");
|
||||
put(WoolItemState.PURPLE, "items/purple_wool.ans");
|
||||
put(WoolItemState.MAGENTA, "items/magenta_wool.ans");
|
||||
put(WoolItemState.PINK, "items/pink_wool.ans");
|
||||
put(WoolItemState.WHITE, "items/white_wool.ans");
|
||||
put(WoolItemState.LIGHT_GRAY, "items/light_gray_wool.ans");
|
||||
put(WoolItemState.GRAY, "items/gray_wool.ans");
|
||||
put(WoolItemState.BLACK, "items/black_wool.ans");
|
||||
put(WoolItemState.BROWN, "items/brown_wool.ans");
|
||||
put(WoolItemState.PINK, "items/pink_wool.ans");
|
||||
put(WoolItemState.BLACK, "items/black_wool.ans");
|
||||
}
|
||||
}, WoolItemState.class);
|
||||
}
|
||||
|
Reference in New Issue
Block a user