Minecraft Wiki
Advertisement

Cette page est en cours de traduction en Français.
Gear (item)
L'écriture de cette page est en cours, votre aide est la bienvenue 
Nous vous remercions de contribuer à la création de cet page.
La page de discussion peut suggérer des idées.

Cette page étant en cours de traduction et la rédaction de la page originale étant en cours, utiliser la version englaise est recommandé pour l'instant.

Les mondes personnalisés sont des types de monde dont la génération des dimensions peut être modifiée et auxquels il est possible d'ajouter de nouvelles dimensions. Ils peuvent être modifiés en utilisant des fichiers au format JSON

Accès

La génération de mondes personnalisés utilise des fichiers JSON, qui nécessitent d'être importés avant la création du monde.

Dans le menu de création de monde, allez dans "Plus d'options" et sélectionnez l'option "Importer un monde". Ensuite, sélectionnez un fichier JSON de génération de monde. Un écran apparaît, avertissant l'utilisateur que la création de mondes personnalisés est une fonctionnalité expérimentale. Cliquez sur "Ok" pour continuer.

Le seul moyen d'accéder aux dimensions ajoutées est par l'utilisation de commandes, telles que /execute in <nom de la dimension> run tp @s ~ ~ ~, qui va téléporter le joueur vers la dimension spécifiée (voir Format JSON).

Format JSON

Cette section est en cours de rédaction en anglais et sera traduite lors-ce que la version anglaise sera terminée, le texte ci-dessous est celui du 22/05/2020


  • The root tag.

    •  bonus_chest: Can be true or false. Whether the world has a bonus chest or not (equivalent to bonus chest option).

    •  generate_features: Can be true or false. Whether structures should be generated or not (equivalent to generate structures option).

    •  seed: The numerical seed of the world.

    •  legacy_custom_options: The custom world preset that was used to generate the world when it was an old customized world. Only exists for old customized worlds.

    •  dimensions: A list of the dimensions in this world where the key is the namespace id of the dimension.

      • A dimension. The dimensions minecraft:overworld, minecraft:the_nether and minecraft:the_end are required for a well functioning world. Any other namespaced ID is allowed for custom dimensions.


        •  type: This can be a list of options for the dimensions OR the namespace id of one of the default dimensions as a string, the dimensions will the use the settings of the specified dimension. Note: if the same namespace id of a default dimension is used in multiple dimensions, the game will crash upon generation.

          •  ultrawarm: Can be true or false. Whether the dimensions behaves like the nether (water evaporates and sponges dry) or not.Modèle:Needs testing

          •  natural: Can be true or false.Modèle:Needs testing

          •  shrunk: Can be true or false. Determines whether the dimension is treated as eight meters per block like in the Nether.Modèle:Needs testing

          •  has_skylight: Can be true or false. Whether the dimension has skylight access or not.

          •  has_ceiling: Can be true or false. Whether the dimension has a bedrock ceiling or not.

          •  ambient_light: How much light the dimension has, default is 0.5 in the demo file (for upper and lower bounds as well as precise effectModèle:Needs testing).


          •  fixed_time: Can be false or any integer from 0 to 24000. If this is set to a number, the time of the day will always be the specified value.Modèle:Needs testing However, in at least some worlds, false is interpreted as 0, giving constant sunrise. To ensure a normal time cycle, leave the attribute undefined (i.e, do not include it)

        •  generator: Generation settings used for that dimension.

          •  type: The ID of the generator.

          •  seed: The seed used to generate the dimension. In most cases, this is exactly the same as the world seed, but can be different and the dimension generated will be based upon this seed and not the world seed Modèle:Needs testing.
          • Other compounds (see below)

