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 stemBlock, Block upperStemBlock) static TextureMappingstatic TextureMappingcandleCake(Block block, boolean lit) static TextureMappingcauldron(ResourceLocation texture) static TextureMappingcolumn(ResourceLocation side, ResourceLocation end) static TextureMappingstatic TextureMappingcolumnWithWall(Block block) static TextureMappingcommandBlock(Block block) copy()copyAndUpdate(TextureSlot slot, ResourceLocation texture) copyForced(TextureSlot source, TextureSlot destination) copySlot(TextureSlot source, TextureSlot destination) static TextureMappingcraftingTable(Block block, Block bottom) static TextureMappingcrop(ResourceLocation block) static TextureMappingcross(ResourceLocation texture) static TextureMappingstatic TextureMappingcrossEmissive(Block block) static TextureMappingcube(ResourceLocation texture) static TextureMappingstatic TextureMappingcubeBottomTop(Block block) static TextureMappingcubeBottomTopWithWall(Block block) static TextureMappingstatic TextureMappingcustomParticle(Block block) static TextureMappingdefaultTexture(ResourceLocation texture) static TextureMappingdefaultTexture(Block block) static TextureMappingdoor(ResourceLocation top, ResourceLocation bottom) static TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingfletchingTable(Block block, Block bottom) static TextureMappingget(TextureSlot slot) static ResourceLocationgetBlockTexture(Block block) static ResourceLocationgetBlockTexture(Block block, String suffix) static ResourceLocationgetItemTexture(Item item) static ResourceLocationgetItemTexture(Item item, String suffix) static TextureMappingstatic TextureMappinglayer0(ResourceLocation texture) static TextureMappingstatic TextureMappingstatic TextureMappinglayered(ResourceLocation layer0, ResourceLocation layer1) static TextureMappinglayered(ResourceLocation layer0, ResourceLocation layer1, ResourceLocation layer2) static TextureMappingstatic TextureMappingorientableCube(Block block) static TextureMappingorientableCubeOnlyTop(Block block) static TextureMappingorientableCubeSameEnds(Block block) static TextureMappingstatic TextureMappingparticle(ResourceLocation texture) static TextureMappingstatic TextureMappingparticleFromItem(Item item) static TextureMappingstatic TextureMappingplant(ResourceLocation texture) static TextureMappingstatic TextureMappingplantEmissive(Block block) static TextureMappingpottedAzalea(Block block) put(TextureSlot slot, ResourceLocation texture) putForced(TextureSlot slot, ResourceLocation texture) static TextureMappingrail(ResourceLocation texture) static TextureMappingstatic TextureMappingsculkShrieker(boolean canSummon) static TextureMappingstatic TextureMappingsingleSlot(TextureSlot slot, ResourceLocation texture) static TextureMappingsnifferEgg(String name) static TextureMappingstatic TextureMappingstatic TextureMappingtorch(ResourceLocation texture) static TextureMappingstatic TextureMappingtrialSpawner(Block block, String sideSuffix, String topSuffix) static TextureMappingstatic TextureMappingwool(ResourceLocation texture) 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
-
campfire
-
candleCake
-
cauldron
-
sculkShrieker
-
layer0
-
layer0
-
layer0
-
layered
-
layered
public static TextureMapping layered(ResourceLocation layer0, ResourceLocation layer1, ResourceLocation layer2) -
getBlockTexture
-
getBlockTexture
-
getItemTexture
-
getItemTexture
-
copy
-