net.minecraft.world.entity

public class ItemBasedSteering

bwc
net.minecraft.world.entity.ItemBasedSteering
net.minecraft.class_4980
net.minecraft.entity.SaddledComponent
net.minecraft.world.entity.SaddleStorage

Field summary

Modifier and TypeField
private static final int
a
MIN_BOOST_TIME
field_30060
MIN_BOOST_TIME
private static final int
b
MAX_BOOST_TIME
field_30061
field_30061
private final SynchedEntityData
c
entityData
field_23218
dataTracker
private final EntityDataAccessor<Integer>
d
boostTimeAccessor
field_23219
boostTime
private final EntityDataAccessor<Boolean>
e
hasSaddleAccessor
field_23220
saddled
private boolean
f
boosting
field_23215
boosted
private int
g
boostTime
field_23216
boostedTime

Constructor summary

ModifierConstructor
public (SynchedEntityData dataTracker, EntityDataAccessor<Integer> boostTime, EntityDataAccessor<Boolean> saddled)

Method summary

Modifier and TypeMethod
public void
a()
onSynced()
method_26307()
boost()
public boolean
a(bam arg0)
boost(RandomSource arg0)
method_26308(class_5819 arg0)
boost(Random random)
public void
b()
tickBoost()
method_49478()
tickBoost()
public float
c()
boostFactor()
method_49479()
getMovementSpeedMultiplier()
private int
e()
boostTimeTotal()
method_49480()
getBoostTime()
public void
a(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_26309(class_2487 arg0)
writeNbt(NbtCompound nbt)
public void
b(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_26312(class_2487 arg0)
readNbt(NbtCompound nbt)
public void
a(boolean arg0)
setSaddle(boolean arg0)
method_26310(boolean arg0)
setSaddled(boolean saddled)
public boolean
d()
hasSaddle()
method_26311()
isSaddled()