Skip to content

Commit

Permalink
Anti Xray stone
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutoringo committed Dec 21, 2021
1 parent 0de4f02 commit 20427b6
Show file tree
Hide file tree
Showing 6 changed files with 95 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pack/assets/minecraft/blockstate/stone.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"variants": {
"": [
{
"model": "minecraft:block/stone"
},
{
"model": "minecraft:block/stone_mirrored"
},
{
"model": "minecraft:block/stone",
"y": 180
},
{
"model": "minecraft:block/stone_mirrored",
"y": 180
}
]
}
}
35 changes: 35 additions & 0 deletions pack/assets/minecraft/models/block/block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"gui_light": "side",
"display": {
"gui": {
"rotation": [ 30, 225, 0 ],
"translation": [ 0, 0, 0],
"scale":[ 0.625, 0.625, 0.625 ]
},
"ground": {
"rotation": [ 0, 0, 0 ],
"translation": [ 0, 3, 0],
"scale":[ 0.25, 0.25, 0.25 ]
},
"fixed": {
"rotation": [ 0, 0, 0 ],
"translation": [ 0, 0, 0],
"scale":[ 0.5, 0.5, 0.5 ]
},
"thirdperson_righthand": {
"rotation": [ 75, 45, 0 ],
"translation": [ 0, 2.5, 0],
"scale": [ 0.375, 0.375, 0.375 ]
},
"firstperson_righthand": {
"rotation": [ 0, 45, 0 ],
"translation": [ 0, 0, 0 ],
"scale": [ 0.40, 0.40, 0.40 ]
},
"firstperson_lefthand": {
"rotation": [ 0, 225, 0 ],
"translation": [ 0, 0, 0 ],
"scale": [ 0.40, 0.40, 0.40 ]
}
}
}
16 changes: 16 additions & 0 deletions pack/assets/minecraft/models/block/cube.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parent": "block/block",
"elements": [
{ "from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"down": { "texture": "#down", "cullface": "down" },
"up": { "texture": "#up", "cullface": "up" },
"north": { "texture": "#north", "cullface": "north" },
"south": { "texture": "#south", "cullface": "south" },
"west": { "texture": "#west", "cullface": "west" },
"east": { "texture": "#east", "cullface": "east" }
}
}
]
}
12 changes: 12 additions & 0 deletions pack/assets/minecraft/models/block/cube_all.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parent": "block/cube",
"textures": {
"particle": "#all",
"down": "#all",
"up": "#all",
"north": "#all",
"east": "#all",
"south": "#all",
"west": "#all"
}
}
6 changes: 6 additions & 0 deletions pack/assets/minecraft/models/block/stone.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "minecraft:block/stone"
}
}
6 changes: 6 additions & 0 deletions pack/assets/minecraft/models/block/stone_mirrored.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_mirrored_all",
"textures": {
"all": "minecraft:block/stone"
}
}

0 comments on commit 20427b6

Please sign in to comment.