Created
November 30, 2019 14:12
-
-
Save LatvianModder/d1e50a87381174466b9d441d2d09bb72 to your computer and use it in GitHub Desktop.
KubeJS 1.12.2 Recipes
This file contains hidden or 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
// This script replaces beacon recipe with new one | |
// Listen to Crafing Table recipe event | |
events.listen('recipes.crafting_table', function (event) { | |
// Remove Beacon recipe | |
event.removeID('minecraft:beacon') | |
// Add new Beacon recipe. new_beacon is the ID of recipe, minecraft:beacon is the item | |
event.addShaped('new_beacon', 'minecraft:beacon', ['CGC', 'GSG', 'CGC'], { | |
G: 'ore:blockGlass', // And blockGlass | |
S: 'ore:netherStar', // Any netherStar | |
C: [{ item: 'minecraft:coal', data: 1 }, 'minecraft:carrot'] // Charcoal or carrot | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment