Prefab Renderer Wiki

From MutigerAffe Wiki
Jump to navigation Jump to search
Prefab Renderer
Prefab Renderer

Prefab Renderer is a Visual Studio Code extension that shows Hytale prefabs (*.prefab.json) as an interactive 3D view. The view opens next to the JSON text and updates while you type, even before you save.

Blocks are drawn with their real textures and models. The extension reads the vanilla assets straight from the Assets.zip of your Hytale installation and adds the blocks of your own mod from its asset folder. A sidebar shows the size, the block count, a Y slice slider, chests and blocks that could not be resolved.

Latest version
Extension 1.0.0
VS Code 1.112 or newer
Requires Hytale installed through the launcher
Download VS Code Marketplace

The information in this wiki is taken from version 1.0.0.

Quick start
  1. Install the extension from the Marketplace. See Installation.
  2. Open a *.prefab.json file. It still opens as normal JSON text.
  3. Click the Open Prefab Preview button in the editor title bar. The 3D view opens to the side.
  4. Drag to rotate, right drag to pan, use the wheel to zoom. Click a block to see its details. See Using the 3D View.
  5. If blocks show up magenta, check the asset paths. See Asset Sources.
Screenshot
A castle ruin prefab in the 3D view with the sidebar on the right
A castle ruin prefab in the 3D view with the sidebar on the right
Prefab Renderer
Start Installation · Using the 3D View
Features Rendering · Asset Sources
Reference Commands and Settings · FAQ and Troubleshooting · Version History
Links Project page on mutigeraffe.com · Download on the VS Code Marketplace