net.minecraft.server.packs.repository

public class Pack

apq
net.minecraft.server.packs.repository.Pack
net.minecraft.class_3288
net.minecraft.resource.ResourcePackProfile
net.minecraft.src.C_58_
net.minecraft.server.packs.repository.ResourcePackLoader

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_14279
LOGGER
f_10399_
private final String
b
id
field_14272
name
f_10401_
private final Pack$ResourcesSupplier
c
resources
field_14273
packFactory
f_244124_
private final Component
d
title
field_14274
displayName
f_10403_
private final Pack$Info
e
info
field_45056
metadata
f_291887_
private final Pack$Position
f
defaultPosition
field_14277
position
f_10406_
private final boolean
g
required
field_14271
alwaysEnabled
f_10407_
private final boolean
h
fixedPosition
field_14270
pinned
f_10408_
private final PackSource
i
packSource
field_25346
source
f_10409_

Constructor summary

ModifierConstructor
private (String name, boolean alwaysEnabled, Pack$ResourcesSupplier packFactory, Component displayName, Pack$Info metadata, Pack$Position position, boolean pinned, PackSource source)

Method summary

Modifier and TypeMethod
public static Pack
a(String arg0, vf arg1, boolean arg2, apq$c arg3, aox arg4, apq$b arg5, apu arg6)
readMetaAndCreate(String arg0, Component arg1, boolean arg2, Pack$ResourcesSupplier arg3, PackType arg4, Pack$Position arg5, PackSource arg6)
method_45275(String arg0, class_2561 arg1, boolean arg2, class_3288$class_7680 arg3, class_3264 arg4, class_3288$class_3289 arg5, class_5352 arg6)
create(String name, Text displayName, boolean alwaysEnabled, ResourcePackProfile$PackFactory packFactory, ResourceType type, ResourcePackProfile$InsertionPosition position, ResourcePackSource source)
m_245429_(String p_249649_, C_4996_ p_248632_, boolean p_251594_, C_58_$C_243513_ p_252210_, C_51_ p_250595_, C_58_$C_60_ p_248706_, C_63_ p_251233_)
public static Pack
a(String arg0, vf arg1, boolean arg2, apq$c arg3, apq$a arg4, apq$b arg5, boolean arg6, apu arg7)
create(String arg0, Component arg1, boolean arg2, Pack$ResourcesSupplier arg3, Pack$Info arg4, Pack$Position arg5, boolean arg6, PackSource arg7)
method_14456(String arg0, class_2561 arg1, boolean arg2, class_3288$class_7680 arg3, class_3288$class_7679 arg4, class_3288$class_3289 arg5, boolean arg6, class_5352 arg7)
of(String name, Text displayName, boolean alwaysEnabled, ResourcePackProfile$PackFactory packFactory, ResourcePackProfile$Metadata metadata, ResourcePackProfile$InsertionPosition position, boolean pinned, ResourcePackSource source)
m_245512_(String p_252257_, C_4996_ p_248717_, boolean p_248811_, C_58_$C_243513_ p_248969_, C_58_$C_243554_ p_251314_, C_58_$C_60_ p_252110_, boolean p_250237_, C_63_ p_248524_)
public static Pack$Info
a(String arg0, apq$c arg1, int arg2)
readPackInfo(String arg0, Pack$ResourcesSupplier arg1, int arg2)
method_45274(String arg0, class_3288$class_7680 arg1, int arg2)
loadMetadata(String name, ResourcePackProfile$PackFactory packFactory, int currentPackFormat)
m_246334_(String p_250591_, C_58_$C_243513_ p_250739_, int p_299232_)
private static InclusiveRange<Integer>
a(String arg0, apk arg1)
getDeclaredPackVersions(String arg0, PackMetadataSection arg1)
method_52440(String arg0, class_3272 arg1)
getSupportedFormats(String packName, PackResourceMetadata metadata)
m_295425_(String p_299045_, C_55_ p_298414_)
public Component
a()
getTitle()
method_14457()
getDisplayName()
m_10429_()
public Component
b()
getDescription()
method_14459()
getDescription()
m_10442_()
public Component
a(boolean arg0)
getChatLink(boolean arg0)
method_14461(boolean arg0)
getInformationText(boolean enabled)
m_10437_(boolean arg0)
public PackCompatibility
c()
getCompatibility()
method_14460()
getCompatibility()
m_10443_()
public FeatureFlagSet
d()
getRequestedFeatures()
method_45276()
getRequestedFeatures()
m_245532_()
public PackResources
e()
open()
method_14458()
createResourcePack()
m_10445_()
public String
f()
getId()
method_14463()
getName()
m_10446_()
public boolean
g()
isRequired()
method_14464()
isAlwaysEnabled()
m_10449_()
public boolean
h()
isFixedPosition()
method_14465()
isPinned()
m_10450_()
public Pack$Position
i()
getDefaultPosition()
method_14466()
getInitialPosition()
m_10451_()
public PackSource
j()
getPackSource()
method_29483()
getSource()
m_10453_()