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_242362_, Vec3 p_242272_, Vec2 p_242166_, ServerLevel p_242273_, int p_242279_, String p_242187_, Component p_242467_, MinecraftServer p_242416_, Entity p_242300_, boolean p_242243_, com.mojang.brigadier.ResultConsumer<CommandSourceStack> p_242375_, EntityAnchorArgument.Anchor p_242201_, CommandSigningContext p_242188_, TaskChainer p_242249_) -
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_) 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
private final MinecraftServer
ServerStatusPacketListenerImpl.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_) ServerStatusPacketListenerImpl
(MinecraftServer p_10087_, Connection p_10088_) -
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 TypeMethodDescription(package private) static GameRules.Type<GameRules.BooleanValue>
GameRules.BooleanValue.create
(boolean p_46253_, BiConsumer<MinecraftServer, GameRules.BooleanValue> p_46254_) private 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_249266_, int p_249857_, CompoundTag p_249309_, boolean p_251525_, int p_249614_, int p_252310_, int p_250544_, float p_250495_, long p_250393_, long p_252085_, int p_250455_, int p_248981_, int p_249051_, boolean p_249672_, int p_249807_, boolean p_252350_, boolean p_250231_, boolean p_249788_, WorldBorder.Settings p_251494_, int p_249519_, int p_250649_, UUID p_248892_, Set<String> p_251898_, TimerQueue<MinecraftServer> p_251119_, CompoundTag p_248915_, CompoundTag p_252274_, LevelSettings p_248619_, WorldOptions p_251512_, PrimaryLevelData.SpecialWorldProperty p_251396_, com.mojang.serialization.Lifecycle p_252247_) -
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)