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 unattachedStemBlock, Block attachedStemBlock) static TextureMapping
static TextureMapping
candleCake
(Block candleCakeBlock, boolean lit) static TextureMapping
cauldron
(ResourceLocation cauldronContentTextureLocation) static TextureMapping
column
(ResourceLocation sideTextureLocation, ResourceLocation endTextureLocation) static TextureMapping
static TextureMapping
columnWithWall
(Block columnBlock) static TextureMapping
commandBlock
(Block commandBlock) copyAndUpdate
(TextureSlot textureSlot, ResourceLocation textureLocation) copyForced
(TextureSlot sourceSlot, TextureSlot targetSlot) copySlot
(TextureSlot sourceSlot, TextureSlot targetSlot) static TextureMapping
craftingTable
(Block craftingTableBlock, Block craftingTableMaterialBlock) static TextureMapping
crop
(ResourceLocation cropTextureLocation) static TextureMapping
cross
(ResourceLocation crossTextureLocation) static TextureMapping
static TextureMapping
cube
(ResourceLocation allTextureLocation) static TextureMapping
static TextureMapping
cubeBottomTop
(Block block) static TextureMapping
cubeBottomTopWithWall
(Block block) static TextureMapping
static TextureMapping
customParticle
(Block block) static TextureMapping
defaultTexture
(ResourceLocation textureLocation) static TextureMapping
defaultTexture
(Block block) static TextureMapping
door
(ResourceLocation topTextureLocation, ResourceLocation bottomTextureLocation) static TextureMapping
static TextureMapping
static TextureMapping
static TextureMapping
static TextureMapping
static TextureMapping
fletchingTable
(Block fletchingTableBlock, Block fletchingTableMaterialBlock) static TextureMapping
get
(TextureSlot textureSlot) static ResourceLocation
getBlockTexture
(Block block) static ResourceLocation
getBlockTexture
(Block block, String textureSuffix) static ResourceLocation
getItemTexture
(Item item) static ResourceLocation
getItemTexture
(Item item, String textureSuffix) static TextureMapping
static TextureMapping
layer0
(ResourceLocation layerZeroTextureLocation) static TextureMapping
static TextureMapping
static TextureMapping
layered
(ResourceLocation layer0, ResourceLocation layer1) static TextureMapping
layered
(ResourceLocation layer0, ResourceLocation layer1, ResourceLocation layer2) static TextureMapping
static TextureMapping
orientableCube
(Block block) static TextureMapping
orientableCubeOnlyTop
(Block block) static TextureMapping
orientableCubeSameEnds
(Block block) static TextureMapping
static TextureMapping
particle
(ResourceLocation textureLocation) static TextureMapping
static TextureMapping
particleFromItem
(Item particleItem) static TextureMapping
static TextureMapping
plant
(ResourceLocation plantTextureLocation) static TextureMapping
static TextureMapping
pottedAzalea
(Block azaleaBlock) put
(TextureSlot textureSlot, ResourceLocation textureLocation) putForced
(TextureSlot textureSlot, ResourceLocation textureLocation) static TextureMapping
rail
(ResourceLocation railTextureLocation) static TextureMapping
static TextureMapping
sculkShrieker
(boolean canSummon) static TextureMapping
singleSlot
(TextureSlot textureSlot, ResourceLocation textureLocation) static TextureMapping
snifferEgg
(String crackLevel) static TextureMapping
static TextureMapping
static TextureMapping
torch
(ResourceLocation torchTextureLocation) static TextureMapping
static TextureMapping
trialSpawner
(Block trialSpawnerBlock, String sideSuffix, String topSuffix) static TextureMapping
vault
(Block vaultBlock, String frontSuffix, String sideSuffix, String topSuffix, String bottomSuffix) static TextureMapping
wool
(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
-