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 fgl$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 Lfgl$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 Lfgl$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 Lfgl$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> Lfgl$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 Lfgl$a;a(F)Lfgl$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 Lfgl$a;a()Lfgl$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 Lfgl$a;a(Ljava/lang/String;Lfgk;)Lfgl$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 Lfgl$a;b()Lfgl;