Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Commit

Permalink
Added texture, name, and recipe for the ship tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
Tri0de committed Jan 13, 2021
1 parent 39385df commit 92d8e59
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/assets/valkyrienskies/lang
Submodule lang updated 1 files
+2 −0 en_US.lang
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/handheld",
"textures": {
"layer0": "valkyrienskies:items/vs_ship_tracker"
}
}
Original file line number Diff line number Diff line change
@@ -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
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 92d8e59

Please sign in to comment.