Skip to content

Commit

Permalink
feat: models
Browse files Browse the repository at this point in the history
  • Loading branch information
Zepalesque committed Jun 2, 2024
1 parent 2abb9f6 commit 7820987
Show file tree
Hide file tree
Showing 28 changed files with 1,060 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/zepalesque/redux/Redux.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public void packSetup(AddPackFindersEvent event) {
PackMetadataSection metadata = new PackMetadataSection(Component.translatable("pack.aether_redux.tintable_grass.description"), SharedConstants.getCurrentVersion().getPackVersion(PackType.CLIENT_RESOURCES));
event.addRepositorySource((source) ->
source.accept(Pack.create(
"builtin/redux/tintable_grass",
"builtin/redux/resource/tintable_grass",
Component.translatable("pack.aether_redux.tintable_grass"),
false,
new PathPackResources.PathResourcesSupplier(resourcePath, true),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"credit": "Made with Blockbench",
"ambientocclusion": false,
"textures": {
"particle": "#cross"
},
"elements": [
{
"name": "overlay",
"from": [0.8, 0, 8],
"to": [15.2, 16, 8],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#cross", "forge_data": { "block_light": 15, "sky_light": 15 } },
"south": {"uv": [0, 0, 16, 16], "texture": "#cross", "forge_data": { "block_light": 15, "sky_light": 15 } }
}
},
{
"name": "overlay",
"from": [8, 0, 0.8],
"to": [8, 16, 15.2],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"east": {"uv": [0, 0, 16, 16], "texture": "#cross", "forge_data": { "block_light": 15, "sky_light": 15 } },
"west": {"uv": [0, 0, 16, 16], "texture": "#cross", "forge_data": { "block_light": 15, "sky_light": 15 } }
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"credit": "Made with Blockbench",
"ambientocclusion": false,
"textures": {
"particle": "#overlay"
},
"elements": [
{
"from": [0.8, 0, 8],
"to": [15.2, 16, 8],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#cross"},
"south": {"uv": [0, 0, 16, 16], "texture": "#cross"}
}
},
{
"name": "overlay",
"from": [0.8, 0, 8],
"to": [15.2, 16, 8],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#overlay", "forge_data": { "block_light": 15, "sky_light": 15 } },
"south": {"uv": [0, 0, 16, 16], "texture": "#overlay", "forge_data": { "block_light": 15, "sky_light": 15 } }
}
},
{
"from": [8, 0, 0.8],
"to": [8, 16, 15.2],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"east": {"uv": [0, 0, 16, 16], "texture": "#cross"},
"west": {"uv": [0, 0, 16, 16], "texture": "#cross"}
}
},
{
"name": "overlay",
"from": [8, 0, 0.8],
"to": [8, 16, 15.2],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"east": {"uv": [0, 0, 16, 16], "texture": "#overlay", "forge_data": { "block_light": 15, "sky_light": 15 } },
"west": {"uv": [0, 0, 16, 16], "texture": "#overlay", "forge_data": { "block_light": 15, "sky_light": 15 } }
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"ambientocclusion": true,
"textures": {
"particle": "#cross"
},
"elements": [
{ "from": [ 0.8, 0, 8 ],
"to": [ 15.2, 16, 8 ],
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
"shade": false,
"faces": {
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" },
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" }
}
},
{ "from": [ 8, 0, 0.8 ],
"to": [ 8, 16, 15.2 ],
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
"shade": false,
"faces": {
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" },
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" }
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"credit": "Made with Blockbench",
"ambientocclusion": false,
"textures": {
"particle": "#overlay"
},
"elements": [
{
"from": [0.8, 0, 8],
"to": [15.2, 16, 8],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#cross", "tintindex": 1},
"south": {"uv": [0, 0, 16, 16], "texture": "#cross", "tintindex": 1}
}
},
{
"name": "glow",
"from": [0.8, 0, 8],
"to": [15.2, 16, 8],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#glow", "forge_data": { "block_light": 15, "sky_light": 15 } },
"south": {"uv": [0, 0, 16, 16], "texture": "#glow", "forge_data": { "block_light": 15, "sky_light": 15 } }
}
},
{
"name": "overlay",
"from": [0.8, 0, 8],
"to": [15.2, 16, 8],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#overlay"},
"south": {"uv": [0, 0, 16, 16], "texture": "#overlay"}
}
},
{
"from": [8, 0, 0.8],
"to": [8, 16, 15.2],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"east": {"uv": [0, 0, 16, 16], "texture": "#cross", "tintindex": 1},
"west": {"uv": [0, 0, 16, 16], "texture": "#cross", "tintindex": 1}
}
},
{
"name": "glow",
"from": [8, 0, 0.8],
"to": [8, 16, 15.2],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"east": {"uv": [0, 0, 16, 16], "texture": "#glow", "forge_data": { "block_light": 15, "sky_light": 15 } },
"west": {"uv": [0, 0, 16, 16], "texture": "#glow", "forge_data": { "block_light": 15, "sky_light": 15 } }
}
},
{
"name": "overlay",
"from": [8, 0, 0.8],
"to": [8, 16, 15.2],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"east": {"uv": [0, 0, 16, 16], "texture": "#overlay" },
"west": {"uv": [0, 0, 16, 16], "texture": "#overlay" }
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"credit": "Made with Blockbench",
"ambientocclusion": false,
"textures": {
"particle": "#overlay"
},
"elements": [
{
"from": [0.8, 0, 8],
"to": [15.2, 16, 8],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#cross", "tintindex": 1},
"south": {"uv": [0, 0, 16, 16], "texture": "#cross", "tintindex": 1}
}
},
{
"name": "overlay",
"from": [0.8, 0, 8],
"to": [15.2, 16, 8],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#overlay", "forge_data": { "block_light": 15, "sky_light": 15 } },
"south": {"uv": [0, 0, 16, 16], "texture": "#overlay", "forge_data": { "block_light": 15, "sky_light": 15 } }
}
},
{
"from": [8, 0, 0.8],
"to": [8, 16, 15.2],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"east": {"uv": [0, 0, 16, 16], "texture": "#cross", "tintindex": 1},
"west": {"uv": [0, 0, 16, 16], "texture": "#cross", "tintindex": 1}
}
},
{
"name": "overlay",
"from": [8, 0, 0.8],
"to": [8, 16, 15.2],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"east": {"uv": [0, 0, 16, 16], "texture": "#overlay", "forge_data": { "block_light": 15, "sky_light": 15 } },
"west": {"uv": [0, 0, 16, 16], "texture": "#overlay", "forge_data": { "block_light": 15, "sky_light": 15 } }
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"credit": "Made with Blockbench",
"ambientocclusion": false,
"textures": {
"particle": "#overlay"
},
"elements": [
{
"from": [0.8, 0, 8],
"to": [15.2, 16, 8],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#cross", "tintindex": 1},
"south": {"uv": [0, 0, 16, 16], "texture": "#cross", "tintindex": 1}
}
},
{
"name": "overlay",
"from": [0.8, 0, 8],
"to": [15.2, 16, 8],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#overlay" },
"south": {"uv": [0, 0, 16, 16], "texture": "#overlay" }
}
},
{
"from": [8, 0, 0.8],
"to": [8, 16, 15.2],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"east": {"uv": [0, 0, 16, 16], "texture": "#cross", "tintindex": 1},
"west": {"uv": [0, 0, 16, 16], "texture": "#cross", "tintindex": 1}
}
},
{
"name": "overlay",
"from": [8, 0, 0.8],
"to": [8, 16, 15.2],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"east": {"uv": [0, 0, 16, 16], "texture": "#overlay" },
"west": {"uv": [0, 0, 16, 16], "texture": "#overlay" }
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parent": "block/thin_block",
"textures": {
"particle": "#block"
},
"elements": [
{ "from": [ 0, 0, 0 ],
"to": [ 16, 1, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#block", "cullface": "down" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#block" },
"north": { "uv": [ 0, 15, 16, 16 ], "texture": "#block", "cullface": "north" },
"south": { "uv": [ 0, 15, 16, 16 ], "texture": "#block", "cullface": "south" },
"west": { "uv": [ 0, 15, 16, 16 ], "texture": "#block", "cullface": "west" },
"east": { "uv": [ 0, 15, 16, 16 ], "texture": "#block", "cullface": "east" }
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parent": "block/thin_block",
"textures": {
"particle": "#block"
},
"elements": [
{ "from": [ 0, 0, 0 ],
"to": [ 16, 10, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#block", "cullface": "down" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#block" },
"north": { "uv": [ 0, 6, 16, 16 ], "texture": "#block", "cullface": "north" },
"south": { "uv": [ 0, 6, 16, 16 ], "texture": "#block", "cullface": "south" },
"west": { "uv": [ 0, 6, 16, 16 ], "texture": "#block", "cullface": "west" },
"east": { "uv": [ 0, 6, 16, 16 ], "texture": "#block", "cullface": "east" }
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parent": "block/thin_block",
"textures": {
"particle": "#block"
},
"elements": [
{ "from": [ 0, 0, 0 ],
"to": [ 16, 11, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#block", "cullface": "down" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#block" },
"north": { "uv": [ 0, 5, 16, 16 ], "texture": "#block", "cullface": "north" },
"south": { "uv": [ 0, 5, 16, 16 ], "texture": "#block", "cullface": "south" },
"west": { "uv": [ 0, 5, 16, 16 ], "texture": "#block", "cullface": "west" },
"east": { "uv": [ 0, 5, 16, 16 ], "texture": "#block", "cullface": "east" }
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parent": "block/thin_block",
"textures": {
"particle": "#block"
},
"elements": [
{ "from": [ 0, 0, 0 ],
"to": [ 16, 12, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#block", "cullface": "down" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#block" },
"north": { "uv": [ 0, 4, 16, 16 ], "texture": "#block", "cullface": "north" },
"south": { "uv": [ 0, 4, 16, 16 ], "texture": "#block", "cullface": "south" },
"west": { "uv": [ 0, 4, 16, 16 ], "texture": "#block", "cullface": "west" },
"east": { "uv": [ 0, 4, 16, 16 ], "texture": "#block", "cullface": "east" }
}
}
]
}
Loading

0 comments on commit 7820987

Please sign in to comment.