net.minecraft.server.packs.repository

public class Pack

implements AutoCloseable

abs
net.minecraft.server.packs.repository.Pack
net.minecraft.class_3288
net.minecraft.resource.ResourcePackProfile
net.minecraft.resources.ResourcePackInfo
net.minecraft.server.v1_16_R2.ResourcePackLoader

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_14279
LOGGER
field_195799_a
private static final PackMetadataSection
b
BROKEN_ASSETS_FALLBACK
field_14276
BROKEN_PACK_META
field_212500_b
private final String
c
id
field_14272
name
field_195800_b
private final Supplier<PackResources>
d
supplier
field_14273
packGetter
field_195801_c
private final Component
e
title
field_14274
displayName
field_195802_d
private final Component
f
description
field_14275
description
field_195803_e
private final PackCompatibility
g
compatibility
field_14278
compatibility
field_195804_f
private final Pack$Position
h
defaultPosition
field_14277
position
field_195805_g
private final boolean
i
required
field_14271
alwaysEnabled
field_195806_h
private final boolean
j
fixedPosition
field_14270
pinned
field_195807_i
private final PackSource
k
packSource
field_25346
source
field_232611_k_

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, boolean alwaysEnabled, Supplier<PackResources> packFactory, PackResources pack, PackMetadataSection metadata, Pack$Position direction, PackSource source)

Method summary

Modifier and TypeMethod
public static Pack
a(String arg0, boolean arg1, Supplier<abh> arg2, abs$a arg3, abs$b arg4, abv 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 containerFactory, ResourcePackProfile$InsertionPosition insertionPosition, ResourcePackSource arg5)
func_195793_a(String arg0, boolean arg1, Supplier<IResourcePack> arg2, ResourcePackInfo$IFactory arg3, ResourcePackInfo$Priority arg4, IPackNameDecorator arg5)
public Component
a(boolean arg0)
getChatLink(boolean arg0)
method_14461(boolean arg0)
getInformationText(boolean enabled)
func_195794_a(boolean arg0)
public PackCompatibility
c()
getCompatibility()
method_14460()
getCompatibility()
func_195791_d()
public PackResources
d()
open()
method_14458()
createResourcePack()
func_195796_e()
public String
e()
getId()
method_14463()
getName()
func_195790_f()
public boolean
f()
isRequired()
method_14464()
isAlwaysEnabled()
func_195797_g()
public boolean
g()
isFixedPosition()
method_14465()
isPinned()
func_195798_h()
public Pack$Position
h()
getDefaultPosition()
method_14466()
getInitialPosition()
func_195792_i()
public void
close()
close()
close()
close()
close()
public Component
a()
getTitle()
method_14457()
getDisplayName()
func_195789_b()
public Component
b()
getDescription()
method_14459()
getDescription()
func_195795_c()
public PackSource
i()
getPackSource()
method_29483()
getSource()
func_232614_i_()