public class PrefabEditorLoadSettingsPage extends InteractiveCustomUIPage
Class PrefabEditorLoadSettingsPage. Provides prefabeditorloadsettingspage functionality for the Hytale server.
java.lang.Object > InteractiveCustomUIPage > PrefabEditorLoadSettingsPage
Field Summary
currentLoadingState
Field currentLoadingState.
loadingWorldName
Field loadingWorldName.
browserRoot
Field browserRoot.
browserCurrent
Field browserCurrent.
selectedPath
Field selectedPath.
browserSearchQuery
Field browserSearchQuery.
inAssetsRoot
Field inAssetsRoot.
assetsCurrentDir
Field assetsCurrentDir.
rootDirectoryDropdown
Field rootDirectoryDropdown.
worldGenTypeDropdown
Field worldGenTypeDropdown.
environmentDropdown
Field environmentDropdown.
axisToPasteOnDropdown
Field axisToPasteOnDropdown.
alignmentMethodDropdown
Field alignmentMethodDropdown.
rowSplitModeDropdown
Field rowSplitModeDropdown.
playerComponent
Field playerComponent.
playerRefComponent
Field playerRefComponent.
showLoadingBuilder
Field showLoadingBuilder.
result
Field result.
commandBuilder
Field commandBuilder.
builder
Field builder.
builder3
Field builder3.
builder4
Field builder4.
cancellingBuilder
Field cancellingBuilder.
sessionManager
Field sessionManager.
worldNameToClean
Field worldNameToClean.
builder5
Field builder5.
builder2
Field builder2.
eventBuilder
Field eventBuilder.
roots
Field roots.
fileName
Field fileName.
rootDirValue
Field rootDirValue.
pathToAdd
Field pathToAdd.
commandBuilder2
Field commandBuilder2.
parent
Field parent.
currentDirStr
Field currentDirStr.
targetVirtualPath
Field targetVirtualPath.
resolvedPath
Field resolvedPath.
eventBuilder2
Field eventBuilder2.
file
Field file.
pathStr
Field pathStr.
displayPath
Field displayPath.
entries
Field entries.
displayText
Field displayText.
rootDisplayPath
Field rootDisplayPath.
currentPath
Field currentPath.
currentPathDisplay
Field currentPathDisplay.
files
Field files.
path
Field path.
isDirectory
Field isDirectory.
fileName2
Field fileName2.
packPrefabsPath
Field packPrefabsPath.
rootStr
Field rootStr.
pack
Field pack.
packPrefix
Field packPrefix.
parent2
Field parent2.
configName
Field configName.
uiAction
Field uiAction.
prefabRootDirectory
Field prefabRootDirectory.
unprocessedPrefabPaths
Field unprocessedPrefabPaths.
pasteYLevelGoal
Field pasteYLevelGoal.
blocksBetweenEachPrefab
Field blocksBetweenEachPrefab.
worldGenType
Field worldGenType.
environment
Field environment.
grassTint
Field grassTint.
blocksAboveSurface
Field blocksAboveSurface.
stackingAxis
Field stackingAxis.
alignment
Field alignment.
rowSplitMode
Field rowSplitMode.
recursive
Field recursive.
loadChildren
Field loadChildren.
loadEntities
Field loadEntities.
enableWorldTicking
Field enableWorldTicking.
browserFile
Field browserFile.
browserRootStr
Field browserRootStr.
browserSearchStr
Field browserSearchStr.
Method Detail
PrefabEditorLoadSettingsPage
Method PrefabEditorLoadSettingsPage.
- Parameters:
@Nonnull final PlayerRefplayerRef
build
void
build
(@Nonnull final Ref ref, @Nonnull final UICommandBuilder commandBuilder, @Nonnull final UIEventBuilder eventBuilder, @Nonnull final Store store)
Method build.
- Parameters:
@Nonnull final Refref@Nonnull final UICommandBuildercommandBuilder@Nonnull final UIEventBuildereventBuilder@Nonnull final Storestore
DropdownEntryInfo
new
DropdownEntryInfo
(LocalizableString.fromMessageId("server.commands.editprefab.ui.savedConfigs.noneSelected")
Method DropdownEntryInfo.
- Parameters:
LocalizableString.fromMessageId("server.commands.editprefab.ui.savedConfigs.noneSelected"LocalizableString.fromMessageId("server.commands.editprefab.ui.savedConfigs.noneSelected"
EventData
new
EventData
()
Method EventData.
handleDataEvent
void
handleDataEvent
(@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final PageData data)
Method handleDataEvent.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore@Nonnull final PageDatadata
if
else
if
(this.currentLoadingState != null && this.currentLoadingState.hasErrors()
Method if.
- Parameters:
this.currentLoadingState != null &&this.currentLoadingState.hasErrors(
getCurrentBrowserPath
String
getCurrentBrowserPath
()
Method getCurrentBrowserPath.
buildBrowserList
void
buildBrowserList
(@Nonnull final UICommandBuilder commandBuilder, @Nonnull final UIEventBuilder eventBuilder)
Method buildBrowserList.
- Parameters:
@Nonnull final UICommandBuildercommandBuilder@Nonnull final UIEventBuildereventBuilder
buildAssetsBrowserList
void
buildAssetsBrowserList
(@Nonnull final UICommandBuilder commandBuilder, @Nonnull final UIEventBuilder eventBuilder)
Method buildAssetsBrowserList.
- Parameters:
@Nonnull final UICommandBuildercommandBuilder@Nonnull final UIEventBuildereventBuilder
buildRegularBrowserList
void
buildRegularBrowserList
(@Nonnull final UICommandBuilder commandBuilder, @Nonnull final UIEventBuilder eventBuilder)
Method buildRegularBrowserList.
- Parameters:
@Nonnull final UICommandBuildercommandBuilder@Nonnull final UIEventBuildereventBuilder
buildBrowserRootEntries
List
buildBrowserRootEntries
()
Method buildBrowserRootEntries.
findActualRootPath
Path
findActualRootPath
(@Nonnull final String pathStr)
Method findActualRootPath.
- Parameters:
@Nonnull final StringpathStr
findAssetPackForPath
Method findAssetPackForPath.
- Parameters:
@Nonnull final StringpathStr
getRootDirectoryForPath
Method getRootDirectoryForPath.
- Parameters:
@Nonnull final StringpathStr
isAllowedBrowserRoot
boolean
isAllowedBrowserRoot
(@Nonnull final String pathStr)
Method isAllowedBrowserRoot.
- Parameters:
@Nonnull final StringpathStr
getRootDisplayPath
String
getRootDisplayPath
(@Nonnull final Path root)
Method getRootDisplayPath.
- Parameters:
@Nonnull final Pathroot
PageData
public
PageData
()
Method PageData.
toCreationSettings
Method toCreationSettings.
PrefabEditorCreationSettings
new
PrefabEditorCreationSettings
(this.prefabRootDirectory, List.of(this.unprocessedPrefabPaths.split(", ")
Method PrefabEditorCreationSettings.
- Parameters:
this.prefabRootDirectorythis.prefabRootDirectoryList.of(this.unprocessedPrefabPaths.split("List.of(this.unprocessedPrefabPaths.split("""