your current location:首页 > news>1.18.2 Customized custom [BOT] Botania Minecraft Game

1.18.2 Customized custom [BOT] Botania Minecraft Game

2024-12-10 17:57:56|Myriagame |source:minecraft skins

This tutorial is set by the author's setting without permission.

In the existing tutorial, there is a tutorial that allows the high version of Ningning Mine or Orchids to link more mines, but the code provided by this tutorial is 1.19.2 style

I found that I couldn't use it directly during use (the format of 1.18.2 at the beginning is not enough)

After trying it for a long time, refer to Kubejs's wiki, and found the implementation method, and successfully loaded in the game

Code reference:

 Onevent ('recipes', event => {

event.custom ({{

"Type": "Botania: Orechid", // Here is the synthesis of Ningjin orchid.

"Input": "Minecraft: Stone", // The ore orchid generates the replacement block of minerals.

"OUTPUT": {

"Type": "Block", // The type of items generated, not found to use the mineral dictionary method for the time being (TAG can not work, it will report an error)

"Block": "Minecraft: Diamond_block" // The items generated by the item, you can use F3+H to open the high -level prompt box to view items, and then add it.

},

"Weight": 1 // Weight

})

})

The weight is how large you set, and set the proper probability according to the weight/total weight of the settings

Can pass

 Onevent ('recipes', event => {

event.remove ({Type: 'Botania: Orechid'})

})

Let's remove raw ore production of Ningjin orchid to control the production of minerals (remember to add manually after removing), change Botania: Orechid to Botania: Orechid_igNEM