User Tools

Site Tools


mtr_addon:nte:js:eyecandy

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mtr_addon:nte:js:eyecandy [2024/04/24 09:44] – Fix grammar and document new functions lx862mtr_addon:nte:js:eyecandy [2025/07/16 13:20] (current) – Fix typo lx862
Line 22: Line 22:
 In general, the parameters are the same as those required for regular decoration object json for NTE, except for the ''scriptFiles'' parameter. In general, the parameters are the same as those required for regular decoration object json for NTE, except for the ''scriptFiles'' parameter.
  
-If the ''model'' parameter is not specified, the JavaScript-driven elements will be overlaid on top of the existing model. Otherwise, the appearance will be controlled solely by JavaScript.+If the ''model'' parameter is specified, the JavaScript-driven elements will be overlaid on top of the existing model. Otherwise, the appearance will be controlled solely by JavaScript.
  
 ^ Parameter ^ Description ^ ^ Parameter ^ Description ^
Line 100: Line 100:
 blockEntity.getWorldPosVector3f(): Vector3f blockEntity.getWorldPosVector3f(): Vector3f
 </code> </code>
-    * Returns [[mtr_addon:nte:js:math|NTE's Vector3f]] of where the block are located **(Only in NTE version above v0.4.2)**+    * Returns [[mtr_addon:nte:js:math|NTE's Vector3f]] of where the block are located **(Only in NTE version >= 0.5.0)**
  
  
mtr_addon/nte/js/eyecandy.1713951857.txt.gz · Last modified: 2024/04/24 09:44 by lx862