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 eoe$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 Leoe$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 Leoe$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 Leoe$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> Leoe$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 Leoe$a;a(F)Leoe$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 Leoe$a;a()Leoe$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 Leoe$a;a(Ljava/lang/String;Leod;)Leoe$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 Leoe$a;b()Leoe;
      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;