net.minecraft.client.data

public class TextureMap

net.minecraft.client.data.models.model.TextureMapping
net.minecraft.client.data.models.model.TextureMapping
net.minecraft.class_4944
net.minecraft.client.data.TextureMap

Field summary

Modifier and TypeField
private final Map<TextureKey, ModelTexture>
slots
slots
field_22997
entries
private final Set<TextureKey>
forcedSlots
forcedSlots
field_22998
inherited

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public TextureMap
put(TextureSlot slot, Material material)
put(TextureSlot slot, Material material)
method_25868(class_4945 arg0, class_1_314 arg1)
put(TextureKey key, ModelTexture texture)
public TextureMap
putForced(TextureSlot slot, Material material)
putForced(TextureSlot slot, Material material)
method_35909(class_4945 arg0, class_1_314 arg1)
register(TextureKey key, ModelTexture texture)
public Stream<TextureKey>
getForced()
getForced()
method_25861()
getInherited()
public TextureMap
copySlot(TextureSlot from, TextureSlot to)
copySlot(TextureSlot from, TextureSlot to)
method_35908(class_4945 arg0, class_4945 arg1)
copy(TextureKey parent, TextureKey child)
public TextureMap
copyForced(TextureSlot from, TextureSlot to)
copyForced(TextureSlot from, TextureSlot to)
method_25874(class_4945 arg0, class_4945 arg1)
inherit(TextureKey parent, TextureKey child)
public ModelTexture
get(TextureSlot slot)
get(TextureSlot slot)
method_25867(class_4945 arg0)
getTexture(TextureKey key)
public TextureMap
copyAndUpdate(TextureSlot slot, Material material)
copyAndUpdate(TextureSlot slot, Material material)
method_25879(class_4945 arg0, class_1_314 arg1)
copyAndAdd(TextureKey key, ModelTexture texture)
public TextureMap
updateSlots(BiFunction<TextureSlot, Material, Material> mapper)
updateSlots(BiFunction<TextureSlot, Material, Material> mapper)
method_1_2325(BiFunction<class_4945, class_1_314, class_1_314> arg0)
replaceAll(BiFunction<TextureKey, ModelTexture, ModelTexture> function)
public TextureMap
forceAllTranslucent()
forceAllTranslucent()
method_1_2323()
makeAllForceTranslucent()
public static TextureMap
cube(Block block)
cube(Block block)
method_25864(class_2248 arg0)
all(Block block)
public static TextureMap
defaultTexture(Block block)
defaultTexture(Block block)
method_25872(class_2248 arg0)
texture(Block block)
public static TextureMap
defaultTexture(Material texture)
defaultTexture(Material texture)
method_25869(class_1_314 arg0)
texture(ModelTexture texture)
public static TextureMap
cube(Material all)
cube(Material all)
method_25875(class_1_314 arg0)
all(ModelTexture texture)
public static TextureMap
cross(Block block)
cross(Block block)
method_25877(class_2248 arg0)
cross(Block block)
public static TextureMap
side(Block block)
side(Block block)
method_64950(class_2248 arg0)
side(Block block)
public static TextureMap
crossEmissive(Block block)
crossEmissive(Block block)
method_65299(class_2248 arg0)
crossAndCrossEmissive(Block block)
public static TextureMap
cross(Material cross)
cross(Material cross)
method_25880(class_1_314 arg0)
cross(ModelTexture texture)
public static TextureMap
plant(Block block)
plant(Block block)
method_25881(class_2248 arg0)
plant(Block block)
public static TextureMap
plantEmissive(Block block)
plantEmissive(Block block)
method_65300(class_2248 arg0)
plantAndCrossEmissive(Block block)
public static TextureMap
plant(Material plant)
plant(Material plant)
method_25884(class_1_314 arg0)
plant(ModelTexture texture)
public static TextureMap
rail(Block block)
rail(Block block)
method_25885(class_2248 arg0)
rail(Block block)
public static TextureMap
rail(Material rail)
rail(Material rail)
method_25886(class_1_314 arg0)
rail(ModelTexture texture)
public static TextureMap
wool(Block block)
wool(Block block)
method_25887(class_2248 arg0)
wool(Block block)
public static TextureMap
flowerbed(Block block)
flowerbed(Block block)
method_49379(class_2248 arg0)
flowerbed(Block block)
public static TextureMap
wool(Material cross)
wool(Material cross)
method_35911(class_1_314 arg0)
wool(ModelTexture texture)
public static TextureMap
stem(Block block)
stem(Block block)
method_25888(class_2248 arg0)
stem(Block block)
public static TextureMap
attachedStem(Block stem, Block upperStem)
attachedStem(Block stem, Block upperStem)
method_25865(class_2248 arg0, class_2248 arg1)
stemAndUpper(Block stem, Block upper)
public static TextureMap
pattern(Block block)
pattern(Block block)
method_25890(class_2248 arg0)
pattern(Block block)
public static TextureMap
fan(Block block)
fan(Block block)
method_25892(class_2248 arg0)
fan(Block block)
public static TextureMap
crop(Material id)
crop(Material id)
method_25889(class_1_314 arg0)
crop(ModelTexture texture)
public static TextureMap
pane(Block body, Block edge)
pane(Block body, Block edge)
method_25873(class_2248 arg0, class_2248 arg1)
paneAndTopForEdge(Block block, Block top)
public static TextureMap
singleSlot(TextureSlot slot, Material id)
singleSlot(TextureSlot slot, Material id)
method_25883(class_4945 arg0, class_1_314 arg1)
of(TextureKey key, ModelTexture texture)
public static TextureMap
column(Block block)
column(Block block)
method_25894(class_2248 arg0)
sideEnd(Block block)
public static TextureMap
cubeTop(Block block)
cubeTop(Block block)
method_25896(class_2248 arg0)
sideAndTop(Block block)
public static TextureMap
pottedAzalea(Block block)
pottedAzalea(Block block)
method_50028(class_2248 arg0)
pottedAzaleaBush(Block block)
public static TextureMap
logColumn(Block block)
logColumn(Block block)
method_25897(class_2248 arg0)
sideAndEndForTop(Block block)
public static TextureMap
column(Material side, Material end)
column(Material side, Material end)
method_25870(class_1_314 arg0, class_1_314 arg1)
sideEnd(ModelTexture sideTexture, ModelTexture endTexture)
public static TextureMap
fence(Block block)
fence(Block block)
method_46200(class_2248 arg0)
textureSideTop(Block block)
public static TextureMap
customParticle(Block block)
customParticle(Block block)
method_46201(class_2248 arg0)
textureParticle(Block block)
public static TextureMap
cubeBottomTop(Block block)
cubeBottomTop(Block block)
method_25898(class_2248 arg0)
sideTopBottom(Block block)
public static TextureMap
cubeBottomTopWithWall(Block block)
cubeBottomTopWithWall(Block block)
method_25899(class_2248 arg0)
wallSideTopBottom(Block block)
public static TextureMap
columnWithWall(Block block)
columnWithWall(Block block)
method_27168(class_2248 arg0)
wallSideEnd(Block block)
public static TextureMap
door(Material top, Material bottom)
door(Material top, Material bottom)
method_35910(class_1_314 arg0, class_1_314 arg1)
topBottom(ModelTexture topTexture, ModelTexture bottomTexture)
public static TextureMap
door(Block block)
door(Block block)
method_25900(class_2248 arg0)
topBottom(Block block)
public static TextureMap
particle(Block block)
particle(Block block)
method_25901(class_2248 arg0)
particle(Block block)
public static TextureMap
particle(Material id)
particle(Material id)
method_25891(class_1_314 arg0)
particle(ModelTexture texture)
public static TextureMap
fire0(Block block)
fire0(Block block)
method_25902(class_2248 arg0)
fire0(Block block)
public static TextureMap
fire1(Block block)
fire1(Block block)
method_25903(class_2248 arg0)
fire1(Block block)
public static TextureMap
lantern(Block block)
lantern(Block block)
method_25904(class_2248 arg0)
lantern(Block block)
public static TextureMap
torch(Block block)
torch(Block block)
method_25905(class_2248 arg0)
torch(Block block)
public static TextureMap
torch(Material id)
torch(Material id)
method_25893(class_1_314 arg0)
torch(ModelTexture texture)
public static TextureMap
trialSpawner(Block block, String sideSuffix, String topSuffix)
trialSpawner(Block block, String sideSuffix, String topSuffix)
method_55307(class_2248 arg0, String arg1, String arg2)
trialSpawner(Block block, String side, String top)
public static TextureMap
vault(Block block, String frontSuffix, String sideSuffix, String topSuffix, String bottomSuffix)
vault(Block block, String frontSuffix, String sideSuffix, String topSuffix, String bottomSuffix)
method_56887(class_2248 arg0, String arg1, String arg2, String arg3, String arg4)
vault(Block block, String front, String side, String top, String bottom)
public static TextureMap
particleFromItem(Item item)
particleFromItem(Item item)
method_25862(class_1792 arg0)
particle(Item item)
public static TextureMap
commandBlock(Block block)
commandBlock(Block block)
method_25906(class_2248 arg0)
sideFrontBack(Block block)
public static TextureMap
orientableCube(Block block)
orientableCube(Block block)
method_25907(class_2248 arg0)
sideFrontTopBottom(Block block)
public static TextureMap
orientableCubeOnlyTop(Block block)
orientableCubeOnlyTop(Block block)
method_25908(class_2248 arg0)
sideFrontTop(Block block)
public static TextureMap
orientableCubeSameEnds(Block block)
orientableCubeSameEnds(Block block)
method_25909(class_2248 arg0)
sideFrontEnd(Block block)
public static TextureMap
top(Block block)
top(Block block)
method_25910(class_2248 arg0)
top(Block top)
public static TextureMap
craftingTable(Block table, Block bottomWood)
craftingTable(Block table, Block bottomWood)
method_25878(class_2248 arg0, class_2248 arg1)
frontSideWithCustomBottom(Block block, Block bottom)
public static TextureMap
fletchingTable(Block table, Block bottomWood)
fletchingTable(Block table, Block bottomWood)
method_25882(class_2248 arg0, class_2248 arg1)
frontTopSide(Block frontTopSideBlock, Block downBlock)
public static TextureMap
snifferEgg(String suffix)
snifferEgg(String suffix)
method_50027(String arg0)
snifferEgg(String age)
public static TextureMap
driedGhast(String suffix)
driedGhast(String suffix)
method_70823(String arg0)
driedGhast(String hydration)
public static TextureMap
campfire(Block campfire)
campfire(Block campfire)
method_27167(class_2248 arg0)
campfire(Block block)
public static TextureMap
candleCake(Block block, boolean lit)
candleCake(Block block, boolean lit)
method_32231(class_2248 arg0, boolean arg1)
candleCake(Block block, boolean lit)
public static TextureMap
cauldron(Material contentTextureLoc)
cauldron(Material contentTextureLoc)
method_32232(class_1_314 arg0)
cauldron(ModelTexture contentTexture)
public static TextureMap
sculkShrieker(boolean canSummon)
sculkShrieker(boolean canSummon)
method_42753(boolean arg0)
sculkShrieker(boolean canSummon)
public static TextureMap
bars(Block block)
bars(Block block)
method_73141(class_2248 arg0)
bars(Block block)
public static TextureMap
layer0(Item item)
layer0(Item item)
method_25871(class_1792 arg0)
layer0(Item item)
public static TextureMap
layer0(Block block)
layer0(Block block)
method_25911(class_2248 arg0)
layer0(Block block)
public static TextureMap
layer0(Material id)
layer0(Material id)
method_25895(class_1_314 arg0)
layer0(ModelTexture texture)
public static TextureMap
layered(Material layer0, Material layer1)
layered(Material layer0, Material layer1)
method_48529(class_1_314 arg0, class_1_314 arg1)
layered(ModelTexture layer0, ModelTexture layer1)
public static TextureMap
layered(Material layer0, Material layer1, Material layer2)
layered(Material layer0, Material layer1, Material layer2)
method_48745(class_1_314 arg0, class_1_314 arg1, class_1_314 arg2)
layered(ModelTexture layer0, ModelTexture layer1, ModelTexture layer2)
public static ModelTexture
getBlockTexture(Block block)
getBlockTexture(Block block)
method_25860(class_2248 arg0)
getId(Block block)
public static ModelTexture
getBlockTexture(Block block, String suffix)
getBlockTexture(Block block, String suffix)
method_25866(class_2248 arg0, String arg1)
getSubId(Block block, String suffix)
public static ModelTexture
getItemTexture(Item block)
getItemTexture(Item block)
method_25876(class_1792 arg0)
getId(Item item)
public static ModelTexture
getItemTexture(Item item, String suffix)
getItemTexture(Item item, String suffix)
method_25863(class_1792 arg0, String arg1)
getSubId(Item item, String suffix)