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
- Mappings:
Namespace Name official wnintermediary net/minecraft/class_951named net/minecraft/entity/passive/SquidEntity
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate floatprivate floatprivate floatfloatfloatfloatfloatfloatfloatfloatprivate floatfloatprivate floatFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, field_14559, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_14542, field_14543, field_14546, field_14547, field_14548, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, mainHand, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, fireResistance, firstUpdate, FLAGS, 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 TypeMethodDescriptionprotected SoundEventprotected booleancanClimb()booleancanSpawn()protected SoundEventfloatprotected Identifierprotected floatvoidhandleStatus(byte status) booleanprotected voidprotected voidbooleanReturns whether this entity's hitbox is touching water fluid.protected SoundEventstatic voidmethod_13512(class_2934 class_2934) voidsetConstantVelocity(float float2, float float3, float float4) voidvoidtravel(float float2, float float3) Methods inherited from class net.minecraft.entity.mob.WaterCreatureEntity
baseTick, canFly, canImmediatelyDespawn, getMinAmbientSoundDelay, getXpToDrop, method_2469, method_2607Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, canAttackEntity, canBeControlledByRider, canBeLeashedBy, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, dropLoot, equip, equipStack, getArmorItems, getDefaultDrop, getDurability, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMotionHelper, getNavigation, getSafeFallDistance, getTarget, getVisibilityCache, hasNoAi, initDataTracker, initEquipment, initialize, isLeashed, isPersistent, lookAtEntity, loot, method_13043, method_13044, method_13051, method_13075, method_13076, method_13077, method_13078, method_13079, method_13080, method_13081, method_13082, method_13083, method_13084, method_13086, method_13088, method_13495, method_13496, method_2638, method_4472, method_6100, method_6162, mobTick, onEatingGrass, playAmbientSound, playSpawnEffects, readCustomDataFromNbt, setAiDisabled, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, startRiding, tick, tickNewAi, turnHead, updateEnchantments, updateLeash, writeCustomDataToNbtMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canSee, clearStatusEffects, collides, damage, damageArmor, destroy, dropXp, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLandSound, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getRotationVector, getSoundPitch, getStackInHand, getStatusEffectInstances, getStuckArrows, handleFallDamage, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isPushable, isSleeping, jump, kill, markEffectsDirty, method_10979, method_10981, method_13038, method_13040, method_13041, method_13042, method_13045, method_13046, method_13050, method_13052, method_13053, method_13054, method_13055, method_13056, method_13057, method_13058, method_13059, method_13061, method_13062, method_13063, method_13064, method_13065, method_13066, method_13067, method_13071, method_13072, method_13493, method_13494, method_2582, method_2610, method_2634, method_2649, method_2658, method_3217, method_6108, method_6109, method_6111, method_6117, method_6150, method_6152, onKilled, onTrackedDataSet, pushAway, removeStatusEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldAlwaysDropXp, shouldDropXp, shouldRenderName, stopRiding, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, tryAttack, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, applyMirror, applyRotation, attemptSprintingParticles, burn, canAddPassenger, canAvoidTraps, canExplosionDestroyBlock, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, entityDataRequiresOperator, equals, extinguish, fromNbt, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVecClient, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslatedName, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, method_10965, method_12976, method_12984, method_12985, method_12991, method_13003, method_6344, move, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setStat, setUuid, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportRequested, tickFire, tickNetherPortalCooldown, toListNbt, toListNbt, toNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateVelocity, updateWaterState
-
Field Details
-
tiltAngle
public float tiltAngle- Mappings:
Namespace Name Mixin selector official aLwn;a:Fintermediary field_3716Lnet/minecraft/class_951;field_3716:Fnamed tiltAngleLnet/minecraft/entity/passive/SquidEntity;tiltAngle:F
-
prevTiltAngle
public float prevTiltAngle- Mappings:
Namespace Name Mixin selector official bLwn;b:Fintermediary field_3717Lnet/minecraft/class_951;field_3717:Fnamed prevTiltAngleLnet/minecraft/entity/passive/SquidEntity;prevTiltAngle:F
-
rollAngle
public float rollAngle- Mappings:
Namespace Name Mixin selector official cLwn;c:Fintermediary field_3718Lnet/minecraft/class_951;field_3718:Fnamed rollAngleLnet/minecraft/entity/passive/SquidEntity;rollAngle:F
-
prevRollAngle
public float prevRollAngle- Mappings:
Namespace Name Mixin selector official bvLwn;bv:Fintermediary field_3719Lnet/minecraft/class_951;field_3719:Fnamed prevRollAngleLnet/minecraft/entity/passive/SquidEntity;prevRollAngle:F
-
thrustTimer
public float thrustTimer- Mappings:
Namespace Name Mixin selector official bwLwn;bw:Fintermediary field_3720Lnet/minecraft/class_951;field_3720:Fnamed thrustTimerLnet/minecraft/entity/passive/SquidEntity;thrustTimer:F
-
prevThrustTimer
public float prevThrustTimer- Mappings:
Namespace Name Mixin selector official bxLwn;bx:Fintermediary field_3721Lnet/minecraft/class_951;field_3721:Fnamed prevThrustTimerLnet/minecraft/entity/passive/SquidEntity;prevThrustTimer:F
-
tentacleAngle
public float tentacleAngle- Mappings:
Namespace Name Mixin selector official byLwn;by:Fintermediary field_3722Lnet/minecraft/class_951;field_3722:Fnamed tentacleAngleLnet/minecraft/entity/passive/SquidEntity;tentacleAngle:F
-
prevTentacleAngle
public float prevTentacleAngle- Mappings:
Namespace Name Mixin selector official bzLwn;bz:Fintermediary field_3714Lnet/minecraft/class_951;field_3714:Fnamed prevTentacleAngleLnet/minecraft/entity/passive/SquidEntity;prevTentacleAngle:F
-
constantVelocityRate
private float constantVelocityRate- Mappings:
Namespace Name Mixin selector official bALwn;bA:Fintermediary field_3715Lnet/minecraft/class_951;field_3715:Fnamed constantVelocityRateLnet/minecraft/entity/passive/SquidEntity;constantVelocityRate:F
-
thrustTimerSpeed
private float thrustTimerSpeed- Mappings:
Namespace Name Mixin selector official bBLwn;bB:Fintermediary field_3709Lnet/minecraft/class_951;field_3709:Fnamed thrustTimerSpeedLnet/minecraft/entity/passive/SquidEntity;thrustTimerSpeed:F
-
turningSpeed
private float turningSpeed- Mappings:
Namespace Name Mixin selector official bCLwn;bC:Fintermediary field_3710Lnet/minecraft/class_951;field_3710:Fnamed turningSpeedLnet/minecraft/entity/passive/SquidEntity;turningSpeed:F
-
constantVelocityX
private float constantVelocityX- Mappings:
Namespace Name Mixin selector official bDLwn;bD:Fintermediary field_3711Lnet/minecraft/class_951;field_3711:Fnamed constantVelocityXLnet/minecraft/entity/passive/SquidEntity;constantVelocityX:F
-
constantVelocityY
private float constantVelocityY- Mappings:
Namespace Name Mixin selector official bELwn;bE:Fintermediary field_3712Lnet/minecraft/class_951;field_3712:Fnamed constantVelocityYLnet/minecraft/entity/passive/SquidEntity;constantVelocityY:F
-
constantVelocityZ
private float constantVelocityZ- Mappings:
Namespace Name Mixin selector official bFLwn;bF:Fintermediary field_3713Lnet/minecraft/class_951;field_3713:Fnamed constantVelocityZLnet/minecraft/entity/passive/SquidEntity;constantVelocityZ:F
-
-
Constructor Details
-
SquidEntity
- Mappings:
Namespace Name Mixin selector official <init>Lrw;<init>(Laid;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
method_13512
- Mappings:
Namespace Name Mixin selector official bLwn;b(Lpd;)Vintermediary method_13512Lnet/minecraft/class_951;method_13512(Lnet/minecraft/class_2934;)Vnamed method_13512Lnet/minecraft/entity/passive/SquidEntity;method_13512(Lnet/minecraft/class_2934;)V
-
initGoals
protected void initGoals() -
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classMobEntity- Mappings:
Namespace Name Mixin selector official bDLsf;bD()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official bqLrw;bq()Fintermediary method_2544Lnet/minecraft/class_864;method_2544()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
ambientSound
- Overrides:
ambientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official GLsg;G()Lni;intermediary method_2603Lnet/minecraft/class_871;method_2603()Lnet/minecraft/class_2926;named ambientSoundLnet/minecraft/entity/mob/MobEntity;ambientSound()Lnet/minecraft/client/sound/SoundEvent;
-
method_13048
- Overrides:
method_13048in classLivingEntity- Mappings:
Namespace Name Mixin selector official bVLsf;bV()Lni;intermediary method_13048Lnet/minecraft/class_1699;method_13048()Lnet/minecraft/class_2926;named method_13048Lnet/minecraft/entity/LivingEntity;method_13048()Lnet/minecraft/client/sound/SoundEvent;
-
deathSound
- Overrides:
deathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official bWLsf;bW()Lni;intermediary method_13049Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;named deathSoundLnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official chLsf;ch()Fintermediary method_2602Lnet/minecraft/class_1699;method_2602()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
canClimb
protected boolean canClimb() -
getLootTableId
- Overrides:
getLootTableIdin classMobEntity- Mappings:
Namespace Name Mixin selector official JLsg;J()Lkn;intermediary method_13074Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;named getLootTableIdLnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
-
isTouchingWater
public boolean isTouchingWater()Returns whether this entity's hitbox is touching water fluid.- Overrides:
isTouchingWaterin classEntity- Mappings:
Namespace Name Mixin selector official ajLrw;aj()Zintermediary method_2467Lnet/minecraft/class_864;method_2467()Znamed isTouchingWaterLnet/minecraft/entity/Entity;isTouchingWater()Z
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classMobEntity- Mappings:
Namespace Name Mixin selector official nLsf;n()Vintermediary method_2651Lnet/minecraft/class_1699;method_2651()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
travel
public void travel(float float2, float float3) - Overrides:
travelin classLivingEntity- Mappings:
Namespace Name Mixin selector official gLsf;g(FF)Vintermediary method_2657Lnet/minecraft/class_1699;method_2657(FF)Vnamed travelLnet/minecraft/entity/LivingEntity;travel(FF)V
-
canSpawn
public boolean canSpawn()- Overrides:
canSpawnin classWaterCreatureEntity- Mappings:
Namespace Name Mixin selector official cKLsg;cK()Zintermediary method_2637Lnet/minecraft/class_871;method_2637()Znamed canSpawnLnet/minecraft/entity/mob/MobEntity;canSpawn()Z
-
handleStatus
- Overrides:
handleStatusin classMobEntity- Mappings:
Namespace Name Mixin selector official aLrw;a(B)Vintermediary method_2485Lnet/minecraft/class_864;method_2485(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 bLwn;b(FFF)Vintermediary method_11105Lnet/minecraft/class_951;method_11105(FFF)Vnamed setConstantVelocityLnet/minecraft/entity/passive/SquidEntity;setConstantVelocity(FFF)V
-
hasConstantVelocity
public boolean hasConstantVelocity()- Mappings:
Namespace Name Mixin selector official oLwn;o()Zintermediary method_11106Lnet/minecraft/class_951;method_11106()Znamed hasConstantVelocityLnet/minecraft/entity/passive/SquidEntity;hasConstantVelocity()Z
-