diff --git a/src/main/java/org/valkyrienskies/mod/common/ValkyrienSkiesMod.java b/src/main/java/org/valkyrienskies/mod/common/ValkyrienSkiesMod.java index 8eacb5000..2f369eb73 100644 --- a/src/main/java/org/valkyrienskies/mod/common/ValkyrienSkiesMod.java +++ b/src/main/java/org/valkyrienskies/mod/common/ValkyrienSkiesMod.java @@ -274,13 +274,8 @@ private Block registerBlock(Block block) { return block; } - private Item registerItem(Item item) { - ValkyrienSkiesMod.ITEMS.add(item); - return item; - } - private void registerItems() { - this.shipTracker = registerItem(new ItemShipTracker("vs_ship_tracker", true)); + this.shipTracker = new ItemShipTracker("vs_ship_tracker", true); } @Getter diff --git a/src/main/resources/assets/valkyrienskies/lang b/src/main/resources/assets/valkyrienskies/lang index 4b34589a3..0c3cc9250 160000 --- a/src/main/resources/assets/valkyrienskies/lang +++ b/src/main/resources/assets/valkyrienskies/lang @@ -1 +1 @@ -Subproject commit 4b34589a3f5e46846ccf0a1c20d8d45262571e7c +Subproject commit 0c3cc92504063b07e4991aea186a320320fe5aec diff --git a/src/main/resources/assets/valkyrienskies/models/item/vs_ship_tracker.json b/src/main/resources/assets/valkyrienskies/models/item/vs_ship_tracker.json new file mode 100644 index 000000000..b2db393d6 --- /dev/null +++ b/src/main/resources/assets/valkyrienskies/models/item/vs_ship_tracker.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "valkyrienskies:items/vs_ship_tracker" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/valkyrienskies/recipes/vs_ship_tracker.json b/src/main/resources/assets/valkyrienskies/recipes/vs_ship_tracker.json new file mode 100644 index 000000000..890e29ce8 --- /dev/null +++ b/src/main/resources/assets/valkyrienskies/recipes/vs_ship_tracker.json @@ -0,0 +1,32 @@ +{ + "type": "minecraft:crafting_shaped", + + "pattern": + [ + "RER", + "ODO", + " O " + ], + + "key": + { + "O": { + "item": "minecraft:obsidian" + }, + "R": { + "item": "minecraft:redstone" + }, + "E": { + "item": "minecraft:ender_pearl" + }, + "D": { + "item": "minecraft:diamond" + } + }, + + "result": + { + "item": "valkyrienskies:vs_ship_tracker", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/assets/valkyrienskies/textures/items/vs_ship_tracker.png b/src/main/resources/assets/valkyrienskies/textures/items/vs_ship_tracker.png new file mode 100644 index 000000000..22778c4f0 Binary files /dev/null and b/src/main/resources/assets/valkyrienskies/textures/items/vs_ship_tracker.png differ