Contents
- Description
- Method Summary
- Method Details
- getEditor()
- getEditorRef()
- getPrefabPaths()
- getBlocksBetweenEachPrefab()
- getPasteLevelGoal()
- loadChildPrefabs()
- shouldLoadEntities()
- getStackingAxis()
- getWorldGenType()
- getBlocksAboveSurface()
- getAlignment()
- getPrefabRootDirectory()
- isWorldTickingEnabled()
- getRowSplitMode()
- getUnprocessedPrefabPaths()
- getEnvironment()
- getGrassTint()
Interface PrefabEditorCreationContext
- All Known Implementing Classes:
PrefabEditorCreationSettings
public interface PrefabEditorCreationContext
Used as an unmodifiable version of
PrefabEditorCreationSettings-
Method Summary
Modifier and TypeMethodDescriptionintintGets the environment ID to use for the prefab editor world.Gets the grass tint color as a hex string (e.g. "#5B9E28").intDetermines how prefabs are split into rows when loading multiple prefabs.Gets the unprocessed prefab paths (the original input paths before resolving).booleanWhether world ticking (block updates, random ticks, etc.) is enabled in the prefab editor world.booleanboolean
-
Method Details
-
getEditor
Player getEditor() -
getEditorRef
PlayerRef getEditorRef() -
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
-
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").
-