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 unattachedStemBlock, Block attachedStemBlock) static TextureMappingstatic TextureMappingcandleCake(Block candleCakeBlock, boolean lit) static TextureMappingcauldron(ResourceLocation cauldronContentTextureLocation) static TextureMappingcolumn(ResourceLocation sideTextureLocation, ResourceLocation endTextureLocation) static TextureMappingstatic TextureMappingcolumnWithWall(Block columnBlock) static TextureMappingcommandBlock(Block commandBlock) copyAndUpdate(TextureSlot textureSlot, ResourceLocation textureLocation) copyForced(TextureSlot sourceSlot, TextureSlot targetSlot) copySlot(TextureSlot sourceSlot, TextureSlot targetSlot) static TextureMappingcraftingTable(Block craftingTableBlock, Block craftingTableMaterialBlock) static TextureMappingcrop(ResourceLocation cropTextureLocation) static TextureMappingcross(ResourceLocation crossTextureLocation) static TextureMappingstatic TextureMappingcube(ResourceLocation allTextureLocation) static TextureMappingstatic TextureMappingcubeBottomTop(Block block) static TextureMappingcubeBottomTopWithWall(Block block) static TextureMappingstatic TextureMappingcustomParticle(Block block) static TextureMappingdefaultTexture(ResourceLocation textureLocation) static TextureMappingdefaultTexture(Block block) static TextureMappingdoor(ResourceLocation topTextureLocation, ResourceLocation bottomTextureLocation) static TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingfletchingTable(Block fletchingTableBlock, Block fletchingTableMaterialBlock) static TextureMappingget(TextureSlot textureSlot) static ResourceLocationgetBlockTexture(Block block) static ResourceLocationgetBlockTexture(Block block, String textureSuffix) static ResourceLocationgetItemTexture(Item item) static ResourceLocationgetItemTexture(Item item, String textureSuffix) static TextureMappingstatic TextureMappinglayer0(ResourceLocation layerZeroTextureLocation) 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 textureLocation) static TextureMappingstatic TextureMappingparticleFromItem(Item particleItem) static TextureMappingstatic TextureMappingplant(ResourceLocation plantTextureLocation) static TextureMappingstatic TextureMappingpottedAzalea(Block azaleaBlock) put(TextureSlot textureSlot, ResourceLocation textureLocation) putForced(TextureSlot textureSlot, ResourceLocation textureLocation) static TextureMappingrail(ResourceLocation railTextureLocation) static TextureMappingstatic TextureMappingsculkShrieker(boolean canSummon) static TextureMappingsingleSlot(TextureSlot textureSlot, ResourceLocation textureLocation) static TextureMappingsnifferEgg(String crackLevel) static TextureMappingstatic TextureMappingstatic TextureMappingtorch(ResourceLocation torchTextureLocation) static TextureMappingstatic TextureMappingtrialSpawner(Block trialSpawnerBlock, String sideSuffix, String topSuffix) static TextureMappingvault(Block vaultBlock, String frontSuffix, String sideSuffix, String topSuffix, String bottomSuffix) static TextureMappingwool(ResourceLocation woolTextureLocation) 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
-
column
-
cubeTop
-
pottedAzalea
-
logColumn
-
column
public static TextureMapping column(ResourceLocation sideTextureLocation, ResourceLocation endTextureLocation) -
fence
-
customParticle
-
cubeBottomTop
-
cubeBottomTopWithWall
-
columnWithWall
-
door
public static TextureMapping door(ResourceLocation topTextureLocation, ResourceLocation bottomTextureLocation) -
door
-
particle
-
particle
-
fire0
-
fire1
-
lantern
-
torch
-
torch
-
trialSpawner
public static TextureMapping trialSpawner(Block trialSpawnerBlock, String sideSuffix, String topSuffix) -
vault
-
particleFromItem
-
commandBlock
-
orientableCube
-
orientableCubeOnlyTop
-
orientableCubeSameEnds
-
top
-
craftingTable
public static TextureMapping craftingTable(Block craftingTableBlock, Block craftingTableMaterialBlock) -
fletchingTable
public static TextureMapping fletchingTable(Block fletchingTableBlock, Block fletchingTableMaterialBlock) -
snifferEgg
-
campfire
-
candleCake
-
cauldron
-
sculkShrieker
-
layer0
-
layer0
-
layer0
-
layered
-
layered
public static TextureMapping layered(ResourceLocation layer0, ResourceLocation layer1, ResourceLocation layer2) -
getBlockTexture
-
getBlockTexture
-
getItemTexture
-
getItemTexture
-