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 TextureMappingattachedStem(Block pUnattachedStemBlock, Block pAttachedStemBlock) static TextureMappingstatic TextureMappingcandleCake(Block pCandleCakeBlock, boolean pLit) static TextureMappingcauldron(ResourceLocation pCauldronContentTextureLocation) static TextureMappingcolumn(ResourceLocation pSideTextureLocation, ResourceLocation pEndTextureLocation) static TextureMappingstatic TextureMappingcolumnWithWall(Block pColumnBlock) static TextureMappingcommandBlock(Block pCommandBlock) copyAndUpdate(TextureSlot pTextureSlot, ResourceLocation pTextureLocation) copyForced(TextureSlot pSourceSlot, TextureSlot pTargetSlot) copySlot(TextureSlot pSourceSlot, TextureSlot pTargetSlot) static TextureMappingcraftingTable(Block pCraftingTableBlock, Block pCraftingTableMaterialBlock) static TextureMappingcrop(ResourceLocation pCropTextureLocation) static TextureMappingcross(ResourceLocation pCrossTextureLocation) static TextureMappingstatic TextureMappingcube(ResourceLocation pAllTextureLocation) static TextureMappingstatic TextureMappingcubeBottomTop(Block pBlock) static TextureMappingcubeBottomTopWithWall(Block pBlock) static TextureMappingstatic TextureMappingcustomParticle(Block pBlock) static TextureMappingdefaultTexture(ResourceLocation pTextureLocation) static TextureMappingdefaultTexture(Block pBlock) static TextureMappingdoor(ResourceLocation pTopTextureLocation, ResourceLocation pBottomTextureLocation) static TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingfletchingTable(Block pFletchingTableBlock, Block pFletchingTableMaterialBlock) static TextureMappingget(TextureSlot pTextureSlot) static ResourceLocationgetBlockTexture(Block pBlock) static ResourceLocationgetBlockTexture(Block pBlock, String pTextureSuffix) static ResourceLocationgetItemTexture(Item pItem) static ResourceLocationgetItemTexture(Item pItem, String pTextureSuffix) static TextureMappingstatic TextureMappinglayer0(ResourceLocation pLayerZeroTextureLocation) 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 pTextureLocation) static TextureMappingstatic TextureMappingparticleFromItem(Item pParticleItem) static TextureMappingstatic TextureMappingplant(ResourceLocation pPlantTextureLocation) static TextureMappingstatic TextureMappingpottedAzalea(Block pAzaleaBlock) put(TextureSlot pTextureSlot, ResourceLocation pTextureLocation) putForced(TextureSlot pTextureSlot, ResourceLocation pTextureLocation) static TextureMappingrail(ResourceLocation pRailTextureLocation) static TextureMappingstatic TextureMappingsculkShrieker(boolean pCanSummon) static TextureMappingsingleSlot(TextureSlot pTextureSlot, ResourceLocation pTextureLocation) static TextureMappingsnifferEgg(String pCrackLevel) static TextureMappingstatic TextureMappingstatic TextureMappingtorch(ResourceLocation pTorchTextureLocation) static TextureMappingstatic TextureMappingtrialSpawner(Block pTrialSpawnerBlock, String pSideSuffix, String pTopSuffix) static TextureMappingvault(Block pVaultBlock, String pFrontSuffix, String pSideSuffix, String pTopSuffix, String pBottomSuffix) static TextureMappingwool(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
-