History - net.minecraft.entity.Leashable

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

boolean (Predicate, Entity): lambda$leashableInArea$1, method_71000, method_71000

boolean (Predicate, Entity): lambda$leashableInArea$0, method_71000, method_71000

1.21.11_unobfuscated

Names

net.minecraft.world.entity.Leashable

net.minecraft.class_9817

net.minecraft.entity.Leashable

Fields

String: LEASH_TAG, field_52216, LEASH_NBT_KEY

double: LEASH_TOO_FAR_DIST, field_52314, DEFAULT_SNAPPING_DISTANCE

double: LEASH_ELASTIC_DIST, field_52315, DEFAULT_ELASTIC_DISTANCE

double: MAXIMUM_ALLOWED_LEASHED_DIST, field_60003, field_60003

Vec3d: AXIS_SPECIFIC_ELASTICITY, field_60004, ELASTICITY_MULTIPLIER

float: SPRING_DAMPENING, field_59997, field_59997

double: TORSIONAL_ELASTICITY, field_59998, field_59998

double: STIFFNESS, field_59999, field_59999

List<Vec3d>: ENTITY_ATTACHMENT_POINT, field_60000, HELD_ENTITY_ATTACHMENT_POINT

List<Vec3d>: LEASHER_ATTACHMENT_POINT, field_60001, LEASH_HOLDER_ATTACHMENT_POINT

List<Vec3d>: SHARED_QUAD_ATTACHMENT_POINTS, field_60002, QUAD_LEASH_ATTACHMENT_POINTS

Constructors

Methods

Leashable$LeashData (): getLeashData, method_60955, getLeashData

void (Leashable$LeashData): setLeashData, method_60960, setLeashData

boolean (): isLeashed, method_60953, isLeashed

boolean (): mayBeLeashed, method_60954, mightBeLeashed

boolean (Entity): canHaveALeashAttachedTo, method_71002, canBeLeashedTo

double (Entity): leashDistanceTo, method_71001, getDistanceToCenter

boolean (): canBeLeashed, method_5931, canBeLeashed

void (int): setDelayedLeashHolderId, method_60968, setUnresolvedLeashHolderId

void (ReadView): readLeashData, method_60967, readLeashData

void (WriteView, Leashable$LeashData): writeLeashData, method_60962, writeLeashData

<E extends Entity extends Leashable> void (E, Leashable$LeashData): restoreLeashFromSave, method_60958, resolveLeashData

void (): dropLeash, method_5932, detachLeash

void (): removeLeash, method_65894, detachLeashWithoutDrop

void (): onLeashRemoved, method_65895, onLeashRemoved

<E extends Entity extends Leashable> void (E, boolean, boolean): dropLeash, method_60959, detachLeash

<E extends Entity extends Leashable> void (ServerWorld, E): tickLeash, method_60965, tickLeash

void (): onElasticLeashPull, method_71006, onLongLeashTick

double (): leashSnapDistance, method_70989, getLeashSnappingDistance

double (): leashElasticDistance, method_70990, getElasticLeashDistance

<E extends Entity extends Leashable> float (E): angularFriction, method_71003, getSlipperiness

void (Entity): whenLeashedTo, method_71005, beforeLeashTick

void (): leashTooFarBehaviour, method_60970, snapLongLeash

void (Entity): closeRangeLeashBehaviour, method_60963, onShortLeashTick

boolean (Entity, Leashable$LeashData): checkElasticInteractions, method_70995, applyElasticity

Vec3d (Entity): getHolderMovement, method_71767, getLeashHolderMovement

<E extends Entity extends Leashable> List<Leashable$Elasticity> (E, Entity, List<Vec3d>, List<Vec3d>): computeElasticInteraction, method_70994, calculateLeashElasticities

Optional<Leashable$Elasticity> (Vec3d, Vec3d, double, Vec3d, Vec3d): computeDampenedSpringInteraction, method_70999, calculateLeashElasticity

boolean (): supportQuadLeash, method_70991, canUseQuadLeashAttachmentPoint

Vec3d[] (): getQuadLeashOffsets, method_70992, getQuadLeashOffsets

Vec3d[] (Entity, double, double, double, double): createQuadLeashOffsets, method_70993, createQuadLeashOffsets

Vec3d (float): getLeashOffset, method_45321, getLeashOffset

Vec3d (): getLeashOffset, method_29919, getLeashOffset

void (Entity, boolean): setLeashedTo, method_60964, attachLeash

<E extends Entity extends Leashable> void (E, Entity, boolean): setLeashedTo, method_60957, attachLeash

Entity (): getLeashHolder, method_60952, getLeashHolder

<E extends Entity extends Leashable> Entity (E): getLeashHolder, method_60966, getLeashHolder

List<Leashable> (Entity): leashableLeashedTo, method_71004, collectLeashablesHeldBy

List<Leashable> (Entity, Predicate<Leashable>): leashableInArea, method_70997, collectLeashablesAround

List<Leashable> (World, Vec3d, Predicate<Leashable>): leashableInArea, method_70998, collectLeashablesAround

boolean (Predicate, Entity): lambda$leashableInArea$1, method_71000, method_71000

boolean (Entity, Leashable): lambda$leashableLeashedTo$0, method_70996, method_70996