Uses of Class
net.neoforged.neoforge.client.model.generators.template.FaceBuilder
Packages that use FaceBuilder
-
Uses of FaceBuilder in net.neoforged.neoforge.client.model.generators.template
Fields in net.neoforged.neoforge.client.model.generators.template with type parameters of type FaceBuilderModifier and TypeFieldDescriptionprivate final Map
<net.minecraft.core.Direction, FaceBuilder> ElementBuilder.faces
Methods in net.neoforged.neoforge.client.model.generators.template that return FaceBuilderModifier and TypeMethodDescriptionFaceBuilder.ambientOcclusion
(boolean ambientOcclusion) Set the ambient occlusion of the face.FaceBuilder.color
(int color) Sets the color of the face.(package private) FaceBuilder
FaceBuilder.copy()
FaceBuilder.cullface
(@Nullable net.minecraft.core.Direction dir) Sets which direction should cull this face when fully occluded, or null to never cull.FaceBuilder.emissivity
(int blockLight, int skyLight) Set the block and sky light of the face (0-15).FaceBuilder.rotation
(com.mojang.math.Quadrant rot) Set the texture rotation for the current face.FaceBuilder.texture
(net.minecraft.client.data.models.model.TextureSlot texture) Set the texture for the current face.FaceBuilder.tintindex
(int index) Sets the color index used when attempting to tint this face.FaceBuilder.uvs
(float u1, float v1, float u2, float v2) Sets the texture uv mapping for this face.Methods in net.neoforged.neoforge.client.model.generators.template that return types with arguments of type FaceBuilderModifier and TypeMethodDescriptionprivate static BiConsumer
<net.minecraft.core.Direction, FaceBuilder> ElementBuilder.addTexture
(net.minecraft.client.data.models.model.TextureSlot texture) Method parameters in net.neoforged.neoforge.client.model.generators.template with type arguments of type FaceBuilderModifier and TypeMethodDescriptionElementBuilder.allFaces
(BiConsumer<net.minecraft.core.Direction, FaceBuilder> action) Modify all possible faces dynamically using a function, creating new faces as necessary.ElementBuilder.allFacesExcept
(BiConsumer<net.minecraft.core.Direction, FaceBuilder> action, Set<net.minecraft.core.Direction> exc) Creates possible faces for the model as needed, excluding those specified in the second argument, and then applies a function to modify added faces.ElementBuilder.face
(net.minecraft.core.Direction dir, Consumer<FaceBuilder> action) Return or create the face builder for the given direction.ElementBuilder.faces
(BiConsumer<net.minecraft.core.Direction, FaceBuilder> action) Modify all existing faces dynamically using a function.