User Tools

Site Tools


mtr_addon:nte:js:resources

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mtr_addon:nte:js:resources [2024/02/08 05:30] – Wording adjustment lx862mtr_addon:nte:js:resources [2024/02/08 05:35] (current) – Minor fixes lx862
Line 58: Line 58:
 static Resources.readFont(path: ResourceLocation): Font static Resources.readFont(path: ResourceLocation): Font
 </code> </code>
-    * Load a custom TTF or OTF font file as an AWT Font.//Note: Due to the way Java and Minecraft Resource Pack works, new temporary font files are generated on your disk every time you call this function. If you find yourself running out of disk space during the development, you can free up disk space by deleting files starting with ''+~JF'' on your system temp directory, or restart your Minecraft/Computer.//+    * Load a custom TTF or OTF font file as an AWT Font. 
 +    * //Note: Due to the way Java and Minecraft Resource Pack works, new temporary font files are generated on your disk every time you call this function. If you find yourself running out of disk space during the development, you can free up disk space by deleting files starting with ''+~JF'' on your system temp directory, or restart your Minecraft/Computer.//
   * <code javascript>   * <code javascript>
 static Resources.getFontRenderContext(): FontRenderContext static Resources.getFontRenderContext(): FontRenderContext
Line 83: Line 84:
 | ''RawModel.append(other: RawModel): void'' | Merges other RawModel into this RawModel. | | ''RawModel.append(other: RawModel): void'' | Merges other RawModel into this RawModel. |
 | ''RawModel.append(other: RawMesh): void'' | Merges other RawMesh into this RawModel. | | ''RawModel.append(other: RawMesh): void'' | Merges other RawMesh into this RawModel. |
-| ''RawModel.applyMatrix(transform: atrix4f): void'' | Applies the transformation matrix on the vertices of the model. |+| ''RawModel.applyMatrix(transform: Matrix4f): void'' | Applies the transformation matrix on the vertices of the model. |
 | ''RawModel.applyTranslation(x: float, y: float, z: float): void'' | Moves the vertices of the model according to the specified parameters. | | ''RawModel.applyTranslation(x: float, y: float, z: float): void'' | Moves the vertices of the model according to the specified parameters. |
 | ''RawModel.applyRotation(direction: Vector3f, angle: float): void'' | Rotates the model vertices around the specified axis centered at the coordinate origin. The angles are specified in degrees. | | ''RawModel.applyRotation(direction: Vector3f, angle: float): void'' | Rotates the model vertices around the specified axis centered at the coordinate origin. The angles are specified in degrees. |
mtr_addon/nte/js/resources.1707370230.txt.gz · Last modified: 2024/02/08 05:30 by lx862