Package net.minecraft.entity.decoration
Class LeadKnotEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.decoration.DecorationEntity
net.minecraft.entity.decoration.LeadKnotEntity
- All Implemented Interfaces:
CommandSource
public class LeadKnotEntity extends DecorationEntity
- Mappings:
Namespace Name official upintermediary net/minecraft/class_1884named net/minecraft/entity/decoration/LeadKnotEntity
-
Field Summary
Fields inherited from class net.minecraft.entity.decoration.DecorationEntity
direction, posFields inherited from class net.minecraft.entity.Entity
changingDimension, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_7357, field_7362, field_7363, field_7364, field_7365, field_7370, field_7390, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors Constructor Description LeadKnotEntity(World world)LeadKnotEntity(World world, BlockPos pos) -
Method Summary
Modifier and Type Method Description voiddeserialize(CompoundTag tag)floatgetEyeHeight()intgetHeight()static LeadKnotEntitygetOrCreate(World world, BlockPos pos)intgetWidth()protected voidinitDataTracker()booleanisPosValid()booleanmethod_7020(CompoundTag compoundTag)voidmethod_7725(Entity entity)static LeadKnotEntitymethod_7740(World world, BlockPos blockPos)booleanopenInventory(PlayerEntity player)voidserialize(CompoundTag tag)voidsetDirection(Direction direction)booleanshouldRender(double distance)Methods inherited from class net.minecraft.entity.decoration.DecorationEntity
addVelocity, collides, damage, getHorizontalDirection, getTilePos, handleAttack, move, shouldSetPositionOnLoad, tick, updatePositionMethods inherited from class net.minecraft.entity.Entity
afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canClimb, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, destroy, doesNotCollide, doesRenderOnFire, equals, equip, extinguish, fall, fromClientTag, fromTag, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getTranslationKey, getUuid, getWorld, handleFallDamage, handleStatus, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAlive, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTouchingWater, kill, method_6912, method_6924, method_6926, method_6939, method_6940, method_6943, method_6944, method_6945, method_6948, method_6949, method_6968, method_6971, method_6977, method_6981, method_6984, method_6985, method_6994, method_6998, method_7008, method_7049, method_7051, method_7058, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToTag, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setStat, setSwimming, setVelocityClient, setWorld, setYaw, shouldRender, shouldRenderName, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, startRiding, teleportToDimension, tickFire, tickRiding, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePositionAndAngles, updateTrackedPositionAndAngles, writePlayerData
-
Constructor Details
-
LeadKnotEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
LeadKnotEntity
- Mappings:
Namespace Name Mixin selector official <init>Lun;<init>(Ladm;Lcj;)Vintermediary <init>Lnet/minecraft/class_1882;<init>(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Vnamed <init>Lnet/minecraft/entity/decoration/DecorationEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classDecorationEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_7043Lnet/minecraft/class_1745;method_7043()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
setDirection
- Overrides:
setDirectionin classDecorationEntity- Mappings:
Namespace Name Mixin selector official aLun;a(Lcq;)Vintermediary method_7724Lnet/minecraft/class_1882;method_7724(Lnet/minecraft/class_1383;)Vnamed setDirectionLnet/minecraft/entity/decoration/DecorationEntity;setDirection(Lnet/minecraft/util/math/Direction;)V
-
getWidth
public int getWidth()- Specified by:
getWidthin classDecorationEntity- Mappings:
Namespace Name Mixin selector official lLun;l()Iintermediary method_7727Lnet/minecraft/class_1882;method_7727()Inamed getWidthLnet/minecraft/entity/decoration/DecorationEntity;getWidth()I
-
getHeight
public int getHeight()- Specified by:
getHeightin classDecorationEntity- Mappings:
Namespace Name Mixin selector official mLun;m()Iintermediary method_7728Lnet/minecraft/class_1882;method_7728()Inamed getHeightLnet/minecraft/entity/decoration/DecorationEntity;getHeight()I
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official aSLpk;aS()Fintermediary method_6965Lnet/minecraft/class_1745;method_6965()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
shouldRender
- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(D)Zintermediary method_6917Lnet/minecraft/class_1745;method_6917(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
method_7725
- Specified by:
method_7725in classDecorationEntity- Mappings:
Namespace Name Mixin selector official bLun;b(Lpk;)Vintermediary method_7725Lnet/minecraft/class_1882;method_7725(Lnet/minecraft/class_1745;)Vnamed method_7725Lnet/minecraft/entity/decoration/DecorationEntity;method_7725(Lnet/minecraft/entity/Entity;)V
-
method_7020
- Overrides:
method_7020in classEntity- Mappings:
Namespace Name Mixin selector official dLpk;d(Ldn;)Zintermediary method_7020Lnet/minecraft/class_1745;method_7020(Lnet/minecraft/class_1405;)Znamed method_7020Lnet/minecraft/entity/Entity;method_7020(Lnet/minecraft/nbt/CompoundTag;)Z
-
serialize
- Overrides:
serializein classDecorationEntity- Mappings:
Namespace Name Mixin selector official bLpk;b(Ldn;)Vintermediary method_7003Lnet/minecraft/class_1745;method_7003(Lnet/minecraft/class_1405;)Vnamed serializeLnet/minecraft/entity/Entity;serialize(Lnet/minecraft/nbt/CompoundTag;)V
-
deserialize
- Overrides:
deserializein classDecorationEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_6933Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)Vnamed deserializeLnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
-
openInventory
- Overrides:
openInventoryin classEntity- Mappings:
Namespace Name Mixin selector official eLpk;e(Lwn;)Zintermediary method_7028Lnet/minecraft/class_1745;method_7028(Lnet/minecraft/class_1963;)Znamed openInventoryLnet/minecraft/entity/Entity;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
isPosValid
public boolean isPosValid()- Overrides:
isPosValidin classDecorationEntity- Mappings:
Namespace Name Mixin selector official jLun;j()Zintermediary method_7726Lnet/minecraft/class_1882;method_7726()Znamed isPosValidLnet/minecraft/entity/decoration/DecorationEntity;isPosValid()Z
-
method_7740
- Mappings:
Namespace Name Mixin selector official aLup;a(Ladm;Lcj;)Lup;intermediary method_7740Lnet/minecraft/class_1884;method_7740(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Lnet/minecraft/class_1884;named method_7740Lnet/minecraft/entity/decoration/LeadKnotEntity;method_7740(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/decoration/LeadKnotEntity;
-
getOrCreate
- Mappings:
Namespace Name Mixin selector official bLup;b(Ladm;Lcj;)Lup;intermediary method_7741Lnet/minecraft/class_1884;method_7741(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Lnet/minecraft/class_1884;named getOrCreateLnet/minecraft/entity/decoration/LeadKnotEntity;getOrCreate(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/decoration/LeadKnotEntity;
-