Class Animation.Builder

java.lang.Object
net.minecraft.client.render.entity.animation.Animation.Builder
Enclosing class:
Animation

@Environment(CLIENT) public static class Animation.Builder extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/entity/animation/Animation$Builder
intermediary net/minecraft/class_7184$class_7185
official fmt$a
  • Field Details

    • lengthInSeconds

      private final float lengthInSeconds
      Mappings:
      Namespace Name Mixin selector
      named lengthInSeconds Lnet/minecraft/client/render/entity/animation/Animation$Builder;lengthInSeconds:F
      intermediary field_37889 Lnet/minecraft/class_7184$class_7185;field_37889:F
      official a Lfmt$a;a:F
    • transformations

      private final Map<String,List<Transformation>> transformations
      Mappings:
      Namespace Name Mixin selector
      named transformations Lnet/minecraft/client/render/entity/animation/Animation$Builder;transformations:Ljava/util/Map;
      intermediary field_37890 Lnet/minecraft/class_7184$class_7185;field_37890:Ljava/util/Map;
      official b Lfmt$a;b:Ljava/util/Map;
    • looping

      private boolean looping
      Mappings:
      Namespace Name Mixin selector
      named looping Lnet/minecraft/client/render/entity/animation/Animation$Builder;looping:Z
      intermediary field_37891 Lnet/minecraft/class_7184$class_7185;field_37891:Z
      official c Lfmt$a;c:Z
  • Constructor Details

    • Builder

      private Builder(float lengthInSeconds)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/animation/Animation$Builder;<init>(F)V
      intermediary <init> Lnet/minecraft/class_7184$class_7185;<init>(F)V
      official <init> Lfmt$a;<init>(F)V
  • Method Details

    • create

      public static Animation.Builder create(float lengthInSeconds)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/render/entity/animation/Animation$Builder;create(F)Lnet/minecraft/client/render/entity/animation/Animation$Builder;
      intermediary method_41818 Lnet/minecraft/class_7184$class_7185;method_41818(F)Lnet/minecraft/class_7184$class_7185;
      official a Lfmt$a;a(F)Lfmt$a;
    • looping

      public Animation.Builder looping()
      Mappings:
      Namespace Name Mixin selector
      named looping Lnet/minecraft/client/render/entity/animation/Animation$Builder;looping()Lnet/minecraft/client/render/entity/animation/Animation$Builder;
      intermediary method_41817 Lnet/minecraft/class_7184$class_7185;method_41817()Lnet/minecraft/class_7184$class_7185;
      official a Lfmt$a;a()Lfmt$a;
    • addBoneAnimation

      public Animation.Builder addBoneAnimation(String name, Transformation transformation)
      Mappings:
      Namespace Name Mixin selector
      named addBoneAnimation Lnet/minecraft/client/render/entity/animation/Animation$Builder;addBoneAnimation(Ljava/lang/String;Lnet/minecraft/client/render/entity/animation/Transformation;)Lnet/minecraft/client/render/entity/animation/Animation$Builder;
      intermediary method_41820 Lnet/minecraft/class_7184$class_7185;method_41820(Ljava/lang/String;Lnet/minecraft/class_7179;)Lnet/minecraft/class_7184$class_7185;
      official a Lfmt$a;a(Ljava/lang/String;Lfms;)Lfmt$a;
    • build

      public Animation build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/client/render/entity/animation/Animation$Builder;build()Lnet/minecraft/client/render/entity/animation/Animation;
      intermediary method_41821 Lnet/minecraft/class_7184$class_7185;method_41821()Lnet/minecraft/class_7184;
      official b Lfmt$a;b()Lfmt;