Class TextureMapping
java.lang.Object
net.minecraft.client.data.models.model.TextureMapping
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<TextureSlot> private final Map<TextureSlot, ResourceLocation> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TextureMappingattachedStem(Block pStemBlock, Block pUpperStemBlock) static TextureMappingstatic TextureMappingstatic TextureMappingcandleCake(Block pBlock, boolean pLit) static TextureMappingcauldron(ResourceLocation pTexture) static TextureMappingcolumn(ResourceLocation pSide, ResourceLocation pEnd) static TextureMappingstatic TextureMappingcolumnWithWall(Block pBlock) static TextureMappingcommandBlock(Block pBlock) copy()copyAndUpdate(TextureSlot pSlot, ResourceLocation pTexture) copyForced(TextureSlot pSource, TextureSlot pDestination) copySlot(TextureSlot pSource, TextureSlot pDestination) static TextureMappingcraftingTable(Block pBlock, Block pBottom) static TextureMappingcrop(ResourceLocation pBlock) static TextureMappingcross(ResourceLocation pTexture) static TextureMappingstatic TextureMappingcrossEmissive(Block pBlock) static TextureMappingcube(ResourceLocation pTexture) static TextureMappingstatic TextureMappingcubeBottomTop(Block pBlock) static TextureMappingcubeBottomTopWithWall(Block pBlock) static TextureMappingstatic TextureMappingcustomParticle(Block pBlock) static TextureMappingdefaultTexture(ResourceLocation pTexture) static TextureMappingdefaultTexture(Block pBlock) static TextureMappingdoor(ResourceLocation pTop, ResourceLocation pBottom) static TextureMappingstatic TextureMappingdriedGhast(String pName) static TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingfletchingTable(Block pBlock, Block pBottom) static TextureMappingget(TextureSlot pSlot) static ResourceLocationgetBlockTexture(Block pBlock) static ResourceLocationgetBlockTexture(Block pBlock, String pSuffix) static ResourceLocationgetItemTexture(Item pItem) static ResourceLocationgetItemTexture(Item pItem, String pSuffix) static TextureMappingstatic TextureMappinglayer0(ResourceLocation pTexture) static TextureMappingstatic TextureMappingstatic TextureMappinglayered(ResourceLocation pLayer0, ResourceLocation pLayer1) static TextureMappinglayered(ResourceLocation pLayer0, ResourceLocation pLayer1, ResourceLocation pLayer2) static TextureMappingstatic TextureMappingorientableCube(Block pBlock) static TextureMappingorientableCubeOnlyTop(Block pBlock) static TextureMappingorientableCubeSameEnds(Block pBlock) static TextureMappingstatic TextureMappingparticle(ResourceLocation pTexture) static TextureMappingstatic TextureMappingparticleFromItem(Item pItem) static TextureMappingstatic TextureMappingplant(ResourceLocation pTexture) static TextureMappingstatic TextureMappingplantEmissive(Block pBlock) static TextureMappingpottedAzalea(Block pBlock) put(TextureSlot pSlot, ResourceLocation pTexture) putForced(TextureSlot pSlot, ResourceLocation pTexture) static TextureMappingrail(ResourceLocation pTexture) static TextureMappingstatic TextureMappingsculkShrieker(boolean pCanSummon) static TextureMappingstatic TextureMappingsingleSlot(TextureSlot pSlot, ResourceLocation pTexture) static TextureMappingsnifferEgg(String pName) static TextureMappingstatic TextureMappingstatic TextureMappingtorch(ResourceLocation pTexture) static TextureMappingstatic TextureMappingtrialSpawner(Block pBlock, String pSideSuffix, String pTopSuffix) static TextureMappingvault(Block pBlock, String pFrontSuffix, String pSideSuffix, String pTopSuffix, String pBottomSuffix) static TextureMappingwool(ResourceLocation pTexture) static TextureMapping
-
Field Details
-
slots
-
forcedSlots
-
-
Constructor Details
-
TextureMapping
public TextureMapping()
-
-
Method Details
-
put
-
putForced
-
getForced
-
copySlot
-
copyForced
-
get
-
copyAndUpdate
-
cube
-
defaultTexture
-
defaultTexture
-
cube
-
cross
-
side
-
crossEmissive
-
cross
-
plant
-
plantEmissive
-
plant
-
rail
-
rail
-
wool
-
flowerbed
-
wool
-
stem
-
attachedStem
-
pattern
-
fan
-
crop
-
pane
-
singleSlot
-
column
-
cubeTop
-
pottedAzalea
-
logColumn
-
column
-
fence
-
customParticle
-
cubeBottomTop
-
cubeBottomTopWithWall
-
columnWithWall
-
door
-
door
-
particle
-
particle
-
fire0
-
fire1
-
lantern
-
torch
-
torch
-
trialSpawner
-
vault
-
particleFromItem
-
commandBlock
-
orientableCube
-
orientableCubeOnlyTop
-
orientableCubeSameEnds
-
top
-
craftingTable
-
fletchingTable
-
snifferEgg
-
driedGhast
-
campfire
-
candleCake
-
cauldron
-
sculkShrieker
-
bars
-
layer0
-
layer0
-
layer0
-
layered
-
layered
public static TextureMapping layered(ResourceLocation pLayer0, ResourceLocation pLayer1, ResourceLocation pLayer2) -
getBlockTexture
-
getBlockTexture
-
getItemTexture
-
getItemTexture
-
copy
-