Required fields for each value of type
 type; every parent field requires all its children to be set.Modèle:More info

  • noise – Default generator settings. Used in minecraft:overworld, minecraft:the_nether and minecraft:the_end with the "World Type" option when creating a new world set to "Default".

    •  seed: The seed used to generate the dimension. In most cases, this is exactly the same as the world seed, but can be different and the dimension generated will be based upon this seed and not the world seed.Modèle:Needs testing


    •  settings: The shape of the terrain. Can be a string to use a preset, valid values are minecraft:overworld, minecraft:amplified, minecraft:nether, or minecraft:end (potentially incomplete list) or a compound with a list of options

      •  bedrock_roof_position: The y coordinate of the bedrock roof, if out of bounds (0-255) the roof will not appearModèle:Needs testing

      •  bedrock_floor_position: The y coordinate of the bedrock floor, similar to bedrock_roof_positionModèle:Needs testing

      •  sea_level: The sea level in this dimension between 0 and 255

      •  disable_mob_generation: Can be true or false. Modèle:Needs testing

      •  structures: Structure settings

        •  structures: List of structures to use in this dimension

          •  <namespaced id>: The key for this field should be the namespaced id of a structure, a list is available here (page needs updating) (all possible values are not required, omitting one will cause it to not appear in this dimension)

            •  spacing:Spacing between structures, unit? (probably chunks), min, max or average?Modèle:Needs testing

            •  separation:Modèle:Needs testing (number)

            •  salt:Modèle:Needs testing (number)

      •  noise: Parameters for world generation

        •  top_slide:Modèle:Needs testing

          •  target:Modèle:Needs testing (integer)

          •  size:Modèle:Needs testing (integer)

          •  offset:Modèle:Needs testing (integer)

        •  bottom_slide:Modèle:Needs testing

          •  target:Modèle:Needs testing (integer)

          •  size:Modèle:Needs testing (integer)

          •  offset:Modèle:Needs testing (integer)

        •  sampling:Modèle:Needs testing

          •  xz_scale:Modèle:Needs testing (double)

          •  y_scale:Modèle:Needs testing (double)

          •  xz_factor:Modèle:Needs testing(double)

          •  y_factorModèle:Needs testing(double)

        •  size_vertical:Modèle:Needs testing (integer)

        •  size_horizontal: modifier of horizontal chunk's size (north-south and east-west directions) Modèle:Needs testing (integer)

        •  height:Modèle:Needs testing (integer)

        •  density_factor:Modèle:Needs testing (double)

        •  density_offset:Modèle:Needs testing (double)

        •  simplex_surface_noise:Modèle:Needs testing (boolean)

        •  island_noise_override:Modèle:Needs testing(boolean) Is not necessary for a functioning dimension.

      •  default_block: the block that appears below the top blocks of the world

        •  Name: Id of the block

        •  Properties: Block states

          •  state: A block state key and its value.

      •  default_fluid

        •  Name: Id of the block

        •  Properties: Block states

          •  state: A block state key and its value.

    •  biome_source: Settings dictating which biomes and biome shapes.

      •  seed: The seed used for biome generation. In most cases, this is exactly the same as the dimension seed (and by extension the world seed), but can be different and the biome generation for this dimension will be based upon this seed and not the dimension seed.Modèle:Needs testing
      • Type specific tags (see
         type
        below).

      •  type: The type of biome generation. Arguments lie in the biome_source compound.
        • vanilla_layered: Default and large biome generation used in the overworld.

          •  large_biomes: Whether the biomes are large. True for biomes generation in the "Large Biomes" world type.

          •  legacy_biome_init_layer: Whether the world was default_1_1.Modèle:Needs testing
        • multi_noise: 3D biome generation used in the nether.Modèle:Needs testing

          •  preset: A preset of the set of biomes to be used.

          •  biomes: A list of biomes, including their likelihood.

            • : A biome and its likelihood

              •  biome: The biome

              •  parameters: The parametrs that determine a position's likelihood being that biome

                •  altitude:Modèle:Needs testing

                •  weirdness:Modèle:Needs testing

                •  offset:Modèle:Needs testing

                •  temparature: (This typo is necessary and is subject to change): Modèle:Needs testing

                •  humidity:Modèle:Needs testing
        • the_end: biome generation used in the end with biome minecraft:the_end in the center and other end biomes around.Modèle:Needs testing
        • fixed: a single biome.

          •  biome: The single biome to generate.
        • checkerboard: a biome generation where biomes are square (or close to square) and repeat along the diagonals.

          •  biomes: A list of biomes that repeat along the diagonals (can be more than 3).

          •  size: Determines the size if the squares on an exponential scale.
  • flatSuperflat world generation.

    •  settings: Superflat settings.

      •  layers: Layer settings.

        • : A superflat layer. This list is interpreted from top to bottom.

          •  height: The number of blocks in the layer.

          •  block: The block the layer is made of.

      •  biome: the single biome of the world

      •  structures: Structure settings

        •  structures: List of structures to use in this dimension

          •  <namespaced id>: The key for this field should be the namespaced id of a structure, a list is available here (page needs updating) (all possible values are not required, omitting one will cause it to not appear in this dimension)

            •  spacing:Spacing between structures, unit? (probably chunks), min, max or average?Modèle:Needs testing

            •  separation:Modèle:Needs testing (number)

            •  salt:Modèle:Needs testing (number)
  • debug - Debug world generation.

