PackReloadConfig .java

net.minecraft.client.resources.server.PackReloadConfig (interface, 26 lines): members: scheduleReload, IdAndPath, Callbacks. imports: EnvType.

net.minecraft.client.resources.serverinterface26 linesclient560 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (1)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

PackReloadConfig.java26 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.resources.server;
2
3
import java.nio.file.Path;
4
import java.util.List;
5
import java.util.UUID;
6
import net.fabricmc.api.EnvType;
7
import net.fabricmc.api.Environment;
8
9
@Environment(EnvType.CLIENT)
10
public interface PackReloadConfig {
11
	void scheduleReload(PackReloadConfig.Callbacks callbacks);
12
13
	@Environment(EnvType.CLIENT)
14
	interface Callbacks {
15
		void onSuccess();
16
17
		void onFailure(boolean isRecovery);
18
19
		List<PackReloadConfig.IdAndPath> packsToLoad();
20
	}
21
22
	@Environment(EnvType.CLIENT)
23
	record IdAndPath(UUID id, Path path) {
24
	}
25
}
26

Decompiled Minecraft 26.3 source of PackReloadConfig (net/minecraft/client/resources/server/PackReloadConfig.java) with Mojang official mappings, stored verbatim on the site.