Skip to content
Building ToolsPlayer only

/editprefab load

Create an empty world and paste a prefab in it to begin editing

Also available as: /pedit load, /prefabedit load

  • Only runs when a player executes the command, not from the server console.

Syntax

  • /editprefab load <prefabPath> <prefabName…> [--alignment=ANCHOR] [--blocksAboveSurface=0] [--pasteLevelGoal=55] [--spacing=15] [--stackingAxis=X] [--worldgen=FLAT] [--loadChildren] [--loadEntities] [--noRecursive] [--recursive]
  • /editprefab load
  • Main commandthe command name that starts it all
  • SubcommandSubcommand: an additional word after the command
  • Requiredrequired, in a fixed order
  • Optionaloptional, with --name=value
  • FlagFlags without values

Arguments

/editprefab load <prefabPath> <prefabName…> [--alignment=ANCHOR] [--blocksAboveSurface=0] [--pasteLevelGoal=55] [--spacing=15] [--stackingAxis=X] [--worldgen=FLAT] [--loadChildren] [--loadEntities] [--noRecursive] [--recursive]

Create an empty world and paste a prefab in it to begin editing

ArgumentTypeTypeDescription
prefabPathRequired

PrefabPath

server, asset, worldgen, asset_root

serverassetworldgenasset_root

The base directory for prefab assets

prefabNameRequired

List: Text

An argument that accepts one or more (comma-separated) values of another argument type

The name of the prefab you want to load

--alignmentWith Default Value

Default: ANCHOR

Alignment

anchor, zero

anchorzero

How to align the location of the prefabs, either with front sides aligned or anchors aligned

--blocksAboveSurfaceWith Default Value

Default: 0

Integer

A whole number

The number of blocks between the base of the prefab and the ground

Only together with --worldgen

--pasteLevelGoalWith Default Value

Default: 55

Integer

A whole number

The Y-Axis height that you want to attempt to paste the prefab at. The prefabs may be pasted lower if they do not fit.

--spacingWith Default Value

Default: 15

Integer

A whole number

The number of blocks of air between each pasted prefab

--stackingAxis

Also: --axis

With Default Value

Default: X

Stacking Axis

x, z

xz

The axis to stack multiple prefabs along

--worldgenWith Default Value

Default: FLAT

WorldGenType

flat, void

flatvoid

The type of world generator to use for the created world

--loadChildren

Also: --children

Flag–

Load child prefabs

--loadEntities

Also: --entities

Flag–

Load entities

--noRecursive

Also: --no-recursive

Flag–

Only load prefabs directly in the directories specified, and skip their subdirectories

--recursiveFlag–

Recursively explore all subdirectories to find prefabs in the directories specified to load

/editprefab load

Create an empty world and paste a prefab in it to begin editing

This command has no arguments.

Permissions

Permission
hytale.buildertools.command.editprefab.load
Default group
WorldEditorfrom the parent command

The groups build on one another: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Higher groups inherit the permissions of lower ones; new players are Adventurers, and admins (OP) can do everything.

Back to command reference

/editprefab load — Hytale command reference | ZAP-Hosting