/editprefabThe commands for editing prefabs and creating new ones
Syntax
/editprefab [exit] [saveui] [tp]Parameters
exitOptionalstringExit the prefab editing world, losing any unsaved changes
saveuiOptionalstringOpen the save UI to configure and save prefabs in the edit session
tpOptionalstringOpen the teleport UI to teleport to a loaded prefab in the edit session
Subcommands
/editprefab infoGives general information about the prefab you are selecting
/editprefab killDespawn all entities in the currently selected prefab
/editprefab loadCreate an empty world and paste a prefab in it to begin editing
Parameters:
axis- The axis to stack multiple prefabs alongname- The name of the prefab you want to load--recursive- Recursively explore all subdirectories to find prefabs in the directories specified to load/editprefab load.alignmentHow to align the location of the prefabs, either with front sides aligned or anchors aligned
Parameters:
default- Align the anchors/editprefab load.loadChildrenLoad child prefabs
/editprefab load.loadEntitiesLoad entities
/editprefab load.numBlocksToSurfaceThe number of blocks between the base of the prefab and the ground
Parameters:
default- 0 Blocks/editprefab load.pasteLevelGoalThe Y-Axis height that you want to attempt to paste the prefab at. The prefabs may be pasted lower if they do not fit.
Parameters:
default- Y-level 55/editprefab load.pathThe base directory for prefab assets
Parameters:
default- The Server prefab base directory/editprefab load.spacingThe number of blocks of air between each pasted prefab
Parameters:
default- 15 blocks/editprefab load.worldGenTypeThe type of world generator to use for the created world
Parameters:
default- A flat world/editprefab modifiedList all modified prefabs with unsaved changes
/editprefab newCreate an empty world to build a new prefab in from the ground up
Parameters:
name- The name of the prefab you want to create/editprefab saveSave the prefab using the existing area or the currently selected area, also executing any cleanup tasks
Parameters:
absolute- If specified, computes the anchor using absolute positioning instead of relative positioningentities- If specified, will also save entities within the selectionnoEntities- If specified, will NOT save entities within the selection (entities are saved by default)overwrite- If specified, will allow overwriting existing files during the savesaveAll- If specified, will save all prefabs that are currently loaded--empty- If specified, will save air blocks as Empty blocks/editprefab save.confirmIf specified, confirms saving read-only prefabs to the server prefabs directory
/editprefab save.pathThe base directory to save the prefab in
Parameters:
default- The Server prefab base directory/editprefab save.repairFillersIf specified, will repair fillers during the save
/editprefab save.saveAsSpecifies a different save location for the prefab with respect to the servers prefab directory
/editprefab saveAsSave a selected prefab into a different file
Parameters:
noUpdate- If specified, will not update the loaded prefab to have the new path and name/editprefab selectSelect the pre-existing area of the prefab that you are looking at, within 200 blocks
Parameters:
--nearest- Change the prefab selection method to highlight the prefab that you are closest to/editprefab setboxSet the bounding box of the currently selected prefab
/editprefab setbox.confirmSpecify this flag in order to delete the anchor if it is outside the new selection
Server Messages
ui.savedConfigs.noneSelectedNone Selected
ui.worldGenType.flatFlat
ui.worldGenType.voidVoid
ui.alignment.anchorBy Anchor
ui.alignment.zeroAgainst Zero
ui.rootDirectory.serverServer
ui.rootDirectory.assetAssets Prefab
ui.rootDirectory.worldGenWorldGen
ui.rootDirectory.assetRootAssets Root
ui.rowSplit.byAllSubfoldersSplit by Subfolders
ui.rowSplit.bySpecifiedFolderSplit by Specified Folders
ui.rowSplit.noneDon't Split (Single Line)
prefabNotFoundCould not find a prefab with the name '{name}'
loadingLoading prefabs and creating world..
notInEditSessionYou are not in an prefab editing session
noPrefabSelectedYou do not have any prefab selected. Please select one with the "/editprefab select" command
unselectedPrefab unselected
noSelectionYou have no current BuilderTools selection made
somethingWentWrongSomething has gone wrong trying to parse settings
finishProcessingErrorError while processing prefabs: {error}
noPrefabsInPathNo prefab files found, searched paths
save.error.multipleAnchorsThis prefab has more than one anchor block. Anchors found at these locations: {anchors}
save.error.unknownBlockIdKeyCould not find asset id for block key: {key}
info.formatPrefab Info ----\nPath: {path}\nDimensions: {dimensions}\nModified: {dirty}
info.dirty.yesYes (unsaved changes)
info.dirty.noNo
load.error.prefabNotFoundThere was no prefab found at the specified path: {path}
new.errors.notAFileThe specified path is a directory, not a file
new.successCreating a new prefab with path {path}. Note: The prefab will not exist until you save it.
exit.notEditingAPrefabNot currently editing a prefab!
exit.unsavedWarning.titleUnsaved Changes
exit.unsavedWarning.messageYou have {count} prefab(s) with unsaved changes. Are you sure you want to exit? All unsaved changes will be lost.
exit.unsavedWarning.confirmExitExit Without Saving
exit.unsavedWarning.cancelContinue Editing
exit.unsavedWarning.saveAndExitOpen Save Dialog
modified.noneNo modified prefabs found. All prefabs are saved.
modified.headerModified Prefabs ({count} of {total}):
modified.entry- {path}
select.error.noBlockFoundYou are not looking at a block that belongs to a prefab within 200 blocks of you
select.error.noPrefabFoundCould not find a prefab to select
anchor.error.noAnchorFoundYou are not looking at a block that belongs to a prefab within 10 blocks of you
anchor.successSet anchor
save.saveAll.startStarting saving {amount} prefabs.
save.saveAll.successFinished saving all loaded prefabs. Successful saves: {successes}. Failed saves: {failures}.
save.successFinished saving prefab: {name}
save.failureThere was an error while saving prefab: {name}. Please see above for more information
save.selectionMismatchThe prefab you have selected has a bounding box that is not up-to-date with your buildertools selection, please run '/pedit setbox' if you want to update the bounding box, or reselect the prefab if you did not intend to resize the bounding box of the prefab
setbox.successUpdated bounding box for prefab to your current selection
setbox.success.movedAnchorNote: Anchor was outside of bounding box, and confirm argument was provided, so we have set the anchor to the lower corner of the prefab
setbox.anchorOutsideNewSelectionThe anchor position is outside of your new selection. You could set the anchor within your new selection and run the command, or you could run the command again with the "--confirm" argument to set the new selection and set the anchor to the lower corner
kill.doneDespawned {amount} entities in prefab selection
saveAs.errors.notAFileMust specify a non-directory filename
loading.phase.initializingInitializing...
loading.phase.creatingWorldCreating world...
loading.phase.loadingPrefabsLoading prefab {current} of {total}...
loading.phase.pastingPrefabsPasting prefab {current} of {total}...
loading.phase.finalizingFinalizing...
loading.phase.completeComplete!
loading.phase.errorAn error occurred
loading.phase.cancellingCancelling...
loading.phase.shuttingDownWorldShutting down world...
loading.phase.deletingWorldDeleting world...
loading.phase.shutdownCompleteShutdown complete
error.processingFailedFailed to process prefab settings
error.noPrefabsFoundNo prefabs found to load
error.existingSessionYou already have an active edit session
error.alreadyBeingEditedPrefab is already being edited: {details}
error.createDirectoryFailedFailed to create directory: {details}
error.loadFailedFailed to load prefab
error.prefabLoadFailedFailed to load prefab: {details}
error.pasteFailedFailed to paste prefab: {details}
error.exceptionError: {details}
error.failedToStartFailed to start loading
error.absolutePathNotAllowedAbsolute paths are only allowed in singleplayer
error.pathTraversalPath traversal is not allowed outside prefab directories
error.shutdownFailedFailed to shut down the prefab editor world
error.loadingInProgressAnother loading operation is in progress. Please wait for it to complete or cancel.
tp.noPrefabsLoadedThere are no prefabs loaded in your current edit session
save.noPrefabsLoadedThere are no prefabs loaded in your current edit session
save.noPrefabsSelectedNo prefabs selected to save
save.noPrefabsFoundNo matching prefabs found to save
save.noEditedPrefabsNo modified prefabs found
save.savingSaving prefabs...
save.progressSaving prefab {current} of {total}...
save.errorAn error occurred while saving