net.minecraft.server.packs.repository

public class Pack

ahw
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 Supplier<PackResources>
c
supplier
field_14273
packFactory
f_10402_
private final Component
d
title
field_14274
displayName
f_10403_
private final Component
e
description
field_14275
description
f_10404_
private final PackCompatibility
f
compatibility
field_14278
compatibility
f_10405_
private final Pack$Position
g
defaultPosition
field_14277
position
f_10406_
private final boolean
h
required
field_14271
alwaysEnabled
f_10407_
private final boolean
i
fixedPosition
field_14270
pinned
f_10408_
private final PackSource
j
packSource
field_25346
source
f_10409_

Constructor summary

ModifierConstructor
public (String name, boolean alwaysEnabled, Supplier<PackResources> packFactory, Component displayName, Component description, PackCompatibility compatibility, Pack$Position direction, boolean pinned, PackSource source)
public (String name, Component displayName, boolean alwaysEnabled, Supplier<PackResources> packFactory, PackMetadataSection metadata, PackType type, Pack$Position direction, PackSource source)

Method summary

Modifier and TypeMethod
public static Pack
a(String arg0, boolean arg1, Supplier<ahl> arg2, ahw$a arg3, ahw$b arg4, ahz arg5)
create(String arg0, boolean arg1, Supplier<PackResources> arg2, Pack$PackConstructor arg3, Pack$Position arg4, PackSource arg5)
method_14456(String arg0, boolean arg1, Supplier<class_3262> arg2, class_3288$class_5351 arg3, class_3288$class_3289 arg4, class_5352 arg5)
of(String name, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, ResourcePackProfile$Factory profileFactory, ResourcePackProfile$InsertionPosition insertionPosition, ResourcePackSource packSource)
m_10430_(String p_10431_, boolean p_10432_, Supplier<C_50_> p_10433_, C_58_$C_59_ p_10434_, C_58_$C_60_ p_10435_, C_63_ p_10436_)
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 PackResources
d()
open()
method_14458()
createResourcePack()
m_10445_()
public String
e()
getId()
method_14463()
getName()
m_10446_()
public boolean
f()
isRequired()
method_14464()
isAlwaysEnabled()
m_10449_()
public boolean
g()
isFixedPosition()
method_14465()
isPinned()
m_10450_()
public Pack$Position
h()
getDefaultPosition()
method_14466()
getInitialPosition()
m_10451_()
public PackSource
i()
getPackSource()
method_29483()
getSource()
m_10453_()