Uses of Class
net.minecraft.server.MinecraftServer
Package
Description
-
Uses of MinecraftServer in net.minecraft.client.server
-
Uses of MinecraftServer in net.minecraft.commands
ModifierConstructorDescriptionCommandSourceStack
(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, Entity p_81310_) protected
CommandSourceStack
(CommandSource p_282943_, Vec3 p_282023_, Vec2 p_282896_, ServerLevel p_282659_, int p_283075_, String p_282379_, Component p_282469_, MinecraftServer p_281590_, Entity p_281515_, boolean p_282415_, CommandResultCallback p_309630_, EntityAnchorArgument.Anchor p_282332_, CommandSigningContext p_283585_, TaskChainer p_282376_) -
Uses of MinecraftServer in net.minecraft.gametest.framework
-
Uses of MinecraftServer in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final MinecraftServer
ServerFunctionManager.server
private final MinecraftServer
ServerScoreboard.server
private final MinecraftServer
ServerTickRateManager.server
ModifierConstructorDescriptionServerFunctionManager
(MinecraftServer p_136110_, ServerFunctionLibrary p_136111_) ServerScoreboard
(MinecraftServer p_136197_) ServerTickRateManager
(MinecraftServer p_309004_) -
Uses of MinecraftServer in net.minecraft.server.chase
ModifierConstructorDescriptionChaseClient
(String p_195990_, int p_195991_, MinecraftServer p_195992_) -
Uses of MinecraftServer in net.minecraft.server.commands
Modifier and TypeMethodDescriptionDebugConfigCommand.getUuidsInConfig
(MinecraftServer p_294210_) private static void
PerfCommand.saveResults
(CommandSourceStack p_180447_, Path p_180448_, MinecraftServer p_180449_) -
Uses of MinecraftServer in net.minecraft.server.dedicated
-
Uses of MinecraftServer in net.minecraft.server.gui
Modifier and TypeFieldDescriptionprivate final MinecraftServer
PlayerListComponent.server
private final MinecraftServer
StatsComponent.server
ModifierConstructorDescriptionPlayerListComponent
(MinecraftServer p_139953_) StatsComponent
(MinecraftServer p_139963_) -
Uses of MinecraftServer in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate final MinecraftServer
ServerLevel.server
final MinecraftServer
ServerPlayer.server
ModifierConstructorDescriptionServerLevel
(MinecraftServer p_214999_, Executor p_215000_, LevelStorageSource.LevelStorageAccess p_215001_, ServerLevelData p_215002_, ResourceKey<Level> p_215003_, LevelStem p_215004_, ChunkProgressListener p_215005_, boolean p_215006_, long p_215007_, List<CustomSpawner> p_215008_, boolean p_215009_, RandomSequences p_288977_) ServerPlayer
(MinecraftServer p_254143_, ServerLevel p_254435_, com.mojang.authlib.GameProfile p_253651_, ClientInformation p_301997_) -
Uses of MinecraftServer in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate final MinecraftServer
MemoryServerHandshakePacketListenerImpl.server
protected final MinecraftServer
ServerCommonPacketListenerImpl.server
(package private) final MinecraftServer
ServerConnectionListener.server
private final MinecraftServer
ServerHandshakePacketListenerImpl.server
(package private) final MinecraftServer
ServerLoginPacketListenerImpl.server
ModifierConstructorDescriptionMemoryServerHandshakePacketListenerImpl
(MinecraftServer p_9691_, Connection p_9692_) ServerCommonPacketListenerImpl
(MinecraftServer p_295057_, Connection p_294822_, CommonListenerCookie p_301980_) ServerConfigurationPacketListenerImpl
(MinecraftServer p_294645_, Connection p_295787_, CommonListenerCookie p_302003_) ServerConnectionListener
(MinecraftServer p_9707_) ServerGamePacketListenerImpl
(MinecraftServer p_9770_, Connection p_9771_, ServerPlayer p_9772_, CommonListenerCookie p_301978_) ServerHandshakePacketListenerImpl
(MinecraftServer p_9969_, Connection p_9970_) ServerLoginPacketListenerImpl
(MinecraftServer p_10027_, Connection p_10028_, boolean p_320815_) -
Uses of MinecraftServer in net.minecraft.server.players
Modifier and TypeMethodDescriptionprivate static boolean
OldUsersConverter.areOldPlayersConverted
(MinecraftServer p_11109_) static boolean
OldUsersConverter.convertIpBanlist
(MinecraftServer p_11099_) static UUID
OldUsersConverter.convertMobOwnerIfNecessary
(MinecraftServer p_11084_, String p_11085_) static boolean
OldUsersConverter.convertOpsList
(MinecraftServer p_11103_) static boolean
OldUsersConverter.convertUserBanlist
(MinecraftServer p_11082_) static boolean
OldUsersConverter.convertWhiteList
(MinecraftServer p_11105_) private static File
OldUsersConverter.getWorldPlayersDirectory
(MinecraftServer p_11111_) private static void
OldUsersConverter.lookupPlayers
(MinecraftServer p_11087_, Collection<String> p_11088_, com.mojang.authlib.ProfileLookupCallback p_11089_) static boolean
OldUsersConverter.serverReadyAfterUserconversion
(MinecraftServer p_11107_) ModifierConstructorDescriptionPlayerList
(MinecraftServer p_203842_, LayeredRegistryAccess<RegistryLayer> p_251844_, PlayerDataStorage p_203844_, int p_203845_) -
Uses of MinecraftServer in net.minecraft.server.rcon
-
Uses of MinecraftServer in net.minecraft.stats
-
Uses of MinecraftServer in net.minecraft.util.monitoring.jmx
Modifier and TypeMethodDescriptionstatic void
MinecraftServerStatistics.registerJmxMonitoring
(MinecraftServer p_18329_) -
Uses of MinecraftServer in net.minecraft.util.profiling.jfr
-
Uses of MinecraftServer in net.minecraft.world.entity
-
Uses of MinecraftServer in net.minecraft.world.level
Modifier and TypeFieldDescription(package private) final BiConsumer
<MinecraftServer, T> GameRules.Type.callback
Modifier and TypeMethodDescriptionprivate <T extends GameRules.Value<T>>
voidGameRules.assignCap
(GameRules.Key<T> p_46173_, GameRules p_46174_, MinecraftServer p_46175_) void
GameRules.assignFrom
(GameRules p_46177_, MinecraftServer p_46178_) protected void
GameRules.Value.onChanged
(MinecraftServer p_46369_) void
GameRules.BooleanValue.set
(boolean p_46247_, MinecraftServer p_46248_) void
GameRules.IntegerValue.set
(int p_151490_, MinecraftServer p_151491_) void
GameRules.BooleanValue.setFrom
(GameRules.BooleanValue p_46225_, MinecraftServer p_46226_) void
GameRules.IntegerValue.setFrom
(GameRules.IntegerValue p_46298_, MinecraftServer p_46299_) abstract void
GameRules.Value.setFrom
(T p_46363_, MinecraftServer p_46364_) Modifier and TypeMethodDescriptionstatic GameRules.Type
<GameRules.BooleanValue> GameRules.BooleanValue.create
(boolean p_46253_, BiConsumer<MinecraftServer, GameRules.BooleanValue> p_46254_) (package private) static GameRules.Type
<GameRules.IntegerValue> GameRules.IntegerValue.create
(int p_320826_, int p_320897_, int p_320198_, BiConsumer<MinecraftServer, GameRules.IntegerValue> p_320846_) static GameRules.Type
<GameRules.IntegerValue> GameRules.IntegerValue.create
(int p_46295_, BiConsumer<MinecraftServer, GameRules.IntegerValue> p_46296_) ModifierConstructorDescription(package private)
Type
(Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> p_46342_, Function<GameRules.Type<T>, T> p_46343_, BiConsumer<MinecraftServer, T> p_46344_, GameRules.VisitorCaller<T> p_46345_) -
Uses of MinecraftServer in net.minecraft.world.level.storage
Modifier and TypeFieldDescriptionprivate final TimerQueue
<MinecraftServer> PrimaryLevelData.scheduledEvents
Modifier and TypeMethodDescriptionDerivedLevelData.getScheduledEvents()
PrimaryLevelData.getScheduledEvents()
ServerLevelData.getScheduledEvents()
ModifierConstructorDescriptionprivate
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
Modifier and TypeFieldDescriptionstatic final TimerCallbacks
<MinecraftServer> TimerCallbacks.SERVER_CALLBACKS
Modifier and TypeMethodDescriptionvoid
FunctionCallback.handle
(MinecraftServer p_82172_, TimerQueue<MinecraftServer> p_82173_, long p_82174_) void
FunctionTagCallback.handle
(MinecraftServer p_82199_, TimerQueue<MinecraftServer> p_82200_, long p_82201_) Modifier and TypeMethodDescriptionvoid
FunctionCallback.handle
(MinecraftServer p_82172_, TimerQueue<MinecraftServer> p_82173_, long p_82174_) void
FunctionTagCallback.handle
(MinecraftServer p_82199_, TimerQueue<MinecraftServer> p_82200_, long p_82201_) -
Uses of MinecraftServer in net.neoforged.neoforge.client
-
Uses of MinecraftServer in net.neoforged.neoforge.common.util
Modifier and TypeFieldDescriptionprivate static Supplier
<MinecraftServer> LogicalSidedProvider.server
private final Function
<Supplier<MinecraftServer>, T> LogicalSidedProvider.serverSide
Modifier and TypeMethodDescriptionstatic void
LogicalSidedProvider.setServer
(Supplier<MinecraftServer> server) -
Uses of MinecraftServer in net.neoforged.neoforge.debug.chat
ModifierConstructorDescriptionErrorCatchingStack
(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
Modifier 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
ModifierConstructorDescriptionServerLifecycleEvent
(MinecraftServer server) ServerStartedEvent
(MinecraftServer server) ServerStartingEvent
(MinecraftServer server) ServerStoppedEvent
(MinecraftServer server) ServerStoppingEvent
(MinecraftServer server) -
Uses of MinecraftServer in net.neoforged.neoforge.event.tick
ModifierConstructorDescriptionPost
(BooleanSupplier haveTime, MinecraftServer server) Pre
(BooleanSupplier haveTime, MinecraftServer server) protected
ServerTickEvent
(BooleanSupplier hasTime, MinecraftServer server) -
Uses of MinecraftServer in net.neoforged.neoforge.server
Modifier and TypeFieldDescriptionprivate static @Nullable MinecraftServer
ServerLifecycleHooks.currentServer
Modifier and TypeMethodDescriptionstatic @Nullable MinecraftServer
ServerLifecycleHooks.getCurrentServer()
Modifier 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.generation
-
Uses of MinecraftServer in net.neoforged.neoforge.unittest
Modifier and TypeMethodDescriptionprivate static Stream
<org.junit.jupiter.params.provider.Arguments> IngredientTests.provideIngredientMatrix
(MinecraftServer server) (package private) void
IngredientTests.testComponentIngredient
(boolean strict, MinecraftServer server) (package private) void
IngredientTests.testDifferenceIngredients
(MinecraftServer server) (package private) void
CreativeTabOrderTest.testIngredientsEnchantmentExistence
(MinecraftServer server) The local tabEnchantments variable comes fromCreativeModeTabs.generateEnchantmentBookTypesOnlyMaxLevel(CreativeModeTab.Output, HolderLookup, Set, CreativeModeTab.TabVisibility, FeatureFlagSet)
(package private) void
IngredientTests.testIntersectionIngredient
(MinecraftServer server) (package private) void
CreativeTabOrderTest.testSearchEnchantmentOrder
(MinecraftServer server) The local tabEnchantments variable comes fromCreativeModeTabs.generateEnchantmentBookTypesAllLevels(CreativeModeTab.Output, HolderLookup, Set, CreativeModeTab.TabVisibility, FeatureFlagSet)
(package private) static void
CreativeTabOrderTest.testSetupTabs
(MinecraftServer server) -
Uses of MinecraftServer in net.neoforged.testframework.gametest
ModifierConstructorDescriptionGameTestPlayer
(MinecraftServer server, ServerLevel level, com.mojang.authlib.GameProfile profile, ClientInformation information, GameTestHelper helper) -
Uses of MinecraftServer in net.neoforged.testframework.impl
-
Uses of MinecraftServer in net.neoforged.testframework.junit
Modifier and TypeFieldDescriptionstatic final AtomicReference
<MinecraftServer> EphemeralTestServerProvider.SERVER
Modifier and TypeMethodDescriptionstatic MinecraftServer
EphemeralTestServerProvider.grabServer()