mtr_addon:nte:js:eyecandy
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| mtr_addon:nte:js:eyecandy [2024/02/08 08:36] – created lx862 | mtr_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 '' | In general, the parameters are the same as those required for regular decoration object json for NTE, except for the '' | ||
| - | If the '' | + | If the '' |
| ^ Parameter ^ Description ^ | ^ Parameter ^ Description ^ | ||
| Line 85: | Line 85: | ||
| ^ Functions And Objects ^ Description ^ | ^ Functions And Objects ^ Description ^ | ||
| | '' | | '' | ||
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| | '' | | '' | ||
| Line 96: | Line 96: | ||
| blockEntity.getBlockPos(): | blockEntity.getBlockPos(): | ||
| </ | </ | ||
| - | * Returns the Minecraft BlockPos of where the block are located in. | + | * Returns the Minecraft BlockPos of where the block are located in. (Note: This is obfuscated by Minecraft, which is only useful for passing value to MTR ClientData) |
| - | * [Translator note: BlockPos seems to be obfuscated by Minecraft, which is only useful for passing value to MTR ClientData? ] | + | * <code javascript> |
| + | blockEntity.getWorldPosVector3f(): | ||
| + | </ | ||
| + | * Returns [[mtr_addon: | ||
mtr_addon/nte/js/eyecandy.1707381372.txt.gz · Last modified: 2024/02/08 08:36 by lx862