net.minecraft.server.packs.repository

public abstract class BuiltInPackSource

implements RepositorySource

apo
net.minecraft.server.packs.repository.BuiltInPackSource
net.minecraft.class_7678
net.minecraft.unmapped.C_lqaxxobw
net.minecraft.resource.VanillaResourcePackProvider
net.minecraft.resource.pack.BuiltinPackProvider
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
f_ynwikjer
LOGGER
LOGGER
f_244636_
public static final String
a
VANILLA_ID
field_40039
f_xpkcknrw
VANILLA_KEY
VANILLA_ID
f_243761_
private final PackType
c
packType
field_40041
f_jxgkyphu
type
type
f_244468_
private final VanillaPackResources
d
vanillaPack
field_40042
f_ujknbcsx
resourcePack
vanillaPack
f_244196_
private final ResourceLocation
e
packDir
field_40043
f_hvmbjtwe
id
packDir
f_244626_
private final DirectoryValidator
f
validator
field_45052
f_ruizawsx
symlinkFinder
linkValidator
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)
m_vqxpcdiy(C_tguinuvn arg0)
createDefault(ResourcePack pack)
createBuiltinPackProfile(ResourcePack resourcePack)
m_245806_(C_50_ arg0)
protected abstract Component
a(String arg0)
getPackTitle(String arg0)
method_45259(String arg0)
m_pgtmuvzo(String arg0)
getProfileName(String id)
getPackDisplayName(String packName)
m_245328_(String arg0)
public VanillaPackResources
a()
getVanillaPack()
method_45256()
m_qzlacjfv()
getResourcePack()
getVanillaPack()
m_246851_()
private void
a(Consumer<apq> arg0)
listBundledPacks(Consumer<Pack> arg0)
method_45267(Consumer<class_3288> arg0)
m_ettvaodd(Consumer<C_lvnjxuwi> arg0)
forEachProfile(Consumer<ResourcePackProfile> consumer)
registerAdditionalPacks(Consumer<PackProfile> profileAdder)
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)
m_ateussnw(BiConsumer<String, Function<String, C_lvnjxuwi>> arg0)
forEachProfile(BiConsumer<String, Function<String, ResourcePackProfile>> consumer)
populatePackList(BiConsumer<String, Function<String, PackProfile>> profileAdder)
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)
m_weqppeeh(Path arg0, BiConsumer<String, Function<String, C_lvnjxuwi>> arg1)
forEachProfile(Path namespacedPath, BiConsumer<String, Function<String, ResourcePackProfile>> consumer)
discoverPacksInPath(Path packsDir, BiConsumer<String, Function<String, PackProfile>> profileAdder)
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)
m_xnnqwmlf(Path arg0)
getFileName(Path path)
getNameFromPath(Path packPath)
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)
m_lcpxgmll(String arg0, C_lvnjxuwi$C_dwhnbqlk arg1, C_rdaqiwdt arg2)
create(String name, ResourcePackProfile$PackFactory packFactory, Text displayName)
createBuiltinPackProfile(String name, PackProfile$PackFactory factory, 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)
m_nklharuz(C_tguinuvn arg0)
createPackFactory(ResourcePack pack)
wrapToFactory(ResourcePack resourcePack)
m_293533_(C_50_ p_298206_)