net.minecraft.client.resources

public class PackResourcesAdapterV4

implements PackResources

fbm
net.minecraft.client.resources.PackResourcesAdapterV4
net.minecraft.class_4729
net.minecraft.client.resource.Format4ResourcePack
net.minecraft.src.C_4504_

Field summary

Modifier and TypeField
private static final Map<String, com.mojang.datafixers.util.Pair<ChestType, ResourceLocation>>
j
CHESTS
field_21762
NEW_TO_OLD_CHEST_TEXTURES
f_118737_
private static final List<String>
k
PATTERNS
field_21763
BANNER_PATTERN_TYPES
f_118738_
private static final Set<String>
l
SHIELDS
field_21764
SHIELD_PATTERN_TEXTURES
f_118739_
private static final Set<String>
m
BANNERS
field_21765
BANNER_PATTERN_TEXTURES
f_118740_
public static final ResourceLocation
a
SHIELD_BASE
field_21759
OLD_SHIELD_BASE_TEXTURE
f_118734_
public static final ResourceLocation
b
BANNER_BASE
field_21760
OLD_BANNER_BASE_TEXTURE
f_118735_
public static final int
e
DEFAULT_CHEST_SIZE
field_32966
field_32966
f_174837_
public static final int
f
DEFAULT_SHIELD_SIZE
field_32967
field_32967
f_174838_
public static final int
g
DEFAULT_BANNER_SIZE
field_32968
field_32968
f_174839_
public static final ResourceLocation
h
OLD_IRON_GOLEM_LOCATION
field_21761
IRON_GOLEM_TEXTURE
f_118736_
public static final String
i
NEW_IRON_GOLEM_PATH
field_32969
IRON_GOLEM_TEXTURE_PATH
f_174840_
private final PackResources
n
pack
field_21766
parent
f_118741_

Constructor summary

ModifierConstructor
public (PackResources parent)

Method summary

Modifier and TypeMethod
public InputStream
b(String arg0)
getRootResource(String arg0)
method_14410(String arg0)
openRoot(String arg0)
m_5542_(String arg0)
public boolean
b(afb arg0, yt arg1)
hasResource(PackType arg0, ResourceLocation arg1)
method_14411(class_3264 arg0, class_2960 arg1)
contains(ResourceType arg0, Identifier arg1)
m_7211_(C_51_ p_118787_, C_5265_ arg1)
public InputStream
a(afb arg0, yt arg1)
getResource(PackType arg0, ResourceLocation arg1)
method_14405(class_3264 arg0, class_2960 arg1)
open(ResourceType arg0, Identifier arg1)
m_8031_(C_51_ p_118756_, C_5265_ arg1)
public static InputStream
a(InputStream arg0, InputStream arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
fixPattern(InputStream arg0, InputStream arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
method_24134(InputStream arg0, InputStream arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
openCroppedStream(InputStream base, InputStream overlay, int width, int left, int top, int right, int bottom)
m_118773_(InputStream p_118774_, InputStream p_118775_, int p_118776_, int p_118777_, int p_118778_, int p_118779_, int p_118780_)
public static InputStream
a(InputStream arg0)
fixConduitEyeTexture(InputStream arg0)
method_24199(InputStream arg0)
cropConduitTexture(InputStream stream)
m_118771_(InputStream p_118772_)
public static InputStream
b(InputStream arg0)
fixLeftChest(InputStream arg0)
method_24133(InputStream arg0)
cropLeftChestTexture(InputStream stream)
m_118788_(InputStream p_118789_)
public static InputStream
c(InputStream arg0)
fixRightChest(InputStream arg0)
method_24137(InputStream arg0)
cropRightChestTexture(InputStream stream)
m_118792_(InputStream p_118793_)
public static InputStream
d(InputStream arg0)
fixSingleChest(InputStream arg0)
method_24138(InputStream arg0)
cropSingleChestTexture(InputStream stream)
m_118797_(InputStream p_118798_)
public Collection<ResourceLocation>
a(afb arg0, String arg1, String arg2, int arg3, Predicate<String> arg4)
getResources(PackType arg0, String arg1, String arg2, int arg3, Predicate<String> arg4)
method_14408(class_3264 arg0, String arg1, String arg2, int arg3, Predicate<String> arg4)
findResources(ResourceType arg0, String arg1, String arg2, int arg3, Predicate<String> arg4)
m_7466_(C_51_ p_118750_, String p_118751_, String p_118752_, int p_118753_, Predicate<String> arg4)
public Set<String>
a(afb arg0)
getNamespaces(PackType arg0)
method_14406(class_3264 arg0)
getNamespaces(ResourceType arg0)
m_5698_(C_51_ arg0)
public <T> T
a(afe<T> arg0)
getMetadataSection(MetadataSectionSerializer<T> arg0)
method_14407(class_3270<T> arg0)
parseMetadata(ResourceMetadataReader<T> arg0)
m_5550_(C_54_<T> arg0)
public String
a()
getName()
method_14409()
getName()
m_8017_()
public void
close()
close()
close()
private static void
a(dsn arg0, dsn arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, boolean arg9, boolean arg10)
copyRect(NativeImage arg0, NativeImage arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, boolean arg9, boolean arg10)
method_24132(class_1011 arg0, class_1011 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, boolean arg9, boolean arg10)
loadBytes(NativeImage source, NativeImage target, int sourceLeft, int sourceTop, int left, int top, int right, int bottom, int multiplier, boolean mirrorX, boolean mirrorY)
m_118759_(C_3148_ p_118760_, C_3148_ p_118761_, int p_118762_, int p_118763_, int p_118764_, int p_118765_, int p_118766_, int p_118767_, int p_118768_, boolean p_118769_, boolean p_118770_)