Package net.pl3x.map.core.markers.layer
Class WorldLayer
java.lang.Object
net.pl3x.map.core.Keyed
net.pl3x.map.core.markers.layer.Layer
net.pl3x.map.core.markers.layer.SimpleLayer
net.pl3x.map.core.markers.layer.WorldLayer
- All Implemented Interfaces:
JsonSerializable
- Direct Known Subclasses:
CustomLayer
,PlayersLayer
,SpawnLayer
,WorldBorderLayer
Represents a layer for worlds.
-
Constructor Summary
ConstructorDescriptionWorldLayer
(@NotNull String key, @NotNull World world, @NotNull Supplier<@NotNull String> labelSupplier) Create a new spawn layer. -
Method Summary
Modifier and TypeMethodDescription@Nullable Options
@NotNull World
getWorld()
@NotNull WorldLayer
setOptions
(@Nullable Options options) Methods inherited from class net.pl3x.map.core.markers.layer.SimpleLayer
addMarker, clearMarkers, getMarkers, hasMarker, registeredMarkers, removeMarker
Methods inherited from class net.pl3x.map.core.markers.layer.Layer
equals, getCss, getLabel, getPane, getPriority, getUpdateInterval, getUpdateInterval, getZIndex, hashCode, isDefaultHidden, isLiveUpdate, setCss, setDefaultHidden, setLabel, setLabel, setLiveUpdate, setPane, setPriority, setShowControls, setUpdateInterval, setUpdateInterval, setZIndex, shouldShowControls, toJson, toString
-
Constructor Details
-
Method Details
-
getWorld
-
getOptions
-
setOptions
-