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:
CommandSource
- Mappings:
Namespace Name official xtintermediary net/minecraft/class_1698named net/minecraft/entity/decoration/LeashKnotEntity
-
Field Summary
Fields inherited from class net.minecraft.entity.decoration.AbstractDecorationEntity
direction, posFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LeashKnotEntityfloatintstatic LeashKnotEntitygetOrCreate(World world, BlockPos pos) intgetWidth()booleanbooleanmethod_6100(PlayerEntity playerEntity, ItemStack itemStack, Hand hand) voidvoidonPlace()voidbooleansaveToNbt(NbtCompound nbt) voidsetDirection(Direction direction) booleanshouldRender(double distance) protected voidvoidupdatePosition(double x, double y, double z) voidMethods inherited from class net.minecraft.entity.decoration.AbstractDecorationEntity
addVelocity, applyMirror, applyRotation, collides, damage, dropItem, getHorizontalDirection, getTilePos, handleAttack, initDataTracker, move, onLightningStrike, shouldSetPositionOnLoad, tickMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAddPassenger, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, copyPosition, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, entityDataRequiresOperator, equals, equip, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslatedName, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10965, method_12976, method_12984, method_12985, method_12991, method_13003, method_6097, method_6344, onKilledOther, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setStat, setUuid, setVelocityClient, setWorld, setYaw, shouldRender, shouldRenderName, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, stopRiding, teleportRequested, tickFire, tickNetherPortalCooldown, tickRiding, toListNbt, toListNbt, toNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePositionAndAngles, updateSubmergedInWaterState, updateTrackedPositionAndAngles, updateVelocity, updateWaterState
-
Constructor Details
-
LeashKnotEntity
- Mappings:
Namespace Name Mixin selector official <init>Lrr;<init>(Laht;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
LeashKnotEntity
- Mappings:
Namespace Name Mixin selector official <init>Lxr;<init>(Laht;Lcl;)Vintermediary <init>Lnet/minecraft/class_1396;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed <init>Lnet/minecraft/entity/decoration/AbstractDecorationEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
-
Method Details
-
updatePosition
public void updatePosition(double x, double y, double z) - Overrides:
updatePositionin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official bLrr;b(DDD)Vintermediary method_2522Lnet/minecraft/class_864;method_2522(DDD)Vnamed updatePositionLnet/minecraft/entity/Entity;updatePosition(DDD)V
-
updateAttachmentPosition
protected void updateAttachmentPosition()- Overrides:
updateAttachmentPositionin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official jLxr;j()Vintermediary method_11149Lnet/minecraft/class_1396;method_11149()Vnamed updateAttachmentPositionLnet/minecraft/entity/decoration/AbstractDecorationEntity;updateAttachmentPosition()V
-
setDirection
- Overrides:
setDirectionin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official aLxr;a(Lcs;)Vintermediary method_11147Lnet/minecraft/class_1396;method_11147(Lnet/minecraft/class_1354;)Vnamed setDirectionLnet/minecraft/entity/decoration/AbstractDecorationEntity;setDirection(Lnet/minecraft/util/math/Direction;)V
-
getWidth
public int getWidth()- Specified by:
getWidthin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official lLxr;l()Iintermediary method_4462Lnet/minecraft/class_1396;method_4462()Inamed getWidthLnet/minecraft/entity/decoration/AbstractDecorationEntity;getWidth()I
-
getHeight
public int getHeight()- Specified by:
getHeightin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official nLxr;n()Iintermediary method_4463Lnet/minecraft/class_1396;method_4463()Inamed getHeightLnet/minecraft/entity/decoration/AbstractDecorationEntity;getHeight()I
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official boLrr;bo()Fintermediary method_2544Lnet/minecraft/class_864;method_2544()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
shouldRender
- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLrr;a(D)Zintermediary method_2486Lnet/minecraft/class_864;method_2486(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
onBreak
- Specified by:
onBreakin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official aLxr;a(Lrr;)Vintermediary method_6101Lnet/minecraft/class_1396;method_6101(Lnet/minecraft/class_864;)Vnamed onBreakLnet/minecraft/entity/decoration/AbstractDecorationEntity;onBreak(Lnet/minecraft/entity/Entity;)V
-
saveToNbt
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official bLrr;b(Ldq;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official aLrr;a(Ldq;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_6100
- Overrides:
method_6100in classEntity- Mappings:
Namespace Name Mixin selector official aLrr;a(Lzj;Ladq;Lqm;)Zintermediary method_6100Lnet/minecraft/class_864;method_6100(Lnet/minecraft/class_988;Lnet/minecraft/class_1071;Lnet/minecraft/class_2961;)Znamed method_6100Lnet/minecraft/entity/Entity;method_6100(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)Z
-
isPosValid
public boolean isPosValid()- Overrides:
isPosValidin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official kLxr;k()Zintermediary method_4461Lnet/minecraft/class_1396;method_4461()Znamed isPosValidLnet/minecraft/entity/decoration/AbstractDecorationEntity;isPosValid()Z
-
create
- Mappings:
Namespace Name Mixin selector official aLxt;a(Laht;Lcl;)Lxt;intermediary method_11153Lnet/minecraft/class_1698;method_11153(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Lnet/minecraft/class_1698;named createLnet/minecraft/entity/decoration/LeashKnotEntity;create(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/decoration/LeashKnotEntity;
-
getOrCreate
- Mappings:
Namespace Name Mixin selector official bLxt;b(Laht;Lcl;)Lxt;intermediary method_11154Lnet/minecraft/class_1698;method_11154(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Lnet/minecraft/class_1698;named getOrCreateLnet/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:
onPlacein classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official oLxr;o()Vintermediary method_13209Lnet/minecraft/class_1396;method_13209()Vnamed onPlaceLnet/minecraft/entity/decoration/AbstractDecorationEntity;onPlace()V
-