Skip to content

Commit

Permalink
Merge pull request #1235 from XeKr/assets/1.21
Browse files Browse the repository at this point in the history
增加方块对比器的资源文件
  • Loading branch information
Gu-ZT authored Dec 4, 2024
2 parents 188d264 + e22c0f5 commit ac9a9e0
Show file tree
Hide file tree
Showing 10 changed files with 135 additions and 0 deletions.
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
}
}
}
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]
}
}
}
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"
}
}
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"
}
}
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"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 ac9a9e0

Please sign in to comment.