-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1235 from XeKr/assets/1.21
增加方块对比器的资源文件
- Loading branch information
Showing
10 changed files
with
135 additions
and
0 deletions.
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
src/main/resources/assets/anvilcraft/blockstates/block_comparator.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,64 @@ | ||
{ | ||
"variants": { | ||
"facing=east,precise=false,powered=false": { | ||
"model": "anvilcraft:block/block_comparator", | ||
"y": 90 | ||
}, | ||
"facing=north,precise=false,powered=false": { | ||
"model": "anvilcraft:block/block_comparator" | ||
}, | ||
"facing=south,precise=false,powered=false": { | ||
"model": "anvilcraft:block/block_comparator", | ||
"y": 180 | ||
}, | ||
"facing=west,precise=false,powered=false": { | ||
"model": "anvilcraft:block/block_comparator", | ||
"y": 270 | ||
}, | ||
"facing=east,precise=true,powered=false": { | ||
"model": "anvilcraft:block/block_comparator_precise", | ||
"y": 90 | ||
}, | ||
"facing=north,precise=true,powered=false": { | ||
"model": "anvilcraft:block/block_comparator_precise" | ||
}, | ||
"facing=south,precise=true,powered=false": { | ||
"model": "anvilcraft:block/block_comparator_precise", | ||
"y": 180 | ||
}, | ||
"facing=west,precise=true,powered=false": { | ||
"model": "anvilcraft:block/block_comparator_precise", | ||
"y": 270 | ||
}, | ||
"facing=east,precise=false,powered=true": { | ||
"model": "anvilcraft:block/block_comparator_on", | ||
"y": 90 | ||
}, | ||
"facing=north,precise=false,powered=true": { | ||
"model": "anvilcraft:block/block_comparator_on" | ||
}, | ||
"facing=south,precise=false,powered=true": { | ||
"model": "anvilcraft:block/block_comparator_on", | ||
"y": 180 | ||
}, | ||
"facing=west,precise=false,powered=true": { | ||
"model": "anvilcraft:block/block_comparator_on", | ||
"y": 270 | ||
}, | ||
"facing=east,precise=true,powered=true": { | ||
"model": "anvilcraft:block/block_comparator_precise_on", | ||
"y": 90 | ||
}, | ||
"facing=north,precise=true,powered=true": { | ||
"model": "anvilcraft:block/block_comparator_precise_on" | ||
}, | ||
"facing=south,precise=true,powered=true": { | ||
"model": "anvilcraft:block/block_comparator_precise_on", | ||
"y": 180 | ||
}, | ||
"facing=west,precise=true,powered=true": { | ||
"model": "anvilcraft:block/block_comparator_precise_on", | ||
"y": 270 | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
src/main/resources/assets/anvilcraft/models/block/block_comparator.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,44 @@ | ||
{ | ||
"credit": "Made by XeKr with Blockbench", | ||
"parent": "minecraft:block/cube", | ||
"textures": { | ||
"particle": "anvilcraft:block/block_comparator", | ||
"switch": "anvilcraft:block/block_comparator", | ||
"body": "anvilcraft:block/block_comparator_body", | ||
"eyes": "anvilcraft:block/block_comparator_eyes" | ||
}, | ||
"elements": [ | ||
{ | ||
"from": [4, 0, 3], | ||
"to": [12, 8, 16], | ||
"rotation": {"angle": 0, "axis": "y", "origin": [5, 0, 0]}, | ||
"faces": { | ||
"north": {"uv": [0, 0, 8, 8], "texture": "#switch"}, | ||
"east": {"uv": [16, 8, 3, 16], "texture": "#switch"}, | ||
"south": {"uv": [8, 0, 16, 8], "texture": "#switch", "cullface": "south"}, | ||
"west": {"uv": [3, 8, 16, 16], "texture": "#switch"}, | ||
"up": {"uv": [0, 3, 8, 16], "texture": "#body"}, | ||
"down": {"uv": [8, 0, 16, 13], "texture": "#body", "cullface": "down"} | ||
} | ||
}, | ||
{ | ||
"from": [0, 4, 0], | ||
"to": [16, 7, 6], | ||
"rotation": {"angle": 0, "axis": "y", "origin": [5, 0, 0]}, | ||
"faces": { | ||
"north": {"uv": [0, 5, 16, 8], "texture": "#eyes", "cullface": "north"}, | ||
"east": {"uv": [6, 13, 0, 16], "texture": "#eyes", "cullface": "east"}, | ||
"south": {"uv": [0, 5, 16, 8], "texture": "#eyes"}, | ||
"west": {"uv": [0, 13, 6, 16], "texture": "#eyes", "cullface": "west"}, | ||
"up": {"uv": [0, 0, 16, 6], "texture": "#eyes"}, | ||
"down": {"uv": [0, 7, 16, 13], "texture": "#eyes"} | ||
} | ||
} | ||
], | ||
"display": { | ||
"head": { | ||
"translation": [0, 6, 0], | ||
"scale": [1.5, 1.5, 1.5] | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/resources/assets/anvilcraft/models/block/block_comparator_on.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,9 @@ | ||
{ | ||
"parent": "anvilcraft:block/block_comparator", | ||
"textures": { | ||
"particle": "anvilcraft:block/block_comparator_on", | ||
"switch": "anvilcraft:block/block_comparator_on", | ||
"body": "anvilcraft:block/block_comparator_body", | ||
"eyes": "anvilcraft:block/block_comparator_eyes" | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/resources/assets/anvilcraft/models/block/block_comparator_precise.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,9 @@ | ||
{ | ||
"parent": "anvilcraft:block/block_comparator", | ||
"textures": { | ||
"particle": "anvilcraft:block/block_comparator", | ||
"switch": "anvilcraft:block/block_comparator", | ||
"body": "anvilcraft:block/block_comparator_body", | ||
"eyes": "anvilcraft:block/block_comparator_eyes_precise" | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/resources/assets/anvilcraft/models/block/block_comparator_precise_on.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,9 @@ | ||
{ | ||
"parent": "anvilcraft:block/block_comparator", | ||
"textures": { | ||
"particle": "anvilcraft:block/block_comparator_on", | ||
"switch": "anvilcraft:block/block_comparator_on", | ||
"body": "anvilcraft:block/block_comparator_body", | ||
"eyes": "anvilcraft:block/block_comparator_eyes_precise" | ||
} | ||
} |
Binary file added
BIN
+286 Bytes
src/main/resources/assets/anvilcraft/textures/block/block_comparator.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
BIN
+228 Bytes
src/main/resources/assets/anvilcraft/textures/block/block_comparator_body.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
BIN
+237 Bytes
src/main/resources/assets/anvilcraft/textures/block/block_comparator_eyes.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
BIN
+257 Bytes
...in/resources/assets/anvilcraft/textures/block/block_comparator_eyes_precise.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
BIN
+322 Bytes
src/main/resources/assets/anvilcraft/textures/block/block_comparator_on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.