Skip to content

Commit

Permalink
充放电器
Browse files Browse the repository at this point in the history
  • Loading branch information
XeKr committed Mar 20, 2024
1 parent ab1aeab commit 6dd1e12
Show file tree
Hide file tree
Showing 8 changed files with 204 additions and 0 deletions.
135 changes: 135 additions & 0 deletions src/main/resources/assets/anvilcraft/models/block/charger.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
{
"credit": "Made by XeKr with Blockbench",
"parent": "minecraft:block/block",
"textures": {
"particle": "anvilcraft:block/charger",
"side": "anvilcraft:block/charger",
"bottom": "anvilcraft:block/charger_bottom",
"top": "anvilcraft:block/charger_top"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 4, 16],
"faces": {
"north": {"uv": [0, 12, 16, 16], "texture": "#side"},
"east": {"uv": [0, 12, 16, 16], "texture": "#side"},
"south": {"uv": [0, 12, 16, 16], "texture": "#side"},
"west": {"uv": [0, 12, 16, 16], "texture": "#side"},
"up": {"uv": [0, 0, 16, 16], "texture": "#bottom"},
"down": {"uv": [0, 0, 16, 16], "texture": "#bottom", "cullface": "down"}
}
},
{
"from": [3, 4, 3],
"to": [13, 5, 13],
"faces": {
"north": {"uv": [3, 11, 13, 12], "texture": "#side"},
"east": {"uv": [3, 11, 13, 12], "texture": "#side"},
"south": {"uv": [3, 11, 13, 12], "texture": "#side"},
"west": {"uv": [3, 11, 13, 12], "texture": "#side"},
"up": {"uv": [3, 3, 13, 13], "texture": "#top"}
}
},
{
"from": [6, 4, 1],
"to": [10, 12, 3],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [6, 4, 10, 12], "texture": "#side"},
"east": {"uv": [3, 4, 1, 12], "texture": "#side"},
"south": {"uv": [6, 4, 10, 12], "texture": "#side"},
"west": {"uv": [1, 4, 3, 12], "texture": "#side"},
"up": {"uv": [6, 14, 10, 12], "texture": "#side"}
}
},
{
"from": [7, 8, 2],
"to": [9, 14, 4],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [7, 2, 9, 8], "texture": "#side"},
"east": {"uv": [4, 2, 2, 8], "texture": "#side"},
"south": {"uv": [12, 2, 14, 8], "texture": "#side"},
"west": {"uv": [2, 2, 4, 8], "texture": "#side"},
"up": {"uv": [7, 2, 9, 4], "texture": "#side"},
"down": {"uv": [7, 2, 9, 4], "texture": "#side", "cullface": "down"}
}
},
{
"from": [12, 8, 7],
"to": [14, 14, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [2, 2, 4, 8], "texture": "#side"},
"east": {"uv": [7, 2, 9, 8], "texture": "#side"},
"south": {"uv": [4, 2, 2, 8], "texture": "#side"},
"west": {"uv": [12, 2, 14, 8], "texture": "#side"},
"up": {"uv": [7, 2, 9, 4], "rotation": 90, "texture": "#side"},
"down": {"uv": [7, 2, 9, 4], "rotation": 270, "texture": "#side", "cullface": "down"}
}
},
{
"from": [13, 4, 6],
"to": [15, 12, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [1, 4, 3, 12], "texture": "#side"},
"east": {"uv": [6, 4, 10, 12], "texture": "#side"},
"south": {"uv": [3, 4, 1, 12], "texture": "#side"},
"west": {"uv": [6, 4, 10, 12], "texture": "#side"},
"up": {"uv": [6, 14, 10, 12], "rotation": 90, "texture": "#side"}
}
},
{
"from": [7, 8, 12],
"to": [9, 14, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [12, 2, 14, 8], "texture": "#side"},
"east": {"uv": [2, 2, 4, 8], "texture": "#side"},
"south": {"uv": [7, 2, 9, 8], "texture": "#side"},
"west": {"uv": [4, 2, 2, 8], "texture": "#side"},
"up": {"uv": [7, 2, 9, 4], "rotation": 180, "texture": "#side"},
"down": {"uv": [7, 2, 9, 4], "rotation": 180, "texture": "#side", "cullface": "down"}
}
},
{
"from": [6, 4, 13],
"to": [10, 12, 15],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [6, 4, 10, 12], "texture": "#side"},
"east": {"uv": [1, 4, 3, 12], "texture": "#side"},
"south": {"uv": [6, 4, 10, 12], "texture": "#side"},
"west": {"uv": [3, 4, 1, 12], "texture": "#side"},
"up": {"uv": [6, 14, 10, 12], "rotation": 180, "texture": "#side"}
}
},
{
"from": [2, 8, 7],
"to": [4, 14, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [4, 2, 2, 8], "texture": "#side"},
"east": {"uv": [12, 2, 14, 8], "texture": "#side"},
"south": {"uv": [2, 2, 4, 8], "texture": "#side"},
"west": {"uv": [7, 2, 9, 8], "texture": "#side"},
"up": {"uv": [7, 2, 9, 4], "rotation": 270, "texture": "#side"},
"down": {"uv": [7, 2, 9, 4], "rotation": 90, "texture": "#side", "cullface": "down"}
}
},
{
"from": [1, 4, 6],
"to": [3, 12, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [3, 4, 1, 12], "texture": "#side"},
"east": {"uv": [6, 4, 10, 12], "texture": "#side"},
"south": {"uv": [1, 4, 3, 12], "texture": "#side"},
"west": {"uv": [6, 4, 10, 12], "texture": "#side"},
"up": {"uv": [6, 14, 10, 12], "rotation": 270, "texture": "#side"}
}
}
]
}
69 changes: 69 additions & 0 deletions src/main/resources/assets/anvilcraft/models/block/discharger.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"credit": "Made by XeKr with Blockbench",
"parent": "minecraft:block/block",
"textures": {
"particle": "anvilcraft:block/discharger",
"side": "anvilcraft:block/discharger",
"bottom": "anvilcraft:block/discharger_bottom",
"top": "anvilcraft:block/discharger_top"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 4, 16],
"faces": {
"north": {"uv": [0, 12, 16, 16], "texture": "#side"},
"east": {"uv": [0, 12, 16, 16], "texture": "#side"},
"south": {"uv": [0, 12, 16, 16], "texture": "#side"},
"west": {"uv": [0, 12, 16, 16], "texture": "#side"},
"up": {"uv": [0, 0, 16, 16], "texture": "#bottom"},
"down": {"uv": [0, 0, 16, 16], "texture": "#bottom", "cullface": "down"}
}
},
{
"from": [2, 14, 2],
"to": [14, 16, 14],
"faces": {
"north": {"uv": [2, 0, 14, 2], "texture": "#side"},
"east": {"uv": [2, 0, 14, 2], "texture": "#side"},
"south": {"uv": [2, 0, 14, 2], "texture": "#side"},
"west": {"uv": [2, 0, 14, 2], "texture": "#side"},
"up": {"uv": [2, 2, 14, 14], "texture": "#bottom"},
"down": {"uv": [2, 2, 14, 14], "texture": "#bottom"}
}
},
{
"from": [3, 4, 3],
"to": [13, 5, 13],
"faces": {
"north": {"uv": [3, 11, 13, 12], "texture": "#side"},
"east": {"uv": [3, 11, 13, 12], "texture": "#side"},
"south": {"uv": [3, 11, 13, 12], "texture": "#side"},
"west": {"uv": [3, 11, 13, 12], "texture": "#side"},
"up": {"uv": [3, 3, 13, 13], "texture": "#top"}
}
},
{
"from": [3, 13, 3],
"to": [13, 14, 13],
"faces": {
"north": {"uv": [3, 2, 13, 3], "texture": "#side"},
"east": {"uv": [3, 2, 13, 3], "texture": "#side"},
"south": {"uv": [3, 2, 13, 3], "texture": "#side"},
"west": {"uv": [3, 2, 13, 3], "texture": "#side"},
"down": {"uv": [3, 3, 13, 13], "texture": "#top"}
}
},
{
"from": [6, 5, 6],
"to": [10, 13, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [6, 3, 10, 11], "texture": "#side"},
"east": {"uv": [6, 3, 10, 11], "texture": "#side"},
"south": {"uv": [10, 3, 6, 11], "texture": "#side"},
"west": {"uv": [6, 3, 10, 11], "texture": "#side"}
}
}
]
}
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.
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 6dd1e12

Please sign in to comment.