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 gsfnamed 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) 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.private static BakedQuadmethod_67932(ModelElement modelElement, ModelElementFace modelElementFace, Sprite sprite, Direction direction, ModelBakeSettings modelBakeSettings) static BakedGeometrymethod_67934(List<ModelElement> list, ModelTextures modelTextures, ErrorCollectingSpriteGetter errorCollectingSpriteGetter, ModelBakeSettings modelBakeSettings, SimpleModel simpleModel) 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 bakeLhme;bake(Lgsg;Lhls;Lhly;Lhlu;)Lhma;
-
method_67934
public static BakedGeometry method_67934(List<ModelElement> list, ModelTextures modelTextures, ErrorCollectingSpriteGetter errorCollectingSpriteGetter, ModelBakeSettings modelBakeSettings, SimpleModel simpleModel) - Mappings:
Namespace Name Mixin selector named method_67934Lnet/minecraft/client/render/model/UnbakedGeometry;method_67934(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 aLgsf;a(Ljava/util/List;Lgsg;Lhmd;Lhly;Lhlu;)Lhma;
-
method_67932
private static BakedQuad method_67932(ModelElement modelElement, ModelElementFace modelElementFace, Sprite sprite, Direction direction, ModelBakeSettings modelBakeSettings) - Mappings:
Namespace Name Mixin selector named method_67932Lnet/minecraft/client/render/model/UnbakedGeometry;method_67932(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 aLgsf;a(Lgrt;Lgru;Lhjk;Ljb;Lhly;)Lgrs;
-
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
-