net.minecraft.world.entity

public class ItemBasedSteering

bfv
net.minecraft.world.entity.ItemBasedSteering
net.minecraft.class_4980
net.minecraft.entity.SaddledComponent
net.minecraft.src.C_521_
net.minecraft.world.entity.SaddleStorage

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a()
onSynced()
method_26307()
boost()
m_20844_()
public boolean
a(apf arg0)
boost(RandomSource arg0)
method_26308(class_5819 arg0)
boost(Random random)
m_217032_(C_212974_ arg0)
public void
b()
tickBoost()
method_49478()
tickBoost()
m_274606_()
public float
c()
boostFactor()
method_49479()
getMovementSpeedMultiplier()
m_274439_()
private int
e()
boostTimeTotal()
method_49480()
getBoostTime()
m_274397_()
public void
a(qr arg0)
addAdditionalSaveData(CompoundTag arg0)
method_26309(class_2487 arg0)
writeNbt(NbtCompound nbt)
m_20847_(C_4917_ arg0)
public void
b(qr arg0)
readAdditionalSaveData(CompoundTag arg0)
method_26312(class_2487 arg0)
readNbt(NbtCompound nbt)
m_20852_(C_4917_ arg0)
public void
a(boolean arg0)
setSaddle(boolean arg0)
method_26310(boolean arg0)
setSaddled(boolean saddled)
m_20849_(boolean arg0)
public boolean
d()
hasSaddle()
method_26311()
isSaddled()
m_20851_()