Uses of Class
net.minecraft.client.data.models.model.TextureSlot
Packages that use TextureSlot
Package
Description
-
Uses of TextureSlot in net.minecraft.client.data.models.model
Fields in net.minecraft.client.data.models.model declared as TextureSlotModifier and TypeFieldDescriptionstatic final TextureSlot
TextureSlot.ALL
static final TextureSlot
TextureSlot.BACK
static final TextureSlot
TextureSlot.BOTTOM
static final TextureSlot
TextureSlot.CANDLE
static final TextureSlot
TextureSlot.CONTENT
static final TextureSlot
TextureSlot.CROP
static final TextureSlot
TextureSlot.CROSS
static final TextureSlot
TextureSlot.CROSS_EMISSIVE
static final TextureSlot
TextureSlot.DIRT
static final TextureSlot
TextureSlot.DOWN
static final TextureSlot
TextureSlot.EAST
static final TextureSlot
TextureSlot.EDGE
static final TextureSlot
TextureSlot.END
static final TextureSlot
TextureSlot.FAN
static final TextureSlot
TextureSlot.FIRE
static final TextureSlot
TextureSlot.FLOWERBED
static final TextureSlot
TextureSlot.FRONT
static final TextureSlot
TextureSlot.INNER_TOP
static final TextureSlot
TextureSlot.INSIDE
static final TextureSlot
TextureSlot.LANTERN
static final TextureSlot
TextureSlot.LAYER0
static final TextureSlot
TextureSlot.LAYER1
static final TextureSlot
TextureSlot.LAYER2
static final TextureSlot
TextureSlot.LIT_LOG
static final TextureSlot
TextureSlot.NORTH
static final TextureSlot
TextureSlot.PANE
private final TextureSlot
TextureSlot.parent
static final TextureSlot
TextureSlot.PARTICLE
static final TextureSlot
TextureSlot.PATTERN
static final TextureSlot
TextureSlot.PLANT
static final TextureSlot
TextureSlot.PLATFORM
static final TextureSlot
TextureSlot.RAIL
static final TextureSlot
TextureSlot.SIDE
static final TextureSlot
TextureSlot.SOUTH
static final TextureSlot
TextureSlot.STEM
static final TextureSlot
TextureSlot.TENTACLES
static final TextureSlot
TextureSlot.TEXTURE
static final TextureSlot
TextureSlot.TOP
static final TextureSlot
TextureSlot.TORCH
static final TextureSlot
TextureSlot.UNSTICKY
static final TextureSlot
TextureSlot.UP
static final TextureSlot
TextureSlot.UPPER_STEM
static final TextureSlot
TextureSlot.WALL
static final TextureSlot
TextureSlot.WEST
static final TextureSlot
TextureSlot.WOOL
Fields in net.minecraft.client.data.models.model with type parameters of type TextureSlotModifier and TypeFieldDescriptionprivate final Set
<TextureSlot> TextureMapping.forcedSlots
final Set
<TextureSlot> ModelTemplate.requiredSlots
private final Map
<TextureSlot, ResourceLocation> TextureMapping.slots
Methods in net.minecraft.client.data.models.model that return TextureSlotModifier and TypeMethodDescriptionstatic TextureSlot
static TextureSlot
TextureSlot.create
(String pId, TextureSlot pParent) TextureSlot.getParent()
Methods in net.minecraft.client.data.models.model that return types with arguments of type TextureSlotModifier and TypeMethodDescriptionprivate Map
<TextureSlot, ResourceLocation> ModelTemplate.createMap
(TextureMapping pTextureMapping) TextureMapping.getForced()
Methods in net.minecraft.client.data.models.model with parameters of type TextureSlotModifier and TypeMethodDescriptionTextureMapping.copyAndUpdate
(TextureSlot pSlot, ResourceLocation pTexture) TextureMapping.copyForced
(TextureSlot pSource, TextureSlot pDestination) TextureMapping.copySlot
(TextureSlot pSource, TextureSlot pDestination) static ModelTemplate
ModelTemplates.create
(String pName, String pSuffix, TextureSlot... pRequiredSlots) static ModelTemplate
ModelTemplates.create
(String pName, TextureSlot... pRequiredSlots) static ModelTemplate
ModelTemplates.create
(TextureSlot... pRequiredSlots) static TextureSlot
TextureSlot.create
(String pId, TextureSlot pParent) static ModelTemplate
ModelTemplates.createItem
(String pName, String pSuffix, TextureSlot... pRequiredSlots) static ModelTemplate
ModelTemplates.createItem
(String pName, TextureSlot... pRequiredSlots) TextureMapping.get
(TextureSlot pSlot) TextureMapping.put
(TextureSlot pSlot, ResourceLocation pTexture) TextureMapping.putForced
(TextureSlot pSlot, ResourceLocation pTexture) static TextureMapping
TextureMapping.singleSlot
(TextureSlot pSlot, ResourceLocation pTexture) Method parameters in net.minecraft.client.data.models.model with type arguments of type TextureSlotModifier and TypeMethodDescriptioncom.google.gson.JsonObject
ModelTemplate.createBaseTemplate
(ResourceLocation p_388380_, Map<TextureSlot, ResourceLocation> map) Constructors in net.minecraft.client.data.models.model with parameters of type TextureSlotModifierConstructorDescriptionModelTemplate
(Optional<ResourceLocation> pModel, Optional<String> pSuffix, TextureSlot... pRequiredSlots) private
TextureSlot
(String pId, TextureSlot pParent) -
Uses of TextureSlot in net.neoforged.neoforge.client.model.generators.template
Fields in net.neoforged.neoforge.client.model.generators.template declared as TextureSlotFields in net.neoforged.neoforge.client.model.generators.template with type parameters of type TextureSlotModifier and TypeFieldDescription(package private) final Set
<TextureSlot> ExtendedModelTemplateBuilder.requiredSlots
Methods in net.neoforged.neoforge.client.model.generators.template with parameters of type TextureSlotModifier and TypeMethodDescriptionprivate static BiConsumer
<Direction, FaceBuilder> ElementBuilder.addTexture
(TextureSlot texture) ElementBuilder.cube
(TextureSlot texture) Create a typical cube element, creating new faces as needed, applying the given texture, and setting the cullface.ExtendedModelTemplateBuilder.requiredTextureSlot
(TextureSlot slot) Marks the givenslot
as required, meaning that it must be specified in the giventexture mappings
.ElementBuilder.texture
(TextureSlot texture) Texture all existing faces in the current element with the given texture.FaceBuilder.texture
(TextureSlot texture) Set the texture for the current face.ElementBuilder.textureAll
(TextureSlot texture) Texture all possible faces in the current element with the given texture, creating new faces where necessary.Method parameters in net.neoforged.neoforge.client.model.generators.template with type arguments of type TextureSlotModifier and TypeMethodDescriptioncom.google.gson.JsonObject
ExtendedModelTemplate.createBaseTemplate
(ResourceLocation modelPath, Map<TextureSlot, ResourceLocation> textureMap)