Package net.minestom.server.world
Class DimensionType.Builder
java.lang.Object
net.minestom.server.world.DimensionType.Builder
- Enclosing interface:
DimensionType
-
Method Summary
Modifier and TypeMethodDescription@NotNull DimensionType.Builder
ambientLight
(float ambientLight) @NotNull DimensionType.Builder
bedWorks
(boolean bedWorks) @NotNull DimensionType
build()
@NotNull DimensionType.Builder
coordinateScale
(double coordinateScale) @NotNull DimensionType.Builder
@NotNull DimensionType.Builder
@NotNull DimensionType.Builder
hasCeiling
(boolean hasCeiling) @NotNull DimensionType.Builder
hasRaids
(boolean hasRaids) @NotNull DimensionType.Builder
hasSkylight
(boolean hasSkylight) @NotNull DimensionType.Builder
height
(int height) @NotNull DimensionType.Builder
infiniburn
(@NotNull String infiniburn) @NotNull DimensionType.Builder
logicalHeight
(int logicalHeight) @NotNull DimensionType.Builder
minY
(int minY) @NotNull DimensionType.Builder
natural
(boolean natural) @NotNull DimensionType.Builder
piglinSafe
(boolean piglinSafe) @NotNull DimensionType.Builder
respawnAnchorWorks
(boolean respawnAnchorWorks) @NotNull DimensionType.Builder
ultrawarm
(boolean ultrawarm)
-
Method Details
-
ultrawarm
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder ultrawarm(boolean ultrawarm) -
natural
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder natural(boolean natural) -
coordinateScale
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder coordinateScale(double coordinateScale) -
hasSkylight
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder hasSkylight(boolean hasSkylight) -
hasCeiling
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder hasCeiling(boolean hasCeiling) -
ambientLight
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder ambientLight(float ambientLight) -
fixedTime
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder fixedTime(@Nullable @Nullable Long fixedTime) -
piglinSafe
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder piglinSafe(boolean piglinSafe) -
bedWorks
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder bedWorks(boolean bedWorks) -
respawnAnchorWorks
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder respawnAnchorWorks(boolean respawnAnchorWorks) -
hasRaids
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder hasRaids(boolean hasRaids) -
logicalHeight
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder logicalHeight(int logicalHeight) -
minY
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder minY(int minY) -
height
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder height(int height) -
infiniburn
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder infiniburn(@NotNull @NotNull String infiniburn) -
effects
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull DimensionType.Builder effects(@NotNull @NotNull String effects) -
build
-