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 TextureMapping
attachedStem
(Block pStemBlock, Block pUpperStemBlock) static TextureMapping
static TextureMapping
candleCake
(Block pBlock, boolean pLit) static TextureMapping
cauldron
(ResourceLocation pTexture) static TextureMapping
column
(ResourceLocation pSide, ResourceLocation pEnd) static TextureMapping
static TextureMapping
columnWithWall
(Block pBlock) static TextureMapping
commandBlock
(Block pBlock) copy()
copyAndUpdate
(TextureSlot pSlot, ResourceLocation pTexture) copyForced
(TextureSlot pSource, TextureSlot pDestination) copySlot
(TextureSlot pSource, TextureSlot pDestination) static TextureMapping
craftingTable
(Block pBlock, Block pBottom) static TextureMapping
crop
(ResourceLocation pBlock) static TextureMapping
cross
(ResourceLocation pTexture) static TextureMapping
static TextureMapping
crossEmissive
(Block pBlock) static TextureMapping
cube
(ResourceLocation pTexture) static TextureMapping
static TextureMapping
cubeBottomTop
(Block pBlock) static TextureMapping
cubeBottomTopWithWall
(Block pBlock) static TextureMapping
static TextureMapping
customParticle
(Block pBlock) static TextureMapping
defaultTexture
(ResourceLocation pTexture) static TextureMapping
defaultTexture
(Block pBlock) static TextureMapping
door
(ResourceLocation pTop, ResourceLocation pBottom) static TextureMapping
static TextureMapping
driedGhast
(String pName) static TextureMapping
static TextureMapping
static TextureMapping
static TextureMapping
static TextureMapping
fletchingTable
(Block pBlock, Block pBottom) static TextureMapping
get
(TextureSlot pSlot) static ResourceLocation
getBlockTexture
(Block pBlock) static ResourceLocation
getBlockTexture
(Block pBlock, String pSuffix) static ResourceLocation
getItemTexture
(Item pItem) static ResourceLocation
getItemTexture
(Item pItem, String pSuffix) static TextureMapping
static TextureMapping
layer0
(ResourceLocation pTexture) static TextureMapping
static TextureMapping
static TextureMapping
layered
(ResourceLocation pLayer0, ResourceLocation pLayer1) static TextureMapping
layered
(ResourceLocation pLayer0, ResourceLocation pLayer1, ResourceLocation pLayer2) static TextureMapping
static TextureMapping
orientableCube
(Block pBlock) static TextureMapping
orientableCubeOnlyTop
(Block pBlock) static TextureMapping
orientableCubeSameEnds
(Block pBlock) static TextureMapping
static TextureMapping
particle
(ResourceLocation pTexture) static TextureMapping
static TextureMapping
particleFromItem
(Item pItem) static TextureMapping
static TextureMapping
plant
(ResourceLocation pTexture) static TextureMapping
static TextureMapping
plantEmissive
(Block pBlock) static TextureMapping
pottedAzalea
(Block pBlock) put
(TextureSlot pSlot, ResourceLocation pTexture) putForced
(TextureSlot pSlot, ResourceLocation pTexture) static TextureMapping
rail
(ResourceLocation pTexture) static TextureMapping
static TextureMapping
sculkShrieker
(boolean pCanSummon) static TextureMapping
static TextureMapping
singleSlot
(TextureSlot pSlot, ResourceLocation pTexture) static TextureMapping
snifferEgg
(String pName) static TextureMapping
static TextureMapping
static TextureMapping
torch
(ResourceLocation pTexture) static TextureMapping
static TextureMapping
trialSpawner
(Block pBlock, String pSideSuffix, String pTopSuffix) static TextureMapping
vault
(Block pBlock, String pFrontSuffix, String pSideSuffix, String pTopSuffix, String pBottomSuffix) static TextureMapping
wool
(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
-
layer0
-
layer0
-
layer0
-
layered
-
layered
public static TextureMapping layered(ResourceLocation pLayer0, ResourceLocation pLayer1, ResourceLocation pLayer2) -
getBlockTexture
-
getBlockTexture
-
getItemTexture
-
getItemTexture
-
copy
-