PrefabEditorCreationSettings

public class PrefabEditorCreationSettings implements PrefabEditorCreationContext, JsonAssetWithMap, DefaultAssetMap, PrefabEditorCreationSettings>>

Class PrefabEditorCreationSettings. Provides prefabeditorcreationsettings functionality for the Hytale server.

java.lang.Object > PrefabEditorCreationSettings

Field Summary

id

private String id

Field id.

data

private AssetExtraInfo.Data data

Field data.

prefabRootDirectory

private PrefabRootDirectory prefabRootDirectory

Field prefabRootDirectory.

unprocessedPrefabPaths

private List unprocessedPrefabPaths

Field unprocessedPrefabPaths.

pasteYLevelGoal

private int pasteYLevelGoal

Field pasteYLevelGoal.

blocksBetweenEachPrefab

private int blocksBetweenEachPrefab

Field blocksBetweenEachPrefab.

worldGenType

private WorldGenType worldGenType

Field worldGenType.

blocksAboveSurface

private int blocksAboveSurface

Field blocksAboveSurface.

stackingAxis

private PrefabStackingAxis stackingAxis

Field stackingAxis.

alignment

private PrefabAlignment alignment

Field alignment.

recursive

private boolean recursive

Field recursive.

loadChildren

private boolean loadChildren

Field loadChildren.

loadEntities

private boolean loadEntities

Field loadEntities.

enableWorldTicking

private boolean enableWorldTicking

Field enableWorldTicking.

rowSplitMode

private PrefabRowSplitMode rowSplitMode

Field rowSplitMode.

environment

private String environment

Field environment.

grassTint

private String grassTint

Field grassTint.

rootPath

final Path rootPath

Field rootPath.

relativePath

final String relativePath

Field relativePath.

resolvedDir

final Path resolvedDir

Field resolvedDir.

filter

final Stream filter

Field filter.

prefabPaths

final List prefabPaths

Field prefabPaths.

resolvedPath

final Path resolvedPath

Field resolvedPath.

header

final Message header

Field header.

values

final Set values

Field values.

firstComponent

final String firstComponent

Field firstComponent.

Method Detail

getAssetStore

public > getAssetStore ()

Method getAssetStore.

getAssetMap

public PrefabEditorCreationSettings> getAssetMap ()

Method getAssetMap.

PrefabEditorCreationSettings

public private PrefabEditorCreationSettings ()

Method PrefabEditorCreationSettings.

finishProcessing

public PrefabEditorCreationContext finishProcessing (final Player editor, final PlayerRef playerRef, final boolean creatingNewPrefab)

Method finishProcessing.

Parameters:
final Player editor
final PlayerRef playerRef
final boolean creatingNewPrefab

resolveRootPathForInput

private Path resolveRootPathForInput (@Nonnull final String inputPath)

Method resolveRootPathForInput.

Parameters:
@Nonnull final String inputPath

getRelativePathForInput

private String getRelativePathForInput (@Nonnull final String inputPath)

Method getRelativePathForInput.

Parameters:
@Nonnull final String inputPath

stringEndsWithPrefabPath

static boolean stringEndsWithPrefabPath (@Nonnull final String input)

Method stringEndsWithPrefabPath.

Parameters:
@Nonnull final String input

load

static CompletableFuture load (@Nonnull final String name)

Method load.

Parameters:
@Nonnull final String name

save

static CompletableFuture save (@Nonnull final String name, final PrefabEditorCreationSettings settings)

Method save.

Parameters:
@Nonnull final String name
final PrefabEditorCreationSettings settings

getEditor

public Player getEditor ()

Method getEditor.

getEditorRef

public PlayerRef getEditorRef ()

Method getEditorRef.

getPrefabPaths

public List getPrefabPaths ()

Method getPrefabPaths.

getBlocksBetweenEachPrefab

public int getBlocksBetweenEachPrefab ()

Method getBlocksBetweenEachPrefab.

getPasteLevelGoal

public int getPasteLevelGoal ()

Method getPasteLevelGoal.

loadChildPrefabs

public boolean loadChildPrefabs ()

Method loadChildPrefabs.

shouldLoadEntities

public boolean shouldLoadEntities ()

Method shouldLoadEntities.

getStackingAxis

public PrefabStackingAxis getStackingAxis ()

Method getStackingAxis.

getWorldGenType

public WorldGenType getWorldGenType ()

Method getWorldGenType.

getBlocksAboveSurface

public int getBlocksAboveSurface ()

Method getBlocksAboveSurface.

getAlignment

public PrefabAlignment getAlignment ()

Method getAlignment.

getId

public String getId ()

Method getId.

getPrefabRootDirectory

public PrefabRootDirectory getPrefabRootDirectory ()

Method getPrefabRootDirectory.

getUnprocessedPrefabPaths

public List getUnprocessedPrefabPaths ()

Method getUnprocessedPrefabPaths.

getPasteYLevelGoal

public int getPasteYLevelGoal ()

Method getPasteYLevelGoal.

isRecursive

public boolean isRecursive ()

Method isRecursive.

isLoadChildren

public boolean isLoadChildren ()

Method isLoadChildren.

isWorldTickingEnabled

public boolean isWorldTickingEnabled ()

Method isWorldTickingEnabled.

getRowSplitMode

public PrefabRowSplitMode getRowSplitMode ()

Method getRowSplitMode.

getEnvironment

public String getEnvironment ()

Method getEnvironment.

getGrassTint

public String getGrassTint ()

Method getGrassTint.