Uses of Class
net.minecraft.server.MinecraftServer
Packages that use MinecraftServer
Package
Description
-
Uses of MinecraftServer in net.minecraft.entity
Methods in net.minecraft.entity that return MinecraftServerModifier and TypeMethodDescriptionEntity.getServer()
Returns the server the entity is in, ornull
if called on the client side. -
Uses of MinecraftServer in net.minecraft.scoreboard
Fields in net.minecraft.scoreboard declared as MinecraftServerConstructors in net.minecraft.scoreboard with parameters of type MinecraftServer -
Uses of MinecraftServer in net.minecraft.server
Fields in net.minecraft.server declared as MinecraftServerModifier and TypeFieldDescriptionprivate final MinecraftServer
PlayerManager.server
(package private) final MinecraftServer
ServerNetworkIo.server
private final MinecraftServer
ServerTickManager.server
Methods in net.minecraft.server with type parameters of type MinecraftServerModifier and TypeMethodDescriptionstatic <S extends MinecraftServer>
SMinecraftServer.startServer
(Function<Thread, S> serverFactory) Methods in net.minecraft.server that return MinecraftServerMethods in net.minecraft.server with parameters of type MinecraftServerModifier and TypeMethodDescriptionprivate static boolean
ServerConfigHandler.checkPlayerConversionSuccess
(MinecraftServer server) static boolean
ServerConfigHandler.checkSuccess
(MinecraftServer server) static boolean
ServerConfigHandler.convertBannedIps
(MinecraftServer server) static boolean
ServerConfigHandler.convertBannedPlayers
(MinecraftServer server) static boolean
ServerConfigHandler.convertOperators
(MinecraftServer server) static boolean
ServerConfigHandler.convertWhitelist
(MinecraftServer server) private static File
ServerConfigHandler.getLevelPlayersFolder
(MinecraftServer server) ServerConfigHandler.getPlayerUuidByName
(MinecraftServer server, String name) private static void
ServerConfigHandler.lookupProfile
(MinecraftServer server, Collection<String> bannedPlayers, com.mojang.authlib.ProfileLookupCallback callback) Constructors in net.minecraft.server with parameters of type MinecraftServerModifierConstructorDescriptionPlayerManager
(MinecraftServer server, CombinedDynamicRegistries<ServerDynamicRegistryType> registryManager, WorldSaveHandler saveHandler, int maxPlayers) ServerNetworkIo
(MinecraftServer server) ServerTickManager
(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 MinecraftServer -
Uses of MinecraftServer in net.minecraft.server.command
Fields in net.minecraft.server.command declared as MinecraftServerMethods in net.minecraft.server.command that return MinecraftServerMethods in net.minecraft.server.command with parameters of type MinecraftServerModifier and TypeMethodDescriptionDebugConfigCommand.collectConfiguringPlayers
(MinecraftServer server) Constructors in net.minecraft.server.command with parameters of type MinecraftServerModifierConstructorDescriptionServerCommandSource
(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, MinecraftServer server, @Nullable Entity entity) protected
ServerCommandSource
(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, MinecraftServer server, @Nullable Entity entity, boolean silent, ReturnValueConsumer resultStorer, EntityAnchorArgumentType.EntityAnchor entityAnchor, SignedCommandArguments signedArguments, FutureQueue messageChainTaskQueue) -
Uses of MinecraftServer in net.minecraft.server.dedicated
Subclasses of MinecraftServer in net.minecraft.server.dedicatedFields in net.minecraft.server.dedicated declared as MinecraftServerMethods in net.minecraft.server.dedicated with parameters of type MinecraftServerModifier and TypeMethodDescriptionstatic void
ServerMBean.register
(MinecraftServer server) Registers a dynamic MBean for a Minecraft Server.Constructors in net.minecraft.server.dedicated with parameters of type MinecraftServer -
Uses of MinecraftServer in net.minecraft.server.dedicated.command
Methods in net.minecraft.server.dedicated.command with parameters of type MinecraftServerModifier and TypeMethodDescriptionprivate static void
PerfCommand.saveReport
(ServerCommandSource source, Path tempProfilingDirectory, MinecraftServer server) -
Uses of MinecraftServer in net.minecraft.server.dedicated.gui
Fields in net.minecraft.server.dedicated.gui declared as MinecraftServerModifier and TypeFieldDescriptionprivate final MinecraftServer
PlayerListGui.server
private final MinecraftServer
PlayerStatsGui.server
Constructors in net.minecraft.server.dedicated.gui with parameters of type MinecraftServerModifierConstructorDescriptionPlayerListGui
(MinecraftServer server) PlayerStatsGui
(MinecraftServer server) -
Uses of MinecraftServer in net.minecraft.server.function
Fields in net.minecraft.server.function declared as MinecraftServerConstructors in net.minecraft.server.function with parameters of type MinecraftServerModifierConstructorDescriptionCommandFunctionManager
(MinecraftServer server, FunctionLoader loader) -
Uses of MinecraftServer in net.minecraft.server.integrated
Subclasses of MinecraftServer in net.minecraft.server.integrated -
Uses of MinecraftServer in net.minecraft.server.network
Fields in net.minecraft.server.network declared as MinecraftServerModifier and TypeFieldDescriptionprivate final MinecraftServer
LocalServerHandshakeNetworkHandler.server
protected final MinecraftServer
ServerCommonNetworkHandler.server
private final MinecraftServer
ServerHandshakeNetworkHandler.server
(package private) final MinecraftServer
ServerLoginNetworkHandler.server
final MinecraftServer
ServerPlayerEntity.server
Constructors in net.minecraft.server.network with parameters of type MinecraftServerModifierConstructorDescriptionLocalServerHandshakeNetworkHandler
(MinecraftServer server, ClientConnection connection) ServerCommonNetworkHandler
(MinecraftServer server, ClientConnection connection, ConnectedClientData clientData) ServerConfigurationNetworkHandler
(MinecraftServer server, ClientConnection connection, ConnectedClientData clientData) ServerHandshakeNetworkHandler
(MinecraftServer server, ClientConnection connection) ServerLoginNetworkHandler
(MinecraftServer server, ClientConnection connection) ServerPlayerEntity
(MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile, SyncedClientOptions clientOptions) ServerPlayNetworkHandler
(MinecraftServer server, ClientConnection connection, ServerPlayerEntity player, ConnectedClientData clientData) -
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.server.world
Fields in net.minecraft.server.world declared as MinecraftServerMethods in net.minecraft.server.world that return MinecraftServerConstructors in net.minecraft.server.world with parameters of type MinecraftServerModifierConstructorDescriptionServerWorld
(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionOptions dimensionOptions, WorldGenerationProgressListener worldGenerationProgressListener, boolean debugWorld, long seed, List<SpecialSpawner> spawners, boolean shouldTickTime, @Nullable RandomSequencesState randomSequencesState) -
Uses of MinecraftServer in net.minecraft.stat
Fields in net.minecraft.stat declared as MinecraftServerConstructors in net.minecraft.stat with parameters of type MinecraftServer -
Uses of MinecraftServer in net.minecraft.test
Subclasses of MinecraftServer in net.minecraft.test -
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
Fields in net.minecraft.world with type parameters of type MinecraftServerModifier and TypeFieldDescription(package private) final BiConsumer<MinecraftServer,
T> GameRules.Type.changeCallback
Methods in net.minecraft.world that return MinecraftServerModifier and TypeMethodDescriptionChunkRegion.getServer()
World.getServer()
WorldAccess.getServer()
Methods in net.minecraft.world with parameters of type MinecraftServerModifier and TypeMethodDescriptionprotected void
GameRules.Rule.changed
(@Nullable MinecraftServer server) void
GameRules.BooleanRule.set
(boolean value, @Nullable MinecraftServer server) void
GameRules.IntRule.set
(int value, @Nullable MinecraftServer server) void
GameRules.setAllValues
(GameRules rules, @Nullable MinecraftServer server) void
GameRules.BooleanRule.setValue
(GameRules.BooleanRule booleanRule, @Nullable MinecraftServer minecraftServer) void
GameRules.IntRule.setValue
(GameRules.IntRule intRule, @Nullable MinecraftServer minecraftServer) abstract void
GameRules.Rule.setValue
(T rule, @Nullable MinecraftServer server) private <T extends GameRules.Rule<T>>
voidGameRules.setValue
(GameRules.Key<T> key, GameRules rules, @Nullable MinecraftServer server) Method parameters in net.minecraft.world with type arguments of type MinecraftServerModifier and TypeMethodDescription(package private) static GameRules.Type<GameRules.BooleanRule>
GameRules.BooleanRule.create
(boolean initialValue, BiConsumer<MinecraftServer, GameRules.BooleanRule> changeCallback) private static GameRules.Type<GameRules.IntRule>
GameRules.IntRule.create
(int initialValue, BiConsumer<MinecraftServer, GameRules.IntRule> changeCallback) Constructor parameters in net.minecraft.world with type arguments of type MinecraftServerModifierConstructorDescription(package private)
Type
(Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> argumentType, Function<GameRules.Type<T>, T> ruleFactory, BiConsumer<MinecraftServer, T> changeCallback, GameRules.Acceptor<T> ruleAcceptor) -
Uses of MinecraftServer in net.minecraft.world.level
Fields in net.minecraft.world.level with type parameters of type MinecraftServerModifier and TypeFieldDescriptionprivate final Timer<MinecraftServer>
LevelProperties.scheduledEvents
Methods in net.minecraft.world.level that return types with arguments of type MinecraftServerModifier and TypeMethodDescriptionLevelProperties.getScheduledEvents()
ServerWorldProperties.getScheduledEvents()
UnmodifiableLevelProperties.getScheduledEvents()
Constructor parameters in net.minecraft.world.level with type arguments of type MinecraftServerModifierConstructorDescriptionprivate
LevelProperties
(@Nullable NbtCompound playerData, boolean modded, int spawnX, int spawnY, int spawnZ, float spawnAngle, long time, long timeOfDay, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, WorldBorder.Properties worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, @Nullable UUID wanderingTraderId, Set<String> serverBrands, Set<String> removedFeatures, Timer<MinecraftServer> scheduledEvents, @Nullable NbtCompound customBossEvents, EnderDragonFight.Data dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, LevelProperties.SpecialProperty specialProperty, com.mojang.serialization.Lifecycle lifecycle) -
Uses of MinecraftServer in net.minecraft.world.timer
Fields in net.minecraft.world.timer with type parameters of type MinecraftServerModifier and TypeFieldDescriptionstatic final TimerCallbackSerializer<MinecraftServer>
TimerCallbackSerializer.INSTANCE
Methods in net.minecraft.world.timer with parameters of type MinecraftServerModifier and TypeMethodDescriptionvoid
FunctionTagTimerCallback.call
(MinecraftServer minecraftServer, Timer<MinecraftServer> timer, long long2) void
FunctionTimerCallback.call
(MinecraftServer minecraftServer, Timer<MinecraftServer> timer, long long2) Method parameters in net.minecraft.world.timer with type arguments of type MinecraftServerModifier and TypeMethodDescriptionvoid
FunctionTagTimerCallback.call
(MinecraftServer minecraftServer, Timer<MinecraftServer> timer, long long2) void
FunctionTimerCallback.call
(MinecraftServer minecraftServer, Timer<MinecraftServer> timer, long long2)