Uses of Class
net.minecraftforge.client.model.generators.ModelBuilder.ElementBuilder.FaceBuilder
-
Uses of ModelBuilder.ElementBuilder.FaceBuilder in net.minecraftforge.client.model.generators
Modifier and TypeFieldDescriptionprivate final Map<Direction,
ModelBuilder<T>.ElementBuilder.FaceBuilder> ModelBuilder.ElementBuilder.faces
Modifier and TypeMethodDescriptionModelBuilder.ElementBuilder.FaceBuilder.ao
(boolean ao) Set the ambient occlusion of the face.ModelBuilder.ElementBuilder.FaceBuilder.calculateNormals
(boolean calc) Sets whether we should calculate actual normals for this face or inherit them from facing the way vanilla doesModelBuilder.ElementBuilder.FaceBuilder.color
(int color) Sets the color of the face.ModelBuilder.ElementBuilder.FaceBuilder.emissivity
(int blockLight, int skyLight) Set the block and sky light of the face (0-15).Return or create the face builder for the given direction.ModelBuilder.ElementBuilder.FaceBuilder.rotation
(ModelBuilder.FaceRotation rot) Set the texture rotation for the current face.Set the texture for the current face.ModelBuilder.ElementBuilder.FaceBuilder.tintindex
(int index) ModelBuilder.ElementBuilder.FaceBuilder.uvs
(float u1, float v1, float u2, float v2) Modifier and TypeMethodDescriptionprivate BiConsumer<Direction,
ModelBuilder<T>.ElementBuilder.FaceBuilder> ModelBuilder.ElementBuilder.addTexture
(String texture) Modifier and TypeMethodDescriptionModelBuilder.ElementBuilder.allFaces
(BiConsumer<Direction, ModelBuilder<T>.ElementBuilder.FaceBuilder> action) Modify all possible faces dynamically using a function, creating new faces as necessary.ModelBuilder.ElementBuilder.faces
(BiConsumer<Direction, ModelBuilder<T>.ElementBuilder.FaceBuilder> action) Modify all existing faces dynamically using a function.