Class ModelCuboidData

java.lang.Object
net.minecraft.client.model.ModelCuboidData

@Environment(CLIENT) public final class ModelCuboidData extends Object
Mappings:
Namespace Name
named net/minecraft/client/model/ModelCuboidData
intermediary net/minecraft/class_5604
official fxe
  • Field Details

    • name

      @Nullable private final @Nullable String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/model/ModelCuboidData;name:Ljava/lang/String;
      intermediary field_27708 Lnet/minecraft/class_5604;field_27708:Ljava/lang/String;
      official a Lfxe;a:Ljava/lang/String;
    • offset

      private final Vector3f offset
      Mappings:
      Namespace Name Mixin selector
      named offset Lnet/minecraft/client/model/ModelCuboidData;offset:Lorg/joml/Vector3f;
      intermediary field_27709 Lnet/minecraft/class_5604;field_27709:Lorg/joml/Vector3f;
      official b Lfxe;b:Lorg/joml/Vector3f;
    • dimensions

      private final Vector3f dimensions
      Mappings:
      Namespace Name Mixin selector
      named dimensions Lnet/minecraft/client/model/ModelCuboidData;dimensions:Lorg/joml/Vector3f;
      intermediary field_27710 Lnet/minecraft/class_5604;field_27710:Lorg/joml/Vector3f;
      official c Lfxe;c:Lorg/joml/Vector3f;
    • extraSize

      private final Dilation extraSize
      Mappings:
      Namespace Name Mixin selector
      named extraSize Lnet/minecraft/client/model/ModelCuboidData;extraSize:Lnet/minecraft/client/model/Dilation;
      intermediary field_27711 Lnet/minecraft/class_5604;field_27711:Lnet/minecraft/class_5605;
      official d Lfxe;d:Lfxf;
    • mirror

      private final boolean mirror
      Mappings:
      Namespace Name Mixin selector
      named mirror Lnet/minecraft/client/model/ModelCuboidData;mirror:Z
      intermediary field_27712 Lnet/minecraft/class_5604;field_27712:Z
      official e Lfxe;e:Z
    • textureUV

      private final Vector2f textureUV
      Mappings:
      Namespace Name Mixin selector
      named textureUV Lnet/minecraft/client/model/ModelCuboidData;textureUV:Lnet/minecraft/client/util/math/Vector2f;
      intermediary field_27713 Lnet/minecraft/class_5604;field_27713:Lnet/minecraft/class_5611;
      official f Lfxe;f:Lfxl;
    • textureScale

      private final Vector2f textureScale
      Mappings:
      Namespace Name Mixin selector
      named textureScale Lnet/minecraft/client/model/ModelCuboidData;textureScale:Lnet/minecraft/client/util/math/Vector2f;
      intermediary field_27714 Lnet/minecraft/class_5604;field_27714:Lnet/minecraft/class_5611;
      official g Lfxe;g:Lfxl;
    • directions

      private final Set<Direction> directions
      Mappings:
      Namespace Name Mixin selector
      named directions Lnet/minecraft/client/model/ModelCuboidData;directions:Ljava/util/Set;
      intermediary field_42887 Lnet/minecraft/class_5604;field_42887:Ljava/util/Set;
      official h Lfxe;h:Ljava/util/Set;
  • Constructor Details

    • ModelCuboidData

      protected ModelCuboidData(@Nullable @Nullable String name, float textureX, float textureY, float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra, boolean mirror, float textureScaleX, float textureScaleY, Set<Direction> directions)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/model/ModelCuboidData;<init>(Ljava/lang/String;FFFFFFFFLnet/minecraft/client/model/Dilation;ZFFLjava/util/Set;)V
      intermediary <init> Lnet/minecraft/class_5604;<init>(Ljava/lang/String;FFFFFFFFLnet/minecraft/class_5605;ZFFLjava/util/Set;)V
      official <init> Lfxe;<init>(Ljava/lang/String;FFFFFFFFLfxf;ZFFLjava/util/Set;)V
  • Method Details

    • createCuboid

      public ModelPart.Cuboid createCuboid(int textureWidth, int textureHeight)
      Mappings:
      Namespace Name Mixin selector
      named createCuboid Lnet/minecraft/client/model/ModelCuboidData;createCuboid(II)Lnet/minecraft/client/model/ModelPart$Cuboid;
      intermediary method_32093 Lnet/minecraft/class_5604;method_32093(II)Lnet/minecraft/class_630$class_628;
      official a Lfxe;a(II)Lfxb$a;