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) protectedCommandSourceStack(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 MinecraftServerServerFunctionManager.serverprivate final MinecraftServerServerScoreboard.serverprivate final MinecraftServerServerTickRateManager.serverMethods 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 voidPerfCommand.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 MinecraftServerPlayerListComponent.serverprivate final MinecraftServerStatsComponent.serverConstructors 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 MinecraftServerServerLevel.serverfinal MinecraftServerServerPlayer.serverMethods 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 MinecraftServerMemoryServerHandshakePacketListenerImpl.serverprotected final MinecraftServerServerCommonPacketListenerImpl.server(package private) final MinecraftServerServerConnectionListener.serverReference to the MinecraftServer object.private final MinecraftServerServerHandshakePacketListenerImpl.server(package private) final MinecraftServerServerLoginPacketListenerImpl.serverMethods 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 booleanOldUsersConverter.areOldPlayersConverted(MinecraftServer server) static booleanOldUsersConverter.convertIpBanlist(MinecraftServer server) static UUIDOldUsersConverter.convertMobOwnerIfNecessary(MinecraftServer server, String username) static booleanOldUsersConverter.convertOpsList(MinecraftServer server) static booleanOldUsersConverter.convertUserBanlist(MinecraftServer server) static booleanOldUsersConverter.convertWhiteList(MinecraftServer server) private static FileOldUsersConverter.getWorldPlayersDirectory(MinecraftServer server) private static voidOldUsersConverter.lookupPlayers(MinecraftServer server, Collection<String> names, com.mojang.authlib.ProfileLookupCallback callback) static booleanOldUsersConverter.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 voidMinecraftServerStatistics.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.callbackMethods 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) voidGameRules.assignFrom(GameRules rules, MinecraftServer server) protected voidGameRules.Value.onChanged(MinecraftServer server) voidGameRules.BooleanValue.set(boolean value, MinecraftServer server) voidGameRules.IntegerValue.set(int value, MinecraftServer server) voidGameRules.BooleanValue.setFrom(GameRules.BooleanValue value, MinecraftServer server) voidGameRules.IntegerValue.setFrom(GameRules.IntegerValue value, MinecraftServer server) abstract voidGameRules.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.scheduledEventsMethods 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 MinecraftServerModifierConstructorDescriptionprivatePrimaryLevelData(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_CALLBACKSMethods in net.minecraft.world.level.timers with parameters of type MinecraftServerModifier and TypeMethodDescriptionvoidFunctionCallback.handle(MinecraftServer obj, TimerQueue<MinecraftServer> manager, long gameTime) voidFunctionTagCallback.handle(MinecraftServer obj, TimerQueue<MinecraftServer> manager, long gameTime) Method parameters in net.minecraft.world.level.timers with type arguments of type MinecraftServerModifier and TypeMethodDescriptionvoidFunctionCallback.handle(MinecraftServer obj, TimerQueue<MinecraftServer> manager, long gameTime) voidFunctionTagCallback.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.serverprivate final Function<Supplier<MinecraftServer>, T> LogicalSidedProvider.serverSideMethods in net.neoforged.neoforge.common.util that return MinecraftServerMethod parameters in net.neoforged.neoforge.common.util with type arguments of type MinecraftServerModifier and TypeMethodDescriptionstatic voidLogicalSidedProvider.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 voidEventHooks.fireServerTickPost(BooleanSupplier haveTime, MinecraftServer server) FiresServerTickEvent.Post.static voidEventHooks.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) protectedServerTickEvent(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 MinecraftServerServerLifecycleHooks.currentServerMethods in net.neoforged.neoforge.server that return MinecraftServerModifier and TypeMethodDescriptionstatic @Nullable MinecraftServerServerLifecycleHooks.getCurrentServer()Methods in net.neoforged.neoforge.server with parameters of type MinecraftServerModifier and TypeMethodDescriptionprivate static PathServerLifecycleHooks.getServerConfigPath(MinecraftServer server) static voidServerLifecycleHooks.handleServerAboutToStart(MinecraftServer server) static voidServerLifecycleHooks.handleServerStarted(MinecraftServer server) static voidServerLifecycleHooks.handleServerStarting(MinecraftServer server) static voidServerLifecycleHooks.handleServerStopped(MinecraftServer server) static voidServerLifecycleHooks.handleServerStopping(MinecraftServer server) private static voidLanguageHook.loadLanguage(String langName, MinecraftServer server) (package private) static voidLanguageHook.loadModLanguages(MinecraftServer server) private static voidServerLifecycleHooks.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 ComponentTPSCommand.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