-
-
Save Kaupenjoe/ee660c471c8aac5b0fa594146e1dc082 to your computer and use it in GitHub Desktop.
The "Solution" files for the Challenge in the Custom Recipes video
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static final RegistryObject<Block> AMETHYST_BLOCK = registerBlock("amethyst_block", | |
() -> new Block(AbstractBlock.Properties.create(Material.ROCK) | |
.harvestLevel(2).setRequiresTool().harvestTool(ToolType.PICKAXE).hardnessAndResistance(8f))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variants": { | |
"": { "model": "tutorialmod:block/amethyst_block" } | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "minecraft:block", | |
"pools": [ | |
{ | |
"rolls": 1, | |
"entries": [ | |
{ | |
"type": "minecraft:item", | |
"name": "tutorialmod:amethyst_block" | |
} | |
] | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parent": "block/cube_all", | |
"textures": { | |
"all": "tutorialmod:block/amethyst_block" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parent": "tutorialmod:block/amethyst_block" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "minecraft:crafting_shaped", | |
"pattern": [ | |
"###", | |
"###", | |
"###" | |
], | |
"key": { | |
"#": { | |
"item": "tutorialmod:amethyst" | |
} | |
}, | |
"result": { | |
"item": "tutorialmod:amethyst_block" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "minecraft:crafting_shapeless", | |
"ingredients": [ | |
{ | |
"item": "tutorialmod:amethyst_block" | |
} | |
], | |
"result": { | |
"item": "tutorialmod:amethyst", | |
"count": 9 | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "minecraft:blasting", | |
"ingredient": { | |
"item": "tutorialmod:amethyst_ore" | |
}, | |
"result": "tutorialmod:amethyst", | |
"experience": 0.1, | |
"cookingtime": 100 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "minecraft:smelting", | |
"ingredient": { | |
"item": "tutorialmod:amethyst_ore" | |
}, | |
"result": "tutorialmod:amethyst", | |
"experience": 0.1, | |
"cookingtime": 200 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment