Uses of Class
net.minecraft.server.MinecraftServer
Packages that use MinecraftServer
Package
Description
-
Uses of MinecraftServer in net.minecraft.client.server
Subclasses of MinecraftServer in net.minecraft.client.server -
Uses of MinecraftServer in net.minecraft.commands
Fields in net.minecraft.commands declared as MinecraftServerMethods in net.minecraft.commands that return MinecraftServerConstructors in net.minecraft.commands with parameters of type MinecraftServerModifierConstructorDescriptionCommandSourceStack
(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_, CommandResultCallback p_310300_, EntityAnchorArgument.Anchor p_282332_, CommandSigningContext p_283585_, TaskChainer p_282376_) -
Uses of MinecraftServer in net.minecraft.gametest.framework
Subclasses of MinecraftServer in net.minecraft.gametest.framework -
Uses of MinecraftServer in net.minecraft.server
Fields in net.minecraft.server declared as MinecraftServerModifier and TypeFieldDescriptionprivate final MinecraftServer
ServerFunctionManager.server
private final MinecraftServer
ServerScoreboard.server
private final MinecraftServer
ServerTickRateManager.server
Methods in net.minecraft.server with type parameters of type MinecraftServerConstructors in net.minecraft.server with parameters of type MinecraftServerModifierConstructorDescriptionServerFunctionManager
(MinecraftServer p_136110_, ServerFunctionLibrary p_136111_) ServerScoreboard
(MinecraftServer p_136197_) ServerTickRateManager
(MinecraftServer p_311395_) -
Uses of MinecraftServer in net.minecraft.server.chase
Fields in net.minecraft.server.chase declared as MinecraftServerConstructors in net.minecraft.server.chase with parameters of type MinecraftServerModifierConstructorDescriptionChaseClient
(String p_195990_, int p_195991_, MinecraftServer p_195992_) -
Uses of MinecraftServer in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type MinecraftServerModifier and TypeMethodDescriptionDebugConfigCommand.getUuidsInConfig
(MinecraftServer p_299245_) private static void
PerfCommand.saveResults
(CommandSourceStack p_180447_, Path p_180448_, MinecraftServer p_180449_) -
Uses of MinecraftServer in net.minecraft.server.dedicated
Subclasses of MinecraftServer in net.minecraft.server.dedicated -
Uses of MinecraftServer in net.minecraft.server.gui
Fields in net.minecraft.server.gui declared as MinecraftServerModifier and TypeFieldDescriptionprivate final MinecraftServer
PlayerListComponent.server
private final MinecraftServer
StatsComponent.server
Constructors in net.minecraft.server.gui with parameters of type MinecraftServerModifierConstructorDescriptionPlayerListComponent
(MinecraftServer p_139953_) StatsComponent
(MinecraftServer p_139963_) -
Uses of MinecraftServer in net.minecraft.server.level
Fields in net.minecraft.server.level declared as MinecraftServerModifier and TypeFieldDescriptionprivate final MinecraftServer
ServerLevel.server
final MinecraftServer
ServerPlayer.server
Methods in net.minecraft.server.level that return MinecraftServerConstructors in net.minecraft.server.level with parameters of type MinecraftServerModifierConstructorDescriptionServerLevel
(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_, ClientInformation p_299301_) -
Uses of MinecraftServer in net.minecraft.server.network
Fields in net.minecraft.server.network declared as MinecraftServerModifier and TypeFieldDescriptionprivate final MinecraftServer
MemoryServerHandshakePacketListenerImpl.server
protected final MinecraftServer
ServerCommonPacketListenerImpl.server
(package private) final MinecraftServer
ServerConnectionListener.server
private final MinecraftServer
ServerHandshakePacketListenerImpl.server
(package private) final MinecraftServer
ServerLoginPacketListenerImpl.server
Methods in net.minecraft.server.network that return MinecraftServerConstructors in net.minecraft.server.network with parameters of type MinecraftServerModifierConstructorDescriptionMemoryServerHandshakePacketListenerImpl
(MinecraftServer p_9691_, Connection p_9692_) ServerCommonPacketListenerImpl
(MinecraftServer p_299469_, Connection p_300872_, CommonListenerCookie p_300277_) ServerConfigurationPacketListenerImpl
(MinecraftServer p_301415_, Connection p_298106_, CommonListenerCookie p_301309_) ServerConnectionListener
(MinecraftServer p_9707_) ServerGamePacketListenerImpl
(MinecraftServer p_9770_, Connection p_9771_, ServerPlayer p_9772_, CommonListenerCookie p_300908_) ServerHandshakePacketListenerImpl
(MinecraftServer p_9969_, Connection p_9970_) ServerLoginPacketListenerImpl
(MinecraftServer p_10027_, Connection p_10028_) -
Uses of MinecraftServer in net.minecraft.server.players
Fields in net.minecraft.server.players declared as MinecraftServerMethods in net.minecraft.server.players that return MinecraftServerMethods in net.minecraft.server.players with parameters of type MinecraftServerModifier 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_) Constructors in net.minecraft.server.players with parameters of type MinecraftServerModifierConstructorDescriptionPlayerList
(MinecraftServer p_203842_, LayeredRegistryAccess<RegistryLayer> p_251844_, PlayerDataStorage p_203844_, int p_203845_) -
Uses of MinecraftServer in net.minecraft.server.rcon
Fields in net.minecraft.server.rcon declared as MinecraftServerConstructors in net.minecraft.server.rcon with parameters of type MinecraftServer -
Uses of MinecraftServer in net.minecraft.stats
Fields in net.minecraft.stats declared as MinecraftServerConstructors in net.minecraft.stats with parameters of type MinecraftServer -
Uses of MinecraftServer in net.minecraft.util.monitoring.jmx
Fields in net.minecraft.util.monitoring.jmx declared as MinecraftServerMethods in net.minecraft.util.monitoring.jmx with parameters of type MinecraftServerModifier and TypeMethodDescriptionstatic void
MinecraftServerStatistics.registerJmxMonitoring
(MinecraftServer p_18329_) Constructors in net.minecraft.util.monitoring.jmx with parameters of type MinecraftServer -
Uses of MinecraftServer in net.minecraft.util.profiling.jfr
Methods in net.minecraft.util.profiling.jfr with parameters of type MinecraftServer -
Uses of MinecraftServer in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return MinecraftServer -
Uses of MinecraftServer in net.minecraft.world.level
Fields in net.minecraft.world.level with type parameters of type MinecraftServerModifier and TypeFieldDescription(package private) final BiConsumer<MinecraftServer,
T> GameRules.Type.callback
Methods in net.minecraft.world.level that return MinecraftServerMethods in net.minecraft.world.level with parameters of type MinecraftServerModifier 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_) Method parameters in net.minecraft.world.level with type arguments of type MinecraftServerModifier 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_) Constructor parameters in net.minecraft.world.level with type arguments of type MinecraftServerModifierConstructorDescription(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
Fields in net.minecraft.world.level.storage with type parameters of type MinecraftServerModifier and TypeFieldDescriptionprivate final TimerQueue<MinecraftServer>
PrimaryLevelData.scheduledEvents
Methods in net.minecraft.world.level.storage that return types with arguments of type MinecraftServerModifier and TypeMethodDescriptionDerivedLevelData.getScheduledEvents()
PrimaryLevelData.getScheduledEvents()
ServerLevelData.getScheduledEvents()
Constructor parameters in net.minecraft.world.level.storage with type arguments of type MinecraftServerModifierConstructorDescriptionprivate
PrimaryLevelData
(CompoundTag p_277888_, boolean p_278109_, int p_277672_, int p_277714_, int p_278088_, float p_277542_, long p_277414_, long p_277635_, int p_278037_, int p_277595_, int p_277794_, boolean p_277943_, int p_278007_, boolean p_277644_, boolean p_277749_, boolean p_278004_, WorldBorder.Settings p_277729_, int p_277674_, int p_277856_, 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
Fields in net.minecraft.world.level.timers with type parameters of type MinecraftServerModifier and TypeFieldDescriptionstatic final TimerCallbacks<MinecraftServer>
TimerCallbacks.SERVER_CALLBACKS
Methods in net.minecraft.world.level.timers with parameters of type MinecraftServerModifier 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_) Method parameters in net.minecraft.world.level.timers with type arguments of type MinecraftServerModifier 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
Methods in net.minecraftforge.client that return MinecraftServer -
Uses of MinecraftServer in net.minecraftforge.common.util
Fields in net.minecraftforge.common.util with type parameters of type MinecraftServerModifier and TypeFieldDescriptionprivate static Supplier<MinecraftServer>
LogicalSidedProvider.server
private final Function<Supplier<MinecraftServer>,
T> LogicalSidedProvider.serverSide
Method parameters in net.minecraftforge.common.util with type arguments of type MinecraftServerModifier and TypeMethodDescriptionstatic void
LogicalSidedProvider.setServer
(Supplier<MinecraftServer> server) -
Uses of MinecraftServer in net.minecraftforge.event
Fields in net.minecraftforge.event declared as MinecraftServerMethods in net.minecraftforge.event that return MinecraftServerModifier and TypeMethodDescriptionTickEvent.ServerTickEvent.getServer()
Returns the server instance.Methods in net.minecraftforge.event with parameters of type MinecraftServerModifier and TypeMethodDescriptionstatic void
ForgeEventFactory.onPostServerTick
(BooleanSupplier haveTime, MinecraftServer server) static void
ForgeEventFactory.onPreServerTick
(BooleanSupplier haveTime, MinecraftServer server) Constructors in net.minecraftforge.event with parameters of type MinecraftServerModifierConstructorDescriptionServerTickEvent
(TickEvent.Phase phase, BooleanSupplier haveTime, MinecraftServer server) -
Uses of MinecraftServer in net.minecraftforge.event.server
Fields in net.minecraftforge.event.server declared as MinecraftServerMethods in net.minecraftforge.event.server that return MinecraftServerConstructors in net.minecraftforge.event.server with parameters of type MinecraftServerModifierConstructorDescriptionServerLifecycleEvent
(MinecraftServer server) ServerStartedEvent
(MinecraftServer server) ServerStartingEvent
(MinecraftServer server) ServerStoppedEvent
(MinecraftServer server) ServerStoppingEvent
(MinecraftServer server) -
Uses of MinecraftServer in net.minecraftforge.network
Methods in net.minecraftforge.network that return MinecraftServer -
Uses of MinecraftServer in net.minecraftforge.server
Fields in net.minecraftforge.server declared as MinecraftServerModifier and TypeFieldDescriptionprivate static MinecraftServer
ServerLifecycleHooks.currentServer
Methods in net.minecraftforge.server that return MinecraftServerMethods in net.minecraftforge.server with parameters of type MinecraftServerModifier 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)