net.minecraft.server.packs.repository

public class Pack

avd
net.minecraft.server.packs.repository.Pack
net.minecraft.class_3288
net.minecraft.resource.ResourcePackProfile
net.minecraft.server.packs.repository.ResourcePackLoader

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_14279
LOGGER
private final PackLocationInfo
b
location
field_49037
info
private final Pack$ResourcesSupplier
c
resources
field_14273
packFactory
private final Pack$Metadata
d
metadata
field_49038
metaData
private final PackSelectionConfig
e
selectionConfig
field_49039
position

Constructor summary

ModifierConstructor
public (PackLocationInfo info, Pack$ResourcesSupplier packFactory, Pack$Metadata metaData, PackSelectionConfig position)

Method summary

Modifier and TypeMethod
public static Pack
a(auf arg0, avd$c arg1, aui arg2, auh arg3)
readMetaAndCreate(PackLocationInfo arg0, Pack$ResourcesSupplier arg1, PackType arg2, PackSelectionConfig arg3)
method_45275(class_9224 arg0, class_3288$class_7680 arg1, class_3264 arg2, class_9225 arg3)
create(ResourcePackInfo info, ResourcePackProfile$PackFactory packFactory, ResourceType type, ResourcePackPosition position)
public static Pack$Metadata
a(auf arg0, avd$c arg1, int arg2)
readPackMetadata(PackLocationInfo arg0, Pack$ResourcesSupplier arg1, int arg2)
method_45274(class_9224 arg0, class_3288$class_7680 arg1, int arg2)
loadMetadata(ResourcePackInfo info, ResourcePackProfile$PackFactory packFactory, int currentPackFormat)
private static InclusiveRange<Integer>
a(String arg0, auv arg1)
getDeclaredPackVersions(String arg0, PackMetadataSection arg1)
method_52440(String arg0, class_3272 arg1)
getSupportedFormats(String packId, PackResourceMetadata metadata)
public PackLocationInfo
a()
location()
method_56933()
getInfo()
public Component
b()
getTitle()
method_14457()
getDisplayName()
public Component
c()
getDescription()
method_14459()
getDescription()
public Component
a(boolean arg0)
getChatLink(boolean arg0)
method_14461(boolean arg0)
getInformationText(boolean enabled)
public PackCompatibility
d()
getCompatibility()
method_14460()
getCompatibility()
public FeatureFlagSet
e()
getRequestedFeatures()
method_45276()
getRequestedFeatures()
public PackResources
f()
open()
method_14458()
createResourcePack()
public String
g()
getId()
method_14463()
getId()
public PackSelectionConfig
h()
selectionConfig()
method_56934()
getPosition()
public boolean
i()
isRequired()
method_14464()
isRequired()
public boolean
j()
isFixedPosition()
method_14465()
isPinned()
public Pack$Position
k()
getDefaultPosition()
method_14466()
getInitialPosition()
public PackSource
l()
getPackSource()
method_29483()
getSource()