net.minecraft.world.entity

public class ItemBasedSteering

bby
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
d
MIN_BOOST_TIME
field_30060
MIN_BOOST_TIME
f_147132_
private static final int
e
MAX_BOOST_TIME
field_30061
field_30061
f_147133_
private final SynchedEntityData
f
entityData
field_23218
dataTracker
f_20837_
private final EntityDataAccessor<Integer>
g
boostTimeAccessor
field_23219
boostTime
f_20838_
private final EntityDataAccessor<Boolean>
h
hasSaddleAccessor
field_23220
saddled
f_20839_
public boolean
a
boosting
field_23215
boosted
f_20834_
public int
b
boostTime
field_23216
boostedTime
f_20835_
public int
c
boostTimeTotal
field_23217
currentBoostTime
f_20836_

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(amn arg0)
boost(RandomSource arg0)
method_26308(class_5819 arg0)
boost(Random random)
m_217032_(C_212974_ arg0)
public void
a(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_26309(class_2487 arg0)
writeNbt(NbtCompound nbt)
m_20847_(C_4917_ arg0)
public void
b(pj 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
b()
hasSaddle()
method_26311()
isSaddled()
m_20851_()