Package net.minecraft.entity
Class SaddledComponent
java.lang.Object
net.minecraft.entity.SaddledComponent
- Mappings:
Namespace Name named net/minecraft/entity/SaddledComponent
intermediary net/minecraft/class_4980
official bwb
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private int
private final TrackedData
<Integer> private final DataTracker
private static final int
private static final int
private final TrackedData
<Boolean> -
Constructor Summary
ConstructorDescriptionSaddledComponent
(DataTracker dataTracker, TrackedData<Integer> boostTime, TrackedData<Boolean> saddled) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boost()
boolean
private int
float
boolean
void
readNbt
(NbtCompound nbt) void
setSaddled
(boolean saddled) void
void
writeNbt
(NbtCompound nbt)
-
Field Details
-
MIN_BOOST_TIME
private static final int MIN_BOOST_TIME- See Also:
- Mappings:
Namespace Name Mixin selector named MIN_BOOST_TIME
Lnet/minecraft/entity/SaddledComponent;MIN_BOOST_TIME:I
intermediary field_30060
Lnet/minecraft/class_4980;field_30060:I
official a
Lbwb;a:I
-
field_30061
private static final int field_30061- See Also:
- Mappings:
Namespace Name Mixin selector named field_30061
Lnet/minecraft/entity/SaddledComponent;field_30061:I
intermediary field_30061
Lnet/minecraft/class_4980;field_30061:I
official b
Lbwb;b:I
-
dataTracker
- Mappings:
Namespace Name Mixin selector named dataTracker
Lnet/minecraft/entity/SaddledComponent;dataTracker:Lnet/minecraft/entity/data/DataTracker;
intermediary field_23218
Lnet/minecraft/class_4980;field_23218:Lnet/minecraft/class_2945;
official c
Lbwb;c:Lalg;
-
boostTime
- Mappings:
Namespace Name Mixin selector named boostTime
Lnet/minecraft/entity/SaddledComponent;boostTime:Lnet/minecraft/entity/data/TrackedData;
intermediary field_23219
Lnet/minecraft/class_4980;field_23219:Lnet/minecraft/class_2940;
official d
Lbwb;d:Lalc;
-
saddled
- Mappings:
Namespace Name Mixin selector named saddled
Lnet/minecraft/entity/SaddledComponent;saddled:Lnet/minecraft/entity/data/TrackedData;
intermediary field_23220
Lnet/minecraft/class_4980;field_23220:Lnet/minecraft/class_2940;
official e
Lbwb;e:Lalc;
-
boosted
private boolean boosted- Mappings:
Namespace Name Mixin selector named boosted
Lnet/minecraft/entity/SaddledComponent;boosted:Z
intermediary field_23215
Lnet/minecraft/class_4980;field_23215:Z
official f
Lbwb;f:Z
-
boostedTime
private int boostedTime- Mappings:
Namespace Name Mixin selector named boostedTime
Lnet/minecraft/entity/SaddledComponent;boostedTime:I
intermediary field_23216
Lnet/minecraft/class_4980;field_23216:I
official g
Lbwb;g:I
-
-
Constructor Details
-
SaddledComponent
public SaddledComponent(DataTracker dataTracker, TrackedData<Integer> boostTime, TrackedData<Boolean> saddled) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/SaddledComponent;<init>(Lnet/minecraft/entity/data/DataTracker;Lnet/minecraft/entity/data/TrackedData;Lnet/minecraft/entity/data/TrackedData;)V
intermediary <init>
Lnet/minecraft/class_4980;<init>(Lnet/minecraft/class_2945;Lnet/minecraft/class_2940;Lnet/minecraft/class_2940;)V
official <init>
Lbwb;<init>(Lalg;Lalc;Lalc;)V
-
-
Method Details
-
boost
public void boost()- Mappings:
Namespace Name Mixin selector named boost
Lnet/minecraft/entity/SaddledComponent;boost()V
intermediary method_26307
Lnet/minecraft/class_4980;method_26307()V
official a
Lbwb;a()V
-
boost
- Mappings:
Namespace Name Mixin selector named boost
Lnet/minecraft/entity/SaddledComponent;boost(Lnet/minecraft/util/math/random/Random;)Z
intermediary method_26308
Lnet/minecraft/class_4980;method_26308(Lnet/minecraft/class_5819;)Z
official a
Lbwb;a(Lbam;)Z
-
tickBoost
public void tickBoost()- Mappings:
Namespace Name Mixin selector named tickBoost
Lnet/minecraft/entity/SaddledComponent;tickBoost()V
intermediary method_49478
Lnet/minecraft/class_4980;method_49478()V
official b
Lbwb;b()V
-
getMovementSpeedMultiplier
public float getMovementSpeedMultiplier()- Mappings:
Namespace Name Mixin selector named getMovementSpeedMultiplier
Lnet/minecraft/entity/SaddledComponent;getMovementSpeedMultiplier()F
intermediary method_49479
Lnet/minecraft/class_4980;method_49479()F
official c
Lbwb;c()F
-
getBoostTime
private int getBoostTime()- Mappings:
Namespace Name Mixin selector named getBoostTime
Lnet/minecraft/entity/SaddledComponent;getBoostTime()I
intermediary method_49480
Lnet/minecraft/class_4980;method_49480()I
official e
Lbwb;e()I
-
writeNbt
- Mappings:
Namespace Name Mixin selector named writeNbt
Lnet/minecraft/entity/SaddledComponent;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
intermediary method_26309
Lnet/minecraft/class_4980;method_26309(Lnet/minecraft/class_2487;)V
official a
Lbwb;a(Lux;)V
-
readNbt
- Mappings:
Namespace Name Mixin selector named readNbt
Lnet/minecraft/entity/SaddledComponent;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
intermediary method_26312
Lnet/minecraft/class_4980;method_26312(Lnet/minecraft/class_2487;)V
official b
Lbwb;b(Lux;)V
-
setSaddled
public void setSaddled(boolean saddled) - Mappings:
Namespace Name Mixin selector named setSaddled
Lnet/minecraft/entity/SaddledComponent;setSaddled(Z)V
intermediary method_26310
Lnet/minecraft/class_4980;method_26310(Z)V
official a
Lbwb;a(Z)V
-
isSaddled
public boolean isSaddled()- Mappings:
Namespace Name Mixin selector named isSaddled
Lnet/minecraft/entity/SaddledComponent;isSaddled()Z
intermediary method_26311
Lnet/minecraft/class_4980;method_26311()Z
official d
Lbwb;d()Z
-