net.minecraft.server.packs.repository

public abstract class BuiltInPackSource

implements RepositorySource

apo
net.minecraft.server.packs.repository.BuiltInPackSource
net.minecraft.class_7678
net.minecraft.resource.VanillaResourcePackProvider
net.minecraft.src.C_243607_
net.minecraft.server.packs.repository.BuiltInPackSource

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_40040
LOGGER
f_244636_
public static final String
a
VANILLA_ID
field_40039
VANILLA_KEY
f_243761_
private final PackType
c
packType
field_40041
type
f_244468_
private final VanillaPackResources
d
vanillaPack
field_40042
resourcePack
f_244196_
private final ResourceLocation
e
packDir
field_40043
id
f_244626_
private final DirectoryValidator
f
validator
field_45052
symlinkFinder
f_291310_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
loadPacks(Consumer<apq> arg0)
loadPacks(Consumer<Pack> arg0)
method_14453(Consumer<class_3288> arg0)
register(Consumer<ResourcePackProfile> arg0)
m_7686_(Consumer<C_58_> arg0)
protected abstract Pack
a(aow arg0)
createVanillaPack(PackResources arg0)
method_45257(class_3262 arg0)
createDefault(ResourcePack pack)
m_245806_(C_50_ arg0)
protected abstract Component
a(String arg0)
getPackTitle(String arg0)
method_45259(String arg0)
getProfileName(String id)
m_245328_(String arg0)
public VanillaPackResources
a()
getVanillaPack()
method_45256()
getResourcePack()
m_246851_()
private void
a(Consumer<apq> arg0)
listBundledPacks(Consumer<Pack> arg0)
method_45267(Consumer<class_3288> arg0)
forEachProfile(Consumer<ResourcePackProfile> consumer)
m_245188_(Consumer<C_58_> arg0)
protected void
a(BiConsumer<String, Function<String, apq>> arg0)
populatePackList(BiConsumer<String, Function<String, Pack>> arg0)
method_45263(BiConsumer<String, Function<String, class_3288>> arg0)
forEachProfile(BiConsumer<String, Function<String, ResourcePackProfile>> consumer)
m_245382_(BiConsumer<String, Function<String, C_58_>> arg0)
protected void
a(Path arg0, BiConsumer<String, Function<String, apq>> 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)
m_245111_(Path p_249898_, BiConsumer<String, Function<String, C_58_>> arg1)
private static String
a(Path arg0)
pathToId(Path arg0)
method_45261(Path arg0)
getFileName(Path path)
m_247484_(Path p_252048_)
protected abstract Pack
a(String arg0, apq$c arg1, vf arg2)
createBuiltinPack(String arg0, Pack$ResourcesSupplier arg1, Component arg2)
method_45260(String arg0, class_3288$class_7680 arg1, class_2561 arg2)
create(String name, ResourcePackProfile$PackFactory packFactory, Text displayName)
m_246091_(String p_248670_, C_58_$C_243513_ p_252197_, C_4996_ arg2)
protected static Pack$ResourcesSupplier
b(aow arg0)
fixedResources(PackResources arg0)
method_52435(class_3262 arg0)
createPackFactory(ResourcePack pack)
m_293533_(C_50_ p_298206_)