Package net.minestom.server
Interface ServerProcess
- All Superinterfaces:
Snapshotable
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull AdvancementManager
Handles registered advancements.@NotNull AttributeManager
Handles registered attributes@NotNull BenchmarkManager
@NotNull BiomeManager
biome()
Handles registered biomes.@NotNull BlockManager
block()
Handlesblock handlers
andplacement rules
.@NotNull BossBarManager
bossBar()
Handles registered boss bars.@NotNull CommandManager
command()
Handles registered commands.@NotNull ConnectionManager
Handles incoming connections/players.@NotNull DimensionTypeManager
Handles registered dimensions.@NotNull ThreadDispatcher
<Chunk> Dispatcher for tickable game objects.@NotNull GlobalEventHandler
Gets the global event handler.@NotNull ExceptionManager
Handles all thrown exceptions from the server.@Nullable ExtensionManager
Loads and handle extensions.@NotNull InstanceManager
instance()
Handles registered instances.boolean
isAlive()
@NotNull PacketListenerManager
Handles incoming packets.@NotNull PacketProcessor
Gets the object handling the client packets processing.@NotNull RecipeManager
recipe()
Handles registered recipes shown to clients.@NotNull SchedulerManager
Main scheduler ticked at the server rate.@NotNull Server
server()
Exposed socket server.void
start
(@NotNull SocketAddress socketAddress) void
stop()
@NotNull TagManager
tag()
Handles registry tags.@NotNull TeamManager
team()
Handles registered teams.@NotNull ServerProcess.Ticker
ticker()
Handles the server ticks.@NotNull TrimManager
trim()
Methods inherited from interface net.minestom.server.snapshot.Snapshotable
updateSnapshot
-
Method Details
-
connection
Handles incoming connections/players. -
instance
Handles registered instances. -
block
Handlesblock handlers
andplacement rules
. -
command
Handles registered commands. -
recipe
Handles registered recipes shown to clients. -
team
Handles registered teams. -
eventHandler
Gets the global event handler.Used to register event callback at a global scale.
-
scheduler
Main scheduler ticked at the server rate. -
benchmark
-
dimension
Handles registered dimensions. -
biome
Handles registered biomes. -
attribute
Handles registered attributes -
advancement
Handles registered advancements. -
bossBar
Handles registered boss bars. -
extension
Loads and handle extensions. -
tag
Handles registry tags. -
trim
-
exception
Handles all thrown exceptions from the server. -
packetListener
Handles incoming packets. -
packetProcessor
Gets the object handling the client packets processing.Can be used if you want to convert a buffer to a client packet object.
-
server
Exposed socket server. -
dispatcher
Dispatcher for tickable game objects. -
ticker
Handles the server ticks. -
start
-
stop
void stop() -
isAlive
boolean isAlive()
-