Interface PrefabEditorCreationContext

All Known Implementing Classes:
PrefabEditorCreationSettings

public interface PrefabEditorCreationContext
Used as an unmodifiable version of PrefabEditorCreationSettings
  • Method Details

    • getEditor

      Player getEditor()
    • getEditorRef

      PlayerRef getEditorRef()
    • getPrefabPaths

      List<Path> getPrefabPaths()
    • getBlocksBetweenEachPrefab

      int getBlocksBetweenEachPrefab()
    • getPasteLevelGoal

      int getPasteLevelGoal()
    • loadChildPrefabs

      boolean loadChildPrefabs()
    • shouldLoadEntities

      boolean shouldLoadEntities()
    • getStackingAxis

      PrefabStackingAxis getStackingAxis()
    • getWorldGenType

      WorldGenType getWorldGenType()
    • getBlocksAboveSurface

      int getBlocksAboveSurface()
    • getAlignment

      PrefabAlignment getAlignment()
    • getPrefabRootDirectory

      PrefabRootDirectory getPrefabRootDirectory()
    • isWorldTickingEnabled

      boolean isWorldTickingEnabled()
      Whether world ticking (block updates, random ticks, etc.) is enabled in the prefab editor world. Defaults to true to maintain normal game behavior for testing.
    • getRowSplitMode

      PrefabRowSplitMode getRowSplitMode()
      Determines how prefabs are split into rows when loading multiple prefabs. Defaults to BY_ALL_SUBFOLDERS for automatic organization by directory structure.
    • getUnprocessedPrefabPaths

      List<String> getUnprocessedPrefabPaths()
      Gets the unprocessed prefab paths (the original input paths before resolving). Used for determining row splits when using BY_SPECIFIED_FOLDER mode.
    • getEnvironment

      String getEnvironment()
      Gets the environment ID to use for the prefab editor world.
    • getGrassTint

      String getGrassTint()
      Gets the grass tint color as a hex string (e.g. "#5B9E28").