Skip to content

Commit

Permalink
Add Fire Rod to the Github repository
Browse files Browse the repository at this point in the history
  • Loading branch information
ShockMicro committed Jan 7, 2022
1 parent 63cb8a4 commit 6608938
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CorePerspectiveModels
Adds a way to have different items in the hand and the GUI. Use alpha 253 for the texture in the inventory and 254 for the texture in the hand.
Adds a way to have different items in the hand and the GUI. Set pixels to alpha 253 for the texture in the inventory and 254 for the texture in the hand.
Use an item model to get everything in the correct position, and congrats! If you don't know how to change the alpha value, just play around with your favorite image editor.
Uses Farcr's awesome cleaver texture(s) as an example! Used with permission, of course.
Uses Farcr's awesome Cleaver texture(s) as an example! Used with permission, of course. Fire Rod model was custom by me.
75 changes: 75 additions & 0 deletions assets/minecraft/models/item/golden_sword.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"credit": "Made with Blockbench",
"textures": {
"0": "item/fire_rod_handheld",
"1": "item/fire_rod"
},
"elements": [
{
"name": "rod",
"from": [7, 2, 7],
"to": [9, 14, 9],
"faces": {
"north": {"uv": [12, 0, 14, 12], "texture": "#0"},
"east": {"uv": [14, 0, 16, 12], "texture": "#0"},
"south": {"uv": [12, 0, 14, 12], "texture": "#0"},
"west": {"uv": [14, 0, 16, 12], "texture": "#0"},
"up": {"uv": [14, 12, 16, 14], "texture": "#0"},
"down": {"uv": [14, 12, 16, 14], "texture": "#0"}
}
},
{
"name": "crystal",
"from": [10.25, 16, -1],
"to": [12.25, 18, 1],
"rotation": {"angle": -45, "axis": "y", "origin": [0, 0, 0]},
"faces": {
"north": {"uv": [0, 14, 2, 16], "texture": "#0"},
"east": {"uv": [0, 14, 2, 16], "texture": "#0"},
"south": {"uv": [0, 14, 2, 16], "texture": "#0"},
"west": {"uv": [0, 14, 2, 16], "texture": "#0"},
"up": {"uv": [0, 14, 2, 16], "rotation": 180, "texture": "#0"},
"down": {"uv": [0, 14, 2, 16], "rotation": 180, "texture": "#0"}
}
},
{
"name": "fancybit1",
"from": [8, 10, 3],
"to": [8, 22, 13],
"faces": {
"north": {"uv": [0, 0, 0, 7], "texture": "#0"},
"east": {"uv": [0, 0, 10, 12], "texture": "#0"},
"south": {"uv": [0, 0, 0, 7], "texture": "#0"},
"west": {"uv": [0, 0, 10, 12], "texture": "#0"},
"up": {"uv": [0, 0, 0, 10], "texture": "#0"},
"down": {"uv": [0, 0, 0, 10], "texture": "#0"}
}
},
{
"name": "fancybit2",
"from": [3, 10, 8],
"to": [13, 22, 8],
"faces": {
"north": {"uv": [0, 0, 10, 12], "texture": "#0"},
"east": {"uv": [0, 0, 0, 7], "texture": "#0"},
"south": {"uv": [0, 0, 10, 12], "texture": "#0"},
"west": {"uv": [0, 0, 0, 7], "texture": "#0"},
"up": {"uv": [0, 0, 10, 0], "texture": "#0"},
"down": {"uv": [0, 0, 10, 0], "texture": "#0"}
}
},
{
"from": [0, 0, 16],
"to": [16, 16, 16],
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#1"},
"east": {"uv": [0, 0, 0, 16], "texture": "#1"},
"south": {"uv": [0, 0, 16, 16], "texture": "#1"},
"west": {"uv": [0, 0, 0, 16], "texture": "#1"},
"up": {"uv": [0, 0, 16, 0], "texture": "#1"},
"down": {"uv": [0, 0, 16, 0], "texture": "#1"}
}
}
],
"gui_light": "front"
}
2 changes: 1 addition & 1 deletion assets/minecraft/models/item/netherite_sword.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "minecraft:item/netherite_sword"
"layer0": "minecraft:item/cleaver"
},
"display": {
"thirdperson_righthand": {
Expand Down
Binary file added assets/minecraft/textures/item/cleaver.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/minecraft/textures/item/fire_rod.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/minecraft/textures/item/fire_rod_handheld.png
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 6608938

Please sign in to comment.