Package net.minecraft.data.models.model
Class TextureMapping
java.lang.Object
net.minecraft.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 pUnattachedStemBlock, Block pAttachedStemBlock) static TextureMapping
static TextureMapping
candleCake
(Block pCandleCakeBlock, boolean pLit) static TextureMapping
cauldron
(ResourceLocation pCauldronContentTextureLocation) static TextureMapping
column
(ResourceLocation pSideTextureLocation, ResourceLocation pEndTextureLocation) static TextureMapping
static TextureMapping
columnWithWall
(Block pColumnBlock) static TextureMapping
commandBlock
(Block pCommandBlock) copyAndUpdate
(TextureSlot pTextureSlot, ResourceLocation pTextureLocation) copyForced
(TextureSlot pSourceSlot, TextureSlot pTargetSlot) copySlot
(TextureSlot pSourceSlot, TextureSlot pTargetSlot) static TextureMapping
craftingTable
(Block pCraftingTableBlock, Block pCraftingTableMaterialBlock) static TextureMapping
crop
(ResourceLocation pCropTextureLocation) static TextureMapping
cross
(ResourceLocation pCrossTextureLocation) static TextureMapping
static TextureMapping
cube
(ResourceLocation pAllTextureLocation) static TextureMapping
static TextureMapping
cubeBottomTop
(Block pBlock) static TextureMapping
cubeBottomTopWithWall
(Block pBlock) static TextureMapping
static TextureMapping
customParticle
(Block pBlock) static TextureMapping
defaultTexture
(ResourceLocation pTextureLocation) static TextureMapping
defaultTexture
(Block pBlock) static TextureMapping
door
(ResourceLocation pTopTextureLocation, ResourceLocation pBottomTextureLocation) static TextureMapping
static TextureMapping
static TextureMapping
static TextureMapping
static TextureMapping
static TextureMapping
fletchingTable
(Block pFletchingTableBlock, Block pFletchingTableMaterialBlock) static TextureMapping
get
(TextureSlot pTextureSlot) static ResourceLocation
getBlockTexture
(Block pBlock) static ResourceLocation
getBlockTexture
(Block pBlock, String pTextureSuffix) static ResourceLocation
getItemTexture
(Item pItem) static ResourceLocation
getItemTexture
(Item pItem, String pTextureSuffix) static TextureMapping
static TextureMapping
layer0
(ResourceLocation pLayerZeroTextureLocation) 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 pTextureLocation) static TextureMapping
static TextureMapping
particleFromItem
(Item pParticleItem) static TextureMapping
static TextureMapping
plant
(ResourceLocation pPlantTextureLocation) static TextureMapping
static TextureMapping
pottedAzalea
(Block pAzaleaBlock) put
(TextureSlot pTextureSlot, ResourceLocation pTextureLocation) putForced
(TextureSlot pTextureSlot, ResourceLocation pTextureLocation) static TextureMapping
rail
(ResourceLocation pRailTextureLocation) static TextureMapping
static TextureMapping
sculkShrieker
(boolean pCanSummon) static TextureMapping
singleSlot
(TextureSlot pTextureSlot, ResourceLocation pTextureLocation) static TextureMapping
snifferEgg
(String pCrackLevel) static TextureMapping
static TextureMapping
static TextureMapping
torch
(ResourceLocation pTorchTextureLocation) static TextureMapping
static TextureMapping
trialSpawner
(Block pTrialSpawnerBlock, String pSideSuffix, String pTopSuffix) static TextureMapping
vault
(Block pVaultBlock, String pFrontSuffix, String pSideSuffix, String pTopSuffix, String pBottomSuffix) static TextureMapping
wool
(ResourceLocation pWoolTextureLocation) 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
-
cross
-
plant
-
plant
-
rail
-
rail
-
wool
-
flowerbed
-
wool
-
stem
-
attachedStem
-
pattern
-
fan
-
crop
-
pane
-
singleSlot
public static TextureMapping singleSlot(TextureSlot pTextureSlot, ResourceLocation pTextureLocation) -
column
-
cubeTop
-
pottedAzalea
-
logColumn
-
column
public static TextureMapping column(ResourceLocation pSideTextureLocation, ResourceLocation pEndTextureLocation) -
fence
-
customParticle
-
cubeBottomTop
-
cubeBottomTopWithWall
-
columnWithWall
-
door
public static TextureMapping door(ResourceLocation pTopTextureLocation, ResourceLocation pBottomTextureLocation) -
door
-
particle
-
particle
-
fire0
-
fire1
-
lantern
-
torch
-
torch
-
trialSpawner
public static TextureMapping trialSpawner(Block pTrialSpawnerBlock, String pSideSuffix, String pTopSuffix) -
vault
-
particleFromItem
-
commandBlock
-
orientableCube
-
orientableCubeOnlyTop
-
orientableCubeSameEnds
-
top
-
craftingTable
public static TextureMapping craftingTable(Block pCraftingTableBlock, Block pCraftingTableMaterialBlock) -
fletchingTable
public static TextureMapping fletchingTable(Block pFletchingTableBlock, Block pFletchingTableMaterialBlock) -
snifferEgg
-
campfire
-
candleCake
-
cauldron
-
sculkShrieker
-
layer0
-
layer0
-
layer0
-
layered
-
layered
public static TextureMapping layered(ResourceLocation pLayer0, ResourceLocation pLayer1, ResourceLocation pLayer2) -
getBlockTexture
-
getBlockTexture
-
getItemTexture
-
getItemTexture
-