Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
KubeJS 1.12.2 Recipes
// This script replaces beacon recipe with new one
// Listen to Crafing Table recipe event
events.listen('recipes.crafting_table', function (event) {
// Remove Beacon recipe
// 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
You can’t perform that action at this time.