net.minecraft.server.packs.repository

public class UnopenedPack

implements AutoCloseable

xa
net.minecraft.server.packs.repository.UnopenedPack
net.minecraft.class_3288
net.minecraft.resource.ResourcePackProfile
net.minecraft.resources.ResourcePackInfo
net.minecraft.server.v1_14_R1.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<Pack>
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 UnopenedPack$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

Constructor summary

ModifierConstructor
public (String name, boolean alwaysEnabled, Supplier<Pack> packFactory, Component displayName, Component description, PackCompatibility compatibility, UnopenedPack$Position direction, boolean pinned)
public (String name, boolean alwaysEnabled, Supplier<Pack> packFactory, Pack pack, PackMetadataSection metadata, UnopenedPack$Position direction)

Method summary

Modifier and TypeMethod
public static <T extends UnopenedPack> T
a(String arg0, boolean arg1, Supplier<wl> arg2, xa$b<T> arg3, xa$a arg4)
create(String arg0, boolean arg1, Supplier<Pack> arg2, UnopenedPack$UnopenedPackConstructor<T> arg3, UnopenedPack$Position arg4)
method_14456(String arg0, boolean arg1, Supplier<class_3262> arg2, class_3288$class_3290<T> arg3, class_3288$class_3289 arg4)
of(String name, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, ResourcePackProfile$Factory<T> containerFactory, ResourcePackProfile$InsertionPosition insertionPosition)
func_195793_a(String arg0, boolean arg1, Supplier<IResourcePack> arg2, ResourcePackInfo$IFactory<T> arg3, ResourcePackInfo$Priority arg4)
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 Pack
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 UnopenedPack$Position
h()
getDefaultPosition()
method_14466()
getInitialPosition()
func_195792_i()
public void
close()
close()
close()
close()
public Component
a()
getTitle()
method_14457()
getDisplayName()
func_195789_b()
public Component
b()
getDescription()
method_14459()
getDescription()
func_195795_c()