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/UnbakedGeometryintermediary net/minecraft/class_10802official gtgnamed elementsintermediary comp_3753official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<ModelElement> The field for theelementsrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbake(ModelTextures textures, Baker baker, ModelBakeSettings settings, SimpleModel model) static BakedGeometrybakeGeometry(List<ModelElement> elements, ModelTextures textures, ErrorCollectingSpriteGetter errorCollectingSpriteGetter, ModelBakeSettings settings, SimpleModel model) private static BakedQuadbakeQuad(ModelElement element, ModelElementFace face, Sprite sprite, Direction facing, ModelBakeSettings settings) elements()Returns the value of theelementsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
elements
The field for theelementsrecord component.
-
-
Constructor Details
-
UnbakedGeometry
-
-
Method Details
-
bake
public BakedGeometry bake(ModelTextures textures, Baker baker, ModelBakeSettings settings, SimpleModel model) - Specified by:
bakein interfaceGeometry- Mappings:
Namespace Name Mixin selector named bakeLnet/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 bakeLnet/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 bakeLhnk;bake(Lgti;Lhmz;Lhnf;Lhnb;)Lhng;
-
bakeGeometry
public static BakedGeometry bakeGeometry(List<ModelElement> elements, ModelTextures textures, ErrorCollectingSpriteGetter errorCollectingSpriteGetter, ModelBakeSettings settings, SimpleModel model) - Mappings:
Namespace Name Mixin selector named bakeGeometryLnet/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_67934Lnet/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 aLgtg;a(Ljava/util/List;Lgti;Lhnj;Lhnf;Lhnb;)Lhng;
-
bakeQuad
private static BakedQuad bakeQuad(ModelElement element, ModelElementFace face, Sprite sprite, Direction facing, ModelBakeSettings settings) - Mappings:
Namespace Name Mixin selector named bakeQuadLnet/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_67932Lnet/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 aLgtg;a(Lgsu;Lgsv;Lhkq;Ljc;Lhnf;)Lgst;
-
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 theelementsrecord component.- Returns:
- the value of the
elementsrecord component
-