Page cover

Create a new prefab

This guide covers how to create a new prefab in Hytale in a dedicated editor world and save it as a reusable asset.

  • Step 1: Initialize the Workspace /editprefab new <world name> Example: /editprefab new my_prefab_world This generates a clean environment for building.

    Note: The name you type here is for the world (the workspace), not the specific structure you are about to build. You can save multiple prefabs in one world.

  • Step 2: Construct Your Build Create your structure, statue, or building within this new world exactly how you want it to look.

  • Step 3: Define the Boundaries Equip the Selection Brush and highlight the entire area of your build. Ensure the selection box covers every block you want to include. You can also use /pos1 and /pos2.

  • Step 4: Copy the asset with /copy. Save the Asset /prefab save This command stores the currently selected blocks as a new prefab file.

  • Step 5: Return to Main World /editprefab exit Use this to leave the editor mode and return to your previous location.

  • Step 6: Place Your New Prefab To use your creation:

    1. Equip the Paste Brush.

    2. Press 'E' to open the asset menu.

    3. Look for the "Server" dropdown menu in the top right corner to find your custom asset.

    4. Alternative method: Type /prefab list and select it from there.

circle-check

Last updated