Package net.minecraft.entity
Class SaddledComponent
java.lang.Object
net.minecraft.entity.SaddledComponent
public class SaddledComponent extends Object
- Mappings:
Namespace Name official arf
intermediary net/minecraft/class_4980
named net/minecraft/entity/SaddledComponent
-
Field Summary
Fields Modifier and Type Field Description boolean
boosted
private TrackedData<Integer>
boostTime
int
currentBoostTime
private DataTracker
dataTracker
int
field_23216
private TrackedData<Boolean>
saddled
-
Constructor Summary
Constructors Constructor Description SaddledComponent(DataTracker dataTracker, TrackedData<Integer> boostTime, TrackedData<Boolean> saddled)
-
Method Summary
Modifier and Type Method Description void
boost()
boolean
boost(Random random)
void
fromTag(CompoundTag tag)
boolean
isSaddled()
void
setSaddled(boolean saddled)
void
toTag(CompoundTag tag)
-
Field Details
-
dataTracker
- Mappings:
Namespace Name Mixin selector official d
Larf;d:Lvn;
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
- Mappings:
Namespace Name Mixin selector official e
Larf;e:Lvk;
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
- Mappings:
Namespace Name Mixin selector official f
Larf;f:Lvk;
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
public boolean boosted- Mappings:
Namespace Name Mixin selector official a
Larf;a:Z
intermediary field_23215
Lnet/minecraft/class_4980;field_23215:Z
named boosted
Lnet/minecraft/entity/SaddledComponent;boosted:Z
-
field_23216
public int field_23216- Mappings:
Namespace Name Mixin selector official b
Larf;b:I
intermediary field_23216
Lnet/minecraft/class_4980;field_23216:I
named field_23216
Lnet/minecraft/entity/SaddledComponent;field_23216:I
-
currentBoostTime
public int currentBoostTime- Mappings:
Namespace Name Mixin selector official c
Larf;c:I
intermediary field_23217
Lnet/minecraft/class_4980;field_23217:I
named currentBoostTime
Lnet/minecraft/entity/SaddledComponent;currentBoostTime:I
-
-
Constructor Details
-
SaddledComponent
public SaddledComponent(DataTracker dataTracker, TrackedData<Integer> boostTime, TrackedData<Boolean> saddled)- Mappings:
Namespace Name Mixin selector official <init>
Larf;<init>(Lvn;Lvk;Lvk;)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
Larf;a()V
intermediary method_26307
Lnet/minecraft/class_4980;method_26307()V
named boost
Lnet/minecraft/entity/SaddledComponent;boost()V
-
boost
- Mappings:
Namespace Name Mixin selector official a
Larf;a(Ljava/util/Random;)Z
intermediary method_26308
Lnet/minecraft/class_4980;method_26308(Ljava/util/Random;)Z
named boost
Lnet/minecraft/entity/SaddledComponent;boost(Ljava/util/Random;)Z
-
toTag
- Mappings:
Namespace Name Mixin selector official a
Larf;a(Lmq;)V
intermediary method_26309
Lnet/minecraft/class_4980;method_26309(Lnet/minecraft/class_2487;)V
named toTag
Lnet/minecraft/entity/SaddledComponent;toTag(Lnet/minecraft/nbt/CompoundTag;)V
-
fromTag
- Mappings:
Namespace Name Mixin selector official b
Larf;b(Lmq;)V
intermediary method_26312
Lnet/minecraft/class_4980;method_26312(Lnet/minecraft/class_2487;)V
named fromTag
Lnet/minecraft/entity/SaddledComponent;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
setSaddled
public void setSaddled(boolean saddled)- Mappings:
Namespace Name Mixin selector official a
Larf;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 b
Larf;b()Z
intermediary method_26311
Lnet/minecraft/class_4980;method_26311()Z
named isSaddled
Lnet/minecraft/entity/SaddledComponent;isSaddled()Z
-