Class SaddledComponent

java.lang.Object
net.minecraft.entity.SaddledComponent

public class SaddledComponent extends Object
Mappings:
Namespace Name
official bft
intermediary net/minecraft/class_4980
named net/minecraft/entity/SaddledComponent
  • Field Details

    • MIN_BOOST_TIME

      private static final int MIN_BOOST_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbft;a:I
      intermediary field_30060 Lnet/minecraft/class_4980;field_30060:I
      named MIN_BOOST_TIME Lnet/minecraft/entity/SaddledComponent;MIN_BOOST_TIME:I
    • field_30061

      private static final int field_30061
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbft;b:I
      intermediary field_30061 Lnet/minecraft/class_4980;field_30061:I
      named field_30061 Lnet/minecraft/entity/SaddledComponent;field_30061:I
    • dataTracker

      private final DataTracker dataTracker
      Mappings:
      Namespace Name Mixin selector
      official c Lbft;c:Laco;
      intermediary field_23218 Lnet/minecraft/class_4980;field_23218:Lnet/minecraft/class_2945;
      named dataTracker Lnet/minecraft/entity/SaddledComponent;dataTracker:Lnet/minecraft/entity/data/DataTracker;
    • boostTime

      private final TrackedData<Integer> boostTime
      Mappings:
      Namespace Name Mixin selector
      official d Lbft;d:Lacl;
      intermediary field_23219 Lnet/minecraft/class_4980;field_23219:Lnet/minecraft/class_2940;
      named boostTime Lnet/minecraft/entity/SaddledComponent;boostTime:Lnet/minecraft/entity/data/TrackedData;
    • saddled

      private final TrackedData<Boolean> saddled
      Mappings:
      Namespace Name Mixin selector
      official e Lbft;e:Lacl;
      intermediary field_23220 Lnet/minecraft/class_4980;field_23220:Lnet/minecraft/class_2940;
      named saddled Lnet/minecraft/entity/SaddledComponent;saddled:Lnet/minecraft/entity/data/TrackedData;
    • boosted

      private boolean boosted
      Mappings:
      Namespace Name Mixin selector
      official f Lbft;f:Z
      intermediary field_23215 Lnet/minecraft/class_4980;field_23215:Z
      named boosted Lnet/minecraft/entity/SaddledComponent;boosted:Z
    • boostedTime

      private int boostedTime
      Mappings:
      Namespace Name Mixin selector
      official g Lbft;g:I
      intermediary field_23216 Lnet/minecraft/class_4980;field_23216:I
      named boostedTime Lnet/minecraft/entity/SaddledComponent;boostedTime:I
  • Constructor Details

    • SaddledComponent

      public SaddledComponent(DataTracker dataTracker, TrackedData<Integer> boostTime, TrackedData<Boolean> saddled)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbft;<init>(Laco;Lacl;Lacl;)V
      intermediary <init> Lnet/minecraft/class_4980;<init>(Lnet/minecraft/class_2945;Lnet/minecraft/class_2940;Lnet/minecraft/class_2940;)V
      named <init> Lnet/minecraft/entity/SaddledComponent;<init>(Lnet/minecraft/entity/data/DataTracker;Lnet/minecraft/entity/data/TrackedData;Lnet/minecraft/entity/data/TrackedData;)V
  • Method Details

    • boost

      public void boost()
      Mappings:
      Namespace Name Mixin selector
      official a Lbft;a()V
      intermediary method_26307 Lnet/minecraft/class_4980;method_26307()V
      named boost Lnet/minecraft/entity/SaddledComponent;boost()V
    • boost

      public boolean boost(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lbft;a(Lapo;)Z
      intermediary method_26308 Lnet/minecraft/class_4980;method_26308(Lnet/minecraft/class_5819;)Z
      named boost Lnet/minecraft/entity/SaddledComponent;boost(Lnet/minecraft/util/math/random/Random;)Z
    • tickBoost

      public void tickBoost()
      Mappings:
      Namespace Name Mixin selector
      official b Lbft;b()V
      intermediary method_49478 Lnet/minecraft/class_4980;method_49478()V
      named tickBoost Lnet/minecraft/entity/SaddledComponent;tickBoost()V
    • getMovementSpeedMultiplier

      public float getMovementSpeedMultiplier()
      Mappings:
      Namespace Name Mixin selector
      official c Lbft;c()F
      intermediary method_49479 Lnet/minecraft/class_4980;method_49479()F
      named getMovementSpeedMultiplier Lnet/minecraft/entity/SaddledComponent;getMovementSpeedMultiplier()F
    • getBoostTime

      private int getBoostTime()
      Mappings:
      Namespace Name Mixin selector
      official e Lbft;e()I
      intermediary method_49480 Lnet/minecraft/class_4980;method_49480()I
      named getBoostTime Lnet/minecraft/entity/SaddledComponent;getBoostTime()I
    • writeNbt

      public void writeNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lbft;a(Lre;)V
      intermediary method_26309 Lnet/minecraft/class_4980;method_26309(Lnet/minecraft/class_2487;)V
      named writeNbt Lnet/minecraft/entity/SaddledComponent;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readNbt

      public void readNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official b Lbft;b(Lre;)V
      intermediary method_26312 Lnet/minecraft/class_4980;method_26312(Lnet/minecraft/class_2487;)V
      named readNbt Lnet/minecraft/entity/SaddledComponent;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • setSaddled

      public void setSaddled(boolean saddled)
      Mappings:
      Namespace Name Mixin selector
      official a Lbft;a(Z)V
      intermediary method_26310 Lnet/minecraft/class_4980;method_26310(Z)V
      named setSaddled Lnet/minecraft/entity/SaddledComponent;setSaddled(Z)V
    • isSaddled

      public boolean isSaddled()
      Mappings:
      Namespace Name Mixin selector
      official d Lbft;d()Z
      intermediary method_26311 Lnet/minecraft/class_4980;method_26311()Z
      named isSaddled Lnet/minecraft/entity/SaddledComponent;isSaddled()Z