Record Class UnbakedGeometry
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.UnbakedGeometry
- Record Components:
elements
-
- All Implemented Interfaces:
Geometry
@Environment(CLIENT)
public record UnbakedGeometry(List<ModelElement> elements)
extends Record
implements Geometry
- Mappings:
Namespace Name named net/minecraft/client/render/model/UnbakedGeometry
intermediary net/minecraft/class_10802
official gzh
named elements
intermediary comp_3753
official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List
<ModelElement> The field for theelements
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbake
(ModelTextures textures, Baker baker, ModelBakeSettings settings, SimpleModel model) static BakedGeometry
bakeGeometry
(List<ModelElement> elements, ModelTextures textures, ErrorCollectingSpriteGetter errorCollectingSpriteGetter, ModelBakeSettings settings, SimpleModel model) private static BakedQuad
bakeQuad
(ModelElement element, ModelElementFace face, Sprite sprite, Direction facing, ModelBakeSettings settings) elements()
Returns the value of theelements
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
elements
The field for theelements
record component.
-
-
Constructor Details
-
UnbakedGeometry
-
-
Method Details
-
bake
public BakedGeometry bake(ModelTextures textures, Baker baker, ModelBakeSettings settings, SimpleModel model) - Specified by:
bake
in interfaceGeometry
- Mappings:
Namespace Name Mixin selector named bake
Lnet/minecraft/client/render/model/Geometry;bake(Lnet/minecraft/client/render/model/ModelTextures;Lnet/minecraft/client/render/model/Baker;Lnet/minecraft/client/render/model/ModelBakeSettings;Lnet/minecraft/client/render/model/SimpleModel;)Lnet/minecraft/client/render/model/BakedGeometry;
intermediary bake
Lnet/minecraft/class_10820;bake(Lnet/minecraft/class_10419;Lnet/minecraft/class_7775;Lnet/minecraft/class_3665;Lnet/minecraft/class_10813;)Lnet/minecraft/class_10817;
official bake
Lhum;bake(Lgzj;Lhub;Lhuh;Lhud;)Lhui;
-
bakeGeometry
public static BakedGeometry bakeGeometry(List<ModelElement> elements, ModelTextures textures, ErrorCollectingSpriteGetter errorCollectingSpriteGetter, ModelBakeSettings settings, SimpleModel model) - Mappings:
Namespace Name Mixin selector named bakeGeometry
Lnet/minecraft/client/render/model/UnbakedGeometry;bakeGeometry(Ljava/util/List;Lnet/minecraft/client/render/model/ModelTextures;Lnet/minecraft/client/render/model/ErrorCollectingSpriteGetter;Lnet/minecraft/client/render/model/ModelBakeSettings;Lnet/minecraft/client/render/model/SimpleModel;)Lnet/minecraft/client/render/model/BakedGeometry;
intermediary method_67934
Lnet/minecraft/class_10802;method_67934(Ljava/util/List;Lnet/minecraft/class_10419;Lnet/minecraft/class_9826;Lnet/minecraft/class_3665;Lnet/minecraft/class_10813;)Lnet/minecraft/class_10817;
official a
Lgzh;a(Ljava/util/List;Lgzj;Lhul;Lhuh;Lhud;)Lhui;
-
bakeQuad
private static BakedQuad bakeQuad(ModelElement element, ModelElementFace face, Sprite sprite, Direction facing, ModelBakeSettings settings) - Mappings:
Namespace Name Mixin selector named bakeQuad
Lnet/minecraft/client/render/model/UnbakedGeometry;bakeQuad(Lnet/minecraft/client/render/model/json/ModelElement;Lnet/minecraft/client/render/model/json/ModelElementFace;Lnet/minecraft/client/texture/Sprite;Lnet/minecraft/util/math/Direction;Lnet/minecraft/client/render/model/ModelBakeSettings;)Lnet/minecraft/client/render/model/BakedQuad;
intermediary method_67932
Lnet/minecraft/class_10802;method_67932(Lnet/minecraft/class_785;Lnet/minecraft/class_783;Lnet/minecraft/class_1058;Lnet/minecraft/class_2350;Lnet/minecraft/class_3665;)Lnet/minecraft/class_777;
official a
Lgzh;a(Lgyv;Lgyw;Lhrr;Ljh;Lhuh;)Lgyu;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
elements
Returns the value of theelements
record component.- Returns:
- the value of the
elements
record component
-