Package net.minecraft.entity.decoration
Class LeashKnotEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.decoration.AbstractDecorationEntity
net.minecraft.entity.decoration.LeashKnotEntity
- All Implemented Interfaces:
EntityLike
,CommandOutput
,Nameable
public class LeashKnotEntity extends AbstractDecorationEntity
- Mappings:
Namespace Name official bef
intermediary net/minecraft/class_1532
named net/minecraft/entity/decoration/LeashKnotEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_5799, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Fields inherited from class net.minecraft.entity.decoration.AbstractDecorationEntity
attachmentPos, facing, PREDICATE
Fields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yaw
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
Constructors Constructor Description LeashKnotEntity(EntityType<? extends LeashKnotEntity> type, World world)
LeashKnotEntity(World world, BlockPos pos)
-
Method Summary
Modifier and Type Method Description boolean
canStayAttached()
Packet<?>
createSpawnPacket()
protected float
getEyeHeight(EntityPose pose, EntityDimensions dimensions)
int
getHeightPixels()
static LeashKnotEntity
getOrCreate(World world, BlockPos pos)
ItemStack
getPickBlockStack()
int
getWidthPixels()
ActionResult
interact(PlayerEntity player, Hand hand)
Called when a player interacts with this entity.Vec3d
method_30951(float float2)
void
onBreak(Entity entity)
void
onPlace()
void
readCustomDataFromTag(CompoundTag tag)
void
setFacing(Direction facing)
boolean
shouldRender(double distance)
protected void
updateAttachmentPosition()
void
writeCustomDataToTag(CompoundTag tag)
Methods inherited from class net.minecraft.entity.decoration.AbstractDecorationEntity
addVelocity, applyMirror, applyRotation, calculateDimensions, collides, damage, dropStack, getDecorationBlockPos, getHorizontalFacing, handleAttack, initDataTracker, move, onStruckByLightning, setPosition, shouldSetPositionOnLoad, tick
Methods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, animateDamage, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFly, canFreeze, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, fall, fromTag, getAir, getArmorItems, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getX, getY, getYaw, getZ, handleFallDamage, handleStatus, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushable, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, method_29241, method_29919, method_30330, method_30633, method_31744, method_32318, method_32877, method_33332, method_33567, method_33568, method_33569, method_33570, method_33571, method_33573, method_33574, method_33575, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playFlySound, playSound, playStepSound, playSwimSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, raycast, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, scheduleVelocityUpdate, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPos, setPose, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRenderName, shouldSave, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, startRiding, stopRiding, streamPassengers, streamPassengersRecursively, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toListTag, toListTag, toString, toTag, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide
-
Constructor Details
-
LeashKnotEntity
- Mappings:
Namespace Name Mixin selector official <init>
Laqv;<init>(Laqz;Lbtv;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
LeashKnotEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbef;<init>(Lbtv;Lfx;)V
intermediary <init>
Lnet/minecraft/class_1532;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
named <init>
Lnet/minecraft/entity/decoration/LeashKnotEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
-
Method Details
-
updateAttachmentPosition
protected void updateAttachmentPosition()- Overrides:
updateAttachmentPosition
in classAbstractDecorationEntity
- Mappings:
Namespace Name Mixin selector official g
Lbed;g()V
intermediary method_6895
Lnet/minecraft/class_1530;method_6895()V
named updateAttachmentPosition
Lnet/minecraft/entity/decoration/AbstractDecorationEntity;updateAttachmentPosition()V
-
setFacing
- Overrides:
setFacing
in classAbstractDecorationEntity
- Mappings:
Namespace Name Mixin selector official a
Lbed;a(Lgc;)V
intermediary method_6892
Lnet/minecraft/class_1530;method_6892(Lnet/minecraft/class_2350;)V
named setFacing
Lnet/minecraft/entity/decoration/AbstractDecorationEntity;setFacing(Lnet/minecraft/util/math/Direction;)V
-
getWidthPixels
public int getWidthPixels()- Specified by:
getWidthPixels
in classAbstractDecorationEntity
- Mappings:
Namespace Name Mixin selector official i
Lbed;i()I
intermediary method_6897
Lnet/minecraft/class_1530;method_6897()I
named getWidthPixels
Lnet/minecraft/entity/decoration/AbstractDecorationEntity;getWidthPixels()I
-
getHeightPixels
public int getHeightPixels()- Specified by:
getHeightPixels
in classAbstractDecorationEntity
- Mappings:
Namespace Name Mixin selector official k
Lbed;k()I
intermediary method_6891
Lnet/minecraft/class_1530;method_6891()I
named getHeightPixels
Lnet/minecraft/entity/decoration/AbstractDecorationEntity;getHeightPixels()I
-
getEyeHeight
- Overrides:
getEyeHeight
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lart;Laqw;)F
intermediary method_18378
Lnet/minecraft/class_1297;method_18378(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
named getEyeHeight
Lnet/minecraft/entity/Entity;getEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
shouldRender
- Overrides:
shouldRender
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(D)Z
intermediary method_5640
Lnet/minecraft/class_1297;method_5640(D)Z
named shouldRender
Lnet/minecraft/entity/Entity;shouldRender(D)Z
-
onBreak
- Specified by:
onBreak
in classAbstractDecorationEntity
- Mappings:
Namespace Name Mixin selector official a
Lbed;a(Laqv;)V
intermediary method_6889
Lnet/minecraft/class_1530;method_6889(Lnet/minecraft/class_1297;)V
named onBreak
Lnet/minecraft/entity/decoration/AbstractDecorationEntity;onBreak(Lnet/minecraft/entity/Entity;)V
-
writeCustomDataToTag
- Overrides:
writeCustomDataToTag
in classAbstractDecorationEntity
- Mappings:
Namespace Name Mixin selector official b
Laqv;b(Lmq;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToTag
Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromTag
- Overrides:
readCustomDataFromTag
in classAbstractDecorationEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lmq;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromTag
Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
interact
Called when a player interacts with this entity.- Overrides:
interact
in classEntity
- Parameters:
player
- the playerhand
- the hand the player used to interact with this entity- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lbhl;Lapp;)Lapq;
intermediary method_5688
Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
named interact
Lnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
canStayAttached
public boolean canStayAttached()- Overrides:
canStayAttached
in classAbstractDecorationEntity
- Mappings:
Namespace Name Mixin selector official h
Lbed;h()Z
intermediary method_6888
Lnet/minecraft/class_1530;method_6888()Z
named canStayAttached
Lnet/minecraft/entity/decoration/AbstractDecorationEntity;canStayAttached()Z
-
getOrCreate
- Mappings:
Namespace Name Mixin selector official a
Lbef;a(Lbtv;Lfx;)Lbef;
intermediary method_6932
Lnet/minecraft/class_1532;method_6932(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1532;
named getOrCreate
Lnet/minecraft/entity/decoration/LeashKnotEntity;getOrCreate(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/decoration/LeashKnotEntity;
-
onPlace
public void onPlace()- Specified by:
onPlace
in classAbstractDecorationEntity
- Mappings:
Namespace Name Mixin selector official m
Lbed;m()V
intermediary method_6894
Lnet/minecraft/class_1530;method_6894()V
named onPlace
Lnet/minecraft/entity/decoration/AbstractDecorationEntity;onPlace()V
-
createSpawnPacket
- Specified by:
createSpawnPacket
in classEntity
- Mappings:
Namespace Name Mixin selector official P
Laqv;P()Lpa;
intermediary method_18002
Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
named createSpawnPacket
Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-
method_30951
- Overrides:
method_30951
in classEntity
- Mappings:
Namespace Name Mixin selector official n
Laqv;n(F)Ldiu;
intermediary method_30951
Lnet/minecraft/class_1297;method_30951(F)Lnet/minecraft/class_243;
named method_30951
Lnet/minecraft/entity/Entity;method_30951(F)Lnet/minecraft/util/math/Vec3d;
-
getPickBlockStack
- Overrides:
getPickBlockStack
in classEntity
- Mappings:
Namespace Name Mixin selector official cY
Laqv;cY()Lbnv;
intermediary method_31480
Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;
named getPickBlockStack
Lnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;
-