Uses of Class
net.neoforged.neoforge.client.model.generators.template.ElementBuilder
Packages that use ElementBuilder
-
Uses of ElementBuilder in net.neoforged.neoforge.client.model.generators.template
Fields in net.neoforged.neoforge.client.model.generators.template with type parameters of type ElementBuilderModifier and TypeFieldDescription(package private) final List
<ElementBuilder> ExtendedModelTemplate.elements
(package private) final List
<ElementBuilder> ExtendedModelTemplateBuilder.elements
Methods in net.neoforged.neoforge.client.model.generators.template that return ElementBuilderModifier and TypeMethodDescriptionElementBuilder.allFaces
(BiConsumer<Direction, FaceBuilder> action) Modify all possible faces dynamically using a function, creating new faces as necessary.ElementBuilder.allFacesExcept
(BiConsumer<Direction, FaceBuilder> action, Set<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.ambientOcclusion
(boolean ambientOcclusion) Set the ambient occlusion of the element.ElementBuilder.color
(int color) Sets the color of the element.(package private) ElementBuilder
ElementBuilder.copy()
ElementBuilder.cube
(TextureSlot texture) Create a typical cube element, creating new faces as needed, applying the given texture, and setting the cullface.ElementBuilder.emissivity
(int blockLight, int skyLight) Set the block and sky light of the element (0-15).ElementBuilder.face
(Direction dir, Consumer<FaceBuilder> action) Return or create the face builder for the given direction.ElementBuilder.faces
(BiConsumer<Direction, FaceBuilder> action) Modify all existing faces dynamically using a function.ElementBuilder.from
(float x, float y, float z) Set the "from" position for this element.ElementBuilder.lightEmission
(int lightEmission) Set the light emission of the element (0-15)ElementBuilder.rotation
(Consumer<RotationBuilder> action) Allows modifying the rotation for this element.ElementBuilder.shade
(boolean shade) Sets whether or not this element should be shaded.ElementBuilder.texture
(TextureSlot texture) Texture all existing faces in the current element with the given texture.ElementBuilder.textureAll
(TextureSlot texture) Texture all possible faces in the current element with the given texture, creating new faces where necessary.ElementBuilder.to
(float x, float y, float z) Set the "to" position for this element.Method parameters in net.neoforged.neoforge.client.model.generators.template with type arguments of type ElementBuilderModifier and TypeMethodDescriptionExtendedModelTemplateBuilder.element
(int index, Consumer<ElementBuilder> action) Get an existing element builderExtendedModelTemplateBuilder.element
(Consumer<ElementBuilder> action) Creates a new element for this model while also allowing mutation.