类 ModelPart


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

      • pivotX

        public float pivotX
        Mappings:
        Namespace Name Mixin selector
        official a Lehg;a:F
        intermediary field_3657 Lnet/minecraft/class_630;field_3657:F
        named pivotX Lnet/minecraft/client/model/ModelPart;pivotX:F
      • pivotY

        public float pivotY
        Mappings:
        Namespace Name Mixin selector
        official b Lehg;b:F
        intermediary field_3656 Lnet/minecraft/class_630;field_3656:F
        named pivotY Lnet/minecraft/client/model/ModelPart;pivotY:F
      • pivotZ

        public float pivotZ
        Mappings:
        Namespace Name Mixin selector
        official c Lehg;c:F
        intermediary field_3655 Lnet/minecraft/class_630;field_3655:F
        named pivotZ Lnet/minecraft/client/model/ModelPart;pivotZ:F
      • pitch

        public float pitch
        Mappings:
        Namespace Name Mixin selector
        official d Lehg;d:F
        intermediary field_3654 Lnet/minecraft/class_630;field_3654:F
        named pitch Lnet/minecraft/client/model/ModelPart;pitch:F
      • yaw

        public float yaw
        Mappings:
        Namespace Name Mixin selector
        official e Lehg;e:F
        intermediary field_3675 Lnet/minecraft/class_630;field_3675:F
        named yaw Lnet/minecraft/client/model/ModelPart;yaw:F
      • roll

        public float roll
        Mappings:
        Namespace Name Mixin selector
        official f Lehg;f:F
        intermediary field_3674 Lnet/minecraft/class_630;field_3674:F
        named roll Lnet/minecraft/client/model/ModelPart;roll:F
      • visible

        public boolean visible
        Mappings:
        Namespace Name Mixin selector
        official g Lehg;g:Z
        intermediary field_3665 Lnet/minecraft/class_630;field_3665:Z
        named visible Lnet/minecraft/client/model/ModelPart;visible:Z
      • cuboids

        private final List<ModelPart.Cuboid> cuboids
        Mappings:
        Namespace Name Mixin selector
        official h Lehg;h:Ljava/util/List;
        intermediary field_3663 Lnet/minecraft/class_630;field_3663:Ljava/util/List;
        named cuboids Lnet/minecraft/client/model/ModelPart;cuboids:Ljava/util/List;
      • children

        private final Map<String,​ModelPart> children
        Mappings:
        Namespace Name Mixin selector
        official i Lehg;i:Ljava/util/Map;
        intermediary field_3661 Lnet/minecraft/class_630;field_3661:Ljava/util/Map;
        named children Lnet/minecraft/client/model/ModelPart;children:Ljava/util/Map;
    • 构造器详细资料

      • ModelPart

        public ModelPart​(List<ModelPart.Cuboid> cuboids,
                         Map<String,​ModelPart> children)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lehg;<init>(Ljava/util/List;Ljava/util/Map;)V
        intermediary <init> Lnet/minecraft/class_630;<init>(Ljava/util/List;Ljava/util/Map;)V
        named <init> Lnet/minecraft/client/model/ModelPart;<init>(Ljava/util/List;Ljava/util/Map;)V
    • 方法详细资料

      • getTransform

        public ModelTransform getTransform()
        Mappings:
        Namespace Name Mixin selector
        official a Lehg;a()Lehi;
        intermediary method_32084 Lnet/minecraft/class_630;method_32084()Lnet/minecraft/class_5603;
        named getTransform Lnet/minecraft/client/model/ModelPart;getTransform()Lnet/minecraft/client/model/ModelTransform;
      • setTransform

        public void setTransform​(ModelTransform rotationData)
        Mappings:
        Namespace Name Mixin selector
        official a Lehg;a(Lehi;)V
        intermediary method_32085 Lnet/minecraft/class_630;method_32085(Lnet/minecraft/class_5603;)V
        named setTransform Lnet/minecraft/client/model/ModelPart;setTransform(Lnet/minecraft/client/model/ModelTransform;)V
      • copyTransform

        public void copyTransform​(ModelPart part)
        Mappings:
        Namespace Name Mixin selector
        official a Lehg;a(Lehg;)V
        intermediary method_17138 Lnet/minecraft/class_630;method_17138(Lnet/minecraft/class_630;)V
        named copyTransform Lnet/minecraft/client/model/ModelPart;copyTransform(Lnet/minecraft/client/model/ModelPart;)V
      • getChild

        public ModelPart getChild​(String name)
        Mappings:
        Namespace Name Mixin selector
        official a Lehg;a(Ljava/lang/String;)Lehg;
        intermediary method_32086 Lnet/minecraft/class_630;method_32086(Ljava/lang/String;)Lnet/minecraft/class_630;
        named getChild Lnet/minecraft/client/model/ModelPart;getChild(Ljava/lang/String;)Lnet/minecraft/client/model/ModelPart;
      • setPivot

        public void setPivot​(float x,
                             float y,
                             float z)
        Mappings:
        Namespace Name Mixin selector
        official a Lehg;a(FFF)V
        intermediary method_2851 Lnet/minecraft/class_630;method_2851(FFF)V
        named setPivot Lnet/minecraft/client/model/ModelPart;setPivot(FFF)V
      • setAngles

        public void setAngles​(float pitch,
                              float yaw,
                              float roll)
        Mappings:
        Namespace Name Mixin selector
        official b Lehg;b(FFF)V
        intermediary method_33425 Lnet/minecraft/class_630;method_33425(FFF)V
        named setAngles Lnet/minecraft/client/model/ModelPart;setAngles(FFF)V
      • render

        public void render​(MatrixStack matrices,
                           VertexConsumer vertices,
                           int light,
                           int overlay)
        Mappings:
        Namespace Name Mixin selector
        official a Lehg;a(Ldpi;Ldpm;II)V
        intermediary method_22698 Lnet/minecraft/class_630;method_22698(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;II)V
        named render Lnet/minecraft/client/model/ModelPart;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;II)V
      • render

        public void render​(MatrixStack matrices,
                           VertexConsumer vertices,
                           int light,
                           int overlay,
                           float red,
                           float green,
                           float blue,
                           float alpha)
        Mappings:
        Namespace Name Mixin selector
        official a Lehg;a(Ldpi;Ldpm;IIFFFF)V
        intermediary method_22699 Lnet/minecraft/class_630;method_22699(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
        named render Lnet/minecraft/client/model/ModelPart;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
      • method_35745

        public void method_35745​(MatrixStack matrixStack,
                                 ModelPart.class_6229 class_6229)
        Mappings:
        Namespace Name Mixin selector
        official a Lehg;a(Ldpi;Lehg$d;)V
        intermediary method_35745 Lnet/minecraft/class_630;method_35745(Lnet/minecraft/class_4587;Lnet/minecraft/class_630$class_6229;)V
        named method_35745 Lnet/minecraft/client/model/ModelPart;method_35745(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/model/ModelPart$class_6229;)V
      • method_35746

        private void method_35746​(MatrixStack matrixStack,
                                  ModelPart.class_6229 class_6229,
                                  String string)
        Mappings:
        Namespace Name Mixin selector
        official a Lehg;a(Ldpi;Lehg$d;Ljava/lang/String;)V
        intermediary method_35746 Lnet/minecraft/class_630;method_35746(Lnet/minecraft/class_4587;Lnet/minecraft/class_630$class_6229;Ljava/lang/String;)V
        named method_35746 Lnet/minecraft/client/model/ModelPart;method_35746(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/model/ModelPart$class_6229;Ljava/lang/String;)V
      • rotate

        public void rotate​(MatrixStack matrix)
        Mappings:
        Namespace Name Mixin selector
        official a Lehg;a(Ldpi;)V
        intermediary method_22703 Lnet/minecraft/class_630;method_22703(Lnet/minecraft/class_4587;)V
        named rotate Lnet/minecraft/client/model/ModelPart;rotate(Lnet/minecraft/client/util/math/MatrixStack;)V
      • renderCuboids

        private void renderCuboids​(MatrixStack.Entry entry,
                                   VertexConsumer vertexConsumer,
                                   int light,
                                   int overlay,
                                   float red,
                                   float green,
                                   float blue,
                                   float alpha)
        Mappings:
        Namespace Name Mixin selector
        official a Lehg;a(Ldpi$a;Ldpm;IIFFFF)V
        intermediary method_22702 Lnet/minecraft/class_630;method_22702(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;IIFFFF)V
        named renderCuboids Lnet/minecraft/client/model/ModelPart;renderCuboids(Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
      • getRandomCuboid

        public ModelPart.Cuboid getRandomCuboid​(Random random)
        Mappings:
        Namespace Name Mixin selector
        official a Lehg;a(Ljava/util/Random;)Lehg$a;
        intermediary method_22700 Lnet/minecraft/class_630;method_22700(Ljava/util/Random;)Lnet/minecraft/class_630$class_628;
        named getRandomCuboid Lnet/minecraft/client/model/ModelPart;getRandomCuboid(Ljava/util/Random;)Lnet/minecraft/client/model/ModelPart$Cuboid;
      • isEmpty

        public boolean isEmpty()
        Mappings:
        Namespace Name Mixin selector
        official b Lehg;b()Z
        intermediary method_32087 Lnet/minecraft/class_630;method_32087()Z
        named isEmpty Lnet/minecraft/client/model/ModelPart;isEmpty()Z
      • traverse

        public Stream<ModelPart> traverse()
        Mappings:
        Namespace Name Mixin selector
        official c Lehg;c()Ljava/util/stream/Stream;
        intermediary method_32088 Lnet/minecraft/class_630;method_32088()Ljava/util/stream/Stream;
        named traverse Lnet/minecraft/client/model/ModelPart;traverse()Ljava/util/stream/Stream;