net.minecraft.server.packs.repository

public class ServerPacksSource

extends BuiltInPackSource

All mapped superinterfaces:

RepositorySource

ats
net.minecraft.server.packs.repository.ServerPacksSource
net.minecraft.class_3286
net.minecraft.resource.VanillaDataPackProvider
net.minecraft.src.C_65_
net.minecraft.server.packs.repository.ResourcePackSourceVanilla

Field summary

Modifier and TypeField
private static final PackMetadataSection
c
VERSION_METADATA_SECTION
field_40051
METADATA
f_244259_
private static final FeatureFlagsMetadataSection
d
FEATURE_FLAGS_METADATA_SECTION
field_40052
FEATURE_FLAGS
f_244456_
private static final BuiltInMetadata
e
BUILT_IN_METADATA
field_26939
METADATA_MAP
f_143904_
private static final PackLocationInfo
f
VANILLA_PACK_INFO
field_49040
INFO
f_316407_
private static final PackSelectionConfig
g
VANILLA_SELECTION_CONFIG
field_49041
BOTTOM_POSITION
f_316252_
private static final PackSelectionConfig
h
FEATURE_SELECTION_CONFIG
field_49042
TOP_POSITION
f_315861_
private static final ResourceLocation
i
PACKS_DIR
field_40053
ID
f_244487_

Constructor summary

ModifierConstructor
public (DirectoryValidator symlinkFinder)

Method summary

Modifier and TypeMethod
private static PackLocationInfo
a(String arg0, wz arg1)
createBuiltInPackLocation(String arg0, Component arg1)
method_56935(String arg0, class_2561 arg1)
createInfo(String id, Text title)
m_321450_(String p_330867_, C_4996_ p_330785_)
public static VanillaPackResources
b()
createVanillaPackSource()
method_45287()
createDefaultPack()
m_246173_()
protected Component
a(String arg0)
getPackTitle(String arg0)
method_45259(String arg0)
getDisplayName(String arg0)
m_245328_(String arg0)
protected Pack
a(asq arg0)
createVanillaPack(PackResources arg0)
method_45257(class_3262 arg0)
createDefault(ResourcePack arg0)
m_245806_(C_50_ arg0)
protected Pack
a(String arg0, atm$c arg1, wz arg2)
createBuiltinPack(String arg0, Pack$ResourcesSupplier arg1, Component arg2)
method_45260(String arg0, class_3288$class_7680 arg1, class_2561 arg2)
create(String arg0, ResourcePackProfile$PackFactory arg1, Text arg2)
m_246091_(String p_249625_, C_58_$C_243513_ p_249043_, C_4996_ arg2)
public static PackRepository
a(Path arg0, ews arg1)
createPackRepository(Path arg0, DirectoryValidator arg1)
method_45286(Path arg0, class_8580 arg1)
createManager(Path dataPacksPath, SymlinkFinder symlinkFinder)
m_245786_(Path p_251569_, C_289814_ p_300268_)
public static PackRepository
c()
createVanillaTrustedRepository()
method_52443()
createClientManager()
m_293411_()
public static PackRepository
a(erf$c arg0)
createPackRepository(LevelStorageSource$LevelStorageAccess arg0)
method_45285(class_32$class_5143 arg0)
createManager(LevelStorage$Session session)
m_247728_(C_2785_$C_2786_ p_250213_)