Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sonorous staff now changes texture depending on its charge
- Loading branch information
Showing
12 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...perdarker/models/item/sonorous_staff.json → ...r/models/item/sonorous_staff_charged.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"parent": "minecraft:item/handheld", | ||
"textures": { | ||
"layer0": "deeperdarker:item/sonorous_staff" | ||
"layer0": "deeperdarker:item/sonorous_staff_charged" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/generated/resources/assets/deeperdarker/models/item/sonorous_staff_charging.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"parent": "minecraft:item/handheld", | ||
"textures": { | ||
"layer0": "deeperdarker:item/sonorous_staff_charging" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/main/resources/assets/deeperdarker/models/item/sonorous_staff.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parent": "minecraft:item/handheld", | ||
"textures": { | ||
"layer0": "deeperdarker:item/sonorous_staff" | ||
}, | ||
"overrides": [ | ||
{ | ||
"predicate": { | ||
"deeperdarker:charge": 0.001 | ||
}, | ||
"model": "deeperdarker:item/sonorous_staff_charging" | ||
}, | ||
{ | ||
"predicate": { | ||
"deeperdarker:charge": 1 | ||
}, | ||
"model": "deeperdarker:item/sonorous_staff_charged" | ||
} | ||
] | ||
} |
Binary file modified
BIN
-470 Bytes
(40%)
src/main/resources/assets/deeperdarker/textures/item/sonorous_staff.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+312 Bytes
src/main/resources/assets/deeperdarker/textures/item/sonorous_staff_charged.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+785 Bytes
src/main/resources/assets/deeperdarker/textures/item/sonorous_staff_charging.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.