Uses of Class
net.minecraft.server.MinecraftServer
Package
Description
-
Uses of MinecraftServer in net.minecraft.entity
Modifier and TypeMethodDescriptionEntity.getServer()
Returns the server the entity is in, ornull
if called on the client side. -
Uses of MinecraftServer in net.minecraft.scoreboard
-
Uses of MinecraftServer in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final MinecraftServer
PlayerManager.server
(package private) final MinecraftServer
ServerNetworkIo.server
private final MinecraftServer
ServerTickManager.server
Modifier and TypeMethodDescriptionstatic <S extends MinecraftServer>
SMinecraftServer.startServer
(Function<Thread, S> serverFactory) Modifier 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) ModifierConstructorDescriptionPlayerManager
(MinecraftServer server, CombinedDynamicRegistries<ServerDynamicRegistryType> registryManager, PlayerSaveHandler saveHandler, int maxPlayers) ServerNetworkIo
(MinecraftServer server) ServerTickManager
(MinecraftServer server) -
Uses of MinecraftServer in net.minecraft.server.chase
-
Uses of MinecraftServer in net.minecraft.server.command
Modifier and TypeMethodDescriptionDebugConfigCommand.collectConfiguringPlayers
(MinecraftServer server) ModifierConstructorDescriptionServerCommandSource
(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
Modifier and TypeMethodDescriptionstatic void
ServerMBean.register
(MinecraftServer server) Registers a dynamic MBean for a Minecraft Server. -
Uses of MinecraftServer in net.minecraft.server.dedicated.command
Modifier and TypeMethodDescriptionprivate static void
PerfCommand.saveReport
(ServerCommandSource source, Path tempProfilingDirectory, MinecraftServer server) -
Uses of MinecraftServer in net.minecraft.server.dedicated.gui
Modifier and TypeFieldDescriptionprivate final MinecraftServer
PlayerListGui.server
private final MinecraftServer
PlayerStatsGui.server
ModifierConstructorDescriptionPlayerListGui
(MinecraftServer server) PlayerStatsGui
(MinecraftServer server) -
Uses of MinecraftServer in net.minecraft.server.function
ModifierConstructorDescriptionCommandFunctionManager
(MinecraftServer server, FunctionLoader loader) -
Uses of MinecraftServer in net.minecraft.server.integrated
-
Uses of MinecraftServer in net.minecraft.server.network
Modifier 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
ModifierConstructorDescriptionLocalServerHandshakeNetworkHandler
(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, boolean transferred) 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
-
Uses of MinecraftServer in net.minecraft.server.world
ModifierConstructorDescriptionServerWorld
(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
-
Uses of MinecraftServer in net.minecraft.test
-
Uses of MinecraftServer in net.minecraft.util.profiling.jfr
-
Uses of MinecraftServer in net.minecraft.world
Modifier and TypeFieldDescription(package private) final BiConsumer
<MinecraftServer, T> GameRules.Type.changeCallback
Modifier and TypeMethodDescriptionChunkRegion.getServer()
World.getServer()
WorldAccess.getServer()
Modifier 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) Modifier and TypeMethodDescription(package private) static GameRules.Type
<GameRules.BooleanRule> GameRules.BooleanRule.create
(boolean initialValue, BiConsumer<MinecraftServer, GameRules.BooleanRule> changeCallback) (package private) static GameRules.Type
<GameRules.IntRule> GameRules.IntRule.create
(int initialValue, int min, int max, FeatureSet requiredFeatures, BiConsumer<MinecraftServer, GameRules.IntRule> changeCallback) private static GameRules.Type
<GameRules.IntRule> GameRules.IntRule.create
(int initialValue, BiConsumer<MinecraftServer, GameRules.IntRule> changeCallback) ModifierConstructorDescription(package private)
Type
(Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> argumentType, Function<GameRules.Type<T>, T> ruleFactory, BiConsumer<MinecraftServer, T> changeCallback, GameRules.Acceptor<T> ruleAcceptor, FeatureSet requiredFeatures) -
Uses of MinecraftServer in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate final Timer
<MinecraftServer> LevelProperties.scheduledEvents
Modifier and TypeMethodDescriptionLevelProperties.getScheduledEvents()
ServerWorldProperties.getScheduledEvents()
UnmodifiableLevelProperties.getScheduledEvents()
ModifierConstructorDescriptionprivate
LevelProperties
(@Nullable NbtCompound playerData, boolean modded, BlockPos spawnPos, 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
Modifier and TypeFieldDescriptionstatic final TimerCallbackSerializer
<MinecraftServer> TimerCallbackSerializer.INSTANCE
Modifier and TypeMethodDescriptionvoid
FunctionTagTimerCallback.call
(MinecraftServer minecraftServer, Timer<MinecraftServer> timer, long long2) void
FunctionTimerCallback.call
(MinecraftServer minecraftServer, Timer<MinecraftServer> timer, long long2) Modifier and TypeMethodDescriptionvoid
FunctionTagTimerCallback.call
(MinecraftServer minecraftServer, Timer<MinecraftServer> timer, long long2) void
FunctionTimerCallback.call
(MinecraftServer minecraftServer, Timer<MinecraftServer> timer, long long2)