Package net.minecraft.entity.passive
Class SquidEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.mob.WaterCreatureEntity
net.minecraft.entity.passive.SquidEntity
- All Implemented Interfaces:
CommandSource,EntityCategoryProvider
public class SquidEntity extends WaterCreatureEntity
- Mappings:
Namespace Name official txintermediary net/minecraft/class_1867named net/minecraft/entity/passive/SquidEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classSquidEntity.SwimGoalNested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
Fields Modifier and Type Field Description private floatconstantVelocityRateprivate floatconstantVelocityXprivate floatconstantVelocityYprivate floatconstantVelocityZfloatfield_7962floatfield_7963floatfield_7964floatfield_7965floatfield_7966floatfield_7967floatfield_7968private floatfield_7970private floatfield_7971floatfield_7975Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_7434, field_7435, field_7436, field_7438, field_7439, field_7456, field_7457, field_7458, field_7462, field_7463, field_7472, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields 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 SquidEntity(World world) -
Method Summary
Modifier and Type Method Description protected booleancanClimb()protected StringgetAmbientSound()protected StringgetDeathSound()protected ItemgetDefaultDrop()floatgetEyeHeight()protected StringgetHurtSound()voidhandleStatus(byte status)booleanhasConstantVelocity()protected voidinitializeAttributes()booleanisTouchingWater()Returns whether this entity's hitbox is touching water fluid.protected voidmethod_7106(boolean bool, int int2)protected floatmethod_7108()voidmethod_7154(float float2, float float3)booleanmethod_7202()voidsetConstantVelocity(float float2, float float3, float float4)voidtickMovement()Methods inherited from class net.minecraft.entity.mob.WaterCreatureEntity
baseTick, canFly, getMinAmbientSoundDelay, method_7098, method_7104, method_7184, method_7203Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, canAttackEntity, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, deserialize, detachLeash, equip, getArmorStacks, getAttackTarget, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getVisibilityCache, hasNoAi, hasPositionTarget, initDataTracker, initEquipment, isPersistent, isTameable, lookAtEntity, loot, method_7096, method_7156, method_7164, method_7177, method_7187, method_7188, method_7191, method_7195, method_7204, method_7206, method_7210, method_7214, mobTick, newNavigation, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, serialize, setAiDisabled, setArmorSlot, setAttackTarget, setCanPickUpLoot, setForwardSpeed, setPersistent, tick, tickNewAi, updateEnchantments, updateLeashMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyDamage, canSee, clearStatusEffects, collides, damage, damageArmor, destroy, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttributeContainer, getDamageEnchantmentTarget, getDamageTracker, getEffectInstance, getFallSound, getHandSwingProgress, getHeadRotation, getHealth, getLastHurtTimestamp, getMaxHealth, getRandom, getRotationVector, getScoreboardTeam, getStuckArrows, handleFallDamage, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isInSameTeam, isInTeam, isPushable, isSleeping, jump, kill, markEffectsDirty, method_6985, method_7087, method_7091, method_7092, method_7093, method_7099, method_7100, method_7102, method_7105, method_7109, method_7110, method_7111, method_7113, method_7114, method_7115, method_7118, method_7123, method_7124, method_7126, method_7128, method_7129, method_7130, method_7132, method_7134, method_7139, method_7142, method_7146, method_7149, method_7153, method_7162, method_7166, method_7171, method_7176, method_7178, method_7179, onKilled, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldRenderName, startRiding, swingHand, tickRiding, tickStatusEffects, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, burn, canAvoidTraps, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, doesNotCollide, doesRenderOnFire, equals, extinguish, fromClientTag, fromTag, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, getRotationVector, getSavedEntityId, getSplashSound, getSwimSound, getTranslationKey, getUuid, getWorld, handleAttack, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, 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_6994, method_6998, method_7008, method_7020, method_7049, method_7051, method_7058, move, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToTag, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setStat, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, teleportToDimension, tickFire, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePosition, updatePositionAndAngles, writePlayerData
-
Field Details
-
field_7962
public float field_7962- Mappings:
Namespace Name Mixin selector official aLtx;a:Fintermediary field_7962Lnet/minecraft/class_1867;field_7962:Fnamed field_7962Lnet/minecraft/entity/passive/SquidEntity;field_7962:F
-
field_7963
public float field_7963- Mappings:
Namespace Name Mixin selector official bLtx;b:Fintermediary field_7963Lnet/minecraft/class_1867;field_7963:Fnamed field_7963Lnet/minecraft/entity/passive/SquidEntity;field_7963:F
-
field_7975
public float field_7975- Mappings:
Namespace Name Mixin selector official cLtx;c:Fintermediary field_7975Lnet/minecraft/class_1867;field_7975:Fnamed field_7975Lnet/minecraft/entity/passive/SquidEntity;field_7975:F
-
field_7964
public float field_7964- Mappings:
Namespace Name Mixin selector official bkLtx;bk:Fintermediary field_7964Lnet/minecraft/class_1867;field_7964:Fnamed field_7964Lnet/minecraft/entity/passive/SquidEntity;field_7964:F
-
field_7965
public float field_7965- Mappings:
Namespace Name Mixin selector official blLtx;bl:Fintermediary field_7965Lnet/minecraft/class_1867;field_7965:Fnamed field_7965Lnet/minecraft/entity/passive/SquidEntity;field_7965:F
-
field_7966
public float field_7966- Mappings:
Namespace Name Mixin selector official bmLtx;bm:Fintermediary field_7966Lnet/minecraft/class_1867;field_7966:Fnamed field_7966Lnet/minecraft/entity/passive/SquidEntity;field_7966:F
-
field_7967
public float field_7967- Mappings:
Namespace Name Mixin selector official bnLtx;bn:Fintermediary field_7967Lnet/minecraft/class_1867;field_7967:Fnamed field_7967Lnet/minecraft/entity/passive/SquidEntity;field_7967:F
-
field_7968
public float field_7968- Mappings:
Namespace Name Mixin selector official boLtx;bo:Fintermediary field_7968Lnet/minecraft/class_1867;field_7968:Fnamed field_7968Lnet/minecraft/entity/passive/SquidEntity;field_7968:F
-
constantVelocityRate
private float constantVelocityRate- Mappings:
Namespace Name Mixin selector official bpLtx;bp:Fintermediary field_7969Lnet/minecraft/class_1867;field_7969:Fnamed constantVelocityRateLnet/minecraft/entity/passive/SquidEntity;constantVelocityRate:F
-
field_7970
private float field_7970- Mappings:
Namespace Name Mixin selector official bqLtx;bq:Fintermediary field_7970Lnet/minecraft/class_1867;field_7970:Fnamed field_7970Lnet/minecraft/entity/passive/SquidEntity;field_7970:F
-
field_7971
private float field_7971- Mappings:
Namespace Name Mixin selector official brLtx;br:Fintermediary field_7971Lnet/minecraft/class_1867;field_7971:Fnamed field_7971Lnet/minecraft/entity/passive/SquidEntity;field_7971:F
-
constantVelocityX
private float constantVelocityX- Mappings:
Namespace Name Mixin selector official bsLtx;bs:Fintermediary field_7972Lnet/minecraft/class_1867;field_7972:Fnamed constantVelocityXLnet/minecraft/entity/passive/SquidEntity;constantVelocityX:F
-
constantVelocityY
private float constantVelocityY- Mappings:
Namespace Name Mixin selector official btLtx;bt:Fintermediary field_7973Lnet/minecraft/class_1867;field_7973:Fnamed constantVelocityYLnet/minecraft/entity/passive/SquidEntity;constantVelocityY:F
-
constantVelocityZ
private float constantVelocityZ- Mappings:
Namespace Name Mixin selector official buLtx;bu:Fintermediary field_7974Lnet/minecraft/class_1867;field_7974:Fnamed constantVelocityZLnet/minecraft/entity/passive/SquidEntity;constantVelocityZ:F
-
-
Constructor Details
-
SquidEntity
- 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
-
-
Method Details
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classMobEntity- Mappings:
Namespace Name Mixin selector official aXLpr;aX()Vintermediary method_7097Lnet/minecraft/class_1752;method_7097()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
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
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official zLps;z()Ljava/lang/String;intermediary method_7231Lnet/minecraft/class_1753;method_7231()Ljava/lang/String;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official boLpr;bo()Ljava/lang/String;intermediary method_7137Lnet/minecraft/class_1752;method_7137()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official bpLpr;bp()Ljava/lang/String;intermediary method_7138Lnet/minecraft/class_1752;method_7138()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
method_7108
protected float method_7108()- Overrides:
method_7108in classLivingEntity- Mappings:
Namespace Name Mixin selector official bBLpr;bB()Fintermediary method_7108Lnet/minecraft/class_1752;method_7108()Fnamed method_7108Lnet/minecraft/entity/LivingEntity;method_7108()F
-
getDefaultDrop
- Overrides:
getDefaultDropin classMobEntity- Mappings:
Namespace Name Mixin selector official ALps;A()Lzw;intermediary method_7183Lnet/minecraft/class_1753;method_7183()Lnet/minecraft/class_2054;named getDefaultDropLnet/minecraft/entity/mob/MobEntity;getDefaultDrop()Lnet/minecraft/item/Item;
-
canClimb
protected boolean canClimb() -
method_7106
protected void method_7106(boolean bool, int int2)- Overrides:
method_7106in classMobEntity- Mappings:
Namespace Name Mixin selector official bLpr;b(ZI)Vintermediary method_7106Lnet/minecraft/class_1752;method_7106(ZI)Vnamed method_7106Lnet/minecraft/entity/LivingEntity;method_7106(ZI)V
-
isTouchingWater
public boolean isTouchingWater()Returns whether this entity's hitbox is touching water fluid.- Overrides:
isTouchingWaterin classEntity- Mappings:
Namespace Name Mixin selector official VLpk;V()Zintermediary method_6911Lnet/minecraft/class_1745;method_6911()Znamed isTouchingWaterLnet/minecraft/entity/Entity;isTouchingWater()Z
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classMobEntity- Mappings:
Namespace Name Mixin selector official mLpr;m()Vintermediary method_7169Lnet/minecraft/class_1752;method_7169()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
method_7154
public void method_7154(float float2, float float3)- Overrides:
method_7154in classLivingEntity- Mappings:
Namespace Name Mixin selector official gLpr;g(FF)Vintermediary method_7154Lnet/minecraft/class_1752;method_7154(FF)Vnamed method_7154Lnet/minecraft/entity/LivingEntity;method_7154(FF)V
-
method_7202
public boolean method_7202()- Overrides:
method_7202in classWaterCreatureEntity- Mappings:
Namespace Name Mixin selector official bRLps;bR()Zintermediary method_7202Lnet/minecraft/class_1753;method_7202()Znamed method_7202Lnet/minecraft/entity/mob/MobEntity;method_7202()Z
-
handleStatus
- Overrides:
handleStatusin classMobEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(B)Vintermediary method_6916Lnet/minecraft/class_1745;method_6916(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
setConstantVelocity
public void setConstantVelocity(float float2, float float3, float float4)- Mappings:
Namespace Name Mixin selector official bLtx;b(FFF)Vintermediary method_7642Lnet/minecraft/class_1867;method_7642(FFF)Vnamed setConstantVelocityLnet/minecraft/entity/passive/SquidEntity;setConstantVelocity(FFF)V
-
hasConstantVelocity
public boolean hasConstantVelocity()- Mappings:
Namespace Name Mixin selector official nLtx;n()Zintermediary method_7643Lnet/minecraft/class_1867;method_7643()Znamed hasConstantVelocityLnet/minecraft/entity/passive/SquidEntity;hasConstantVelocity()Z
-