simplified-mojang-jsons 0.0.15 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -227225,7 +227225,7 @@ var ResourceMaterialEntityBuilder = class {
|
|
|
227225
227225
|
return this;
|
|
227226
227226
|
}
|
|
227227
227227
|
convertToJSON(stringify) {
|
|
227228
|
-
const materials = {};
|
|
227228
|
+
const materials = { version: "1.0.0" };
|
|
227229
227229
|
for (const { idMaterial, idMaterialReference, variants, ...rest } of this.materialsData ?? []) {
|
|
227230
227230
|
const finalId = idMaterialReference ? `${idMaterial}:${idMaterialReference}` : idMaterial;
|
|
227231
227231
|
materials[finalId] = {
|