Package net.minestom.server
Interface ServerProcess
- All Superinterfaces:
Registries
,Snapshotable
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull AdvancementManager
Handles registered advancements.@NotNull BenchmarkManager
@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 ThreadDispatcher
<Chunk> Dispatcher for tickable game objects.@NotNull GlobalEventHandler
Gets the global event handler.@NotNull ExceptionManager
Handles all thrown exceptions from the server.@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.Methods inherited from interface net.minestom.server.registry.Registries
bannerPattern, biome, chatType, damageType, dimensionType, enchantment, enchantmentEntityEffects, enchantmentLevelBasedValues, enchantmentLocationEffects, enchantmentValueEffects, jukeboxSong, paintingVariant, trimMaterial, trimPattern, wolfVariant
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
-
advancement
Handles registered advancements. -
bossBar
Handles registered boss bars. -
tag
Handles registry tags. -
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()
-