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 source, Vec3 worldPosition, Vec2 rotation, ServerLevel level, int permissionLevel, String textName, Component displayName, MinecraftServer server, Entity entity) protected
CommandSourceStack
(CommandSource source, Vec3 worldPosition, Vec2 rotation, ServerLevel level, int permissionLevel, String textName, Component displayName, MinecraftServer server, Entity entity, boolean silent, CommandResultCallback resultCallback, EntityAnchorArgument.Anchor anchor, CommandSigningContext signingContext, TaskChainer chatMessageChainer) -
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 server, ServerFunctionLibrary library) ServerScoreboard
(MinecraftServer server) ServerTickRateManager
(MinecraftServer server) -
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 serverHost, int serverPort, MinecraftServer server) -
Uses of MinecraftServer in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type MinecraftServerModifier and TypeMethodDescriptionDebugConfigCommand.getUuidsInConfig
(MinecraftServer server) private static void
PerfCommand.saveResults
(CommandSourceStack source, Path path, MinecraftServer server) -
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 server) StatsComponent
(MinecraftServer server) -
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 server, Executor dispatcher, LevelStorageSource.LevelStorageAccess levelStorageAccess, ServerLevelData serverLevelData, ResourceKey<Level> dimension, LevelStem levelStem, ChunkProgressListener progressListener, boolean isDebug, long biomeZoomSeed, List<CustomSpawner> customSpawners, boolean tickTime, RandomSequences randomSequences) ServerPlayer
(MinecraftServer server, ServerLevel level, com.mojang.authlib.GameProfile gameProfile, ClientInformation clientInformation) -
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 server, Connection connection) ServerCommonPacketListenerImpl
(MinecraftServer server, Connection connection, CommonListenerCookie cookie) ServerConfigurationPacketListenerImpl
(MinecraftServer server, Connection connection, CommonListenerCookie cookie) ServerGamePacketListenerImpl
(MinecraftServer server, Connection connection, ServerPlayer player, CommonListenerCookie cookie) ServerHandshakePacketListenerImpl
(MinecraftServer server, Connection connection) ServerLoginPacketListenerImpl
(MinecraftServer server, Connection connection, boolean transferred) -
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 server) static boolean
OldUsersConverter.convertIpBanlist
(MinecraftServer server) static UUID
OldUsersConverter.convertMobOwnerIfNecessary
(MinecraftServer server, String username) static boolean
OldUsersConverter.convertOpsList
(MinecraftServer server) static boolean
OldUsersConverter.convertUserBanlist
(MinecraftServer server) static boolean
OldUsersConverter.convertWhiteList
(MinecraftServer server) private static File
OldUsersConverter.getWorldPlayersDirectory
(MinecraftServer server) private static void
OldUsersConverter.lookupPlayers
(MinecraftServer server, Collection<String> names, com.mojang.authlib.ProfileLookupCallback callback) static boolean
OldUsersConverter.serverReadyAfterUserconversion
(MinecraftServer server) Constructors in net.minecraft.server.players with parameters of type MinecraftServerModifierConstructorDescriptionPlayerList
(MinecraftServer server, LayeredRegistryAccess<RegistryLayer> registries, PlayerDataStorage playerIo, int maxPlayers) -
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 server) 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> key, GameRules rules, MinecraftServer server) void
GameRules.assignFrom
(GameRules rules, MinecraftServer server) protected void
GameRules.Value.onChanged
(MinecraftServer server) void
GameRules.BooleanValue.set
(boolean value, MinecraftServer server) void
GameRules.IntegerValue.set
(int value, MinecraftServer server) void
GameRules.BooleanValue.setFrom
(GameRules.BooleanValue value, MinecraftServer server) void
GameRules.IntegerValue.setFrom
(GameRules.IntegerValue value, MinecraftServer server) abstract void
GameRules.Value.setFrom
(T value, MinecraftServer server) Method parameters in net.minecraft.world.level with type arguments of type MinecraftServerModifier and TypeMethodDescriptionstatic GameRules.Type
<GameRules.BooleanValue> GameRules.BooleanValue.create
(boolean defaultValue, BiConsumer<MinecraftServer, GameRules.BooleanValue> changeListener) (package private) static GameRules.Type
<GameRules.IntegerValue> GameRules.IntegerValue.create
(int defaultValue, int min, int max, BiConsumer<MinecraftServer, GameRules.IntegerValue> changeListener) static GameRules.Type
<GameRules.IntegerValue> GameRules.IntegerValue.create
(int defaultValue, BiConsumer<MinecraftServer, GameRules.IntegerValue> changeListener) Constructor parameters in net.minecraft.world.level with type arguments of type MinecraftServerModifierConstructorDescription(package private)
Type
(Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> argument, Function<GameRules.Type<T>, T> constructor, BiConsumer<MinecraftServer, T> callback, GameRules.VisitorCaller<T> visitorCaller) -
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 loadedPlayerTag, boolean wasModded, BlockPos spawnPos, float spawnAngle, long gameTime, long dayTime, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, WorldBorder.Settings worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, UUID wanderingTraderId, Set<String> knownServerBrands, Set<String> removedFeatureFlags, TimerQueue<MinecraftServer> scheduledEvents, CompoundTag customBossEvents, EndDragonFight.Data endDragonFightData, LevelSettings settings, WorldOptions worldOptions, PrimaryLevelData.SpecialWorldProperty specialWorldProperty, com.mojang.serialization.Lifecycle worldGenSettingsLifecycle) -
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 obj, TimerQueue<MinecraftServer> manager, long gameTime) void
FunctionTagCallback.handle
(MinecraftServer obj, TimerQueue<MinecraftServer> manager, long gameTime) Method parameters in net.minecraft.world.level.timers with type arguments of type MinecraftServerModifier and TypeMethodDescriptionvoid
FunctionCallback.handle
(MinecraftServer obj, TimerQueue<MinecraftServer> manager, long gameTime) void
FunctionTagCallback.handle
(MinecraftServer obj, TimerQueue<MinecraftServer> manager, long gameTime) -
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.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