@nodecraft/rendermite 1.7.4 → 1.9.0

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.
Files changed (164) hide show
  1. package/README.md +8 -1
  2. package/dist/atlas/registry.d.ts +3 -3
  3. package/dist/atlas/sources.d.ts +1 -1
  4. package/dist/{atlas-pack-C56gzqAg.d.ts → atlas-pack-BUadroKy.d.ts} +1 -1
  5. package/dist/biomes-BGOF6gRM.js +1100 -0
  6. package/dist/biomes-CnnhDCnk.d.ts +59 -0
  7. package/dist/{blend-C5UYzink.d.ts → blend-mJAeQB3C.d.ts} +1 -1
  8. package/dist/block-behaviour-9Tj_GIUC.d.ts +632 -0
  9. package/dist/block-behaviour-D-SG2Xfp.js +155 -0
  10. package/dist/blocks/atlas-pack.d.ts +1 -1
  11. package/dist/blocks/biomes.d.ts +2 -2
  12. package/dist/blocks/biomes.js +2 -2
  13. package/dist/blocks/block-behaviour.d.ts +2 -0
  14. package/dist/blocks/block-behaviour.js +2 -0
  15. package/dist/blocks/block-entities.d.ts +3 -3
  16. package/dist/blocks/cli.js +1 -1
  17. package/dist/blocks/datapack.d.ts +2 -0
  18. package/dist/blocks/datapack.js +2 -0
  19. package/dist/blocks/ender-storage.d.ts +2 -2
  20. package/dist/blocks/entities.d.ts +3 -3
  21. package/dist/blocks/entity-geo.d.ts +1 -1
  22. package/dist/blocks/entity-models.d.ts +4 -4
  23. package/dist/blocks/entity-models.js +1 -1
  24. package/dist/blocks/entity-sizes.d.ts +25 -0
  25. package/dist/blocks/entity-sizes.js +2 -0
  26. package/dist/blocks/export.d.ts +1 -1
  27. package/dist/blocks/export.js +1 -1
  28. package/dist/blocks/game-rules.d.ts +2 -0
  29. package/dist/blocks/game-rules.js +2 -0
  30. package/dist/blocks/geo-blocks.d.ts +2 -2
  31. package/dist/blocks/item-sprites.d.ts +4 -4
  32. package/dist/blocks/light-bytecode.d.ts +2 -0
  33. package/dist/blocks/light-bytecode.js +2 -0
  34. package/dist/blocks/light-eval.d.ts +2 -0
  35. package/dist/blocks/light-eval.js +2 -0
  36. package/dist/blocks/light.d.ts +48 -0
  37. package/dist/blocks/light.js +2 -0
  38. package/dist/blocks/obj-mesh.d.ts +1 -1
  39. package/dist/blocks/pack-format.d.ts +2 -2
  40. package/dist/blocks/sprite-sheet.d.ts +3 -3
  41. package/dist/blocks/states.d.ts +2 -0
  42. package/dist/blocks/states.js +2 -0
  43. package/dist/blocks/tints.d.ts +1 -1
  44. package/dist/{classfile-Bo7FUrrD.js → classfile-CiIDF3vc.js} +23 -1
  45. package/dist/{classfile-BdLIk4Pe.d.ts → classfile-CsLXlh5z.d.ts} +23 -0
  46. package/dist/{cli-DBNuCnry.js → cli-xBcMuKA3.js} +11 -5
  47. package/dist/cli.js +7 -7
  48. package/dist/datapack-CmEg0Vko.d.ts +15 -0
  49. package/dist/datapack-D6eH46ay.js +71 -0
  50. package/dist/{descriptor-JyXhfd-c.js → descriptor-Dz2cR-BH.js} +2 -2
  51. package/dist/{discovery-Cmir3QfC.d.ts → discovery-DWe_kX8W.d.ts} +1 -1
  52. package/dist/dynamic/generators.d.ts +1 -1
  53. package/dist/{encode-Br_vPrd8.d.ts → encode-BNEYHHR0.d.ts} +1 -1
  54. package/dist/entities/classfile.d.ts +1 -1
  55. package/dist/entities/classfile.js +1 -1
  56. package/dist/entities/geo-model.d.ts +1 -1
  57. package/dist/entities/inherit.d.ts +2 -2
  58. package/dist/entities/inherit.js +1 -1
  59. package/dist/entities/jar-classes.js +1 -1
  60. package/dist/entities/link.d.ts +2 -2
  61. package/dist/entities/link.js +1 -1
  62. package/dist/entities/mappings.d.ts +2 -2
  63. package/dist/entities/mappings.js +2 -2
  64. package/dist/entities/model-bytecode.d.ts +7 -2
  65. package/dist/entities/model-bytecode.js +2 -2
  66. package/dist/entities/model-code.d.ts +1 -1
  67. package/dist/entities/model-code.js +1 -1
  68. package/dist/{entity-models-DUKiHpn1.js → entity-models-BYAxrTsk.js} +5 -5
  69. package/dist/entity-sizes-CpO1gA7p.js +194 -0
  70. package/dist/{export-Ds1EelMa.js → export-CbG2Rx3i.js} +73 -4
  71. package/dist/{export-B8tPsf4K.d.ts → export-HEoqcV-Y.d.ts} +19 -2
  72. package/dist/{face-DqEd9G_U.d.ts → face-uWXECGNr.d.ts} +2 -2
  73. package/dist/game-rules-DuLlFc7o.js +104 -0
  74. package/dist/game-rules-ThvdDG3B.d.ts +16 -0
  75. package/dist/{generators-BnIzAftW.d.ts → generators-hu_vk10m.d.ts} +1 -1
  76. package/dist/{geo-C9QYeLVN.d.ts → geo-DsWwuC5o.d.ts} +4 -4
  77. package/dist/index.d.ts +20 -20
  78. package/dist/index.js +8 -8
  79. package/dist/{inherit-BYLi3Q28.js → inherit-BUn0Cve9.js} +2 -2
  80. package/dist/items/blockstate.d.ts +1 -1
  81. package/dist/items/discovery.d.ts +1 -1
  82. package/dist/{jar-B5iRZQeL.d.ts → jar-4Jg7ufWK.d.ts} +1 -1
  83. package/dist/{jar-W2cV2ZVO.js → jar-DvofBm71.js} +2 -2
  84. package/dist/{jar-classes-3GVCJZT7.js → jar-classes-0wqWbTax.js} +2 -2
  85. package/dist/light-CC3VMsjl.js +614 -0
  86. package/dist/light-bytecode-DYxb6pJk.js +1799 -0
  87. package/dist/light-eval-BsJJoSv4.js +23 -0
  88. package/dist/light-eval-DMjK6xnb.d.ts +13 -0
  89. package/dist/{link-5GmBLTzk.js → link-Cuhyrz07.js} +1 -1
  90. package/dist/{loader-DSir1-P0.d.ts → loader-BYyPIs9f.d.ts} +1 -1
  91. package/dist/{loader-59_eMa8e.d.ts → loader-C4gsX_wO.d.ts} +1 -1
  92. package/dist/{manager-exOIcdyx.d.ts → manager-Ct0dEOMg.d.ts} +6 -0
  93. package/dist/{manager-BNibYkmI.js → manager-D6zXmFrO.js} +6 -0
  94. package/dist/{mappings-BEPVaiwE.js → mappings-DEl_7xxQ.js} +94 -9
  95. package/dist/{mappings-DxX4KoZl.d.ts → mappings-DhOPQTgV.d.ts} +33 -2
  96. package/dist/{model-bytecode-B43uSqet.js → model-bytecode-VaLUQfGO.js} +2 -2
  97. package/dist/{model-code-BY44ao27.d.ts → model-code-Csc3bs3h.d.ts} +1 -1
  98. package/dist/{model-code-1Vuk-zj_.js → model-code-DbN2uVhp.js} +1 -1
  99. package/dist/models/loader.d.ts +1 -1
  100. package/dist/{models-CZjCOjs4.js → models-BsYA-NZg.js} +1 -1
  101. package/dist/mods/models.d.ts +1 -1
  102. package/dist/mods/models.js +1 -1
  103. package/dist/mods/prepare.d.ts +1 -1
  104. package/dist/mods/prepare.js +1 -1
  105. package/dist/mods/synthesize.d.ts +2 -2
  106. package/dist/mods/tints.d.ts +2 -2
  107. package/dist/mods/tints.js +1 -1
  108. package/dist/{obj-mesh-ydhVfLKs.d.ts → obj-mesh-CzL0lOlJ.d.ts} +2 -2
  109. package/dist/output/encode.d.ts +1 -1
  110. package/dist/pack.d.ts +7 -5
  111. package/dist/pack.js +2 -1
  112. package/dist/{pipeline-DFuQa8ZT.d.ts → pipeline-DuPF3sap.d.ts} +3 -3
  113. package/dist/{pipeline-BTlk9-s5.js → pipeline-Q_185kY6.js} +1 -1
  114. package/dist/{prepare-OS7wL3jv.d.ts → prepare-BPzsZI_S.d.ts} +1 -1
  115. package/dist/{prepare-6pH3CNpg.d.ts → prepare-Ce5SpR7Y.d.ts} +1 -1
  116. package/dist/{prepare-D49Gu4Lv.js → prepare-DkJkZXuQ.js} +2 -2
  117. package/dist/{prepare-Myd_ec4v.js → prepare-sj36BP90.js} +4 -4
  118. package/dist/{rasterizer-C2wgJZ6J.d.ts → rasterizer-DjnurUgD.d.ts} +1 -1
  119. package/dist/render/blend.d.ts +1 -1
  120. package/dist/render/compose.d.ts +2 -2
  121. package/dist/render/entity-fallback.d.ts +6 -6
  122. package/dist/render/face.d.ts +1 -1
  123. package/dist/render/fluid-bucket.d.ts +2 -2
  124. package/dist/render/geo.d.ts +1 -1
  125. package/dist/render/legacy-tints.d.ts +2 -2
  126. package/dist/render/obj.d.ts +5 -5
  127. package/dist/render/pipeline.d.ts +1 -1
  128. package/dist/render/pipeline.js +1 -1
  129. package/dist/render/rasterizer.d.ts +1 -1
  130. package/dist/render/renderer.d.ts +1 -1
  131. package/dist/render/tints.d.ts +1 -1
  132. package/dist/{renderer-DbUmTFDb.d.ts → renderer-QgROYvPv.d.ts} +5 -5
  133. package/dist/resources/descriptor.d.ts +1 -1
  134. package/dist/resources/descriptor.js +1 -1
  135. package/dist/resources/entity-textures.d.ts +2 -2
  136. package/dist/resources/jar.d.ts +1 -1
  137. package/dist/resources/jar.js +1 -1
  138. package/dist/resources/manager.d.ts +1 -1
  139. package/dist/resources/manager.js +1 -1
  140. package/dist/resources/synthetic.d.ts +1 -1
  141. package/dist/resources/zip-reader.js +1 -1
  142. package/dist/{run-Ctt_1iTd.js → run-5yX5KRiI.js} +4 -4
  143. package/dist/{run-CLjF0N2d.d.ts → run-CxB1qabg.d.ts} +2 -2
  144. package/dist/run.d.ts +1 -1
  145. package/dist/run.js +1 -1
  146. package/dist/{sources-e5D09Jz_.d.ts → sources-sFtealLJ.d.ts} +1 -1
  147. package/dist/states-BvoZA-ql.js +40 -0
  148. package/dist/states-OzneeCTU.d.ts +25 -0
  149. package/dist/{synthetic-B3R7mW9k.d.ts → synthetic-CWtFtAkR.d.ts} +1 -1
  150. package/dist/textures/loader.d.ts +1 -1
  151. package/dist/textures/overlay.d.ts +1 -1
  152. package/dist/{tints-uLl1CIkC.d.ts → tints-B0a1K11c.d.ts} +2 -2
  153. package/dist/{tints-BspVCz2G.js → tints-CZeyKzMv.js} +2 -2
  154. package/dist/{tints-CQX8a1F0.d.ts → tints-DwFmEkf3.d.ts} +2 -2
  155. package/dist/versions/legacy-reshape.d.ts +1 -1
  156. package/dist/versions/prepare.d.ts +1 -1
  157. package/dist/versions/prepare.js +1 -1
  158. package/dist/workers/render-worker.d.ts +2 -2
  159. package/dist/workers/render-worker.js +2 -2
  160. package/dist/{zip-reader-BSbJKUT1.js → zip-reader-onwEVMea.js} +4 -4
  161. package/package.json +6 -6
  162. package/dist/biomes-5ZwYxMYe.js +0 -384
  163. package/dist/biomes-CJDJQqJb.d.ts +0 -38
  164. package/dist/pack-format-Baoc_aSZ.d.ts +0 -328
