Uses of Class
net.minecraft.data.models.model.TextureMapping
Packages that use TextureMapping
-
Uses of TextureMapping in net.minecraft.data.models
Fields in net.minecraft.data.models declared as TextureMappingModifier and TypeFieldDescriptionprivate final TextureMapping
BlockModelGenerators.WoodProvider.logMapping
private final TextureMapping
BlockModelGenerators.BlockFamilyProvider.mapping
Methods in net.minecraft.data.models with parameters of type TextureMappingModifier and TypeMethodDescriptionBlockModelGenerators.BlockStateGeneratorSupplier.create
(Block block, ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private void
BlockModelGenerators.createCrossBlock
(Block crossBlock, BlockModelGenerators.TintState tintState, TextureMapping textureMapping) private void
BlockModelGenerators.createCrossBlockWithDefaultItem
(Block crossBlock, BlockModelGenerators.TintState tintState, TextureMapping textureMapping) private static BlockStateGenerator
BlockModelGenerators.createMirroredColumnGenerator
(Block columnBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private static BlockStateGenerator
BlockModelGenerators.createMirroredCubeGenerator
(Block cubeBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private static BlockStateGenerator
BlockModelGenerators.createNorthWestMirroredCubeGenerator
(Block cubeBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) (package private) static BlockStateGenerator
BlockModelGenerators.createPillarBlockUVLocked
(Block block, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private void
BlockModelGenerators.createPistonVariant
(Block pistonBlock, ResourceLocation baseModelLocation, TextureMapping topTextureMapping) private void
BlockModelGenerators.createPumpkinVariant
(Block pumpkinBlock, TextureMapping columnTextureMapping) private void
BlockModelGenerators.createTrivialBlock
(Block block, TextureMapping textureMapping, ModelTemplate modelTemplate) private ResourceLocation
BlockModelGenerators.createTurtleEggModel
(int hatchAmount, String variantName, TextureMapping textureMapping) Method parameters in net.minecraft.data.models with type arguments of type TextureMappingModifier and TypeMethodDescriptionprivate void
BlockModelGenerators.createBeeNest
(Block beeNestBlock, Function<Block, TextureMapping> textureMappingGetter) private void
BlockModelGenerators.createCraftingTableLike
(Block craftingTableBlock, Block craftingTableMaterialBlock, BiFunction<Block, Block, TextureMapping> textureMappingGetter) private ResourceLocation
BlockModelGenerators.createSuffixedVariant
(Block block, String suffix, ModelTemplate modelTemplate, Function<ResourceLocation, TextureMapping> textureMappingGetter) Constructors in net.minecraft.data.models with parameters of type TextureMappingModifierConstructorDescriptionBlockFamilyProvider
(TextureMapping mapping) WoodProvider
(TextureMapping logMapping) -
Uses of TextureMapping in net.minecraft.data.models.model
Fields in net.minecraft.data.models.model declared as TextureMappingMethods in net.minecraft.data.models.model that return TextureMappingModifier and TypeMethodDescriptionstatic TextureMapping
TextureMapping.attachedStem
(Block unattachedStemBlock, Block attachedStemBlock) static TextureMapping
static TextureMapping
TextureMapping.candleCake
(Block candleCakeBlock, boolean lit) static TextureMapping
TextureMapping.cauldron
(ResourceLocation cauldronContentTextureLocation) static TextureMapping
TextureMapping.column
(ResourceLocation sideTextureLocation, ResourceLocation endTextureLocation) static TextureMapping
static TextureMapping
TextureMapping.columnWithWall
(Block columnBlock) static TextureMapping
TextureMapping.commandBlock
(Block commandBlock) TextureMapping.copyAndUpdate
(TextureSlot textureSlot, ResourceLocation textureLocation) TextureMapping.copyForced
(TextureSlot sourceSlot, TextureSlot targetSlot) TextureMapping.copySlot
(TextureSlot sourceSlot, TextureSlot targetSlot) static TextureMapping
TextureMapping.craftingTable
(Block craftingTableBlock, Block craftingTableMaterialBlock) static TextureMapping
TextureMapping.crop
(ResourceLocation cropTextureLocation) static TextureMapping
TextureMapping.cross
(ResourceLocation crossTextureLocation) static TextureMapping
static TextureMapping
TextureMapping.cube
(ResourceLocation allTextureLocation) static TextureMapping
static TextureMapping
TextureMapping.cubeBottomTop
(Block block) static TextureMapping
TextureMapping.cubeBottomTopWithWall
(Block block) static TextureMapping
static TextureMapping
TextureMapping.customParticle
(Block block) static TextureMapping
TextureMapping.defaultTexture
(ResourceLocation textureLocation) static TextureMapping
TextureMapping.defaultTexture
(Block block) static TextureMapping
TextureMapping.door
(ResourceLocation topTextureLocation, ResourceLocation bottomTextureLocation) static TextureMapping
static TextureMapping
static TextureMapping
static TextureMapping
static TextureMapping
static TextureMapping
TextureMapping.fletchingTable
(Block fletchingTableBlock, Block fletchingTableMaterialBlock) static TextureMapping
TexturedModel.getMapping()
static TextureMapping
static TextureMapping
TextureMapping.layer0
(ResourceLocation layerZeroTextureLocation) static TextureMapping
static TextureMapping
static TextureMapping
TextureMapping.layered
(ResourceLocation layer0, ResourceLocation layer1) static TextureMapping
TextureMapping.layered
(ResourceLocation layer0, ResourceLocation layer1, ResourceLocation layer2) static TextureMapping
static TextureMapping
TextureMapping.orientableCube
(Block block) static TextureMapping
TextureMapping.orientableCubeOnlyTop
(Block block) static TextureMapping
TextureMapping.orientableCubeSameEnds
(Block block) static TextureMapping
static TextureMapping
TextureMapping.particle
(ResourceLocation textureLocation) static TextureMapping
static TextureMapping
TextureMapping.particleFromItem
(Item particleItem) static TextureMapping
static TextureMapping
TextureMapping.plant
(ResourceLocation plantTextureLocation) static TextureMapping
static TextureMapping
TextureMapping.pottedAzalea
(Block azaleaBlock) TextureMapping.put
(TextureSlot textureSlot, ResourceLocation textureLocation) TextureMapping.putForced
(TextureSlot textureSlot, ResourceLocation textureLocation) static TextureMapping
TextureMapping.rail
(ResourceLocation railTextureLocation) static TextureMapping
static TextureMapping
TextureMapping.sculkShrieker
(boolean canSummon) static TextureMapping
TextureMapping.singleSlot
(TextureSlot textureSlot, ResourceLocation textureLocation) static TextureMapping
TextureMapping.snifferEgg
(String crackLevel) static TextureMapping
static TextureMapping
static TextureMapping
TextureMapping.torch
(ResourceLocation torchTextureLocation) static TextureMapping
static TextureMapping
TextureMapping.trialSpawner
(Block trialSpawnerBlock, String sideSuffix, String topSuffix) static TextureMapping
TextureMapping.vault
(Block vaultBlock, String frontSuffix, String sideSuffix, String topSuffix, String bottomSuffix) static TextureMapping
TextureMapping.wool
(ResourceLocation woolTextureLocation) static TextureMapping
Methods in net.minecraft.data.models.model with parameters of type TextureMappingModifier and TypeMethodDescriptionModelTemplate.create
(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) ModelTemplate.create
(ResourceLocation modelLocation, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput, ModelTemplate.JsonFactory factory) ModelTemplate.create
(Block modelBlock, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) private Map
<TextureSlot, ResourceLocation> ModelTemplate.createMap
(TextureMapping textureMapping) ModelTemplate.createWithOverride
(Block modelBlock, String modelLocationSuffix, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) ModelTemplate.createWithSuffix
(Block modelBlock, String modelLocationSuffix, TextureMapping textureMapping, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) Method parameters in net.minecraft.data.models.model with type arguments of type TextureMappingModifier and TypeMethodDescriptionprivate static TexturedModel.Provider
TexturedModel.createDefault
(Function<Block, TextureMapping> blockToTextureMapping, ModelTemplate modelTemplate) default TexturedModel.Provider
TexturedModel.Provider.updateTexture
(Consumer<TextureMapping> textureMappingConsumer) TexturedModel.updateTextures
(Consumer<TextureMapping> textureMappingConsumer) Constructors in net.minecraft.data.models.model with parameters of type TextureMappingModifierConstructorDescriptionprivate
TexturedModel
(TextureMapping mapping, ModelTemplate template)