类 ModelCuboidData


  • @Environment(CLIENT)
    public final class ModelCuboidData
    extends Object
    Mappings:
    Namespace Name
    official ehj
    intermediary net/minecraft/class_5604
    named net/minecraft/client/model/ModelCuboidData
    • 字段详细资料

      • name

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

        private final Vec3f offset
        Mappings:
        Namespace Name Mixin selector
        official b Lehj;b:Lk;
        intermediary field_27709 Lnet/minecraft/class_5604;field_27709:Lnet/minecraft/class_1160;
        named offset Lnet/minecraft/client/model/ModelCuboidData;offset:Lnet/minecraft/util/math/Vec3f;
      • dimensions

        private final Vec3f dimensions
        Mappings:
        Namespace Name Mixin selector
        official c Lehj;c:Lk;
        intermediary field_27710 Lnet/minecraft/class_5604;field_27710:Lnet/minecraft/class_1160;
        named dimensions Lnet/minecraft/client/model/ModelCuboidData;dimensions:Lnet/minecraft/util/math/Vec3f;
      • extraSize

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

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

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

        private final Vector2f textureScale
        Mappings:
        Namespace Name Mixin selector
        official g Lehj;g:Lehq;
        intermediary field_27714 Lnet/minecraft/class_5604;field_27714:Lnet/minecraft/class_5611;
        named textureScale Lnet/minecraft/client/model/ModelCuboidData;textureScale:Lnet/minecraft/client/util/math/Vector2f;
    • 构造器详细资料

      • 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)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lehj;<init>(Ljava/lang/String;FFFFFFFFLehk;ZFF)V
        intermediary <init> Lnet/minecraft/class_5604;<init>(Ljava/lang/String;FFFFFFFFLnet/minecraft/class_5605;ZFF)V
        named <init> Lnet/minecraft/client/model/ModelCuboidData;<init>(Ljava/lang/String;FFFFFFFFLnet/minecraft/client/model/Dilation;ZFF)V
    • 方法详细资料

      • createCuboid

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