Uses of Class
net.minecraft.server.GameInstance
Packages that use GameInstance
Package
Description
The base package for all Minecraft classes.
-
Uses of GameInstance in net.minecraft
Methods in net.minecraft with parameters of type GameInstanceModifier and TypeMethodDescriptionstatic class_10967.class_10970class_10967.method_69062(GameInstance gameInstance, List<class_11109> list, Optional<class_11105> optional) class_10971.method_69153(GameInstance gameInstance) -
Uses of GameInstance in net.minecraft.client
Methods in net.minecraft.client that return GameInstance -
Uses of GameInstance in net.minecraft.client.render.debug
Constructors in net.minecraft.client.render.debug with parameters of type GameInstanceModifierConstructorDescription(package private)ChunkLoadingStatus(GameInstance gameInstance, double x, double z) -
Uses of GameInstance in net.minecraft.entity
Methods in net.minecraft.entity that return GameInstance -
Uses of GameInstance in net.minecraft.server
Fields in net.minecraft.server declared as GameInstanceModifier and TypeFieldDescriptionprivate final GameInstanceServerTickManager.field_58245private final GameInstancePlayerManager.field_58338protected @Nullable GameInstanceMinecraftServer.gameInstanceMinecraftServer.gameInstanceForPreparingStartRegionMethods in net.minecraft.server that return GameInstanceModifier and TypeMethodDescriptionstatic GameInstanceGameInstance.create(MinecraftServer minecraftServer, ResourcePackManager resourcePackManager, SaveLoader saveLoader, LevelStorage.Session session, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory, Function<GameInstance, PlayerManager> playerManagerProvider) MinecraftServer.getGameInstance()protected abstract GameInstanceMinecraftServer.method_69059(ResourcePackManager resourcePackManager, SaveLoader saveLoader, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory) protected GameInstancePlayerManager.method_69187()Methods in net.minecraft.server with parameters of type GameInstanceModifier and TypeMethodDescriptionprivate ServerMetadataMinecraftServer.createMetadata(@Nullable GameInstance gameInstance) private voidMinecraftServer.finishNetworkReloading(GameInstance gameInstance) private intMinecraftServer.getAutosaveInterval(GameInstance gameInstance) MinecraftServer.getForcedGameMode(GameInstance gameInstance) Returns the game mode a player should be set to when connecting to the server, ornullif none is set.ServerConfigHandler.getPlayerUuidByName(GameInstance gameInstance, String name) booleanMinecraftServer.isHardcore(GameInstance gameInstance) booleanMinecraftServer.isMonsterSpawningEnabled(GameInstance gameInstance) private voidMinecraftServer.method_70561(GameInstance gameInstance) voidPlayerManager.onDataPacksReloaded(GameInstance gameInstance) booleanMinecraftServer.openToLan(GameInstance gameInstance, @Nullable GameMode gameMode, boolean bool, int int2) Opens a server for LAN connections.private voidMinecraftServer.runAutosave(GameInstance gameInstance) private booleanMinecraftServer.runOneTask(GameInstance gameInstance) booleanMinecraftServer.saveAll(GameInstance gameInstance, boolean bool, boolean bool2, boolean bool3) voidMinecraftServer.setDefaultGameMode(GameInstance gameInstance, GameMode gameMode) voidMinecraftServer.setPlayerIdleTimeout(GameInstance gameInstance, int int2) voidMinecraftServer.shutdown(@Nullable GameInstance gameInstance) private voidMinecraftServer.stopGameInstance(GameInstance gameInstance) voidMinecraftServer.tick(GameInstance gameInstance, BooleanSupplier booleanSupplier) protected voidMinecraftServer.tickWorlds(GameInstance gameInstance, BooleanSupplier booleanSupplier) voidMinecraftServer.updateAutosaveTicks(GameInstance gameInstance) voidMinecraftServer.updateDifficulty(GameInstance gameInstance) Method parameters in net.minecraft.server with type arguments of type GameInstanceModifier and TypeMethodDescriptionstatic GameInstanceGameInstance.create(MinecraftServer minecraftServer, ResourcePackManager resourcePackManager, SaveLoader saveLoader, LevelStorage.Session session, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory, Function<GameInstance, PlayerManager> playerManagerProvider) Constructors in net.minecraft.server with parameters of type GameInstanceModifierConstructorDescriptionPlayerManager(GameInstance gameInstance, PlayerSaveHandler playerSaveHandler, int int2) ServerTickManager(GameInstance gameInstance) Constructor parameters in net.minecraft.server with type arguments of type GameInstanceModifierConstructorDescriptionprivateGameInstance(MinecraftServer minecraftServer, ResourcePackManager dataPackManager, SaveLoader saveLoader, LevelStorage.Session session, Function<GameInstance, PlayerManager> playerManagerProvider) -
Uses of GameInstance in net.minecraft.server.chase
Fields in net.minecraft.server.chase declared as GameInstanceConstructors in net.minecraft.server.chase with parameters of type GameInstanceModifierConstructorDescriptionChaseClient(String ip, int port, GameInstance gameInstance, Executor executor) -
Uses of GameInstance in net.minecraft.server.command
Fields in net.minecraft.server.command declared as GameInstanceMethods in net.minecraft.server.command that return GameInstanceConstructors in net.minecraft.server.command with parameters of type GameInstanceModifierConstructorDescriptionServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, GameInstance gameInstance, @Nullable Entity entity) ServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, GameInstance gameInstance, @Nullable Entity entity, boolean silent, ReturnValueConsumer resultStorer, EntityAnchorArgumentType.EntityAnchor entityAnchor, SignedCommandArguments signedArguments, FutureQueue messageChainTaskQueue) -
Uses of GameInstance in net.minecraft.server.dedicated
Fields in net.minecraft.server.dedicated declared as GameInstanceMethods in net.minecraft.server.dedicated that return GameInstanceModifier and TypeMethodDescriptionMinecraftDedicatedServer.method_69059(ResourcePackManager resourcePackManager, SaveLoader saveLoader, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory) Methods in net.minecraft.server.dedicated with parameters of type GameInstanceModifier and TypeMethodDescriptionMinecraftDedicatedServer.getForcedGameMode(GameInstance gameInstance) Returns the game mode a player should be set to when connecting to the server, ornullif none is set.booleanMinecraftDedicatedServer.isMonsterSpawningEnabled(GameInstance gameInstance) voidMinecraftDedicatedServer.setPlayerIdleTimeout(GameInstance gameInstance, int int2) voidMinecraftDedicatedServer.setUseWhitelist(GameInstance gameInstance, boolean bool) voidMinecraftDedicatedServer.shutdown(GameInstance gameInstance) voidMinecraftDedicatedServer.updateDifficulty(GameInstance gameInstance) Constructors in net.minecraft.server.dedicated with parameters of type GameInstanceModifierConstructorDescriptionDedicatedPlayerManager(MinecraftDedicatedServer minecraftDedicatedServer, GameInstance gameInstance, PlayerSaveHandler saveHandler) DedicatedServerWatchdog(GameInstance gameInstance, long long2) -
Uses of GameInstance in net.minecraft.server.dedicated.command
Methods in net.minecraft.server.dedicated.command with parameters of type GameInstanceModifier and TypeMethodDescriptionprivate static voidPerfCommand.saveReport(ServerCommandSource source, Path tempProfilingDirectory, GameInstance gameInstance) -
Uses of GameInstance in net.minecraft.server.function
Fields in net.minecraft.server.function declared as GameInstanceConstructors in net.minecraft.server.function with parameters of type GameInstanceModifierConstructorDescriptionCommandFunctionManager(GameInstance gameInstance, FunctionLoader loader) -
Uses of GameInstance in net.minecraft.server.integrated
Methods in net.minecraft.server.integrated that return GameInstanceModifier and TypeMethodDescriptionIntegratedServer.method_69059(ResourcePackManager resourcePackManager, SaveLoader saveLoader, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory) Methods in net.minecraft.server.integrated with parameters of type GameInstanceModifier and TypeMethodDescriptionIntegratedServer.getForcedGameMode(GameInstance gameInstance) Returns the game mode a player should be set to when connecting to the server, ornullif none is set.private voidIntegratedServer.incrementTotalWorldTimeStat(GameInstance gameInstance) booleanIntegratedServer.openToLan(GameInstance gameInstance, @Nullable GameMode gameMode, boolean bool, int int2) Opens a server for LAN connections.booleanIntegratedServer.saveAll(GameInstance gameInstance, boolean bool, boolean bool2, boolean bool3) voidIntegratedServer.setDefaultGameMode(GameInstance gameInstance, GameMode gameMode) voidIntegratedServer.shutdown(GameInstance gameInstance) voidIntegratedServer.tick(GameInstance gameInstance, BooleanSupplier booleanSupplier) Constructors in net.minecraft.server.integrated with parameters of type GameInstanceModifierConstructorDescriptionIntegratedPlayerManager(GameInstance gameInstance, PlayerSaveHandler playerSaveHandler) -
Uses of GameInstance in net.minecraft.server.network
Fields in net.minecraft.server.network declared as GameInstanceModifier and TypeFieldDescriptionprivate final GameInstanceServerPlayerEntity.field_58299protected final GameInstanceServerCommonNetworkHandler.field_58305(package private) final GameInstanceServerLoginNetworkHandler.field_58324Methods in net.minecraft.server.network that return GameInstanceConstructors in net.minecraft.server.network with parameters of type GameInstanceModifierConstructorDescriptionServerCommonNetworkHandler(GameInstance gameInstance, ClientConnection connection, ConnectedClientData clientData) ServerConfigurationNetworkHandler(GameInstance gameInstance, ClientConnection connection, ConnectedClientData clientData) ServerLoginNetworkHandler(GameInstance gameInstance, ClientConnection connection, boolean transferred) ServerPlayerEntity(GameInstance gameInstance, ServerWorld serverWorld, com.mojang.authlib.GameProfile profile, SyncedClientOptions clientOptions) ServerPlayNetworkHandler(GameInstance gameInstance, ClientConnection connection, ServerPlayerEntity player, ConnectedClientData clientData) -
Uses of GameInstance in net.minecraft.server.rcon
Methods in net.minecraft.server.rcon with parameters of type GameInstanceModifier and TypeMethodDescriptionRconCommandOutput.createRconCommandSource(GameInstance gameInstance) -
Uses of GameInstance in net.minecraft.server.world
Fields in net.minecraft.server.world declared as GameInstanceMethods in net.minecraft.server.world that return GameInstanceConstructors in net.minecraft.server.world with parameters of type GameInstanceModifierConstructorDescriptionServerWorld(GameInstance gameInstance, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, RegistryEntry<DimensionType> registryEntry, WorldGenerationProgressListener worldGenerationProgressListener, boolean debugWorld, long seed, List<SpecialSpawner> spawners, boolean shouldTickTime, @Nullable RandomSequencesState randomSequencesState) -
Uses of GameInstance in net.minecraft.test
Methods in net.minecraft.test that return GameInstanceModifier and TypeMethodDescriptionTestServer.method_69059(ResourcePackManager resourcePackManager, SaveLoader saveLoader, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory) Methods in net.minecraft.test with parameters of type GameInstanceModifier and TypeMethodDescriptionbooleanTestServer.isHardcore(GameInstance gameInstance) voidTestServer.tick(GameInstance gameInstance, BooleanSupplier booleanSupplier) -
Uses of GameInstance in net.minecraft.world
Fields in net.minecraft.world with type parameters of type GameInstanceModifier and TypeFieldDescription(package private) final BiConsumer<GameInstance, T> GameRules.Type.changeCallbackMethods in net.minecraft.world that return GameInstanceMethods in net.minecraft.world with parameters of type GameInstanceModifier and TypeMethodDescriptionprotected voidGameRules.Rule.changed(@Nullable GameInstance gameInstance) voidGameRules.BooleanRule.set(boolean value, @Nullable GameInstance gameInstance) voidGameRules.IntRule.set(int value, @Nullable GameInstance gameInstance) voidGameRules.setAllValues(GameRules rules, @Nullable GameInstance gameInstance) voidGameRules.BooleanRule.setValue(GameRules.BooleanRule booleanRule, @Nullable GameInstance gameInstance) voidGameRules.IntRule.setValue(GameRules.IntRule intRule, @Nullable GameInstance gameInstance) abstract voidGameRules.Rule.setValue(T rule, @Nullable GameInstance gameInstance) private <T extends GameRules.Rule<T>>
voidGameRules.setValue(GameRules.Key<T> key, GameRules rules, @Nullable GameInstance gameInstance) Method parameters in net.minecraft.world with type arguments of type GameInstanceModifier and TypeMethodDescription(package private) static GameRules.Type<GameRules.BooleanRule> GameRules.BooleanRule.create(boolean initialValue, BiConsumer<GameInstance, GameRules.BooleanRule> changeCallback) (package private) static GameRules.Type<GameRules.IntRule> GameRules.IntRule.create(int initialValue, int min, int max, FeatureSet requiredFeatures, BiConsumer<GameInstance, GameRules.IntRule> changeCallback) private static GameRules.Type<GameRules.IntRule> GameRules.IntRule.create(int initialValue, BiConsumer<GameInstance, GameRules.IntRule> changeCallback) Constructor parameters in net.minecraft.world with type arguments of type GameInstanceModifierConstructorDescription(package private)Type(Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> argumentType, Function<GameRules.Type<T>, T> ruleFactory, BiConsumer<GameInstance, T> changeCallback, GameRules.Acceptor<T> ruleAcceptor, Class<T> ruleClass, FeatureSet requiredFeatures) -
Uses of GameInstance in net.minecraft.world.level
Fields in net.minecraft.world.level with type parameters of type GameInstanceModifier and TypeFieldDescriptionprivate final Timer<GameInstance> LevelProperties.scheduledEventsMethods in net.minecraft.world.level that return types with arguments of type GameInstanceModifier and TypeMethodDescriptionLevelProperties.getScheduledEvents()ServerWorldProperties.getScheduledEvents()UnmodifiableLevelProperties.getScheduledEvents()Constructor parameters in net.minecraft.world.level with type arguments of type GameInstanceModifierConstructorDescriptionprivateLevelProperties(@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<GameInstance> scheduledEvents, @Nullable NbtCompound customBossEvents, EnderDragonFight.Data dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, LevelProperties.SpecialProperty specialProperty, Optional<RegistryEntry<DimensionType>> optional, com.mojang.serialization.Lifecycle lifecycle, List<class_11109> list, List<class_11105> list2, List<class_11105> list3, Object2IntOpenHashMap<class_11105> object2IntOpenHashMap, int int2, int int3, int int4, Map<RegistryKey<World>, class_11101> map) -
Uses of GameInstance in net.minecraft.world.timer
Fields in net.minecraft.world.timer with type parameters of type GameInstanceModifier and TypeFieldDescriptionstatic final TimerCallbackSerializer<GameInstance> TimerCallbackSerializer.INSTANCEMethods in net.minecraft.world.timer with parameters of type GameInstanceModifier and TypeMethodDescriptionvoidFunctionTagTimerCallback.call(GameInstance gameInstance, Timer<GameInstance> timer, long long2) voidFunctionTimerCallback.call(GameInstance gameInstance, Timer<GameInstance> timer, long long2) Method parameters in net.minecraft.world.timer with type arguments of type GameInstanceModifier and TypeMethodDescriptionvoidFunctionTagTimerCallback.call(GameInstance gameInstance, Timer<GameInstance> timer, long long2) voidFunctionTimerCallback.call(GameInstance gameInstance, Timer<GameInstance> timer, long long2)