Class SpawnLayer

All Implemented Interfaces:
JsonSerializable

public class SpawnLayer extends WorldLayer
Manages world spawn marker.
  • Field Details

  • Constructor Details

    • SpawnLayer

      public SpawnLayer(@NotNull @NotNull World world)
      Create a new spawn layer.
      Parameters:
      world - world
  • Method Details

    • getMarkers

      @NotNull public @NotNull Collection<@NotNull Marker<?>> getMarkers()
      Description copied from class: Layer
      Get the markers to display in this Layer.
      Overrides:
      getMarkers in class SimpleLayer
      Returns:
      markers to display