net.minecraft.server.packs.repository

public abstract class BuiltInPackSource

implements RepositorySource

ava
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
c
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_
public static final KnownPack
b
CORE_PACK_INFO
field_49033
f_ogvtysbi
VANILLA_ID
CORE_PACK_INFO
f_315573_
private final PackType
d
packType
field_40041
f_jxgkyphu
type
type
f_244468_
private final VanillaPackResources
e
vanillaPack
field_40042
f_ujknbcsx
resourcePack
vanillaPack
f_244196_
private final ResourceLocation
f
packDir
field_40043
f_hvmbjtwe
id
packDir
f_244626_
private final DirectoryValidator
g
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<avd> 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(aug arg0)
createVanillaPack(PackResources arg0)
method_45257(class_3262 arg0)
m_vqxpcdiy(C_tguinuvn arg0)
createDefault(ResourcePack pack)
createVanillaPackProfile(ResourcePack resourcePack)
m_245806_(C_50_ arg0)
protected abstract Component
a(String arg0)
getPackTitle(String arg0)
method_45259(String arg0)
m_pgtmuvzo(String arg0)
getDisplayName(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<avd> 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, avd>> 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, avd>> 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, 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)
m_lcpxgmll(String arg0, C_lvnjxuwi$C_dwhnbqlk arg1, C_rdaqiwdt arg2)
create(String fileName, 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(aug 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_)