Class endstone::DimensionCreator¶
ClassList > endstone > DimensionCreator
Represents the options that may be used to create a custom Dimension .
#include <endstone/level/dimension_creator.h>
Public Functions¶
| Type | Name |
|---|---|
| DimensionCreator (DimensionId id) Creates an instance of a DimensionCreator for the given dimension id. |
|
| DimensionId | getId () const Gets the identifier of the dimension that is being created. |
| DimensionCreator & | id (DimensionId id) Sets the identifier of the dimension that is being created. |
Public Functions Documentation¶
function DimensionCreator¶
Creates an instance of a DimensionCreator for the given dimension id.
Parameters:
idthe identifier of the dimension to create, e.g.myplugin:void_realm
function getId¶
Gets the identifier of the dimension that is being created.
Returns:
the dimension identifier
function id¶
Sets the identifier of the dimension that is being created.
Parameters:
idthe dimension identifier
Returns:
this DimensionCreator, for chaining
The documentation for this class was generated from the following file include/endstone/level/dimension_creator.h