Skip to content

Commit

Permalink
added stonecutter recipes for every step type
Browse files Browse the repository at this point in the history
  • Loading branch information
SalTeyJek004 committed May 9, 2022
1 parent bb1e7a0 commit 4ace2e5
Show file tree
Hide file tree
Showing 77 changed files with 709 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void onInitializeClient() {

//Misc Variants
BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.BRICK_STEPS, RenderLayer.getCutout());
BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.ENDSTONE_BRICK_STEPS, RenderLayer.getCutout());
BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.END_STONE_BRICK_STEPS, RenderLayer.getCutout());
BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.PRISMARINE_STEPS, RenderLayer.getCutout());
BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.DARK_PRISMARINE_STEPS, RenderLayer.getCutout());
BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.PRISMARINE_BRICK_STEPS, RenderLayer.getCutout());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public class ModBlocks {
new ModStepsBlock(Blocks.PRISMARINE_BRICKS.getDefaultState(), AbstractBlock.Settings.copy(Blocks.PRISMARINE_BRICKS)), ModItemGroup.STEPS);
public static final Block DARK_PRISMARINE_STEPS = registerBlock("dark_prismarine_steps",
new ModStepsBlock(Blocks.DARK_PRISMARINE.getDefaultState(), AbstractBlock.Settings.copy(Blocks.DARK_PRISMARINE)), ModItemGroup.STEPS);
public static final Block ENDSTONE_BRICK_STEPS = registerBlock("endstone_brick_steps",
public static final Block END_STONE_BRICK_STEPS = registerBlock("end_stone_brick_steps",
new ModStepsBlock(Blocks.END_STONE_BRICKS.getDefaultState(), AbstractBlock.Settings.copy(Blocks.END_STONE_BRICKS)), ModItemGroup.STEPS);

private static Block registerBlock(String name, Block block, ItemGroup group) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/assets/stepsmod/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"block.stepsmod.polished_deepslate_steps": "Polished Deepslate Steps",
"block.stepsmod.cobbled_deepslate_steps": "Cobbled Deepslate Steps",

"block.stepsmod.endstone_brick_steps": "Endstone Brick Steps",
"block.stepsmod.end_stone_brick_steps": "Endstone Brick Steps",
"block.stepsmod.dark_prismarine_steps": "Dark Prismarine Steps",
"block.stepsmod.prismarine_brick_steps": "Prismarine Brick Steps",
"block.stepsmod.prismarine_steps": "Prismarine Steps",
Expand Down
50 changes: 50 additions & 0 deletions src/main/resources/assets/stepsmod/models/block/double_steps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"textures": {
"particle": "#side"
},
"elements": [
{ "from": [ 8, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"up": { "uv": [ 8, 0, 16, 16 ], "texture": "#top"},
"down": { "uv": [ 8, 0, 16, 16 ], "texture": "#bottom"},
"north": { "uv": [ 0, 0, 8, 16 ], "texture": "#side"},
"south": { "uv": [ 8, 0, 16, 16 ], "texture": "#side"},
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#side"},
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#side"}
}
}
],
"gui_light": "front",
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 225, 0],
"scale": [0.625, 0.625, 0.625]
},
"fixed": {
"scale": [0.5, 0.5, 0.5]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"textures": {
"particle": "#side"
},
"elements": [
{ "from": [ 8, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"up": { "uv": [ 8, 0, 16, 16 ], "texture": "#top"},
"down": { "uv": [ 8, 0, 16, 16 ], "texture": "#bottom"},
"north": { "uv": [ 0, 0, 8, 16 ], "texture": "#side"},
"south": { "uv": [ 8, 0, 16, 16 ], "texture": "#side"},
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#side"},
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#side"}
}
},
{ "from": [ 0, 0, 8 ],
"to": [ 8, 16, 16 ],
"faces": {
"up": { "uv": [ 0, 8, 8, 16 ], "texture": "#top"},
"down": { "uv": [ 0, 0, 8, 8 ], "texture": "#bottom"},
"north": { "uv": [ 8, 0, 16, 16 ], "texture": "#side"},
"south": { "uv": [ 0, 0, 8, 16 ], "texture": "#side"},
"west": { "uv": [ 8, 0, 16, 16 ], "texture": "#side"}
}
}
],
"gui_light": "front",
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 225, 0],
"scale": [0.625, 0.625, 0.625]
},
"fixed": {
"scale": [0.5, 0.5, 0.5]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"textures": {
"particle": "#side"
},
"elements": [
{ "from": [ 8, 0, 8 ],
"to": [ 16, 16, 16 ],
"faces": {
"up": { "uv": [ 8, 8, 16, 16 ], "texture": "#top"},
"down": { "uv": [ 8, 0, 16, 8 ], "texture": "#bottom"},
"north": { "uv": [ 0, 0, 8, 16 ], "texture": "#side"},
"south": { "uv": [ 8, 0, 16, 16 ], "texture": "#side"},
"west": { "uv": [ 8, 0, 16, 16 ], "texture": "#side"},
"east": { "uv": [ 0, 0, 8, 16 ], "texture": "#side"}
}
}
],
"gui_light": "front",
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 225, 0],
"scale": [0.625, 0.625, 0.625]
},
"fixed": {
"scale": [0.5, 0.5, 0.5]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parent": "stepsmod:block/double_steps",
"textures": {
"bottom": "minecraft:block/red_sandstone_bottom",
"top": "minecraft:block/red_sandstone_top",
"side": "minecraft:block/red_sandstone"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parent": "stepsmod:block/double_steps_inner",
"textures": {
"bottom": "minecraft:block/red_sandstone_bottom",
"top": "minecraft:block/red_sandstone_top",
"side": "minecraft:block/red_sandstone"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parent": "stepsmod:block/double_steps_outer",
"textures": {
"bottom": "minecraft:block/red_sandstone_bottom",
"top": "minecraft:block/red_sandstone_top",
"side": "minecraft:block/red_sandstone"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parent": "stepsmod:block/double_steps",
"textures": {
"bottom": "minecraft:block/sandstone_bottom",
"top": "minecraft:block/sandstone_top",
"side": "minecraft:block/sandstone"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parent": "stepsmod:block/double_steps_inner",
"textures": {
"bottom": "minecraft:block/sandstone_bottom",
"top": "minecraft:block/sandstone_top",
"side": "minecraft:block/sandstone"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parent": "stepsmod:block/double_steps_outer",
"textures": {
"bottom": "minecraft:block/sandstone_bottom",
"top": "minecraft:block/sandstone_top",
"side": "minecraft:block/sandstone"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"stepsmod:prismarine_steps",
"stepsmod:prismarine_brick_steps",
"stepsmod:dark_prismarine_steps",
"stepsmod:endstone_brick_steps"
"stepsmod:end_stone_brick_steps"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:andesite"
},
"result": "stepsmod:andesite_steps",
"count": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:blackstone"
},
"result": "stepsmod:blackstone_steps",
"count": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:bricks"
},
"result": "stepsmod:brick_steps",
"count": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:cobbled_deepslate"
},
"result": "stepsmod:cobbled_deepslate_steps",
"count": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:cobblestone"
},
"result": "stepsmod:cobblestone_steps",
"count": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:copper_block"
},
"result": "stepsmod:cut_copper_steps",
"count": 16
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:cut_copper"
},
"result": "stepsmod:cut_copper_steps",
"count": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:dark_prismarine"
},
"result": "stepsmod:dark_prismarine_steps",
"count": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:cobbled_deepslate"
},
"result": "stepsmod:deepslate_brick_steps",
"count": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:deepslate_bricks"
},
"result": "stepsmod:deepslate_brick_steps",
"count": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:polished_deepslate"
},
"result": "stepsmod:deepslate_brick_steps",
"count": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:cobbled_deepslate"
},
"result": "stepsmod:deepslate_tile_steps",
"count": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:deepslate_bricks"
},
"result": "stepsmod:deepslate_tile_steps",
"count": 4
}
Loading

0 comments on commit 4ace2e5

Please sign in to comment.