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
official efn$a
intermediary net/minecraft/class_7184$class_7185
named net/minecraft/client/render/entity/animation/Animation$Builder
  • Field Details

    • lengthInSeconds

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

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

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

    • Builder

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

    • create

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

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

      public Animation.Builder addBoneAnimation(String name, Transformation transformation)
      Mappings:
      Namespace Name Mixin selector
      official a Lefn$a;a(Ljava/lang/String;Lefm;)Lefn$a;
      intermediary method_41820 Lnet/minecraft/class_7184$class_7185;method_41820(Ljava/lang/String;Lnet/minecraft/class_7179;)Lnet/minecraft/class_7184$class_7185;
      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;
    • build

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