net.minecraft.server.packs.repository

public abstract class BuiltInPackSource

implements RepositorySource

ava
net.minecraft.server.packs.repository.BuiltInPackSource
net.minecraft.class_7678
net.minecraft.resource.VanillaResourcePackProvider
net.minecraft.server.packs.repository.BuiltInPackSource

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
c
LOGGER
field_40040
LOGGER
public static final String
a
VANILLA_ID
field_40039
VANILLA_KEY
public static final KnownPack
b
CORE_PACK_INFO
field_49033
VANILLA_ID
private final PackType
d
packType
field_40041
type
private final VanillaPackResources
e
vanillaPack
field_40042
resourcePack
private final ResourceLocation
f
packDir
field_40043
id
private final DirectoryValidator
g
validator
field_45052
symlinkFinder

Constructor summary

ModifierConstructor
public (PackType type, VanillaPackResources resourcePack, ResourceLocation id, DirectoryValidator symlinkFinder)

Method summary

Modifier and TypeMethod
public void
loadPacks(Consumer<avd> arg0)
loadPacks(Consumer<Pack> arg0)
method_14453(Consumer<class_3288> arg0)
register(Consumer<ResourcePackProfile> arg0)
protected abstract Pack
a(aug arg0)
createVanillaPack(PackResources arg0)
method_45257(class_3262 arg0)
createDefault(ResourcePack pack)
protected abstract Component
a(String arg0)
getPackTitle(String arg0)
method_45259(String arg0)
getDisplayName(String id)
public VanillaPackResources
a()
getVanillaPack()
method_45256()
getResourcePack()
private void
a(Consumer<avd> arg0)
listBundledPacks(Consumer<Pack> arg0)
method_45267(Consumer<class_3288> arg0)
forEachProfile(Consumer<ResourcePackProfile> consumer)
protected void
a(BiConsumer<String, Function<String, avd>> arg0)
populatePackList(BiConsumer<String, Function<String, Pack>> arg0)
method_45263(BiConsumer<String, Function<String, class_3288>> arg0)
forEachProfile(BiConsumer<String, Function<String, ResourcePackProfile>> consumer)
protected void
a(Path arg0, BiConsumer<String, Function<String, avd>> arg1)
discoverPacksInPath(Path arg0, BiConsumer<String, Function<String, Pack>> arg1)
method_45262(Path arg0, BiConsumer<String, Function<String, class_3288>> arg1)
forEachProfile(Path namespacedPath, BiConsumer<String, Function<String, ResourcePackProfile>> consumer)
private static String
a(Path arg0)
pathToId(Path arg0)
method_45261(Path arg0)
getFileName(Path path)
protected abstract Pack
a(String arg0, avd$c arg1, xv arg2)
createBuiltinPack(String arg0, Pack$ResourcesSupplier arg1, Component arg2)
method_45260(String arg0, class_3288$class_7680 arg1, class_2561 arg2)
create(String fileName, ResourcePackProfile$PackFactory packFactory, Text displayName)
protected static Pack$ResourcesSupplier
b(aug arg0)
fixedResources(PackResources arg0)
method_52435(class_3262 arg0)
createPackFactory(ResourcePack pack)