@@ -0,0 +1,23 @@
1
+ //#region src/blocks/light-eval.ts
2
+ /**
3
+ * The light a block emits in the given state, 0–15.
4
+ *
5
+ * A case applies when every property it names has that value on the state; the first that does wins,
6
+ * and `default` answers for the rest. A block absent from `light.json` emits nothing, so `undefined`
7
+ * is a valid entry and answers 0.
8
+ */
9
+ function blockLightLevel(light, properties) {
10
+ if (light === void 0) return 0;
11
+ if (typeof light === "number") return light;
12
+ for (const entry of light.cases) {
13
+ let matches = true;
14
+ for (const [name, value] of Object.entries(entry.when)) if (properties?.[name] !== value) {
15
+ matches = false;
16
+ break;
17
+ }
18
+ if (matches) return entry.level;
19
+ }
20
+ return light.default;
21
+ }
22
+ //#endregion
23
+ export { blockLightLevel as t };
@@ -0,0 +1,13 @@
1
+ import { n as BlockProperties } from "./blockstate-eval-BzznRcVY.js";
2
+ import { j as BlockPackLight } from "./block-behaviour-9Tj_GIUC.js";
3
+ //#region src/blocks/light-eval.d.ts
4
+ /**
5
+ * The light a block emits in the given state, 0–15.
6
+ *
7
+ * A case applies when every property it names has that value on the state; the first that does wins,
8
+ * and `default` answers for the rest. A block absent from `light.json` emits nothing, so `undefined`
9
+ * is a valid entry and answers 0.
10
+ */
11
+ declare function blockLightLevel(light: BlockPackLight | undefined, properties: BlockProperties | undefined): number;
12
+ //#endregion
13
+ export { blockLightLevel as t };
@@ -1,4 +1,4 @@
1
- import { t as parseClassFile } from "./classfile-Bo7FUrrD.js";
1
+ import { t as parseClassFile } from "./classfile-CiIDF3vc.js";
2
2
  //#region src/entities/link.ts
