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.PathAwareEntity
net.minecraft.entity.mob.WaterCreatureEntity
net.minecraft.entity.passive.SquidEntity
- All Implemented Interfaces:
CommandOutput,Nameable,EntityLike
- Direct Known Subclasses:
GlowSquidEntity
- Mappings:
Namespace Name official bevintermediary net/minecraft/class_1477named net/minecraft/entity/passive/SquidEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatfloatThis serves no real purpose.floatfloatprivate floatA scale factor for the squid's swimming speed.private floatprivate floatprivate floatfloatfloatTimer between thrusts as the squid swims.private floatfloatprivate floatFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, DEFAULT_DROP_CHANCE, experiencePoints, field_30083, field_30084, field_30085, field_30091, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, field_30067, field_30068, field_30069, field_30070, field_30071, field_30072, field_30073, field_30074, field_30075, field_30076, field_30077, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_28627, field_29973, field_29974, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, worldFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Vec3dapplyBodyRotations(Vec3d shootVector) booleancanBeLeashedBy(PlayerEntity player) static booleancanSpawn(EntityType<SquidEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) booleandamage(DamageSource source, float amount) protected floatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions) protected SoundEventprotected SoundEventprotected SoundEventgetHurtSound(DamageSource source) protected ParticleEffectprotected Entity.MoveEffectReturns the possible effect(s) of an entity moving.protected floatprotected SoundEventvoidhandleStatus(byte status) booleanprotected voidvoidsetSwimmingVector(float x, float y, float z) Sets the direction and velocity the squid must go when fleeing an enemy.private voidsquirt()voidvoidAllows you to do certain speed and velocity calculations.Methods inherited from class net.minecraft.entity.mob.WaterCreatureEntity
baseTick, canBreatheInWater, canSpawn, canSpawnUnderground, getGroup, getMinAmbientSoundDelay, getXpToDrop, hasNoLight, hasStoneFloor, isPushedByFluids, tickWaterBreathingAirMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, canBeControlledByRider, canEquip, canGather, canImmediatelyDespawn, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getBodyYawSpeed, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getLookYawSpeed, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, hasPositionTarget, initDataTracker, initEquipment, initialize, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, method_35055, mobTick, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, readCustomDataFromNbt, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setBaby, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, swimUpward, tick, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls, writeCustomDataToNbtMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyMovementInput, attackLivingEntity, blockedByShield, canBeRiddenInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageHelmet, damageShield, deserializeBrain, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSound, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, onTrackedDataSet, playBlockFallSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getYaw, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowingLocal, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_30951, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
tiltAngle
public float tiltAngle- Mappings:
Namespace Name Mixin selector official bLbev;b:Fintermediary field_6907Lnet/minecraft/class_1477;field_6907:Fnamed tiltAngleLnet/minecraft/entity/passive/SquidEntity;tiltAngle:F
-
prevTiltAngle
public float prevTiltAngle- Mappings:
Namespace Name Mixin selector official cLbev;c:Fintermediary field_6905Lnet/minecraft/class_1477;field_6905:Fnamed prevTiltAngleLnet/minecraft/entity/passive/SquidEntity;prevTiltAngle:F
-
rollAngle
public float rollAngle- Mappings:
Namespace Name Mixin selector official dLbev;d:Fintermediary field_6903Lnet/minecraft/class_1477;field_6903:Fnamed rollAngleLnet/minecraft/entity/passive/SquidEntity;rollAngle:F
-
prevRollAngle
public float prevRollAngle- Mappings:
Namespace Name Mixin selector official eLbev;e:Fintermediary field_6906Lnet/minecraft/class_1477;field_6906:Fnamed prevRollAngleLnet/minecraft/entity/passive/SquidEntity;prevRollAngle:F
-
thrustTimer
public float thrustTimerTimer between thrusts as the squid swims. Represented as an angle from 0 to 2PI.- Mappings:
Namespace Name Mixin selector official bTLbev;bT:Fintermediary field_6908Lnet/minecraft/class_1477;field_6908:Fnamed thrustTimerLnet/minecraft/entity/passive/SquidEntity;thrustTimer:F
-
prevThrustTimer
public float prevThrustTimerThis serves no real purpose.- Mappings:
Namespace Name Mixin selector official bULbev;bU:Fintermediary field_6902Lnet/minecraft/class_1477;field_6902:Fnamed prevThrustTimerLnet/minecraft/entity/passive/SquidEntity;prevThrustTimer:F
-
tentacleAngle
public float tentacleAngle- Mappings:
Namespace Name Mixin selector official bVLbev;bV:Fintermediary field_6904Lnet/minecraft/class_1477;field_6904:Fnamed tentacleAngleLnet/minecraft/entity/passive/SquidEntity;tentacleAngle:F
-
prevTentacleAngle
public float prevTentacleAngle- Mappings:
Namespace Name Mixin selector official bWLbev;bW:Fintermediary field_6900Lnet/minecraft/class_1477;field_6900:Fnamed prevTentacleAngleLnet/minecraft/entity/passive/SquidEntity;prevTentacleAngle:F
-
swimVelocityScale
private float swimVelocityScaleA scale factor for the squid's swimming speed. Gets reset to 1 at the beginning of each thrust and gradually decreases to make the squid lurch around.- Mappings:
Namespace Name Mixin selector official bXLbev;bX:Fintermediary field_6901Lnet/minecraft/class_1477;field_6901:Fnamed swimVelocityScaleLnet/minecraft/entity/passive/SquidEntity;swimVelocityScale:F
-
thrustTimerSpeed
private float thrustTimerSpeed- Mappings:
Namespace Name Mixin selector official bYLbev;bY:Fintermediary field_6912Lnet/minecraft/class_1477;field_6912:Fnamed thrustTimerSpeedLnet/minecraft/entity/passive/SquidEntity;thrustTimerSpeed:F
-
turningSpeed
private float turningSpeed- Mappings:
Namespace Name Mixin selector official bZLbev;bZ:Fintermediary field_6913Lnet/minecraft/class_1477;field_6913:Fnamed turningSpeedLnet/minecraft/entity/passive/SquidEntity;turningSpeed:F
-
swimX
private float swimX- Mappings:
Namespace Name Mixin selector official caLbev;ca:Fintermediary field_6910Lnet/minecraft/class_1477;field_6910:Fnamed swimXLnet/minecraft/entity/passive/SquidEntity;swimX:F
-
swimY
private float swimY- Mappings:
Namespace Name Mixin selector official cbLbev;cb:Fintermediary field_6911Lnet/minecraft/class_1477;field_6911:Fnamed swimYLnet/minecraft/entity/passive/SquidEntity;swimY:F
-
swimZ
private float swimZ- Mappings:
Namespace Name Mixin selector official ccLbev;cc:Fintermediary field_6909Lnet/minecraft/class_1477;field_6909:Fnamed swimZLnet/minecraft/entity/passive/SquidEntity;swimZ:F
-
-
Constructor Details
-
SquidEntity
- Mappings:
Namespace Name Mixin selector official <init>Latg;<init>(Latk;Lbwq;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
createSquidAttributes
- Mappings:
Namespace Name Mixin selector official fwLbev;fw()Lauu$a;intermediary method_26895Lnet/minecraft/class_1477;method_26895()Lnet/minecraft/class_5132$class_5133;named createSquidAttributesLnet/minecraft/entity/passive/SquidEntity;createSquidAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeightin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLatu;b(Laug;Lath;)Fintermediary method_18394Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)Fnamed getActiveEyeHeightLnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official qLatw;q()Lafd;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLatu;c(Lasq;)Lafd;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official v_Latu;v_()Lafd;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getSquirtSound
- Mappings:
Namespace Name Mixin selector official pLbev;p()Lafd;intermediary method_33337Lnet/minecraft/class_1477;method_33337()Lnet/minecraft/class_3414;named getSquirtSoundLnet/minecraft/entity/passive/SquidEntity;getSquirtSound()Lnet/minecraft/sound/SoundEvent;
-
canBeLeashedBy
- Overrides:
canBeLeashedByin classWaterCreatureEntity- Mappings:
Namespace Name Mixin selector official aLatw;a(Lbke;)Zintermediary method_5931Lnet/minecraft/class_1308;method_5931(Lnet/minecraft/class_1657;)Znamed canBeLeashedByLnet/minecraft/entity/mob/MobEntity;canBeLeashedBy(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official eoLatu;eo()Fintermediary method_6107Lnet/minecraft/class_1309;method_6107()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
getMoveEffect
Returns the possible effect(s) of an entity moving.- Overrides:
getMoveEffectin classEntity- Mappings:
Namespace Name Mixin selector official aILatg;aI()Latg$b;intermediary method_33570Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;named getMoveEffectLnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classMobEntity- Mappings:
Namespace Name Mixin selector official u_Latu;u_()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
damage
- Overrides:
damagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLatg;a(Lasq;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
applyBodyRotations
- Mappings:
Namespace Name Mixin selector official iLbev;i(Ldna;)Ldna;intermediary method_6671Lnet/minecraft/class_1477;method_6671(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;named applyBodyRotationsLnet/minecraft/entity/passive/SquidEntity;applyBodyRotations(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
squirt
private void squirt()- Mappings:
Namespace Name Mixin selector official tLbev;t()Vintermediary method_6669Lnet/minecraft/class_1477;method_6669()Vnamed squirtLnet/minecraft/entity/passive/SquidEntity;squirt()V
-
getInkParticle
- Mappings:
Namespace Name Mixin selector official nLbev;n()Lht;intermediary method_33336Lnet/minecraft/class_1477;method_33336()Lnet/minecraft/class_2394;named getInkParticleLnet/minecraft/entity/passive/SquidEntity;getInkParticle()Lnet/minecraft/particle/ParticleEffect;
-
travel
Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.See vanilla examples of custom horse vehicle and flying entities.
- Overrides:
travelin classLivingEntity- Parameters:
movementInput- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector official gLatu;g(Ldna;)Vintermediary method_6091Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)Vnamed travelLnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
canSpawn
public static boolean canSpawn(EntityType<SquidEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector official bLbev;b(Latk;Lbwr;Laty;Lgg;Ljava/util/Random;)Zintermediary method_20670Lnet/minecraft/class_1477;method_20670(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Ljava/util/Random;)Znamed canSpawnLnet/minecraft/entity/passive/SquidEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
-
handleStatus
public void handleStatus(byte status) - Overrides:
handleStatusin classMobEntity- Mappings:
Namespace Name Mixin selector official aLatg;a(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
setSwimmingVector
public void setSwimmingVector(float x, float y, float z) Sets the direction and velocity the squid must go when fleeing an enemy. Only has an effect when in the water.- Mappings:
Namespace Name Mixin selector official aLbev;a(FFF)Vintermediary method_6670Lnet/minecraft/class_1477;method_6670(FFF)Vnamed setSwimmingVectorLnet/minecraft/entity/passive/SquidEntity;setSwimmingVector(FFF)V
-
hasSwimmingVector
public boolean hasSwimmingVector()- Mappings:
Namespace Name Mixin selector official fxLbev;fx()Zintermediary method_6672Lnet/minecraft/class_1477;method_6672()Znamed hasSwimmingVectorLnet/minecraft/entity/passive/SquidEntity;hasSwimmingVector()Z
-