Package net.minecraft.data.models.model
Class TextureMapping
java.lang.Object
net.minecraft.data.models.model.TextureMapping
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Set<TextureSlot>private final Map<TextureSlot,ResourceLocation> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic TextureMappingattachedStem(Block p_125751_, Block p_125752_) static TextureMappingstatic TextureMappingcandleCake(Block p_181477_, boolean p_181478_) static TextureMappingcauldron(ResourceLocation p_176489_) static TextureMappingcolumn(ResourceLocation p_125764_, ResourceLocation p_125765_) static TextureMappingstatic TextureMappingcolumnWithWall(Block p_125831_) static TextureMappingcommandBlock(Block p_125845_) copyAndUpdate(TextureSlot p_125786_, ResourceLocation p_125787_) copyForced(TextureSlot p_125774_, TextureSlot p_125775_) copySlot(TextureSlot p_176478_, TextureSlot p_176479_) static TextureMappingcraftingTable(Block p_125783_, Block p_125784_) static TextureMappingcrop(ResourceLocation p_125809_) static TextureMappingcross(ResourceLocation p_125789_) static TextureMappingstatic TextureMappingcube(ResourceLocation p_125777_) static TextureMappingstatic TextureMappingcubeBottomTop(Block p_125827_) static TextureMappingcubeBottomTopWithWall(Block p_125829_) static TextureMappingstatic TextureMappingcustomParticle(Block p_250579_) static TextureMappingdefaultTexture(ResourceLocation p_125762_) static TextureMappingdefaultTexture(Block p_125769_) static TextureMappingdoor(ResourceLocation p_176484_, ResourceLocation p_176485_) static TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingfletchingTable(Block p_125793_, Block p_125794_) static TextureMappingget(TextureSlot p_125757_) static ResourceLocationgetBlockTexture(Block p_125741_) static ResourceLocationgetBlockTexture(Block p_125754_, String p_125755_) static ResourceLocationgetItemTexture(Item p_125779_) static ResourceLocationgetItemTexture(Item p_125746_, String p_125747_) static TextureMappingstatic TextureMappinglayer0(ResourceLocation p_125821_) static TextureMappingstatic TextureMappingstatic TextureMappinglayered(ResourceLocation p_267142_, ResourceLocation p_266884_) static TextureMappinglayered(ResourceLocation p_268096_, ResourceLocation p_268084_, ResourceLocation p_268063_) static TextureMappingstatic TextureMappingorientableCube(Block p_125847_) static TextureMappingorientableCubeOnlyTop(Block p_125849_) static TextureMappingorientableCubeSameEnds(Block p_125851_) static TextureMappingstatic TextureMappingparticle(ResourceLocation p_125813_) static TextureMappingstatic TextureMappingparticleFromItem(Item p_125744_) static TextureMappingstatic TextureMappingplant(ResourceLocation p_125799_) static TextureMappingstatic TextureMappingpottedAzalea(Block p_278329_) put(TextureSlot p_125759_, ResourceLocation p_125760_) putForced(TextureSlot p_176481_, ResourceLocation p_176482_) static TextureMappingrail(ResourceLocation p_125803_) static TextureMappingstatic TextureMappingsculkShrieker(boolean p_236351_) static TextureMappingsingleSlot(TextureSlot p_125796_, ResourceLocation p_125797_) static TextureMappingsnifferEgg(String p_278314_) static TextureMappingstatic TextureMappingstatic TextureMappingtorch(ResourceLocation p_125817_) static TextureMappingstatic TextureMappingtrialSpawner(Block p_312500_, String p_312068_, String p_312882_) static TextureMappingwool(ResourceLocation p_176487_) static TextureMapping
- 
Field Details- 
slots
- 
forcedSlots
 
- 
- 
Constructor Details- 
TextureMappingpublic TextureMapping()
 
- 
- 
Method Details- 
put
- 
putForced
- 
getForced
- 
copySlot
- 
copyForced
- 
get
- 
copyAndUpdate
- 
cube
- 
defaultTexture
- 
defaultTexture
- 
cube
- 
cross
- 
cross
- 
plant
- 
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
- 
particleFromItem
- 
commandBlock
- 
orientableCube
- 
orientableCubeOnlyTop
- 
orientableCubeSameEnds
- 
top
- 
craftingTable
- 
fletchingTable
- 
snifferEgg
- 
campfire
- 
candleCake
- 
cauldron
- 
sculkShrieker
- 
layer0
- 
layer0
- 
layer0
- 
layered
- 
layeredpublic static TextureMapping layered(ResourceLocation p_268096_, ResourceLocation p_268084_, ResourceLocation p_268063_) 
- 
getBlockTexture
- 
getBlockTexture
- 
getItemTexture
- 
getItemTexture
 
-