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 acointermediary net/minecraft/class_951named net/minecraft/entity/passive/SquidEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate floatprivate floatprivate floatfloatfloatfloatfloatfloatfloatfloatprivate floatfloatprivate floatFields 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_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, 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_22434, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanClimb()booleancanSpawn()protected voiddropLoot(boolean allowDrops, int lootingMultiplier) protected Stringprotected Stringprotected Itemfloatprotected Stringprotected floatvoidhandleStatus(byte status) booleanprotected voidbooleanReturns whether this entity's hitbox is touching water fluid.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, equip, getArmorStacks, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getTarget, getVisibilityCache, initDataTracker, initEquipment, initialize, isLeashed, isPersistent, isTameable, lookAtEntity, loot, method_2638, method_4470, method_4472, method_4485, method_5388, method_6162, method_8374, mobTick, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, readCustomDataFromNbt, setAiDisabled, setArmorSlot, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, 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, getFallSound, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getRotationVector, getScoreboardTeam, getSoundPitch, getStatusEffectInstances, getStuckArrows, handleFallDamage, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isInSameTeam, isInTeam, isPushable, isSleeping, jump, kill, markEffectsDirty, method_10979, method_10981, method_2582, method_2610, method_2634, method_2649, method_2658, method_4473, method_6108, method_6109, method_6111, method_6117, method_6149, method_6150, method_6152, onKilled, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, shouldAlwaysDropXp, shouldDropXp, shouldRenderName, startRiding, swingHand, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, tryAttack, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, burn, canAvoidTraps, canExplosionDestroyBlock, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, extinguish, fromClientNbt, fromNbt, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getPos, getRotationVector, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, 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, isSwimming, isTouchingLava, method_10786, method_10941, method_10948, method_10957, method_10965, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportToDimension, tickFire, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
tiltAngle
public float tiltAngle- Mappings:
Namespace Name Mixin selector official aLaco;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 bLaco;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 cLaco;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 biLaco;bi: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 bjLaco;bj: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 bkLaco;bk: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 blLaco;bl: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 bmLaco;bm: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 bnLaco;bn: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 boLaco;bo: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 bpLaco;bp: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 bqLaco;bq: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 brLaco;br: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 bsLaco;bs: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>Lwv;<init>(Laqu;)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
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classMobEntity- Mappings:
Namespace Name Mixin selector official aWLxm;aW()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 aRLwv;aR()Fintermediary method_2544Lnet/minecraft/class_864;method_2544()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official zLxn;z()Ljava/lang/String;intermediary method_2603Lnet/minecraft/class_871;method_2603()Ljava/lang/String;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official bnLxm;bn()Ljava/lang/String;intermediary method_2604Lnet/minecraft/class_1699;method_2604()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official boLxm;bo()Ljava/lang/String;intermediary method_2605Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official bALxm;bA()Fintermediary method_2602Lnet/minecraft/class_1699;method_2602()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
getDefaultDrop
- Overrides:
getDefaultDropin classMobEntity- Mappings:
Namespace Name Mixin selector official ALxn;A()Lalq;intermediary method_8375Lnet/minecraft/class_871;method_8375()Lnet/minecraft/class_1069;named getDefaultDropLnet/minecraft/entity/mob/MobEntity;getDefaultDrop()Lnet/minecraft/item/Item;
-
canClimb
protected boolean canClimb() -
dropLoot
protected void dropLoot(boolean allowDrops, int lootingMultiplier) -
isTouchingWater
public boolean isTouchingWater()Returns whether this entity's hitbox is touching water fluid.- Overrides:
isTouchingWaterin classEntity- Mappings:
Namespace Name Mixin selector official VLwv;V()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 mLxm;m()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 gLxm;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 bQLxn;bQ()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 aLwv;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 bLaco;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 nLaco;n()Zintermediary method_11106Lnet/minecraft/class_951;method_11106()Znamed hasConstantVelocityLnet/minecraft/entity/passive/SquidEntity;hasConstantVelocity()Z
-