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 pSource, Vec3 pWorldPosition, Vec2 pRotation, ServerLevel pLevel, int pPermissionLevel, String pTextName, Component pDisplayName, MinecraftServer pServer, Entity pEntity) protected
CommandSourceStack
(CommandSource pSource, Vec3 pWorldPosition, Vec2 pRotation, ServerLevel pLevel, int pPermissionLevel, String pTextName, Component pDisplayName, MinecraftServer pServer, Entity pEntity, boolean pSilent, CommandResultCallback pResultCallback, EntityAnchorArgument.Anchor pAnchor, CommandSigningContext pSigningContext, TaskChainer pChatMessageChainer) -
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 pServer, ServerFunctionLibrary pLibrary) ServerScoreboard
(MinecraftServer pServer) ServerTickRateManager
(MinecraftServer pServer) -
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 pServerHost, int pServerPort, MinecraftServer pServer) -
Uses of MinecraftServer in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type MinecraftServerModifier and TypeMethodDescriptionDebugConfigCommand.getUuidsInConfig
(MinecraftServer pServer) private static void
PerfCommand.saveResults
(CommandSourceStack pSource, Path pPath, MinecraftServer pServer) -
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 pServer) StatsComponent
(MinecraftServer pServer) -
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 pServer, Executor pDispatcher, LevelStorageSource.LevelStorageAccess pLevelStorageAccess, ServerLevelData pServerLevelData, ResourceKey<Level> pDimension, LevelStem pLevelStem, ChunkProgressListener pProgressListener, boolean pIsDebug, long pBiomeZoomSeed, List<CustomSpawner> pCustomSpawners, boolean pTickTime, RandomSequences pRandomSequences) ServerPlayer
(MinecraftServer p_254143_, ServerLevel p_254435_, com.mojang.authlib.GameProfile p_253651_, ClientInformation p_301997_) -
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
Reference to the MinecraftServer object.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 pServer, Connection pConnection) ServerCommonPacketListenerImpl
(MinecraftServer pServer, Connection pConnection, CommonListenerCookie pCookie) ServerConfigurationPacketListenerImpl
(MinecraftServer pServer, Connection pConnection, CommonListenerCookie pCookie) ServerConnectionListener
(MinecraftServer pServer) ServerGamePacketListenerImpl
(MinecraftServer pServer, Connection pConnection, ServerPlayer pPlayer, CommonListenerCookie pCookie) ServerHandshakePacketListenerImpl
(MinecraftServer pServer, Connection pConnection) ServerLoginPacketListenerImpl
(MinecraftServer pServer, Connection pConnection, boolean pTransferred) -
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 pServer) static boolean
OldUsersConverter.convertIpBanlist
(MinecraftServer pServer) static UUID
OldUsersConverter.convertMobOwnerIfNecessary
(MinecraftServer pServer, String pUsername) static boolean
OldUsersConverter.convertOpsList
(MinecraftServer pServer) static boolean
OldUsersConverter.convertUserBanlist
(MinecraftServer pServer) static boolean
OldUsersConverter.convertWhiteList
(MinecraftServer pServer) private static File
OldUsersConverter.getWorldPlayersDirectory
(MinecraftServer pServer) private static void
OldUsersConverter.lookupPlayers
(MinecraftServer p_11087_, Collection<String> p_11088_, com.mojang.authlib.ProfileLookupCallback p_11089_) static boolean
OldUsersConverter.serverReadyAfterUserconversion
(MinecraftServer pServer) Constructors in net.minecraft.server.players with parameters of type MinecraftServerModifierConstructorDescriptionPlayerList
(MinecraftServer pServer, LayeredRegistryAccess<RegistryLayer> pRegistries, PlayerDataStorage pPlayerIo, int pMaxPlayers) -
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 pServer) 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> pKey, GameRules pRules, MinecraftServer pServer) void
GameRules.assignFrom
(GameRules pRules, MinecraftServer pServer) protected void
GameRules.Value.onChanged
(MinecraftServer pServer) void
GameRules.BooleanValue.set
(boolean pValue, MinecraftServer pServer) void
GameRules.IntegerValue.set
(int pValue, MinecraftServer pServer) void
GameRules.BooleanValue.setFrom
(GameRules.BooleanValue pValue, MinecraftServer pServer) void
GameRules.IntegerValue.setFrom
(GameRules.IntegerValue pValue, MinecraftServer pServer) abstract void
GameRules.Value.setFrom
(T pValue, MinecraftServer pServer) Method parameters in net.minecraft.world.level with type arguments of type MinecraftServerModifier and TypeMethodDescriptionstatic GameRules.Type
<GameRules.BooleanValue> GameRules.BooleanValue.create
(boolean pDefaultValue, BiConsumer<MinecraftServer, GameRules.BooleanValue> pChangeListener) (package private) static GameRules.Type
<GameRules.IntegerValue> GameRules.IntegerValue.create
(int pDefaultValue, int pMin, int pMax, BiConsumer<MinecraftServer, GameRules.IntegerValue> pChangeListener) static GameRules.Type
<GameRules.IntegerValue> GameRules.IntegerValue.create
(int pDefaultValue, BiConsumer<MinecraftServer, GameRules.IntegerValue> pChangeListener) Constructor parameters in net.minecraft.world.level with type arguments of type MinecraftServerModifierConstructorDescription(package private)
Type
(Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> pArgument, Function<GameRules.Type<T>, T> pConstructor, BiConsumer<MinecraftServer, T> pCallback, GameRules.VisitorCaller<T> pVisitorCaller) -
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_, BlockPos p_320000_, float p_277542_, long p_277414_, long p_277635_, int p_277672_, int p_277714_, int p_278088_, boolean p_277943_, int p_278037_, boolean p_277644_, boolean p_277749_, boolean p_278004_, WorldBorder.Settings p_277729_, int p_277595_, int p_277794_, 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 pObj, TimerQueue<MinecraftServer> pManager, long pGameTime) void
FunctionTagCallback.handle
(MinecraftServer pObj, TimerQueue<MinecraftServer> pManager, long pGameTime) Method parameters in net.minecraft.world.level.timers with type arguments of type MinecraftServerModifier and TypeMethodDescriptionvoid
FunctionCallback.handle
(MinecraftServer pObj, TimerQueue<MinecraftServer> pManager, long pGameTime) void
FunctionTagCallback.handle
(MinecraftServer pObj, TimerQueue<MinecraftServer> pManager, long pGameTime) -
Uses of MinecraftServer in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client that return MinecraftServer -
Uses of MinecraftServer in net.neoforged.neoforge.common.util
Fields in net.neoforged.neoforge.common.util with type parameters of type MinecraftServerModifier and TypeFieldDescriptionprivate static Supplier
<MinecraftServer> LogicalSidedProvider.server
private final Function
<Supplier<MinecraftServer>, T> LogicalSidedProvider.serverSide
Methods in net.neoforged.neoforge.common.util that return MinecraftServerMethod parameters in net.neoforged.neoforge.common.util with type arguments of type MinecraftServerModifier and TypeMethodDescriptionstatic void
LogicalSidedProvider.setServer
(Supplier<MinecraftServer> server) Constructors in net.neoforged.neoforge.common.util with parameters of type MinecraftServer -
Uses of MinecraftServer in net.neoforged.neoforge.debug.chat
Constructors in net.neoforged.neoforge.debug.chat with parameters of type MinecraftServerModifierConstructorDescriptionErrorCatchingStack
(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, @Nullable Entity p_81310_) -
Uses of MinecraftServer in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type MinecraftServerModifier and TypeMethodDescriptionstatic void
EventHooks.fireServerTickPost
(BooleanSupplier haveTime, MinecraftServer server) FiresServerTickEvent.Post
.static void
EventHooks.fireServerTickPre
(BooleanSupplier haveTime, MinecraftServer server) FiresServerTickEvent.Pre
. -
Uses of MinecraftServer in net.neoforged.neoforge.event.server
Fields in net.neoforged.neoforge.event.server declared as MinecraftServerMethods in net.neoforged.neoforge.event.server that return MinecraftServerConstructors in net.neoforged.neoforge.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.neoforged.neoforge.event.tick
Fields in net.neoforged.neoforge.event.tick declared as MinecraftServerMethods in net.neoforged.neoforge.event.tick that return MinecraftServerConstructors in net.neoforged.neoforge.event.tick with parameters of type MinecraftServerModifierConstructorDescriptionPost
(BooleanSupplier haveTime, MinecraftServer server) Pre
(BooleanSupplier haveTime, MinecraftServer server) protected
ServerTickEvent
(BooleanSupplier hasTime, MinecraftServer server) -
Uses of MinecraftServer in net.neoforged.neoforge.server
Fields in net.neoforged.neoforge.server declared as MinecraftServerModifier and TypeFieldDescriptionprivate static @Nullable MinecraftServer
ServerLifecycleHooks.currentServer
Methods in net.neoforged.neoforge.server that return MinecraftServerModifier and TypeMethodDescriptionstatic @Nullable MinecraftServer
ServerLifecycleHooks.getCurrentServer()
Methods in net.neoforged.neoforge.server with parameters of type MinecraftServerModifier and TypeMethodDescriptionprivate static Path
ServerLifecycleHooks.getServerConfigPath
(MinecraftServer server) static void
ServerLifecycleHooks.handleServerAboutToStart
(MinecraftServer server) static void
ServerLifecycleHooks.handleServerStarted
(MinecraftServer server) static void
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.loadModLanguages
(MinecraftServer server) private static void
ServerLifecycleHooks.runModifiers
(MinecraftServer server) -
Uses of MinecraftServer in net.neoforged.neoforge.server.command
Methods in net.neoforged.neoforge.server.command with parameters of type MinecraftServerModifier and TypeMethodDescriptionprivate static Component
TPSCommand.createComponent
(MinecraftServer server, @Nullable ServerLevel dimension) -
Uses of MinecraftServer in net.neoforged.neoforge.server.command.generation
Fields in net.neoforged.neoforge.server.command.generation declared as MinecraftServer -
Uses of MinecraftServer in net.neoforged.testframework.gametest
Constructors in net.neoforged.testframework.gametest with parameters of type MinecraftServerModifierConstructorDescriptionGameTestPlayer
(MinecraftServer server, ServerLevel level, com.mojang.authlib.GameProfile profile, ClientInformation information, GameTestHelper helper) -
Uses of MinecraftServer in net.neoforged.testframework.impl
Fields in net.neoforged.testframework.impl declared as MinecraftServer -
Uses of MinecraftServer in net.neoforged.testframework.junit
Subclasses of MinecraftServer in net.neoforged.testframework.junitFields in net.neoforged.testframework.junit with type parameters of type MinecraftServerModifier and TypeFieldDescriptionstatic final AtomicReference
<MinecraftServer> EphemeralTestServerProvider.SERVER
Methods in net.neoforged.testframework.junit that return MinecraftServerModifier and TypeMethodDescriptionstatic MinecraftServer
EphemeralTestServerProvider.grabServer()