Package net.pl3x.map.core
Class Pl3xMap
java.lang.Object
net.pl3x.map.core.Pl3xMap
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final classstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract @NotNull net.kyori.adventure.platform.AudienceProviderstatic @NotNull Pl3xMapapi()abstract @NotNull WorldcloneWorld(@NotNull World world) voiddisable()voidenable()@NotNull BlockRegistryabstract intgetColorForPower(byte power) @NotNull EventRegistryabstract @Nullable Block@NotNull HeightmapRegistry@NotNull HttpdServer@NotNull IconRegistryabstract @NotNull Pathabstract @NotNull Pathabstract intabstract booleanabstract @NotNull String@NotNull PlayerRegistry@NotNull RegionDoubleChecker@NotNull RegionProcessor@NotNull RendererRegistry@NotNull ExecutorService@NotNull Schedulerabstract Stringabstract @NotNull String@NotNull String@NotNull WorldRegistrybooleanisBukkit()booleanprotected abstract voidprotected abstract voidprotected abstract void
-
Constructor Details
-
Pl3xMap
public Pl3xMap(boolean isBukkit)
-
-
Method Details
-
api
-
isEnabled
public boolean isEnabled() -
getHttpdServer
-
getRegionProcessor
-
getRegionDoubleChecker
-
getBlockRegistry
-
getEventRegistry
-
getHeightmapRegistry
-
getIconRegistry
-
getPlayerRegistry
-
getRendererRegistry
-
getWorldRegistry
-
getRenderExecutor
-
getScheduler
-
enable
public void enable() -
disable
public void disable() -
isBukkit
public boolean isBukkit() -
getPlatform
-
getVersion
-
getVersionCommit
-
getMaxPlayers
public abstract int getMaxPlayers() -
getOnlineMode
public abstract boolean getOnlineMode() -
getServerVersion
-
adventure
@NotNull public abstract @NotNull net.kyori.adventure.platform.AudienceProvider adventure() -
getMainDir
-
getJarPath
-
getColorForPower
public abstract int getColorForPower(byte power) -
getFlower
-
loadBlocks
protected abstract void loadBlocks() -
loadWorlds
protected abstract void loadWorlds() -
loadPlayers
protected abstract void loadPlayers() -
cloneWorld
-