net.minecraft.world.entity

public interface Leashable

bwe
net.minecraft.world.entity.Leashable
net.minecraft.class_9817
net.minecraft.unmapped.C_gbavazgo
net.minecraft.entity.Leashable
net.minecraft.entity.Leashable
net.minecraft.src.C_336597_
net.minecraft.world.entity.Leashable

Field summary

Modifier and TypeField
String
o_
LEASH_TAG
field_52216
f_hwlweeax
LEASH_NBT_KEY
LEASH_NBT_KEY
f_337198_
double
p_
LEASH_TOO_FAR_DIST
field_52314
f_crwvitgo
MAX_LEASH_LENGTH
MAX_LEASH_LENGTH
f_337376_
double
q_
LEASH_ELASTIC_DIST
field_52315
f_iiewyzxn
SHORT_LEASH_LENGTH
STRETCH_DISTANCE
f_337592_

Method summary

Modifier and TypeMethod
Leashable$LeashData
T_()
getLeashData()
method_60955()
m_hkieuyqm()
getLeashData()
getLeashData()
m_338492_()
void
a(bwe$a arg0)
setLeashData(Leashable$LeashData arg0)
method_60960(class_9817$class_9818 arg0)
m_lccupwok(C_gbavazgo$C_trsxpkpu arg0)
setLeashData(Leashable$LeashData leashData)
setLeashData(Leashable$LeashData data)
m_338401_(C_336597_$C_336538_ arg0)
default boolean
P_()
isLeashed()
method_60953()
m_egrefywv()
isLeashed()
isLeashed()
m_339418_()
default boolean
q()
mayBeLeashed()
method_60954()
m_feakufat()
mightBeLeashed()
hasLeashData()
m_340201_()
default boolean
Q_()
canHaveALeashAttachedToIt()
method_60969()
m_eodbrgla()
canLeashAttachTo()
canLeashAttachTo()
m_339445_()
default boolean
y()
canBeLeashed()
method_5931()
m_xvyvanvw()
canBeLeashed()
canBeLeashed()
m_6573_()
default void
e_(int arg0)
setDelayedLeashHolderId(int arg0)
method_60968(int arg0)
m_jywtllgu(int arg0)
setUnresolvedLeashHolderId(int unresolvedLeashHolderId)
setDelayedLeashHolderId(int delayedLeashHolderId)
m_339199_(int arg0)
default Leashable$LeashData
c(ux arg0)
readLeashData(CompoundTag arg0)
method_60967(class_2487 arg0)
m_fmujdyoh(C_hhlwcnih arg0)
readLeashDataFromNbt(NbtCompound nbt)
readLeashData(NbtCompound compound)
m_340395_(C_4917_ arg0)
default void
a(ux arg0, bwe$a arg1)
writeLeashData(CompoundTag arg0, Leashable$LeashData arg1)
method_60962(class_2487 arg0, class_9817$class_9818 arg1)
m_ydrqybvl(C_hhlwcnih arg0, C_gbavazgo$C_trsxpkpu arg1)
writeLeashDataToNbt(NbtCompound nbt, Leashable$LeashData leashData)
writeLeashData(NbtCompound compound, Leashable$LeashData data)
m_339731_(C_4917_ p_345503_, C_336597_$C_336538_ arg1)
private static <E extends Entity extends Leashable> void
a(E arg0, bwe$a arg1)
restoreLeashFromSave(E arg0, Leashable$LeashData arg1)
method_60958(E arg0, class_9817$class_9818 arg1)
m_yvbpzuud(E arg0, C_gbavazgo$C_trsxpkpu arg1)
resolveLeashData(E entity, Leashable$LeashData leashData)
resolveLeashData(E entity, Leashable$LeashData data)
m_340112_(E p_343564_, C_336597_$C_336538_ p_344259_)
default void
a(boolean arg0, boolean arg1)
dropLeash(boolean arg0, boolean arg1)
method_5932(boolean arg0, boolean arg1)
m_yglfvmek(boolean arg0, boolean arg1)
detachLeash(boolean sendPacket, boolean dropItem)
detachLeash(boolean sendPacket, boolean dropItem)
m_21455_(boolean p_344806_, boolean arg1)
private static <E extends Entity extends Leashable> void
a(E arg0, boolean arg1, boolean arg2)
dropLeash(E arg0, boolean arg1, boolean arg2)
method_60959(E arg0, boolean arg1, boolean arg2)
m_zuzsbkuh(E arg0, boolean arg1, boolean arg2)
detachLeash(E entity, boolean sendPacket, boolean dropItem)
detachLeash(E entity, boolean sendPacket, boolean dropItem)
m_339838_(E p_343459_, boolean p_342580_, boolean p_344786_)
static <E extends Entity extends Leashable> void
a_(ash arg0, E arg1)
tickLeash(ServerLevel arg0, E arg1)
method_60965(class_3218 arg0, E arg1)
m_ydkqpzwu(C_bdwnwhiu arg0, E arg1)
tickLeash(ServerWorld world, E entity)
tickLeash(ServerWorld world, E entity)
m_338823_(C_12_ p_366578_, E p_343570_)
default boolean
a(bvk arg0, float arg1)
handleLeashAtDistance(Entity arg0, float arg1)
method_60956(class_1297 arg0, float arg1)
m_zkhlcdom(C_astfners arg0, float arg1)
beforeLeashTick(Entity leashHolder, float distance)
applyLongRangeBehavior(Entity holder, float distance)
m_338665_(C_507_ p_342079_, float arg1)
default void
z()
leashTooFarBehaviour()
method_60970()
m_kkwyhrvj()
detachLeash()
applyTooFarBehavior()
m_339671_()
default void
a(bvk arg0)
closeRangeLeashBehaviour(Entity arg0)
method_60963(class_1297 arg0)
m_frfgxbsb(C_astfners arg0)
onShortLeashTick(Entity entity)
applyCloseRangeBehavior(Entity entity)
m_338827_(C_507_ arg0)
default void
b(bvk arg0, float arg1)
elasticRangeLeashBehaviour(Entity arg0, float arg1)
method_61162(class_1297 arg0, float arg1)
m_ygwjgcso(C_astfners arg0, float arg1)
applyLeashElasticity(Entity leashHolder, float distance)
applyElasticRangeBehavior(Entity holder, float distance)
m_339176_(C_507_ p_342283_, float arg1)
private static <E extends Entity extends Leashable> void
a(E arg0, bvk arg1, float arg2)
legacyElasticRangeLeashBehaviour(E arg0, Entity arg1, float arg2)
method_61161(E arg0, class_1297 arg1, float arg2)
m_ssfsnjwp(E arg0, C_astfners arg1, float arg2)
applyLeashElasticity(E entity, Entity leashHolder, float distance)
applyLegacyElasticity(E entity, Entity holder, float distance)
m_338797_(E p_342325_, C_507_ p_343749_, float p_343654_)
default void
b(bvk arg0, boolean arg1)
setLeashedTo(Entity arg0, boolean arg1)
method_60964(class_1297 arg0, boolean arg1)
m_epgfrqcc(C_astfners arg0, boolean arg1)
attachLeash(Entity leashHolder, boolean sendPacket)
attachLeash(Entity entity, boolean sendPacket)
m_340273_(C_507_ p_342255_, boolean arg1)
private static <E extends Entity extends Leashable> void
a(E arg0, bvk arg1, boolean arg2)
setLeashedTo(E arg0, Entity arg1, boolean arg2)
method_60957(E arg0, class_1297 arg1, boolean arg2)
m_ovrpaqfw(E arg0, C_astfners arg1, boolean arg2)
attachLeash(E entity, Entity leashHolder, boolean sendPacket)
attachLeash(E entity, Entity leashHolder, boolean sendPacket)
m_339256_(E p_342775_, C_507_ p_342643_, boolean p_343557_)
default Entity
A()
getLeashHolder()
method_60952()
m_xkmzlwed()
getLeashHolder()
getLeashHolder()
m_340614_()
private static <E extends Entity extends Leashable> Entity
b(E arg0)
getLeashHolder(E arg0)
method_60966(E arg0)
m_gnuhezcf(E arg0)
getLeashHolder(E entity)
getLeashHolder(E leashed)
m_339450_(E p_342282_)