ProbeJS 图标

ProbeJS

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 8.0.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/probejs
资源信息

Minecraft 版本: 1.21.1

平台: neoforge

标签: utility

资源介绍

0. ProbeJS v8.0

Welcome to the future! As TypeScript had experienced a major update that deprecated the typing structure of ProbeJS in v7.7.2, we rewrote the mod and the extension to be compatible with the new TypeScript version (and hopefully backward-compatible with the previous TypeScript versions.)

However, there are some features missing in the mod due to the TypeScript Native (tsgo) is not fully implemented yet, the mod will receive continuous updates to add the missing features when TypeScript Native is ready.

What's new in v8.0:

  • tsgo compatible type declarations. TypeScript Native is a new TypeScript compiler written in Go, which is 10x faster and use much less memory than the original TypeScript. We had tested tsgo and it showed less than 500ms item literal completion time and instant class/event completions on ATM10.
  • A GUI that allows you to configure the mod easily in-game and show the dumping progress. Also, it allows you to convert require() to Java.loadClass() due to tsgo is not supporting language plugins yet.
  • (Hopefully) more correct typing generation. Most problems in the previous versions are now fixed as the type resolution is rewritten.
  • Intensive support of agents and LLMs. You can make AIs like DeepSeek or GPT generate 100% correct KubeJS code now!

1. Installation

  1. Get VSCode. And install Typescript (Native Preview) extension by Microsoft.
  2. Install the mod, and install the ProbeJS VSCode Extension.
  3. In game, use /probejs and click the dump button.
  4. Open the .minecraft folder in VSCode, you should see snippets and typing functioning.
  5. Re-dump in case of you want to refresh the generated typing. If VSCode is not responding to file changes, restart VSCode to force a refresh in extension and the language server.
📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Outlined Ores

价格:0 墨喵币
下载量:0

查看详情
Hardcore Mode 2.0

价格:0 墨喵币
下载量:0

查看详情
Vanish++

价格:0 墨喵币
下载量:0

查看详情
XPlus PerioTable Modpack (Fabric)

价格:0 墨喵币
下载量:0

查看详情