MicrosoftDocs / minecraft-creator

This is the repository for Minecraft Bedrock documentation.
Creative Commons Attribution 4.0 International
184 stars 132 forks source link

Sintaxis incorrecta #870

Closed akzule closed 4 months ago

akzule commented 4 months ago

La sintaxis del archivo features, el cuál contiene la sintaxis ore_feature, está mal representado. Es disfuncional y es una incongruencia en comparación con el paquete sample proporcionado por Microsoft en su github y men comparación con la documentación de referencia correspondiente a está característica.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

iconicNurdle commented 4 months ago

Translated question: The syntax of the features file, which contains the syntax ore_feature, is misrepresented. It is dysfunctional and is inconsistent compared to the sample package provided by Microsoft on its github and men compared to the reference documentation corresponding to this feature.

iconicNurdle commented 4 months ago

Fix: Actualicé esa sección para tener una característica más nueva con dos versiones diferentes: 1.13.0 y 1.21.10. Por favor, hágamelo saber si esto no ayuda.

Translation: I updated that section to have a newer feature with two different versions: 1.13.0 and 1.21.10. Please let me know if this does not help.

Ejemplo/Example:

Version 1.13.0

{
  "format_version": "1.13.0",
  "minecraft:scatter_feature": {
    "description": {
      "identifier": "example:scatter_flowers_feature"
    },
    "places_feature": "example:flower_feature",
    "iterations": 10,
    "scatter_chance": 50.0,
    "x": {
      "distribution": "uniform",
      "extent": [ 0, 15 ]
    },
    "y": 64,
    "z": {
      "distribution": "uniform",
      "extent": [ 0, 15 ]
    }
  }
}

Version 1.21.10

Uses "distribution" field to define the scattering settings.

{
  "format_version": "1.21.10",
  "minecraft:scatter_feature": {
    "description": {
      "identifier": "example:scatter_flowers_feature"
    },
    "places_feature": "example:flower_feature",
    "distribution": {
      "iterations": 10,
      "scatter_chance": 50.0,
      "x": {
        "distribution": "uniform",
        "extent": [ 0, 15 ]
      },
      "y": 64,
      "z": {
        "distribution": "uniform",
        "extent": [ 0, 15 ]
      }
    }
  }
}
akzule commented 4 months ago

No me estaba refiriendo al feature_rules. Fui muy específico y aún así no ví que me entendieran. Corrijan la sección que mencioné, no se mucho de Github.

El mar, 2 de jul. de 2024 12:34 p. m., Jill Headen @.***> escribió:

Fix: Actualicé esa sección para tener una característica más nueva con dos versiones diferentes: 1.13.0 y 1.21.10. Por favor, hágamelo saber si esto no ayuda.

Translation: I updated that section to have a newer feature with two different versions: 1.13.0 and 1.21.10. Please let me know if this does not help.

Ejemplo/Example:

Version 1.13.0

{ "format_version": "1.13.0", "minecraft:scatter_feature": { "description": { "identifier": "example:scatter_flowers_feature" }, "places_feature": "example:flower_feature", "iterations": 10, "scatter_chance": 50.0, "x": { "distribution": "uniform", "extent": [ 0, 15 ] }, "y": 64, "z": { "distribution": "uniform", "extent": [ 0, 15 ] } } }

Version 1.21.10

Uses "distribution" field to define the scattering settings.

{ "format_version": "1.21.10", "minecraft:scatter_feature": { "description": { "identifier": "example:scatter_flowers_feature" }, "places_feature": "example:flower_feature", "distribution": { "iterations": 10, "scatter_chance": 50.0, "x": { "distribution": "uniform", "extent": [ 0, 15 ] }, "y": 64, "z": { "distribution": "uniform", "extent": [ 0, 15 ] } } } }

— Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/minecraft-creator/issues/870#issuecomment-2203918615, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK47MMOJOUX2E7V2RJ4DY33ZKLQA3AVCNFSM6AAAAABKH4MNK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBTHEYTQNRRGU . You are receiving this because you authored the thread.Message ID: @.***>