Détails

Cette section est en cours de rédaction en anglais et sera traduite lors-ce que la version anglaise sera terminée, le texte ci-dessous est celui du 22/05/2020

Modèle:Stub The base tags in the .json file are bonus_chest dimensions seed generate_features. Both bonus_chest generate_features are Boolean values and are, by default, set to false true respectively. The seed key corresponds to the world seed and is found throughout many compounds.

Dimensions

The dimensions compound houses all dimensions available in a given world. Each item in the dimensions compound must have a unique namespaced ID. This name corresponds to the dimension ID used in-game. By default, it has three items, corresponding to the three dimensions in-game: minecraft:overworld minecraft:the_nether minecraft:the_end. If any of these default dimensions are missing from the dimensions compound they will be with default settings.

Generator

The generator compound houses all of the options for the customizable generation of a dimension.

Biome source

The biome_source compound stores information about how biomes generate in that world. The contents of this compound always contains the type and seed keys, while the other keys inside this compound depend on the value of type.

When type is set to minecraft:vanilla_layered, the world contains the default biome generation for the Overworld. When type is set to minecraft:multi_noise, the preset key can also be set. Setting the preset to minecraft:nether will load Nether biomes. If the preset is not set, a lot of various different settings can be changed. See here for an explanation. End generation occurs using minecraft:the_end. By default, the Overworld has its type key set to minecraft:vanilla_layered and large_biomes set to false, the Nether has its type key set to minecraft:multi_noise with the preset key set to minecraft:nether (to load Nether biomes), and the End has its type key set to minecraft:the_end with no additional keys.

The large_biomes key can be set to true to set the world type to "Large Biomes".

Biomes

The biomes key is an array found inside the biome_source compound which contains the custom biome information of the world. It must exist only if the biome source type is set to minecraft:multi_noise. Each item in this array is a compound with two keys, parameters biome. The biome key corresponds to the biome name these settings are being applied to, while the parameters key is itself a compound that contains different options about the specified biome. These options are altitude weirdness offset temperature humidity and all have floating-point numerical values.

Settings

Many world settings can be changed in the settings compound of generator. Some settings are as follows:Modèle:More info


  • bedrock_roof_position

  • bedrock_floor_position

  • sea_level

  • disable_mob_generation

  • structures

Structures

In the structures compound many parameters of structures can be edited.Modèle:More info

Historique

Voir aussi : Personnalisé/Avant 1.13
Voir aussi : Buffet

Modèle:History Modèle:History Modèle:History Modèle:History Modèle:History Modèle:History Modèle:History Modèle:History Modèle:History Modèle:History Modèle:History Modèle:History


Liens Externes

Advertisement