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:
CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official bgx
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.MoveEffect, 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, FALL_FLYING_FLAG_INDEX, fallDistance, field_28627, field_29973, field_29974, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
ConstructorDescriptionLeashKnotEntity
(EntityType<? extends LeashKnotEntity> type, World world) LeashKnotEntity
(World world, BlockPos pos) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Packet<?>
protected float
getEyeHeight
(EntityPose pose, EntityDimensions dimensions) int
static LeashKnotEntity
getOrCreate
(World world, BlockPos pos) int
interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.method_30951
(float float2) void
void
onPlace()
void
void
boolean
shouldRender
(double distance) protected void
void
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
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, animateDamage, applyDamageEffects, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, fall, getAir, getArmorItems, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getSwimHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getX, getY, getYaw, 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, isGlowingLocal, isImmuneToExplosion, isInLava, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playExtinguishSound, playSound, playStepSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendSystemMessage, setAir, setBodyYaw, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPos, setPose, setPosition, 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, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
field_30455
public static final double field_30455- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lbgx;e:D
intermediary field_30455
Lnet/minecraft/class_1532;field_30455:D
named field_30455
Lnet/minecraft/entity/decoration/LeashKnotEntity;field_30455:D
-
-
Constructor Details
-
LeashKnotEntity
- Mappings:
Namespace Name Mixin selector official <init>
Latf;<init>(Latj;Lbwp;)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>
Lbgx;<init>(Lbwp;Lgg;)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 p
Lbgv;p()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
Lbgv;a(Lgl;)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 r
Lbgv;r()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 s
Lbgv;s()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
Latf;a(Lauf;Latg;)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
public boolean shouldRender(double distance) - Overrides:
shouldRender
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;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
Lbgv;a(Latf;)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
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbt
in classAbstractDecorationEntity
- Mappings:
Namespace Name Mixin selector official b
Latf;b(Lna;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbt
in classAbstractDecorationEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Lna;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)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
Latf;a(Lbkd;Larz;)Lasa;
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 q
Lbgv;q()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 b
Lbgx;b(Lbwp;Lgg;)Lbgx;
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 t
Lbgv;t()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
Latf;P()Lpk;
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
Latf;n(F)Ldna;
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 df
Latf;df()Lbqp;
intermediary method_31480
Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;
named getPickBlockStack
Lnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;
-