Uses of Class
net.minecraftforge.client.model.generators.ModelBuilder.ElementBuilder
Packages that use ModelBuilder.ElementBuilder
-
Uses of ModelBuilder.ElementBuilder in net.minecraftforge.client.model.generators
Fields in net.minecraftforge.client.model.generators with type parameters of type ModelBuilder.ElementBuilderModifier and TypeFieldDescriptionprotected final List<ModelBuilder<T>.ElementBuilder>
ModelBuilder.elements
Methods in net.minecraftforge.client.model.generators that return ModelBuilder.ElementBuilderModifier 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.ao
(boolean ao) Set the ambient occlusion of the element.ModelBuilder.ElementBuilder.calculateNormals
(boolean calc) Sets whether we should calculate actual normals for the faces of this model or inherit them from facing the way vanilla doesModelBuilder.ElementBuilder.color
(int color) Sets the color of the element.Create a typical cube element, creating new faces as needed, applying the given texture, and setting the cullface.ModelBuilder.element()
ModelBuilder.element
(int index) Get an existing element builderModelBuilder.ElementBuilder.emissivity
(int blockLight, int skyLight) Set the block and sky light of the element (0-15).ModelBuilder.ElementBuilder.FaceBuilder.end()
ModelBuilder.ElementBuilder.RotationBuilder.end()
ModelBuilder.ElementBuilder.faces
(BiConsumer<Direction, ModelBuilder<T>.ElementBuilder.FaceBuilder> action) Modify all existing faces dynamically using a function.ModelBuilder.ElementBuilder.from
(float x, float y, float z) Set the "from" position for this element.ModelBuilder.ElementBuilder.shade
(boolean shade) Texture all existing faces in the current element with the given texture.ModelBuilder.ElementBuilder.textureAll
(String texture) Texture all possible faces in the current element with the given texture, creating new faces where necessary.ModelBuilder.ElementBuilder.to
(float x, float y, float z) Set the "to" position for this element.