3
3
  /**
4
4
  * Which class holds a given entity's geometry.
@@ -1,5 +1,5 @@
1
1
  import { n as ResourceLocator } from "./locator-jDbdUeTd.js";
2
- import { a as ResourceManager } from "./manager-exOIcdyx.js";
2
+ import { a as ResourceManager } from "./manager-Ct0dEOMg.js";
3
3
  import { c as ModelJson, n as DisplayTransformJson, o as ModelElementJson, t as DisplayPosition } from "./types-qlp3I8_-.js";
4
4
  //#region src/models/loader.d.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { n as ResourceLocator } from "./locator-jDbdUeTd.js";
2
- import { a as ResourceManager } from "./manager-exOIcdyx.js";
2
+ import { a as ResourceManager } from "./manager-Ct0dEOMg.js";
3
3
  //#region src/textures/loader.d.ts
4
4
  /** Structural interface for atlas resolvers (avoids a circular module edge). */
5
5
  interface AtlasResolverLike {
@@ -81,6 +81,12 @@ declare const ResourceKind: {
81
81
  readonly directory: "worldgen/biome";
82
82
  readonly extension: ".json";
83
83
  };
84
+ /** Any datapack JSON under data/<ns>/: tags, advancements, whatever the version ships as data. */
85
+ readonly data: {
86
+ readonly root: "data";
87
+ readonly directory: "";
88
+ readonly extension: ".json";
89
+ };
84
90
  };
85
91
  type ResourceKindName = keyof typeof ResourceKind;
86
92
  interface ResourceManager {
@@ -58,6 +58,12 @@ const ResourceKind = {
58
58
  root: "data",
59
59
  directory: "worldgen/biome",
60
60
  extension: ".json"
61
+ },
62
+ /** Any datapack JSON under data/<ns>/: tags, advancements, whatever the version ships as data. */
63
+ data: {
64
+ root: "data",
65
+ directory: "",
66
+ extension: ".json"
61
67
  }
62
68
  };
63
69
  /**
@@ -27,6 +27,38 @@ import { existsSync } from "node:fs";
27
27
  * than worked around.
28
28
  */
29
29
  const VERSION_MANIFEST = "https://launchermeta.mojang.com/mc/game/version_manifest_v2.json";
