Uses of Class
net.minecraft.server.MinecraftServer
Package
Description
-
Uses of MinecraftServer in net.minecraft.client.server
-
Uses of MinecraftServer in net.minecraft.commands
ModifierConstructorDescriptionCommandSourceStack
(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, Entity p_81310_) protected
CommandSourceStack
(CommandSource p_282943_, Vec3 p_282023_, Vec2 p_282896_, ServerLevel p_282659_, int p_283075_, String p_282379_, Component p_282469_, MinecraftServer p_281590_, Entity p_281515_, boolean p_282415_, com.mojang.brigadier.ResultConsumer<CommandSourceStack> p_282042_, EntityAnchorArgument.Anchor p_282332_, CommandSigningContext p_283585_, TaskChainer p_282376_, IntConsumer p_282226_) -
Uses of MinecraftServer in net.minecraft.gametest.framework
-
Uses of MinecraftServer in net.minecraft.server
Modifier and TypeFieldDescription(package private) final MinecraftServer
ServerFunctionManager.server
private final MinecraftServer
ServerScoreboard.server
ModifierConstructorDescriptionServerFunctionManager
(MinecraftServer p_136110_, ServerFunctionLibrary p_136111_) ServerScoreboard
(MinecraftServer p_136197_) -
Uses of MinecraftServer in net.minecraft.server.chase
ModifierConstructorDescriptionChaseClient
(String p_195990_, int p_195991_, MinecraftServer p_195992_) -
Uses of MinecraftServer in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static void
PerfCommand.saveResults
(CommandSourceStack p_180447_, Path p_180448_, MinecraftServer p_180449_) -
Uses of MinecraftServer in net.minecraft.server.dedicated
-
Uses of MinecraftServer in net.minecraft.server.gui
Modifier and TypeFieldDescriptionprivate final MinecraftServer
PlayerListComponent.server
private final MinecraftServer
StatsComponent.server
ModifierConstructorDescriptionPlayerListComponent
(MinecraftServer p_139953_) StatsComponent
(MinecraftServer p_139963_) -
Uses of MinecraftServer in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate final MinecraftServer
ServerLevel.server
final MinecraftServer
ServerPlayer.server
ModifierConstructorDescriptionServerLevel
(MinecraftServer p_214999_, Executor p_215000_, LevelStorageSource.LevelStorageAccess p_215001_, ServerLevelData p_215002_, ResourceKey<Level> p_215003_, LevelStem p_215004_, ChunkProgressListener p_215005_, boolean p_215006_, long p_215007_, List<CustomSpawner> p_215008_, boolean p_215009_, RandomSequences p_288977_) ServerPlayer
(MinecraftServer p_254143_, ServerLevel p_254435_, com.mojang.authlib.GameProfile p_253651_) -
Uses of MinecraftServer in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate final MinecraftServer
MemoryServerHandshakePacketListenerImpl.server
(package private) final MinecraftServer
ServerConnectionListener.server
private final MinecraftServer
ServerGamePacketListenerImpl.server
private final MinecraftServer
ServerHandshakePacketListenerImpl.server
(package private) final MinecraftServer
ServerLoginPacketListenerImpl.server
ModifierConstructorDescriptionMemoryServerHandshakePacketListenerImpl
(MinecraftServer p_9691_, Connection p_9692_) ServerConnectionListener
(MinecraftServer p_9707_) ServerGamePacketListenerImpl
(MinecraftServer p_9770_, Connection p_9771_, ServerPlayer p_9772_) ServerHandshakePacketListenerImpl
(MinecraftServer p_9969_, Connection p_9970_) ServerLoginPacketListenerImpl
(MinecraftServer p_10027_, Connection p_10028_) -
Uses of MinecraftServer in net.minecraft.server.players
Modifier and TypeMethodDescriptionprivate static boolean
OldUsersConverter.areOldPlayersConverted
(MinecraftServer p_11109_) static boolean
OldUsersConverter.convertIpBanlist
(MinecraftServer p_11099_) static UUID
OldUsersConverter.convertMobOwnerIfNecessary
(MinecraftServer p_11084_, String p_11085_) static boolean
OldUsersConverter.convertOpsList
(MinecraftServer p_11103_) static boolean
OldUsersConverter.convertUserBanlist
(MinecraftServer p_11082_) static boolean
OldUsersConverter.convertWhiteList
(MinecraftServer p_11105_) private static File
OldUsersConverter.getWorldPlayersDirectory
(MinecraftServer p_11111_) private static void
OldUsersConverter.lookupPlayers
(MinecraftServer p_11087_, Collection<String> p_11088_, com.mojang.authlib.ProfileLookupCallback p_11089_) static boolean
OldUsersConverter.serverReadyAfterUserconversion
(MinecraftServer p_11107_) ModifierConstructorDescriptionPlayerList
(MinecraftServer p_203842_, LayeredRegistryAccess<RegistryLayer> p_251844_, PlayerDataStorage p_203844_, int p_203845_) -
Uses of MinecraftServer in net.minecraft.server.rcon
-
Uses of MinecraftServer in net.minecraft.stats
-
Uses of MinecraftServer in net.minecraft.util.monitoring.jmx
Modifier and TypeMethodDescriptionstatic void
MinecraftServerStatistics.registerJmxMonitoring
(MinecraftServer p_18329_) -
Uses of MinecraftServer in net.minecraft.util.profiling.jfr
-
Uses of MinecraftServer in net.minecraft.world.entity
-
Uses of MinecraftServer in net.minecraft.world.level
Modifier and TypeFieldDescription(package private) final BiConsumer<MinecraftServer,
T> GameRules.Type.callback
Modifier and TypeMethodDescriptionprivate <T extends GameRules.Value<T>>
voidGameRules.assignCap
(GameRules.Key<T> p_46173_, GameRules p_46174_, MinecraftServer p_46175_) void
GameRules.assignFrom
(GameRules p_46177_, MinecraftServer p_46178_) protected void
GameRules.Value.onChanged
(MinecraftServer p_46369_) void
GameRules.BooleanValue.set
(boolean p_46247_, MinecraftServer p_46248_) void
GameRules.IntegerValue.set
(int p_151490_, MinecraftServer p_151491_) void
GameRules.BooleanValue.setFrom
(GameRules.BooleanValue p_46225_, MinecraftServer p_46226_) void
GameRules.IntegerValue.setFrom
(GameRules.IntegerValue p_46298_, MinecraftServer p_46299_) abstract void
GameRules.Value.setFrom
(T p_46363_, MinecraftServer p_46364_) Modifier and TypeMethodDescriptionstatic GameRules.Type<GameRules.BooleanValue>
GameRules.BooleanValue.create
(boolean p_46253_, BiConsumer<MinecraftServer, GameRules.BooleanValue> p_46254_) static GameRules.Type<GameRules.IntegerValue>
GameRules.IntegerValue.create
(int p_46295_, BiConsumer<MinecraftServer, GameRules.IntegerValue> p_46296_) ModifierConstructorDescription(package private)
Type
(Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> p_46342_, Function<GameRules.Type<T>, T> p_46343_, BiConsumer<MinecraftServer, T> p_46344_, GameRules.VisitorCaller<T> p_46345_) -
Uses of MinecraftServer in net.minecraft.world.level.storage
Modifier and TypeFieldDescriptionprivate final TimerQueue<MinecraftServer>
PrimaryLevelData.scheduledEvents
Modifier and TypeMethodDescriptionDerivedLevelData.getScheduledEvents()
PrimaryLevelData.getScheduledEvents()
ServerLevelData.getScheduledEvents()
ModifierConstructorDescriptionprivate
PrimaryLevelData
(com.mojang.datafixers.DataFixer p_277859_, int p_277672_, CompoundTag p_277888_, boolean p_278109_, int p_277714_, int p_278088_, int p_278037_, float p_277542_, long p_277414_, long p_277635_, int p_277595_, int p_277794_, int p_278007_, boolean p_277943_, int p_277674_, boolean p_277644_, boolean p_277749_, boolean p_278004_, WorldBorder.Settings p_277729_, int p_277856_, int p_278051_, UUID p_277341_, Set<String> p_277989_, Set<String> p_277399_, TimerQueue<MinecraftServer> p_277860_, CompoundTag p_277936_, EndDragonFight.Data p_289764_, LevelSettings p_278064_, WorldOptions p_278072_, PrimaryLevelData.SpecialWorldProperty p_277548_, com.mojang.serialization.Lifecycle p_277915_) -
Uses of MinecraftServer in net.minecraft.world.level.timers
Modifier and TypeFieldDescriptionstatic final TimerCallbacks<MinecraftServer>
TimerCallbacks.SERVER_CALLBACKS
Modifier and TypeMethodDescriptionvoid
FunctionCallback.handle
(MinecraftServer p_82172_, TimerQueue<MinecraftServer> p_82173_, long p_82174_) void
FunctionTagCallback.handle
(MinecraftServer p_82199_, TimerQueue<MinecraftServer> p_82200_, long p_82201_) Modifier and TypeMethodDescriptionvoid
FunctionCallback.handle
(MinecraftServer p_82172_, TimerQueue<MinecraftServer> p_82173_, long p_82174_) void
FunctionTagCallback.handle
(MinecraftServer p_82199_, TimerQueue<MinecraftServer> p_82200_, long p_82201_) -
Uses of MinecraftServer in net.minecraftforge.client
-
Uses of MinecraftServer in net.minecraftforge.common.util
Modifier and TypeFieldDescriptionprivate static Supplier<MinecraftServer>
LogicalSidedProvider.server
private final Function<Supplier<MinecraftServer>,
T> LogicalSidedProvider.serverSide
Modifier and TypeMethodDescriptionstatic void
LogicalSidedProvider.setServer
(Supplier<MinecraftServer> server) -
Uses of MinecraftServer in net.minecraftforge.event
Modifier and TypeMethodDescriptionTickEvent.ServerTickEvent.getServer()
Returns the server instance.Modifier and TypeMethodDescriptionstatic void
ForgeEventFactory.onPostServerTick
(BooleanSupplier haveTime, MinecraftServer server) static void
ForgeEventFactory.onPreServerTick
(BooleanSupplier haveTime, MinecraftServer server) ModifierConstructorDescriptionServerTickEvent
(TickEvent.Phase phase, BooleanSupplier haveTime, MinecraftServer server) -
Uses of MinecraftServer in net.minecraftforge.event.server
ModifierConstructorDescriptionServerLifecycleEvent
(MinecraftServer server) ServerStartedEvent
(MinecraftServer server) ServerStartingEvent
(MinecraftServer server) ServerStoppedEvent
(MinecraftServer server) ServerStoppingEvent
(MinecraftServer server) -
Uses of MinecraftServer in net.minecraftforge.network
-
Uses of MinecraftServer in net.minecraftforge.server
Modifier and TypeFieldDescriptionprivate static MinecraftServer
ServerLifecycleHooks.currentServer
Modifier and TypeMethodDescriptionprivate static Path
ServerLifecycleHooks.getServerConfigPath
(MinecraftServer server) static boolean
ServerLifecycleHooks.handleServerAboutToStart
(MinecraftServer server) static void
ServerLifecycleHooks.handleServerStarted
(MinecraftServer server) static boolean
ServerLifecycleHooks.handleServerStarting
(MinecraftServer server) static void
ServerLifecycleHooks.handleServerStopped
(MinecraftServer server) static void
ServerLifecycleHooks.handleServerStopping
(MinecraftServer server) private static void
LanguageHook.loadLanguage
(String langName, MinecraftServer server) (package private) static void
LanguageHook.loadLanguagesOnServer
(MinecraftServer server) private static void
ServerLifecycleHooks.runModifiers
(MinecraftServer server)