your current location:首页 > news>Cobblegenmod Guide Cobblegen Minecraft Game

Cobblegenmod Guide Cobblegen Minecraft Game

2024-12-10 17:46:08|Myriagame |source:minecraft skins

It is indicated that the tutorial is Xiaobaixiang. You can read file examples with a certain code and English foundation.

Note: The game version is 1.18.2, and the MOD version is V1.9.I have not operated other versions.

Not much to say, the tutorial is as follows:

Run the game once after installing the MOD,

You can find Cobblegen.json5 under the config folder.

You can open it with a notepad or other text editors. This is the eye. You can delete it after seeing it.

 {{

// Default Generators // The default generator (which can be understood as the genetic method), such as "Cobblegen" is the way to generate round stones

// {{

// "id": "mod_id: block_id", // This is the generated block

// "Weight": 95.5, // Generate weight

// "Dimensions": [// Generate dimension, not necessary

// "MOD_ID: DIMENSION_ID",

// "MOD_ID: DIMENSION_ID"

//],,

// "ExcludedDimensions": [// Eliminate the generation dimension, not necessary

// "MOD_ID: DIMENSION_ID",

// "MOD_ID: DIMENSION_ID"

//],,

// "miny": 0, // minimum generating height is not necessary

// "maxy": 69 // The highest generation height is not necessary

//},

This is the template given by the author. I translated it. Of course, it may not be easy to understand.

Let me give an example:

 "Cobblegen": [// The formation of a round stone

{"ID": "Minecraft: Grass", // The block generated is grass. This ID can be seen in F3+H in the game. Just find a similar part.

"Weight": 100.0, // The weight generated is 100.0

"MINY": 0 // The minimum generation height is 0, not this default to -64, the last line has no commas, other lines need to have commas, this should be paid attention to

},

{{

"ID": "Minecraft: Cobbled_deepslate", // Deep rock

"Weight": 50.0, // The weight generated is 50.0 50.0

"Maxy": 0 // The highest generation height is 0, do not write this default to the highest

},

{{

"ID": "Minecraft: Bedrolk", // Battlestone

"Weight": 50.0, // Don't forget the comma here

"Dimensions": [[

"Minecraft: THE_END" // In the last ground, do not write this default full dimension, although the lower bounds can’t let it go

] // There is no comma at the end of a large bracket

}

],

Use the above code to replace the original "Cobblegen" to implement the content described later.

The same is true of StoneGen behind.

Emphasize some content

1. These symbols are all English characters, and Chinese characters will not be recognized.

2.// This symbol is useless to use the characters in the back. He is an annotation symbol. The computer will not identify (or it will be skipped). When you play yourself, you will not control it.Delete, do not delete.

3. There are two types of "Stonegen" and "BASALTGEN". They are all the same.

Here are some of the generation methods that surpass the original version, and the author also gives examples.

To say that beyond, there are some restrictions, which limits why the square must be blocking in the production position.

 // Custom Generators

// : {

// "MOD_ID: Modifier_block_id": [[

// {{

// "ID": "mod_id: block_id",

// "Weight": 95.5,

// "Dimensions": [[

// "MOD_ID: DIMENSION_ID",

// "MOD_ID: DIMENSION_ID"

//],,

// "Excludeddimensions": [

// "MOD_ID: DIMENSION_ID",

// "MOD_ID: DIMENSION_ID"

//],,

// "miny": 0,

// "maxy": 69

//},,

// ...

//]

//}

They are all the same as translated, and the instance is directly: In fact, it is also written by the MOD author, and it is opened by default. If you do n’t want it, you can delete it directly without affecting it.

 "Cobblegen": {// according to the formation of stones

"Minecraft: BEDROCK": [// Generate position as a base rock below

{{

"ID": "Minecraft: EMERALD_ORE", // Emerald, harm the following to check the translation "Weight": 2.0

},

{{

"ID": "Minecraft: Diamond_ore",

"Weight": 5.0

},

{{

"ID": "Minecraft: Lapis_ore",

"Weight": 8.0

},

{{

"ID": "Minecraft: Gold_ore",

"Weight": 10.0

},

{{

"ID": "Minecraft: Iron_ore",,

"Weight": 15.0

},

{{

"ID": "Minecraft: Coal_ore",

"Weight": 20.0},

{{

"ID": "Minecraft: Cobblestone",

"Weight": 40.0

}

]

},

This is basically the same as above, and you can also add "Maxy" restrictions. It is no problem to play with this high -level point.

There are also some noteworthy points (currently there is only one):

1. Do not let some Y values ​​be brushed without corresponding squares.This will lead to a flashback.

If you want some areas, you really can't flash the block, you can change the generated block to minecraft: Air

2. Stay for a while, think of it.

If you do n’t understand this tutorial, please ask the short review area.

If there is any shortcomings or even errors, please point out.