30
+ const PRIMITIVE_DESCRIPTORS = {
31
+ void: "V",
32
+ boolean: "Z",
33
+ byte: "B",
34
+ char: "C",
35
+ short: "S",
36
+ int: "I",
37
+ long: "J",
38
+ float: "F",
39
+ double: "D"
40
+ };
41
+ /** A ProGuard type (`java.util.function.ToIntFunction`, `int[]`) as a JVM descriptor, class names untouched. */
42
+ function typeDescriptor(type) {
43
+ let dimensions = 0;
44
+ let base = type;
45
+ while (base.endsWith("[]")) {
46
+ base = base.slice(0, -2);
47
+ dimensions++;
48
+ }
49
+ const scalar = PRIMITIVE_DESCRIPTORS[base] ?? `L${base.replaceAll(".", "/")};`;
50
+ return `${"[".repeat(dimensions)}${scalar}`;
51
+ }
52
+ /**
53
+ * A descriptor with every class in it renamed through the map: `(Lnet/minecraft/…/Block;)V` on an
54
+ * obfuscated jar is `(Ldfy;)V`. Unmapped classes — `java/lang/String`, a mod's own — stay as they are.
55
+ */
56
+ function remapDescriptor(descriptor, obfuscatedOf) {
57
+ return descriptor.replaceAll(/L([^;]+);/g, (whole, name) => {
58
+ const mapped = obfuscatedOf.get(name.replaceAll("/", "."));
59
+ return mapped ? `L${mapped.replaceAll(".", "/")};` : whole;
60
+ });
61
+ }
30
62
  var MappingsUnavailableError = class extends Error {
31
63
  constructor(message, options) {
32
64
  super(message, options);
@@ -58,23 +90,74 @@ async function downloadClientMappings(version, cacheDir) {
58
90
  await rename(partial, target);
59
91
  return target;
60
92
  }
61
- /** Parses the class lines of a ProGuard mapping file. */
93
+ /**
94
+ * Parses a ProGuard mapping file: the class lines, and the member lines under each.
95
+ *
96
+ * Members were skipped for years because the geometry extractor works on descriptor shape rather
97
+ * than member names. Block light needs them: it follows a mod's `Blocks.TORCH` into the client jar,
98
+ * and that is a field rename the class map alone cannot make.
99
+ *
100
+ * A method line is `[start:end:]returnType name(paramTypes) -> obf`; the line numbers are dropped
101
+ * and the types become a JVM descriptor in the *original* names, which is how a mod's constant pool
102
+ * spells the reference and so is the key a lookup arrives with.
103
+ */
62
104
  function parseMappings(text) {
63
105
  const obfuscatedOf = /* @__PURE__ */ new Map();
64
106
  const originalOf = /* @__PURE__ */ new Map();
107
+ const fieldOf = /* @__PURE__ */ new Map();
108
+ const methodOf = /* @__PURE__ */ new Map();
109
+ const methods = [];
110
+ const fields = [];
111
+ let owner = "";
65
112
  for (const line of text.split("\n")) {
66
- if (line.length === 0 || line.startsWith(" ") || line.startsWith(" ") || line.startsWith("#")) continue;
113
+ if (line.length === 0 || line.startsWith("#")) continue;
67
114
  const divider = line.indexOf(" -> ");
68
115
  if (divider === -1) continue;
69
- const original = line.slice(0, divider).trim();
70
116
  const obfuscated = line.slice(divider + 4).trim().replace(/:$/, "");
71
- if (original.length === 0 || obfuscated.length === 0) continue;
72
- obfuscatedOf.set(original, obfuscated);
73
- originalOf.set(obfuscated, original);
117
+ if (obfuscated.length === 0) continue;
118
+ if (!line.startsWith(" ") && !line.startsWith(" ")) {
119
+ owner = line.slice(0, divider).trim();
120
+ if (owner.length > 0) {
121
+ obfuscatedOf.set(owner, obfuscated);
122
+ originalOf.set(obfuscated, owner);
123
+ }
124
+ continue;
125
+ }
126
+ const member = line.slice(0, divider).trim().replace(/^\d+:\d+:/, "");
127
+ const space = member.indexOf(" ");
128
+ if (space === -1 || owner.length === 0) continue;
129
+ const returnType = member.slice(0, space);
130
+ const signature = member.slice(space + 1);
131
+ const open = signature.indexOf("(");
132
+ if (open === -1) {
133
+ fieldOf.set(`${owner}.${signature}`, obfuscated);
134
+ fields.push({
135
+ owner,
136
+ name: signature,
137
+ obfuscated
138
+ });
139
+ continue;
140
+ }
141
+ const name = signature.slice(0, open);
142
+ const params = signature.slice(open + 1, -1);
143
+ const descriptor = `(${params.length === 0 ? "" : params.split(",").map((param) => typeDescriptor(param.trim())).join("")})${typeDescriptor(returnType)}`;
144
+ methodOf.set(`${owner}.${name}${descriptor}`, obfuscated);
145
+ methods.push({
146
+ owner,
147
+ name,
148
+ descriptor,
149
+ obfuscated
150
+ });
74
151
  }
152
+ const nameOf = /* @__PURE__ */ new Map();
153
+ for (const field of fields) nameOf.set(`${obfuscatedOf.get(field.owner)}.${field.obfuscated}`, field.name);
154
+ for (const method of methods) nameOf.set(`${obfuscatedOf.get(method.owner)}.${method.obfuscated}${remapDescriptor(method.descriptor, obfuscatedOf)}`, method.name);
75
155
  return {
76
156
  obfuscatedOf,
77
- originalOf
157
+ originalOf,
158
+ fieldOf,
159
+ methodOf,
160
+ nameOf
78
161
  };
79
162
  }
80
163
  async function loadMappings(version, cacheDir) {
@@ -96,7 +179,9 @@ function identityMappings(internalNames) {
96
179
  }
97
180
  return {
98
181
  obfuscatedOf,
99
- originalOf
182
+ originalOf,
183
+ fieldOf: /* @__PURE__ */ new Map(),
184
+ methodOf: /* @__PURE__ */ new Map()
100
185
  };
101
186
  }
102
187
  /**
@@ -136,4 +221,4 @@ async function resolveMappings(version, cacheDir, listClasses) {
136
221
  }
137
222
  }
138
223
  //#endregion
139
- export { loadMappings as a, isObfuscated as i, downloadClientMappings as n, parseMappings as o, identityMappings as r, resolveMappings as s, MappingsUnavailableError as t };
224
+ export { loadMappings as a, resolveMappings as c, isObfuscated as i, downloadClientMappings as n, parseMappings as o, identityMappings as r, remapDescriptor as s, MappingsUnavailableError as t };
@@ -29,7 +29,28 @@ interface Mappings {
29
29
  obfuscatedOf: Map<string, string>;
30
30
  /** `fvd` → `net.minecraft.client.model.CowModel`. */
31
31
  originalOf: Map<string, string>;
32
+ /**
33
+ * Members, for code that names the game's classes by their *original* names against a jar that
34
+ * does not: a mod compiled against Mojang mappings calls `BlockBehaviour$Properties.ofFullCopy` and
35
+ * reads `Blocks.TORCH`, and following either into an obfuscated client means renaming both.
36
+ *
37
+ * Fields by `owner.name`, methods by `owner.name(descriptor)` — original names throughout, the
38
+ * descriptor in JVM form with original class names. Empty for an identity mapping, where nothing
39
+ * needs renaming.
40
+ */
41
+ fieldOf: Map<string, string>;
42
+ methodOf: Map<string, string>;
43
+ /**
44
+ * The other way: a member as the obfuscated client spells it (`eea$d.a(FF)Leea$d;`) to its original
45
+ * name (`strength`), for reading what the game's own code calls. Absent for an identity mapping.
46
+ */
47
+ nameOf?: Map<string, string>;
32
48
  }
49
+ /**
50
+ * A descriptor with every class in it renamed through the map: `(Lnet/minecraft/…/Block;)V` on an
51
+ * obfuscated jar is `(Ldfy;)V`. Unmapped classes — `java/lang/String`, a mod's own — stay as they are.
52
+ */
53
+ declare function remapDescriptor(descriptor: string, obfuscatedOf: Map<string, string>): string;
33
54
  declare class MappingsUnavailableError extends Error {
34
55
  constructor(message: string, options?: ErrorOptions);
35
56
  }
@@ -40,7 +61,17 @@ declare class MappingsUnavailableError extends Error {
40
61
  * and the difference between "this version publishes none" and "the network failed" is worth keeping.
41
62
  */
42
63
  declare function downloadClientMappings(version: string, cacheDir: string): Promise<string>;
43
- /** Parses the class lines of a ProGuard mapping file. */
64
+ /**
65
+ * Parses a ProGuard mapping file: the class lines, and the member lines under each.
66
+ *
67
+ * Members were skipped for years because the geometry extractor works on descriptor shape rather
68
+ * than member names. Block light needs them: it follows a mod's `Blocks.TORCH` into the client jar,
69
+ * and that is a field rename the class map alone cannot make.
70
+ *
71
+ * A method line is `[start:end:]returnType name(paramTypes) -> obf`; the line numbers are dropped
72
+ * and the types become a JVM descriptor in the *original* names, which is how a mod's constant pool
73
+ * spells the reference and so is the key a lookup arrives with.
74
+ */
44
75
  declare function parseMappings(text: string): Mappings;
45
76
  declare function loadMappings(version: string, cacheDir: string): Promise<Mappings>;
46
77
  /**
@@ -72,4 +103,4 @@ declare function resolveMappings(version: string, cacheDir: string, listClasses:
72
103
  obfuscated: boolean;
73
104
  }>;
74
105
  //#endregion
75
- export { isObfuscated as a, resolveMappings as c, identityMappings as i, MappingsUnavailableError as n, loadMappings as o, downloadClientMappings as r, parseMappings as s, Mappings as t };
106
+ export { isObfuscated as a, remapDescriptor as c, identityMappings as i, resolveMappings as l, MappingsUnavailableError as n, loadMappings as o, downloadClientMappings as r, parseMappings as s, Mappings as t };
@@ -1,4 +1,4 @@
1
- import { t as parseClassFile } from "./classfile-Bo7FUrrD.js";
1
+ import { t as parseClassFile } from "./classfile-CiIDF3vc.js";
2
2
  import { a as mergeModels, r as cubesOf, t as buildsOwnMesh } from "./merge-DeHruviG.js";
3
3
  //#region src/entities/model-bytecode.ts
4
4
  /**
@@ -870,4 +870,4 @@ function extractModel(bytes, following) {
870
870
  return model;
871
871
  }
872
872
  //#endregion
873
- export { extractModel as n, extractArmourMesh as t };
873
+ export { extractModel as n, parseDescriptor as r, extractArmourMesh as t };
@@ -1,4 +1,4 @@
1
- import { t as ClassFile } from "./classfile-BdLIk4Pe.js";
1
+ import { t as ClassFile } from "./classfile-CsLXlh5z.js";
2
2
  //#region src/entities/model-code.d.ts
3
3
  interface ModelCode {
4
4
  /** The parsed class, when it is model code a call may be followed into. */
@@ -1,4 +1,4 @@
1
- import { t as parseClassFile } from "./classfile-Bo7FUrrD.js";
1
+ import { t as parseClassFile } from "./classfile-CiIDF3vc.js";
2
2
  //#region src/entities/model-code.ts
3
3
  /**
4
4
  * Which classes in a jar count as model code, and their parsed form.
@@ -1,2 +1,2 @@
1
- import { a as resolveTexture, i as flattenLoaderModel, n as ModelResolutionError, o as salvageJson, r as ResolvedModel, t as ModelLoader } from "../loader-DSir1-P0.js";
1
+ import { a as resolveTexture, i as flattenLoaderModel, n as ModelResolutionError, o as salvageJson, r as ResolvedModel, t as ModelLoader } from "../loader-BYyPIs9f.js";
2
2
  export { ModelLoader, ModelResolutionError, ResolvedModel, flattenLoaderModel, resolveTexture, salvageJson };
@@ -1,5 +1,5 @@
1
1
  import { r as modModelPackPath } from "./builtin-WkWjATeh.js";
2
- import { t as FolderResourceManager } from "./manager-BNibYkmI.js";
2
+ import { t as FolderResourceManager } from "./manager-D6zXmFrO.js";
3
3
  //#region src/mods/models.ts
4
4
  /**
5
5
  * Geometry for mod items the game draws in code. A `builtin/entity` item model
@@ -1,4 +1,4 @@
1
- import { a as ResourceManager } from "../manager-exOIcdyx.js";
1
+ import { a as ResourceManager } from "../manager-Ct0dEOMg.js";
2
2
  //#region src/mods/models.d.ts
3
3
  declare function curatedModelOverrides(): ResourceManager;
4
4
  //#endregion
@@ -1,2 +1,2 @@
1
- import { t as curatedModelOverrides } from "../models-CZjCOjs4.js";
1
+ import { t as curatedModelOverrides } from "../models-BsYA-NZg.js";
2
2
  export { curatedModelOverrides };
@@ -1,2 +1,2 @@
1
- import { i as prepareModResources, n as ModPreparation, r as PrepareModsOptions, t as LOADER_NAMESPACES } from "../prepare-OS7wL3jv.js";
1
+ import { i as prepareModResources, n as ModPreparation, r as PrepareModsOptions, t as LOADER_NAMESPACES } from "../prepare-BPzsZI_S.js";
2
2
  export { LOADER_NAMESPACES, ModPreparation, PrepareModsOptions, prepareModResources };
@@ -1,2 +1,2 @@
1
- import { n as prepareModResources, t as LOADER_NAMESPACES } from "../prepare-Myd_ec4v.js";
1
+ import { n as prepareModResources, t as LOADER_NAMESPACES } from "../prepare-sj36BP90.js";
2
2
  export { LOADER_NAMESPACES, prepareModResources };
@@ -1,5 +1,5 @@
1
- import { a as ResourceManager } from "../manager-exOIcdyx.js";
2
- import { n as MapResourceManager } from "../synthetic-B3R7mW9k.js";
1
+ import { a as ResourceManager } from "../manager-Ct0dEOMg.js";
2
+ import { n as MapResourceManager } from "../synthetic-CWtFtAkR.js";
3
3
  //#region src/mods/synthesize.d.ts
4
4
  interface SynthesisResult {
5
5
  models: MapResourceManager;
@@ -1,5 +1,5 @@
1
- import { a as ResourceManager } from "../manager-exOIcdyx.js";
2
- import { n as MapResourceManager } from "../synthetic-B3R7mW9k.js";
1
+ import { a as ResourceManager } from "../manager-Ct0dEOMg.js";
2
+ import { n as MapResourceManager } from "../synthetic-CWtFtAkR.js";
3
3
  //#region src/mods/tints.d.ts
4
4
  interface HarvestTintsOptions {
5
5
  /** Assets from 1.21.4+ releases of the same mods, read only for their tints. */
@@ -1,2 +1,2 @@
1
- import { n as harvestTintOverrides, t as curatedTintOverrides } from "../tints-BspVCz2G.js";
1
+ import { n as harvestTintOverrides, t as curatedTintOverrides } from "../tints-CZeyKzMv.js";
2
2
  export { curatedTintOverrides, harvestTintOverrides };
@@ -1,5 +1,5 @@
1
- import { a as ResourceManager } from "./manager-exOIcdyx.js";
2
- import { r as ResolvedModel } from "./loader-DSir1-P0.js";
1
+ import { a as ResourceManager } from "./manager-Ct0dEOMg.js";
2
+ import { r as ResolvedModel } from "./loader-BYyPIs9f.js";
3
3
  //#region src/blocks/obj-mesh.d.ts
4
4
  interface MeshGroup {
5
5
  /** Sprite every triangle in this group samples. */
@@ -1,2 +1,2 @@
1
- import { a as RasterAssetFormat, c as encodeRasterAsset, i as EncodedIcon, n as EncodeOptions, o as encodeAnimatedIcon, r as EncodedAnimatedIcon, s as encodeIcon, t as AnimatedEncodeOptions } from "../encode-Br_vPrd8.js";
1
+ import { a as RasterAssetFormat, c as encodeRasterAsset, i as EncodedIcon, n as EncodeOptions, o as encodeAnimatedIcon, r as EncodedAnimatedIcon, s as encodeIcon, t as AnimatedEncodeOptions } from "../encode-BNEYHHR0.js";
2
2
  export { AnimatedEncodeOptions, EncodeOptions, EncodedAnimatedIcon, EncodedIcon, RasterAssetFormat, encodeAnimatedIcon, encodeIcon, encodeRasterAsset };
package/dist/pack.d.ts CHANGED
@@ -1,6 +1,8 @@
1
- import { n as BiomeClimatePack, t as BiomeClimate } from "./biomes-CJDJQqJb.js";
1
+ import { n as BiomeClimatePack, t as BiomeClimate } from "./biomes-CnnhDCnk.js";
2
2
  import { a as BlockStateMultipartCase, d as matchesCondition, n as BlockProperties, o as BlockStateVariantCase, p as weightedVariantIndex, r as BlockStateDefinition, s as MultipartCondition, t as BlockModelVariant, u as evaluateBlockState } from "./blockstate-eval-BzznRcVY.js";
3
- import { n as ObjMesh, t as MeshGroup } from "./obj-mesh-ydhVfLKs.js";
4
- import { n as BlockTintPack, t as BlockTint } from "./tints-CQX8a1F0.js";
5
- import { _ as BlockPackTintsFile, a as BlockPackBlockStatesFile, d as BlockPackMetaFile, f as BlockPackModel, g as BlockPackSpriteFrame, h as BlockPackSprite, i as BlockPackBlockState, l as BlockPackFace, m as BlockPackRenderLayer, n as BlockPackAtlasPage, o as BlockPackElement, p as BlockPackModelsFile, r as BlockPackBiomesFile, t as BlockPackAtlasFile, v as BlockPackVariant } from "./pack-format-Baoc_aSZ.js";
6
- export { type BiomeClimate, type BiomeClimatePack, type BlockModelVariant, type BlockPackAtlasFile, type BlockPackAtlasPage, type BlockPackBiomesFile, type BlockPackBlockState, type BlockPackBlockStatesFile, type BlockPackElement, type BlockPackFace, type BlockPackMetaFile, type BlockPackModel, type BlockPackModelsFile, type BlockPackRenderLayer, type BlockPackSprite, type BlockPackSpriteFrame, type BlockPackTintsFile, type BlockPackVariant, type BlockProperties, type BlockStateDefinition, type BlockStateMultipartCase, type BlockStateVariantCase, type BlockTint, type BlockTintPack, type MeshGroup, type MultipartCondition, type ObjMesh, evaluateBlockState, matchesCondition, weightedVariantIndex };
3
+ import { t as GameRule } from "./game-rules-ThvdDG3B.js";
4
+ import { n as ObjMesh, t as MeshGroup } from "./obj-mesh-CzL0lOlJ.js";
5
+ import { n as BlockTintPack, t as BlockTint } from "./tints-DwFmEkf3.js";
6
+ import { B as BlockPackTagsFile, C as BlockPackBlockState, F as BlockPackModelsFile, H as BlockPackVariant, I as BlockPackRenderLayer, L as BlockPackSprite, M as BlockPackLightFile, N as BlockPackMetaFile, O as BlockPackFace, P as BlockPackModel, R as BlockPackSpriteFrame, S as BlockPackBiomesFile, T as BlockPackElement, V as BlockPackTintsFile, b as BlockPackAtlasPage, j as BlockPackLight, k as BlockPackGameRulesFile, n as PushReactionName, t as BlockBehaviour, v as BlockPackAdvancementsFile, w as BlockPackBlockStatesFile, x as BlockPackBehaviourFile, y as BlockPackAtlasFile, z as BlockPackStatesFile } from "./block-behaviour-9Tj_GIUC.js";
7
+ import { t as blockLightLevel } from "./light-eval-DMjK6xnb.js";
8
+ export { type BiomeClimate, type BiomeClimatePack, type BlockBehaviour, type BlockModelVariant, type BlockPackAdvancementsFile, type BlockPackAtlasFile, type BlockPackAtlasPage, type BlockPackBehaviourFile, type BlockPackBiomesFile, type BlockPackBlockState, type BlockPackBlockStatesFile, type BlockPackElement, type BlockPackFace, type BlockPackGameRulesFile, type BlockPackLight, type BlockPackLightFile, type BlockPackMetaFile, type BlockPackModel, type BlockPackModelsFile, type BlockPackRenderLayer, type BlockPackSprite, type BlockPackSpriteFrame, type BlockPackStatesFile, type BlockPackTagsFile, type BlockPackTintsFile, type BlockPackVariant, type BlockProperties, type BlockStateDefinition, type BlockStateMultipartCase, type BlockStateVariantCase, type BlockTint, type BlockTintPack, type GameRule, type MeshGroup, type MultipartCondition, type ObjMesh, type PushReactionName, blockLightLevel, evaluateBlockState, matchesCondition, weightedVariantIndex };
package/dist/pack.js CHANGED
@@ -1,2 +1,3 @@
1
1
  import { i as matchesCondition, o as weightedVariantIndex, r as evaluateBlockState } from "./blockstate-eval-CV_LwUwj.js";
2
- export { evaluateBlockState, matchesCondition, weightedVariantIndex };
2
+ import { t as blockLightLevel } from "./light-eval-BsJJoSv4.js";
3
+ export { blockLightLevel, evaluateBlockState, matchesCondition, weightedVariantIndex };
@@ -1,7 +1,7 @@
1
- import { a as ResourceManager } from "./manager-exOIcdyx.js";
2
- import { n as FloatTexture } from "./blend-C5UYzink.js";
1
+ import { a as ResourceManager } from "./manager-Ct0dEOMg.js";
2
+ import { n as FloatTexture } from "./blend-mJAeQB3C.js";
3
3
  import { a as LightingProfileName } from "./lighting-3FGRC3Af.js";
4
- import { n as AnimationLimits } from "./renderer-DbUmTFDb.js";
4
+ import { n as AnimationLimits } from "./renderer-QgROYvPv.js";
5
5
  //#region src/render/pipeline.d.ts
6
6
  interface PipelineSettings {
7
7
  builtin?: string;
@@ -1,4 +1,5 @@
1
1
  import { n as ResourceLocator } from "./locator-COMEtEn9.js";
2
+ import { n as LayeredResourceManager, t as FolderResourceManager } from "./manager-D6zXmFrO.js";
2
3
  import { l as toFloatTexture, t as blendPixel } from "./blend-KXMclcHk.js";
3
4
  import { t as ModelLoader } from "./loader-qOH0Jynq.js";
4
5
  import { c as renderModel, l as renderModelFrames, o as boxDownscale, s as pointResize } from "./obj-DPEK_xee.js";
@@ -7,7 +8,6 @@ import { a as defaultProperties } from "./definition-ColsvWrH.js";
7
8
  import { i as resolveItem } from "./discovery-CD0QqxSF.js";
8
9
  import { a as resolveTints } from "./tints-B3WQcPtx.js";
9
10
  import { t as loadAtlasResolver } from "./registry-DafxsAhG.js";
10
- import { n as LayeredResourceManager, t as FolderResourceManager } from "./manager-BNibYkmI.js";
11
11
  import { n as TextureLoader } from "./loader-CsgtBuBo.js";
12
12
  import { t as encodeAnimatedIcon } from "./encode-LR9wxigC.js";
13
13
  import { a as builtinDynamicResources } from "./generators-D6giKoab.js";
@@ -1,4 +1,4 @@
1
- import { a as ResourceManager } from "./manager-exOIcdyx.js";
1
+ import { a as ResourceManager } from "./manager-Ct0dEOMg.js";
2
2
  //#region src/mods/prepare.d.ts
3
3
  /** Loader-owned namespaces that never contain renderable mod items. */
4
4
  declare const LOADER_NAMESPACES: Set<string>;
@@ -1,4 +1,4 @@
1
- import { a as ResourceManager } from "./manager-exOIcdyx.js";
1
+ import { a as ResourceManager } from "./manager-Ct0dEOMg.js";
2
2
  //#region src/versions/prepare.d.ts
3
3
  /** Dotted-numeric compare handling both `1.21.8` and the `26.2` scheme. */
4
4
  declare function compareVersions(left: string, right: string): number;
@@ -1,8 +1,8 @@
1
1
  import { n as ResourceLocator } from "./locator-COMEtEn9.js";
2
- import { n as LayeredResourceManager, t as FolderResourceManager } from "./manager-BNibYkmI.js";
3
- import { t as JarResourceManager } from "./jar-W2cV2ZVO.js";
4
2
  import { n as MapResourceManager, t as KindFilteredResourceManager } from "./synthetic-rc9BPT4P.js";
5
3
  import { t as reshapeLegacyAssets } from "./legacy-reshape-CcdstKyI.js";
4
+ import { n as LayeredResourceManager, t as FolderResourceManager } from "./manager-D6zXmFrO.js";
5
+ import { t as JarResourceManager } from "./jar-DvofBm71.js";
6
6
  //#region src/versions/prepare.ts
7
7
  /**
8
8
  * Version-era detection and asset preparation, replacing the file-tree surgery
@@ -1,8 +1,8 @@
1
- import { n as LayeredResourceManager } from "./manager-BNibYkmI.js";
2
- import { n as UnsafeJarError, t as JarResourceManager } from "./jar-W2cV2ZVO.js";
3
- import { t as curatedModelOverrides } from "./models-CZjCOjs4.js";
1
+ import { n as LayeredResourceManager } from "./manager-D6zXmFrO.js";
2
+ import { n as UnsafeJarError, t as JarResourceManager } from "./jar-DvofBm71.js";
3
+ import { t as curatedModelOverrides } from "./models-BsYA-NZg.js";
4
4
  import { t as synthesizeItemModels } from "./synthesize-jTjVjPAt.js";
5
- import { n as harvestTintOverrides, t as curatedTintOverrides } from "./tints-BspVCz2G.js";
5
+ import { n as harvestTintOverrides, t as curatedTintOverrides } from "./tints-CZeyKzMv.js";
6
6
  //#region src/mods/prepare.ts
7
7
  /**
8
8
  * Mod asset composition: mod jars layered under the vanilla base (vanilla wins
@@ -1,4 +1,4 @@
1
- import { n as FloatTexture, t as FaceShading } from "./blend-C5UYzink.js";
1
+ import { n as FloatTexture, t as FaceShading } from "./blend-mJAeQB3C.js";
2
2
  //#region src/render/rasterizer.d.ts
3
3
  /** The rectangle of a buffer written since it was last cleared. */
4
4
  interface DirtyRect {
@@ -1,2 +1,2 @@
1
- import { a as darkenTexture, c as shadeTexel, d as toFloatTexture, f as uvWindow, i as cloneFloatTexture, l as tintTexture, n as FloatTexture, o as q16, r as blendPixel, s as scaleTextureAlpha, t as FaceShading, u as toByteTexture } from "../blend-C5UYzink.js";
1
+ import { a as darkenTexture, c as shadeTexel, d as toFloatTexture, f as uvWindow, i as cloneFloatTexture, l as tintTexture, n as FloatTexture, o as q16, r as blendPixel, s as scaleTextureAlpha, t as FaceShading, u as toByteTexture } from "../blend-mJAeQB3C.js";
2
2
  export { FaceShading, FloatTexture, blendPixel, cloneFloatTexture, darkenTexture, q16, scaleTextureAlpha, shadeTexel, tintTexture, toByteTexture, toFloatTexture, uvWindow };
@@ -1,5 +1,5 @@
1
- import { n as FloatTexture } from "../blend-C5UYzink.js";
2
- import { n as FaceBuffer } from "../rasterizer-C2wgJZ6J.js";
1
+ import { n as FloatTexture } from "../blend-mJAeQB3C.js";
2
+ import { n as FaceBuffer } from "../rasterizer-DjnurUgD.js";
3
3
  //#region src/render/compose.d.ts
4
4
  declare function combineFaceBuffers(width: number, height: number, faces: FaceBuffer[]): FloatTexture;
5
5
  //#endregion
@@ -1,9 +1,9 @@
1
- import { a as ResourceManager } from "../manager-exOIcdyx.js";
2
- import { i as TextureLoader } from "../loader-59_eMa8e.js";
3
- import { t as ModelLoader } from "../loader-DSir1-P0.js";
4
- import { n as FloatTexture } from "../blend-C5UYzink.js";
5
- import { r as TintColor } from "../face-DqEd9G_U.js";
6
- import { i as RenderOptions } from "../renderer-DbUmTFDb.js";
1
+ import { a as ResourceManager } from "../manager-Ct0dEOMg.js";
2
+ import { i as TextureLoader } from "../loader-C4gsX_wO.js";
3
+ import { t as ModelLoader } from "../loader-BYyPIs9f.js";
4
+ import { n as FloatTexture } from "../blend-mJAeQB3C.js";
5
+ import { r as TintColor } from "../face-uWXECGNr.js";
6
+ import { i as RenderOptions } from "../renderer-QgROYvPv.js";
7
7
  //#region src/render/entity-fallback.d.ts
8
8
  /** The dye name a `<dye>_<thing>` mod item is prefixed with, or null. */
9
9
  declare function dyeVariantName(id: string): string | null;
@@ -1,2 +1,2 @@
1
- import { a as faceMaxZ, i as createShadeCache, n as RenderableFace, o as renderFace, r as TintColor, t as FaceShadeCache } from "../face-DqEd9G_U.js";
1
+ import { a as faceMaxZ, i as createShadeCache, n as RenderableFace, o as renderFace, r as TintColor, t as FaceShadeCache } from "../face-uWXECGNr.js";
2
2
  export { FaceShadeCache, RenderableFace, TintColor, createShadeCache, faceMaxZ, renderFace };
@@ -1,5 +1,5 @@
1
- import { a as ResourceManager } from "../manager-exOIcdyx.js";
2
- import { i as TextureLoader, r as Texture } from "../loader-59_eMa8e.js";
1
+ import { a as ResourceManager } from "../manager-Ct0dEOMg.js";
2
+ import { i as TextureLoader, r as Texture } from "../loader-C4gsX_wO.js";
3
3
  //#region src/render/fluid-bucket.d.ts
4
4
  /**
5
5
  * Paint the fluid into a bucket sprite IN PLACE (pass a copy, never a cached
@@ -1,2 +1,2 @@
1
- import { a as parseGeo, i as nameTokens, n as findGeoForItem, o as renderGeo, r as geoToFaces, t as ParsedGeo } from "../geo-C9QYeLVN.js";
1
+ import { a as parseGeo, i as nameTokens, n as findGeoForItem, o as renderGeo, r as geoToFaces, t as ParsedGeo } from "../geo-DsWwuC5o.js";
2
2
  export { ParsedGeo, findGeoForItem, geoToFaces, nameTokens, parseGeo, renderGeo };
@@ -1,5 +1,5 @@
1
- import { i as TextureLoader } from "../loader-59_eMa8e.js";
2
- import { r as TintColor } from "../face-DqEd9G_U.js";
1
+ import { i as TextureLoader } from "../loader-C4gsX_wO.js";
2
+ import { r as TintColor } from "../face-uWXECGNr.js";
3
3
  //#region src/render/legacy-tints.d.ts
4
4
  /**
5
5
  * Tints for a model rendered without an item definition (pre-1.21.4 eras and
@@ -1,10 +1,10 @@
1
1
  import { n as ResourceLocator } from "../locator-jDbdUeTd.js";
2
- import { a as ResourceManager } from "../manager-exOIcdyx.js";
3
- import { i as TextureLoader } from "../loader-59_eMa8e.js";
4
- import { r as ResolvedModel } from "../loader-DSir1-P0.js";
5
- import { n as FloatTexture } from "../blend-C5UYzink.js";
2
+ import { a as ResourceManager } from "../manager-Ct0dEOMg.js";
3
+ import { i as TextureLoader } from "../loader-C4gsX_wO.js";
4
+ import { r as ResolvedModel } from "../loader-BYyPIs9f.js";
5
+ import { n as FloatTexture } from "../blend-mJAeQB3C.js";
6
6
  import { n as Vec3 } from "../vector-DRKRi4--.js";
7
- import { i as RenderOptions } from "../renderer-DbUmTFDb.js";
7
+ import { i as RenderOptions } from "../renderer-QgROYvPv.js";
8
8
  //#region src/render/obj.d.ts
9
9
  interface ObjTriangle {
10
10
  positions: [Vec3, Vec3, Vec3];
@@ -1,2 +1,2 @@
1
- import { i as RenderedFrames, n as ItemRenderOutcome, r as PipelineSettings, t as ItemPipeline } from "../pipeline-DFuQa8ZT.js";
1
+ import { i as RenderedFrames, n as ItemRenderOutcome, r as PipelineSettings, t as ItemPipeline } from "../pipeline-DuPF3sap.js";
2
2
  export { ItemPipeline, ItemRenderOutcome, PipelineSettings, RenderedFrames };
@@ -1,2 +1,2 @@
1
- import { t as ItemPipeline } from "../pipeline-BTlk9-s5.js";
1
+ import { t as ItemPipeline } from "../pipeline-Q_185kY6.js";
2
2
  export { ItemPipeline };
@@ -1,2 +1,2 @@
1
- import { a as clearFaceBuffer, c as drawTexturedTriangle, i as RowCursor, l as phpRound, n as FaceBuffer, o as compactFaceBuffer, r as RasterPoint, s as createFaceBuffer, t as DirtyRect } from "../rasterizer-C2wgJZ6J.js";
1
+ import { a as clearFaceBuffer, c as drawTexturedTriangle, i as RowCursor, l as phpRound, n as FaceBuffer, o as compactFaceBuffer, r as RasterPoint, s as createFaceBuffer, t as DirtyRect } from "../rasterizer-DjnurUgD.js";
2
2
  export { DirtyRect, FaceBuffer, RasterPoint, RowCursor, clearFaceBuffer, compactFaceBuffer, createFaceBuffer, drawTexturedTriangle, phpRound };
@@ -1,2 +1,2 @@
1
- import { a as RenderedFrames, c as renderModel, i as RenderOptions, l as renderModelFrames, n as AnimationLimits, o as boxDownscale, r as ItemRenderError, s as pointResize, t as AnimationDiagnostics } from "../renderer-DbUmTFDb.js";
1
+ import { a as RenderedFrames, c as renderModel, i as RenderOptions, l as renderModelFrames, n as AnimationLimits, o as boxDownscale, r as ItemRenderError, s as pointResize, t as AnimationDiagnostics } from "../renderer-QgROYvPv.js";
2
2
  export { AnimationDiagnostics, AnimationLimits, ItemRenderError, RenderOptions, RenderedFrames, boxDownscale, pointResize, renderModel, renderModelFrames };
@@ -1,2 +1,2 @@
1
- import { a as resolveTint, i as parseTintValue, n as InvalidTinterDefinitionError, o as resolveTints, r as TintContext, t as DYE_COLORS } from "../tints-uLl1CIkC.js";
1
+ import { a as resolveTint, i as parseTintValue, n as InvalidTinterDefinitionError, o as resolveTints, r as TintContext, t as DYE_COLORS } from "../tints-B0a1K11c.js";
2
2
  export { DYE_COLORS, InvalidTinterDefinitionError, TintContext, parseTintValue, resolveTint, resolveTints };
@@ -1,10 +1,10 @@
1
- import { a as ResourceManager } from "./manager-exOIcdyx.js";
2
- import { i as TextureLoader } from "./loader-59_eMa8e.js";
3
- import { r as ResolvedModel } from "./loader-DSir1-P0.js";
4
- import { n as FloatTexture } from "./blend-C5UYzink.js";
1
+ import { a as ResourceManager } from "./manager-Ct0dEOMg.js";
2
+ import { i as TextureLoader } from "./loader-C4gsX_wO.js";
3
+ import { r as ResolvedModel } from "./loader-BYyPIs9f.js";
4
+ import { n as FloatTexture } from "./blend-mJAeQB3C.js";
5
5
  import { t as Mat4 } from "./vector-DRKRi4--.js";
6
6
  import { a as LightingProfileName } from "./lighting-3FGRC3Af.js";
7
- import { r as TintColor } from "./face-DqEd9G_U.js";
7
+ import { r as TintColor } from "./face-uWXECGNr.js";
8
8
  //#region src/render/renderer.d.ts
9
9
  interface AnimationLimits {
10
10
  /** Emitted frames per icon (default 128). */