Record Class JsonUnbakedModel

java.lang.Object
java.lang.Record
net.minecraft.client.render.model.json.JsonUnbakedModel
Record Components:
geometry -
guiLight -
getAmbientOcclusion -
transformations -
textures -
getParentId -
All Implemented Interfaces:
UnbakedModel

@Environment(CLIENT) public record JsonUnbakedModel(@Nullable Geometry geometry, UnbakedModel.GuiLight guiLight, @Nullable Boolean getAmbientOcclusion, @Nullable ModelTransformation transformations, ModelTextures.Textures textures, @Nullable Identifier getParentId) extends Record implements UnbakedModel
Mappings:
Namespace Name
named net/minecraft/client/render/model/json/JsonUnbakedModel
intermediary net/minecraft/class_793
official grw
named geometry
intermediary comp_3739
official b
named guiLight
intermediary comp_3740
official d
named getAmbientOcclusion
intermediary comp_3741
official e
named transformations
intermediary comp_3742
official f
named textures
intermediary comp_3743
official g
named getParentId
intermediary comp_3744
official h
  • Field Details

  • Constructor Details

  • Method Details

    • deserialize

      public static JsonUnbakedModel deserialize(Reader input)
      Mappings:
      Namespace Name Mixin selector
      named deserialize Lnet/minecraft/client/render/model/json/JsonUnbakedModel;deserialize(Ljava/io/Reader;)Lnet/minecraft/client/render/model/json/JsonUnbakedModel;
      intermediary method_3437 Lnet/minecraft/class_793;method_3437(Ljava/io/Reader;)Lnet/minecraft/class_793;
      official a Lgrw;a(Ljava/io/Reader;)Lgrw;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • getGeometry

      @Nullable public @Nullable Geometry getGeometry()
      Specified by:
      getGeometry in interface UnbakedModel
      Mappings:
      Namespace Name Mixin selector
      named getGeometry Lnet/minecraft/client/render/model/UnbakedModel;getGeometry()Lnet/minecraft/client/render/model/Geometry;
      intermediary comp_3739 Lnet/minecraft/class_1100;comp_3739()Lnet/minecraft/class_10820;
      official a Lhmf;a()Lhme;
    • getGuiLight

      @Nullable public UnbakedModel.GuiLight getGuiLight()
      Specified by:
      getGuiLight in interface UnbakedModel
      Mappings:
      Namespace Name Mixin selector
      named getGuiLight Lnet/minecraft/client/render/model/UnbakedModel;getGuiLight()Lnet/minecraft/client/render/model/UnbakedModel$GuiLight;
      intermediary comp_3740 Lnet/minecraft/class_1100;comp_3740()Lnet/minecraft/class_1100$class_4751;
      official b Lhmf;b()Lhmf$a;
    • getAmbientOcclusion

      @Nullable public @Nullable Boolean getAmbientOcclusion()
      Returns the value of the getAmbientOcclusion record component.
      Specified by:
      getAmbientOcclusion in interface UnbakedModel
      Returns:
      the value of the getAmbientOcclusion record component
    • getTransformations

      @Nullable public @Nullable ModelTransformation getTransformations()
      Specified by:
      getTransformations in interface UnbakedModel
      Mappings:
      Namespace Name Mixin selector
      named getTransformations Lnet/minecraft/client/render/model/UnbakedModel;getTransformations()Lnet/minecraft/client/render/model/json/ModelTransformation;
      intermediary comp_3742 Lnet/minecraft/class_1100;comp_3742()Lnet/minecraft/class_809;
      official d Lhmf;d()Lgsc;
    • getTextures

      public ModelTextures.Textures getTextures()
      Specified by:
      getTextures in interface UnbakedModel
      Mappings:
      Namespace Name Mixin selector
      named getTextures Lnet/minecraft/client/render/model/UnbakedModel;getTextures()Lnet/minecraft/client/render/model/ModelTextures$Textures;
      intermediary comp_3743 Lnet/minecraft/class_1100;comp_3743()Lnet/minecraft/class_10419$class_10420;
      official e Lhmf;e()Lgsg$a;
    • getParentId

      @Nullable public @Nullable Identifier getParentId()
      Returns the value of the getParentId record component.
      Specified by:
      getParentId in interface UnbakedModel
      Returns:
      the value of the getParentId record component
    • geometry

      @Nullable public @Nullable Geometry geometry()
      Returns the value of the geometry record component.
      Returns:
      the value of the geometry record component
    • guiLight

      @Nullable public UnbakedModel.GuiLight guiLight()
      Returns the value of the guiLight record component.
      Returns:
      the value of the guiLight record component
    • transformations

      @Nullable public @Nullable ModelTransformation transformations()
      Returns the value of the transformations record component.
      Returns:
      the value of the transformations record component
    • textures

      public ModelTextures.Textures textures()
      Returns the value of the textures record component.
      Returns:
      the value of the textures record component