chore: weapon recipes
This commit is contained in:
parent
06bb607d31
commit
b59fbf6e59
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.crafting.recipes;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"_", "gold_ingot", "gold_ingot",
|
||||
"_", "stick", "gold_ingot",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "golden_axe",
|
||||
amount = 1
|
||||
)
|
||||
public class GoldenAxe2Recipe {}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.crafting.recipes;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"gold_ingot", "gold_ingot", "_",
|
||||
"gold_ingot", "stick", "_",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "golden_axe",
|
||||
amount = 1
|
||||
)
|
||||
public class GoldenAxeRecipe {}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.crafting.recipes;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"gold_ingot", "gold_ingot", "gold_ingot",
|
||||
"_", "stick", "_",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "golden_pickaxe",
|
||||
amount = 1
|
||||
)
|
||||
public class GoldenPickaxeRecipe {}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.crafting.recipes;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"_", "gold_ingot", "_",
|
||||
"_", "stick", "_",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "golden_shovel",
|
||||
amount = 1
|
||||
)
|
||||
public class GoldenShovelRecipe {}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.crafting.recipes;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"_", "gold_ingot", "_",
|
||||
"_", "gold_ingot", "_",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "golden_sword",
|
||||
amount = 1
|
||||
)
|
||||
public class GoldenSwordRecipe {}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.crafting.recipes;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"_", "iron_ingot", "iron_ingot",
|
||||
"_", "stick", "iron_ingot",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "iron_axe",
|
||||
amount = 1
|
||||
)
|
||||
public class IronAxe2Recipe {}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.crafting.recipes;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"iron_ingot", "iron_ingot", "_",
|
||||
"iron_ingot", "stick", "_",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "iron_axe",
|
||||
amount = 1
|
||||
)
|
||||
public class IronAxeRecipe {}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.crafting.recipes;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"iron_ingot", "iron_ingot", "iron_ingot",
|
||||
"_", "stick", "_",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "iron_pickaxe",
|
||||
amount = 1
|
||||
)
|
||||
public class IronPickaxeRecipe {}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.crafting.recipes;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"_", "iron_shovel", "_",
|
||||
"_", "stick", "_",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "iron_shovel",
|
||||
amount = 1
|
||||
)
|
||||
public class IronShovelRecipe {}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.crafting.recipes;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"_", "iron_ingot", "_",
|
||||
"_", "iron_ingot", "_",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "iron_sword",
|
||||
amount = 1
|
||||
)
|
||||
public class IronSwordRecipe {}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.crafting.recipes;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"stone", "stoner", "_",
|
||||
"_", "stick", "_",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "stone_hoe",
|
||||
amount = 1
|
||||
)
|
||||
public class StoneHoeRecipe {}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.crafting.recipes;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"_", "cobblestone", "_",
|
||||
"_", "cobblestone", "_",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "stone_sword",
|
||||
amount = 1
|
||||
)
|
||||
public class StoneSwordRecipe {}
|
@ -8,7 +8,7 @@ import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
"oak_planks", "stick", "_",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "oak_planks",
|
||||
result = "wooden_axe",
|
||||
amount = 1
|
||||
)
|
||||
public class WoodenAxeRecipe {}
|
||||
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.crafting.recipes;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"oak_planks", "oak_planks", "_",
|
||||
"_", "stick", "_",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "wooden_hoe",
|
||||
amount = 1
|
||||
)
|
||||
public class WoodenHoeRecipe {}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.crafting.recipes;
|
||||
|
||||
import cz.jzitnik.game.annotations.CraftingRecipeRegistry;
|
||||
|
||||
@CraftingRecipeRegistry(
|
||||
recipe = {
|
||||
"_", "oak_planks", "_",
|
||||
"_", "oak_planks", "_",
|
||||
"_", "stick", "_"
|
||||
},
|
||||
result = "wooden_sword",
|
||||
amount = 1
|
||||
)
|
||||
public class WoodenSwordRecipe {}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.entities.items.registry.items;
|
||||
|
||||
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.entities.items.ToolVariant;
|
||||
|
||||
@ItemRegistry("golden_sword")
|
||||
public class GoldenSword extends Item {
|
||||
public GoldenSword() {
|
||||
super("golden_sword", "Golden sword", ItemType.SWORD, SpriteLoader.SPRITES.GOLDEN_SWORD, ToolVariant.GOLDEN, 32, false, 2);
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.entities.items.registry.items;
|
||||
|
||||
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.entities.items.ToolVariant;
|
||||
|
||||
@ItemRegistry("iron_sword")
|
||||
public class IronSword extends Item {
|
||||
public IronSword() {
|
||||
super("iron_sword", "Iron sword", ItemType.SWORD, SpriteLoader.SPRITES.IRON_SWORD, ToolVariant.IRON, 250, false, 3);
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.entities.items.registry.items;
|
||||
|
||||
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.entities.items.ToolVariant;
|
||||
|
||||
@ItemRegistry("stone_sword")
|
||||
public class StoneSword extends Item {
|
||||
public StoneSword() {
|
||||
super("stone_sword", "Stone sword", ItemType.SWORD, SpriteLoader.SPRITES.STONE_SWORD, ToolVariant.STONE, 131, false, 3);
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cz.jzitnik.game.entities.items.registry.items;
|
||||
|
||||
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.entities.items.ToolVariant;
|
||||
|
||||
@ItemRegistry("wooden_sword")
|
||||
public class WoodenSword extends Item {
|
||||
public WoodenSword() {
|
||||
super("wooden_sword", "Wooden sword", ItemType.SWORD, SpriteLoader.SPRITES.WOODEN_SWORD, ToolVariant.WOODEN, 59, false, 2);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user