Class AbstractNautilusEntity
- All Implemented Interfaces:
ComponentsAccess,Attackable,DataTracked,EquipmentHolder,JumpingMount,Leashable,Mount,Tameable,Targeter,ScoreHolder,HeldItemContext,Nameable,DebugTrackable,EntityLike,UniquelyIdentifiable,ServerWaypoint,Waypoint
- Direct Known Subclasses:
NautilusEntity,ZombieNautilusEntity
- Mappings:
Namespace Name named net/minecraft/entity/passive/AbstractNautilusEntityintermediary net/minecraft/class_12116official cvg
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.passive.TameableEntity
TameableEntity.TameableEscapeDangerGoalNested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.world.debug.DebugTrackable
DebugTrackable.DebugDataSupplier<T>, DebugTrackable.TrackerNested classes/interfaces inherited from interface net.minecraft.util.HeldItemContext
HeldItemContext.OffsetNested classes/interfaces inherited from interface net.minecraft.entity.Leashable
Leashable.Elasticity, Leashable.LeashDataNested classes/interfaces inherited from interface net.minecraft.world.waypoint.ServerWaypoint
ServerWaypoint.AzimuthWaypointTracker, ServerWaypoint.ChebyshevDistanceValidatedTracker, ServerWaypoint.ChunkWaypointTracker, ServerWaypoint.ManhattanDistanceValidatedTracker, ServerWaypoint.PositionalWaypointTracker, ServerWaypoint.WaypointTrackerNested classes/interfaces inherited from interface net.minecraft.world.waypoint.Waypoint
Waypoint.Config -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData<Boolean> protected floatstatic final intstatic final intprivate static final intprivate static final intprivate static final intprivate static final doubleprivate static final floatprivate static final floatprivate static final intprivate static final intprivate static final floatprivate static final floatprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final floatprivate static final floatstatic final intprivate intFields inherited from class net.minecraft.entity.passive.TameableEntity
field_52002, OWNER_UUID, TAMEABLE_FLAGSFields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWNFields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, DEFAULT_AGE, DEFAULT_FORCED_AGE, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, ARMOR_UPGRADE_CHANCE, ARMOR_UPGRADE_ROLLS, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, CAN_PICK_UP_LOOT_KEY, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DROP_CHANCES_KEY, experiencePoints, field_35039, goalSelector, jumpControl, LEFT_HANDED_KEY, lookControl, MINIMUM_DROPPED_EXPERIENCE_PER_EQUIPMENT, moveControl, navigation, NO_AI_KEY, RANDOM_SPAWN_BONUS_MODIFIER_ID, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_KEY, BABY_SCALE_FACTOR, bodyYaw, brain, BRAIN_KEY, dead, DEATH_TICKS, DEATH_TIME_KEY, deathTime, despawnCounter, elytraFlightController, equipment, EQUIPMENT_KEY, EQUIPMENT_SLOT_ID, FALL_FLYING_KEY, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_55952, field_56256, field_63293, field_63294, forwardSpeed, glidingTicks, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, HEALTH_KEY, HURT_BY_TIMESTAMP_KEY, HURT_TIME_KEY, hurtTime, interpolator, itemUseTimeLeft, jumping, lastBodyYaw, lastDamageTaken, lastHandSwingProgress, lastHeadYaw, limbAnimator, LIVING_FLAGS, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, piercingCooldowns, playerHitTimer, preferredHand, riptideAttackDamage, riptideStack, riptideTicks, serverHeadYaw, sidewaysSpeed, SLEEPING_DIMENSIONS, SLEEPING_POS_KEY, stuckArrowTimer, stuckStingerTimer, ticksSinceHandEquipping, ticksSinceLastAttack, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, CUSTOM_NAME_KEY, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_DISTANCE_KEY, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, FIRE_KEY, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, GLOWING_KEY, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, INVULNERABLE_KEY, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_QUEUED_COLLISION_CHECKS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, MOTION_KEY, movementMultiplier, NO_GRAVITY_KEY, noClip, ON_FIRE_FLAG_INDEX, ON_GROUND_KEY, PASSENGERS_KEY, PORTAL_COOLDOWN_KEY, portalManager, POS_KEY, POSE, random, ridingCooldown, ROTATION_KEY, SILENT_KEY, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.entity.Leashable
DEFAULT_ELASTIC_DISTANCE, DEFAULT_SNAPPING_DISTANCE, ELASTICITY_MULTIPLIER, field_59997, field_59998, field_59999, field_60003, HELD_ENTITY_ATTACHMENT_POINT, LEASH_HOLDER_ATTACHMENT_POINT, LEASH_NBT_KEY, QUAD_LEASH_ATTACHMENT_POINTSFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAMEFields inherited from interface net.minecraft.world.waypoint.ServerWaypoint
AZIMUTH_THRESHOLDFields inherited from interface net.minecraft.world.waypoint.Waypoint
DEFAULT_PLAYER_RANGE, DISABLE_TRACKING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractNautilusEntity(EntityType<? extends AbstractNautilusEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionvoidbaseTick()protected booleancanAddPassenger(Entity passenger) Returns whetherentitycan ride this entity.booleanbooleancanJump()booleanstatic booleancanSpawn(EntityType<? extends AbstractNautilusEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) booleanbooleancanUseSlot(EquipmentSlot slot) protected EntityNavigationcreateNavigation(World world) booleandamage(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.protected voiddash(float strength, PlayerEntity controller) protected voideat(PlayerEntity player, Hand hand, ItemStack stack) protected Vec3dgetControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) protected Vec2fgetControlledRotation(LivingEntity entity) Returns the passenger in control of this entity, ornullif there is none.protected @Nullable SoundEventprotected @Nullable SoundEventintintReturns the maximum amount of air the entity can hold, in ticks.private intfloatgetPathfindingFavor(BlockPos pos, WorldView world) protected floatgetSaddledSpeed(PlayerEntity controllingPlayer) protected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) interactMob(PlayerEntity player, Hand hand) booleanisBreedingItem(ItemStack stack) booleanbooleanReturns whether the entity is pushed by fluids.protected voidmobTick(ServerWorld world) voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.protected voidplayStepSound(BlockPos pos, BlockState state) protected voidputPlayerOnBack(PlayerEntity player) voidsetDashing(boolean dashing) voidsetJumpStrength(int strength) private voidvoidstartJumping(int height) voidvoidtick()Ticks this entity.protected voidtickAir(ServerWorld world, int air) protected voidtickControlled(PlayerEntity controllingPlayer, Vec3d movementInput) private voidtickController(World world) protected voidvoidAllows you to do certain speed and velocity calculations.private voidtryTame(PlayerEntity player) Methods inherited from class net.minecraft.entity.passive.TameableEntity
canAttackWithOwner, canBeLeashed, cannotFollowOwner, canTarget, canTeleportOntoLeaves, getOwnerReference, getScoreboardTeam, handleStatus, isInSameTeam, isInSittingPose, isOwner, isSitting, isTamed, onDeath, readCustomData, setInSittingPose, setOwner, setOwner, setSitting, setTamed, setTamedBy, shouldTryTeleportToOwner, showEmoteParticle, tryTeleportToOwner, updateAttributesForTamed, writeCustomDataMethods inherited from class net.minecraft.entity.passive.AnimalEntity
applyDamage, breed, breed, canBreedWith, canEat, canImmediatelyDespawn, createAnimalAttributes, getExperienceToDrop, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, playEatSound, resetLoveTicks, setLoveTicks, tickMovementMethods inherited from class net.minecraft.entity.passive.PassiveEntity
createChild, getBreedingAge, getForcedAge, getHappyTicksRemaining, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, setBaby, setBreedingAge, toGrowUpAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
beforeLeashTick, canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, onShortLeashTick, shouldFollowLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
canActVoluntarily, canDispenserEquipSlot, canGather, canMobSpawn, canPickupItem, canPickUpLoot, canRemoveSaddle, canTarget, canUseRangedWeapon, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, convertTo, createBodyControl, createEquipmentInventory, createMobAttributes, dropAllForeignEquipment, dropEquipment, dropForeignEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, getAmbientSound, getAttackBox, getBodyArmor, getDaylightProtectionSlot, getEquipmentDropChances, getEquipmentForSlot, getItemPickUpRangeExpander, getJumpControl, getLeashData, getLimitPerChunk, getLookControl, getLootTableKey, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPreferredWeapons, getSafeFallDistance, getTarget, getTargetInBrain, getVisibilityCache, hasPositionTarget, hasSaddleEquipped, initEquipment, initGoals, interact, isAiDisabled, isAttacking, isInAttackRange, isInPositionTargetRange, isInPositionTargetRange, isInPositionTargetRange, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, movesIndependently, onEatingGrass, onFinishPathfinding, onLeashRemoved, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, registerTracking, removeFromDimension, setAiDisabled, setAttacking, setCanPickUpLoot, setDropGuaranteed, setEquipmentDropChance, setEquipmentFromTable, setEquipmentFromTable, setForwardSpeed, setLeashData, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, snapLongLeash, spawnsTooManyForEachTry, startRiding, stopMovement, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateAttribute, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, areItemsDifferent, attackLivingEntity, becomeAngry, beforePlayerAttack, canBreatheInWater, canEquip, canEquipFromDispenser, canFreeze, canGlide, canGlideWith, canHit, canSee, canSee, canTakeDamage, canUsePortals, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createEquipment, createLivingAttributes, createTracker, damageArmor, damageEquipment, damageHelmet, deserializeBrain, disableExperienceDropping, drop, dropExperience, dropInventory, dropItem, dropLoot, endCombat, enterCombat, equipStack, fall, forEachBrushedItem, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, generateLoot, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackingPlayer, getAttackKnockbackAgainst, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseDimensions, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageBlockedAmount, getDamageTiltYaw, getDamageTracker, getDeathSound, getDespawnCounter, getDimensions, getEffectFadeFactor, getEffectiveGravity, getEntity, getEquippedStack, getEquipSound, getExperienceToDrop, getFallSounds, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getHurtSound, getInterpolator, getItemUseTime, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLocationBasedEnchantmentEffects, getLuck, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRecentDamageSource, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInArm, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getWaypointConfig, getWeaponDisableBlockingForSeconds, getWeaponStack, getYaw, giveOrDropStack, handleFallDamage, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, hasWaypoint, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInCreativeMode, isInPiercingCooldown, isInsideWall, isInSwimmingPose, isInvulnerableTo, isJumping, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isUsingItem, isUsingRiptide, jump, kill, knockback, knockbackTarget, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttack, onAttacking, onDamaged, onEquipStack, onKilledBy, onRemoval, onRemove, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, pierce, playAttackSound, playBlockFallSound, playSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setAttacking, setAttackingPlayer, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropExperience, shouldDropExperience, shouldDropLoot, shouldDrown, shouldRenderName, shouldSwimInFluids, sleep, spawnItemParticles, startPiercingCooldown, stopGliding, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickGliding, tickHandSwing, tickInVoid, tickItemStackUsage, tickMovementInput, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travelFlying, travelFlying, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, wakeUp, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calcDistanceFromBottomCollision, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, castComponentValue, changeLookDirection, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, findCollisions, get, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityPos, getEntityWorld, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeadRotationVector, getHeight, getHeldQuadLeashOffsets, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorldSpawnPos, getX, getY, getYaw, getZ, handleAttack, handleFall, handleFallDamageForPassengers, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasQuadLeashAttachmentPoints, hasVehicle, igniteByLava, interactAt, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFlyingVehicle, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSneakingPose, isInteractable, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartlyTouchingWater, isPartOf, isPlayer, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, lerpPosAndRotation, limitFallDistance, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveData, saveSelfData, scheduleVelocityUpdate, serverDamage, setAir, setAlwaysSyncAbsolute, setAngles, setApplicableComponent, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, snipAllHeldLeashes, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickBlockCollision, tickHeldLeash, tickPortalCooldown, tickPortalTeleportation, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedAngles, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTypedMethods inherited from interface net.minecraft.entity.EquipmentHolder
equipStack, getEquippedStack, getSlotForStack, setEquipmentFromTable, setEquipmentFromTable, setEquipmentFromTableMethods inherited from interface net.minecraft.entity.JumpingMount
clampJumpStrengthMethods inherited from interface net.minecraft.entity.Leashable
applyElasticity, attachLeash, canBeLeashedTo, canUseQuadLeashAttachmentPoint, detachLeash, detachLeashWithoutDrop, getDistanceToCenter, getElasticLeashDistance, getLeashHolder, getLeashOffset, getLeashOffset, getLeashSnappingDistance, getQuadLeashOffsets, isLeashed, mightBeLeashed, onLongLeashTick, readLeashData, setUnresolvedLeashHolderId, writeLeashDataMethods inherited from interface net.minecraft.util.Nameable
getStringifiedNameMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayNameMethods inherited from interface net.minecraft.entity.Tameable
getEntityWorld, getOwner, getTopLevelOwner
-
Field Details
-
field_63349
public static final int field_63349- See Also:
- Mappings:
Namespace Name Mixin selector named field_63349Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63349:Iintermediary field_63349Lnet/minecraft/class_12116;field_63349:Iofficial czLcvg;cz:I
-
field_63328
public static final int field_63328- See Also:
- Mappings:
Namespace Name Mixin selector named field_63328Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63328:Iintermediary field_63328Lnet/minecraft/class_12116;field_63328:Iofficial cALcvg;cA:I
-
field_63329
public static final int field_63329- See Also:
- Mappings:
Namespace Name Mixin selector named field_63329Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63329:Iintermediary field_63329Lnet/minecraft/class_12116;field_63329:Iofficial cBLcvg;cB:I
-
field_63331
private static final int field_63331- See Also:
- Mappings:
Namespace Name Mixin selector named field_63331Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63331:Iintermediary field_63331Lnet/minecraft/class_12116;field_63331:Iofficial cDLcvg;cD:I
-
field_63332
private static final int field_63332- See Also:
- Mappings:
Namespace Name Mixin selector named field_63332Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63332:Iintermediary field_63332Lnet/minecraft/class_12116;field_63332:Iofficial cELcvg;cE:I
-
field_63333
private static final int field_63333- See Also:
- Mappings:
Namespace Name Mixin selector named field_63333Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63333:Iintermediary field_63333Lnet/minecraft/class_12116;field_63333:Iofficial cFLcvg;cF:I
-
field_63334
private static final double field_63334- See Also:
- Mappings:
Namespace Name Mixin selector named field_63334Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63334:Dintermediary field_63334Lnet/minecraft/class_12116;field_63334:Dofficial cGLcvg;cG:D
-
field_63335
private static final float field_63335- See Also:
- Mappings:
Namespace Name Mixin selector named field_63335Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63335:Fintermediary field_63335Lnet/minecraft/class_12116;field_63335:Fofficial cHLcvg;cH:F
-
field_63336
private static final float field_63336- See Also:
- Mappings:
Namespace Name Mixin selector named field_63336Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63336:Fintermediary field_63336Lnet/minecraft/class_12116;field_63336:Fofficial cILcvg;cI:F
-
DASHING
- Mappings:
Namespace Name Mixin selector named DASHINGLnet/minecraft/entity/passive/AbstractNautilusEntity;DASHING:Lnet/minecraft/entity/data/TrackedData;intermediary field_63337Lnet/minecraft/class_12116;field_63337:Lnet/minecraft/class_2940;official cJLcvg;cJ:Lamb;
-
field_63338
private static final int field_63338- See Also:
- Mappings:
Namespace Name Mixin selector named field_63338Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63338:Iintermediary field_63338Lnet/minecraft/class_12116;field_63338:Iofficial cKLcvg;cK:I
-
field_63339
private static final int field_63339- See Also:
- Mappings:
Namespace Name Mixin selector named field_63339Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63339:Iintermediary field_63339Lnet/minecraft/class_12116;field_63339:Iofficial cLLcvg;cL:I
-
field_63340
private static final float field_63340- See Also:
- Mappings:
Namespace Name Mixin selector named field_63340Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63340:Fintermediary field_63340Lnet/minecraft/class_12116;field_63340:Fofficial cMLcvg;cM:F
-
field_63341
private static final float field_63341- See Also:
- Mappings:
Namespace Name Mixin selector named field_63341Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63341:Fintermediary field_63341Lnet/minecraft/class_12116;field_63341:Fofficial cNLcvg;cN:F
-
field_63343
private static final double field_63343- See Also:
- Mappings:
Namespace Name Mixin selector named field_63343Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63343:Dintermediary field_63343Lnet/minecraft/class_12116;field_63343:Dofficial cPLcvg;cP:D
-
field_63344
private static final double field_63344- See Also:
- Mappings:
Namespace Name Mixin selector named field_63344Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63344:Dintermediary field_63344Lnet/minecraft/class_12116;field_63344:Dofficial cQLcvg;cQ:D
-
field_63345
private static final double field_63345- See Also:
- Mappings:
Namespace Name Mixin selector named field_63345Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63345:Dintermediary field_63345Lnet/minecraft/class_12116;field_63345:Dofficial cRLcvg;cR:D
-
field_63346
private static final double field_63346- See Also:
- Mappings:
Namespace Name Mixin selector named field_63346Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63346:Dintermediary field_63346Lnet/minecraft/class_12116;field_63346:Dofficial cULcvg;cU:D
-
field_63347
private static final float field_63347- See Also:
- Mappings:
Namespace Name Mixin selector named field_63347Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63347:Fintermediary field_63347Lnet/minecraft/class_12116;field_63347:Fofficial cVLcvg;cV:F
-
field_63348
private static final float field_63348- See Also:
- Mappings:
Namespace Name Mixin selector named field_63348Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63348:Fintermediary field_63348Lnet/minecraft/class_12116;field_63348:Fofficial cWLcvg;cW:F
-
jumpCooldown
private int jumpCooldown- Mappings:
Namespace Name Mixin selector named jumpCooldownLnet/minecraft/entity/passive/AbstractNautilusEntity;jumpCooldown:Iintermediary field_63342Lnet/minecraft/class_12116;field_63342:Iofficial cOLcvg;cO:I
-
dashStrength
protected float dashStrength- Mappings:
Namespace Name Mixin selector named dashStrengthLnet/minecraft/entity/passive/AbstractNautilusEntity;dashStrength:Fintermediary field_63330Lnet/minecraft/class_12116;field_63330:Fofficial cCLcvg;cC:F
-
-
Constructor Details
-
AbstractNautilusEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lcfg;<init>(Lcfp;Ldtq;)V
-
-
Method Details
-
isBreedingItem
- Specified by:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector named isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Zofficial iLcsd;i(Ldji;)Z
-
eat
- Overrides:
eatin classMobEntity- Mappings:
Namespace Name Mixin selector named eatLnet/minecraft/entity/mob/MobEntity;eat(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/item/ItemStack;)Vintermediary method_6475Lnet/minecraft/class_1308;method_6475(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)Vofficial aLcgj;a(Ldbe;Lccy;Ldji;)V
-
createNautilusAttributes
- Mappings:
Namespace Name Mixin selector named createNautilusAttributesLnet/minecraft/entity/passive/AbstractNautilusEntity;createNautilusAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;intermediary method_75156Lnet/minecraft/class_12116;method_75156()Lnet/minecraft/class_5132$class_5133;official gXLcvg;gX()Lchm$a;
-
isPushedByFluids
public boolean isPushedByFluids()Returns whether the entity is pushed by fluids.- Overrides:
isPushedByFluidsin classEntity- Returns:
- whether the entity is pushed by fluids
- API Note:
- Aquatic mobs should override this to return
false. Players are not pushed by fluids if they can fly (e.g. because of game mode). - Mappings:
Namespace Name Mixin selector named isPushedByFluidsLnet/minecraft/entity/Entity;isPushedByFluids()Zintermediary method_5675Lnet/minecraft/class_1297;method_5675()Zofficial cXLcfg;cX()Z
-
getPathfindingFavor
- Overrides:
getPathfindingFavorin classAnimalEntity- Mappings:
Namespace Name Mixin selector named getPathfindingFavorLnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)Fintermediary method_6144Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)Fofficial aLcgp;a(Liz;Ldtt;)F
-
canSpawn
public static boolean canSpawn(EntityType<? extends AbstractNautilusEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector named canSpawnLnet/minecraft/entity/passive/AbstractNautilusEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Zintermediary method_75154Lnet/minecraft/class_12116;method_75154(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Zofficial cLcvg;c(Lcfp;Ldtr;Lcfo;Liz;Lbgs;)Z
-
canSpawn
-
getMaxAir
public int getMaxAir()Returns the maximum amount of air the entity can hold, in ticks.Most entities have the max air of 300 ticks, or 15 seconds.
DolphinEntityhas 4800 ticks or 4 minutes;AxolotlEntityhas 6000 ticks or 5 minutes. Note that this does not include enchantments. -
tickAir
- Mappings:
Namespace Name Mixin selector named tickAirLnet/minecraft/entity/passive/AbstractNautilusEntity;tickAir(Lnet/minecraft/server/world/ServerWorld;I)Vintermediary method_75153Lnet/minecraft/class_12116;method_75153(Lnet/minecraft/class_3218;I)Vofficial aLcvg;a(Laxm;I)V
-
baseTick
public void baseTick() -
canUseSlot
- Overrides:
canUseSlotin classLivingEntity- Mappings:
Namespace Name Mixin selector named canUseSlotLnet/minecraft/entity/LivingEntity;canUseSlot(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_56991Lnet/minecraft/class_1309;method_56991(Lnet/minecraft/class_1304;)Zofficial eLcgh;e(Lcfq;)Z
-
canAddPassenger
Returns whetherentitycan ride this entity.Returning
falsecauses other entities to be unable to ride this entity. For example,BoatEntityuses this to restrict how many passengers can ride the same boat (2 for normal, 1 for chest boat).This is the opposite of
Entity.canStartRiding(net.minecraft.entity.Entity).- Overrides:
canAddPassengerin classEntity- Returns:
- whether
entitycan ride this entity - See Also:
- Mappings:
Namespace Name Mixin selector named canAddPassengerLnet/minecraft/entity/Entity;canAddPassenger(Lnet/minecraft/entity/Entity;)Zintermediary method_5818Lnet/minecraft/class_1297;method_5818(Lnet/minecraft/class_1297;)Zofficial sLcfg;s(Lcfg;)Z
-
getControllingPassenger
Returns the passenger in control of this entity, ornullif there is none.Rideable entities should override this to return the entity. This is usually
#getFirstPassenger.- Overrides:
getControllingPassengerin classMobEntity- Returns:
- the passenger in control of this entity, or
nullif there is none - See Also:
- Mappings:
Namespace Name Mixin selector named getControllingPassengerLnet/minecraft/entity/Entity;getControllingPassenger()Lnet/minecraft/entity/LivingEntity;intermediary method_5642Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1309;official dhLcfg;dh()Lcgh;
-
getControlledMovementInput
- Overrides:
getControlledMovementInputin classLivingEntity- Mappings:
Namespace Name Mixin selector named getControlledMovementInputLnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;intermediary method_49482Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;official bLcgh;b(Ldbe;Lfqj;)Lfqj;
-
getControlledRotation
- Mappings:
Namespace Name Mixin selector named getControlledRotationLnet/minecraft/entity/passive/AbstractNautilusEntity;getControlledRotation(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec2f;intermediary method_75165Lnet/minecraft/class_12116;method_75165(Lnet/minecraft/class_1309;)Lnet/minecraft/class_241;official kLcvg;k(Lcgh;)Lfqi;
-
tickControlled
- Overrides:
tickControlledin classLivingEntity- Mappings:
Namespace Name Mixin selector named tickControlledLnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Vintermediary method_49481Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Vofficial aLcgh;a(Ldbe;Lfqj;)V
-
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
.invalid reference
flying entities
- Overrides:
travelin classLivingEntity- Parameters:
movementInput- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector named travelLnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)Vintermediary method_6091Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)Vofficial mLcgh;m(Lfqj;)V
-
getSaddledSpeed
- Overrides:
getSaddledSpeedin classLivingEntity- Mappings:
Namespace Name Mixin selector named getSaddledSpeedLnet/minecraft/entity/LivingEntity;getSaddledSpeed(Lnet/minecraft/entity/player/PlayerEntity;)Fintermediary method_49485Lnet/minecraft/class_1309;method_49485(Lnet/minecraft/class_1657;)Fofficial fLcgh;f(Ldbe;)F
-
putPlayerOnBack
- Mappings:
Namespace Name Mixin selector named putPlayerOnBackLnet/minecraft/entity/passive/AbstractNautilusEntity;putPlayerOnBack(Lnet/minecraft/entity/player/PlayerEntity;)Vintermediary method_75163Lnet/minecraft/class_12116;method_75163(Lnet/minecraft/class_1657;)Vofficial iLcvg;i(Ldbe;)V
-
getMaxTargetRange
private int getMaxTargetRange()- Mappings:
Namespace Name Mixin selector named getMaxTargetRangeLnet/minecraft/entity/passive/AbstractNautilusEntity;getMaxTargetRange()Iintermediary method_75161Lnet/minecraft/class_12116;method_75161()Iofficial hcLcvg;hc()I
-
tickPositionTarget
protected void tickPositionTarget()- Mappings:
Namespace Name Mixin selector named tickPositionTargetLnet/minecraft/entity/passive/AbstractNautilusEntity;tickPositionTarget()Vintermediary method_75157Lnet/minecraft/class_12116;method_75157()Vofficial gYLcvg;gY()V
-
mobTick
- Overrides:
mobTickin classAnimalEntity- Mappings:
Namespace Name Mixin selector named mobTickLnet/minecraft/entity/mob/MobEntity;mobTick(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_5958Lnet/minecraft/class_1308;method_5958(Lnet/minecraft/class_3218;)Vofficial aLcgj;a(Laxm;)V
-
tickController
- Mappings:
Namespace Name Mixin selector named tickControllerLnet/minecraft/entity/passive/AbstractNautilusEntity;tickController(Lnet/minecraft/world/World;)Vintermediary method_75155Lnet/minecraft/class_12116;method_75155(Lnet/minecraft/class_1937;)Vofficial cLcvg;c(Ldtq;)V
-
spawnParticles
private void spawnParticles()- Mappings:
Namespace Name Mixin selector named spawnParticlesLnet/minecraft/entity/passive/AbstractNautilusEntity;spawnParticles()Vintermediary method_75162Lnet/minecraft/class_12116;method_75162()Vofficial hdLcvg;hd()V
-
tick
public void tick()Ticks this entity.- Overrides:
tickin classMobEntity- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
baseTick(). - Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial gLcfg;g()V
-
canJump
public boolean canJump()- Specified by:
canJumpin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector named canJumpLnet/minecraft/entity/JumpingMount;canJump()Zintermediary method_6153Lnet/minecraft/class_1316;method_6153()Zofficial aLcgr;a()Z
-
setJumpStrength
public void setJumpStrength(int strength) - Specified by:
setJumpStrengthin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector named setJumpStrengthLnet/minecraft/entity/JumpingMount;setJumpStrength(I)Vintermediary method_6154Lnet/minecraft/class_1316;method_6154(I)Vofficial bLcgr;b(I)V
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classTameableEntity- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vofficial aLcfg;a(Lamf$a;)V
-
isDashing
public boolean isDashing()- Mappings:
Namespace Name Mixin selector named isDashingLnet/minecraft/entity/passive/AbstractNautilusEntity;isDashing()Zintermediary method_75158Lnet/minecraft/class_12116;method_75158()Zofficial gZLcvg;gZ()Z
-
setDashing
public void setDashing(boolean dashing) - Mappings:
Namespace Name Mixin selector named setDashingLnet/minecraft/entity/passive/AbstractNautilusEntity;setDashing(Z)Vintermediary method_75151Lnet/minecraft/class_12116;method_75151(Z)Vofficial ALcvg;A(Z)V
-
dash
- Mappings:
Namespace Name Mixin selector named dashLnet/minecraft/entity/passive/AbstractNautilusEntity;dash(FLnet/minecraft/entity/player/PlayerEntity;)Vintermediary method_75152Lnet/minecraft/class_12116;method_75152(FLnet/minecraft/class_1657;)Vofficial aLcvg;a(FLdbe;)V
-
startJumping
public void startJumping(int height) - Specified by:
startJumpingin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector named startJumpingLnet/minecraft/entity/JumpingMount;startJumping(I)Vintermediary method_6155Lnet/minecraft/class_1316;method_6155(I)Vofficial cLcgr;c(I)V
-
getJumpCooldown
public int getJumpCooldown()- Specified by:
getJumpCooldownin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector named getJumpCooldownLnet/minecraft/entity/JumpingMount;getJumpCooldown()Iintermediary method_45327Lnet/minecraft/class_1316;method_45327()Iofficial cLcgr;c()I
-
onTrackedDataSet
Called on the client when the tracked data is set.This can be overridden to refresh other fields when the tracked data is set or changed.
- Specified by:
onTrackedDataSetin interfaceDataTracked- Overrides:
onTrackedDataSetin classPassiveEntity- Mappings:
Namespace Name Mixin selector named onTrackedDataSetLnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)Vintermediary method_5674Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)Vofficial aLame;a(Lamb;)V
-
stopJumping
public void stopJumping()- Specified by:
stopJumpingin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector named stopJumpingLnet/minecraft/entity/JumpingMount;stopJumping()Vintermediary method_6156Lnet/minecraft/class_1316;method_6156()Vofficial bLcgr;b()V
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector named playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial bLcfg;b(Liz;Leln;)V
-
getDashSound
- Mappings:
Namespace Name Mixin selector named getDashSoundLnet/minecraft/entity/passive/AbstractNautilusEntity;getDashSound()Lnet/minecraft/sound/SoundEvent;intermediary method_75159Lnet/minecraft/class_12116;method_75159()Lnet/minecraft/class_3414;official haLcvg;ha()Lbde;
-
getDashReadySound
- Mappings:
Namespace Name Mixin selector named getDashReadySoundLnet/minecraft/entity/passive/AbstractNautilusEntity;getDashReadySound()Lnet/minecraft/sound/SoundEvent;intermediary method_75160Lnet/minecraft/class_12116;method_75160()Lnet/minecraft/class_3414;official hbLcvg;hb()Lbde;
-
interactMob
- Overrides:
interactMobin classAnimalEntity- Mappings:
Namespace Name Mixin selector named interactMobLnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;intermediary method_5992Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;official bLcgj;b(Ldbe;Lccy;)Lccz;
-
tryTame
- Mappings:
Namespace Name Mixin selector named tryTameLnet/minecraft/entity/passive/AbstractNautilusEntity;tryTame(Lnet/minecraft/entity/player/PlayerEntity;)Vintermediary method_75164Lnet/minecraft/class_12116;method_75164(Lnet/minecraft/class_1657;)Vofficial jLcvg;j(Ldbe;)V
-
cannotDespawn
public boolean cannotDespawn()- Overrides:
cannotDespawnin classMobEntity- Mappings:
Namespace Name Mixin selector named cannotDespawnLnet/minecraft/entity/mob/MobEntity;cannotDespawn()Zintermediary method_17326Lnet/minecraft/class_1308;method_17326()Zofficial afLcgj;af()Z
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntityalso have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
LivingEntity.isInvulnerableTo(net.minecraft.server.world.ServerWorld, net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
damagein classLivingEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Zintermediary method_64397Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Zofficial aLcfg;a(Laxm;Lcdt;F)Z
-
canHaveStatusEffect
- Overrides:
canHaveStatusEffectin classLivingEntity- Mappings:
Namespace Name Mixin selector named canHaveStatusEffectLnet/minecraft/entity/LivingEntity;canHaveStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Zintermediary method_6049Lnet/minecraft/class_1309;method_6049(Lnet/minecraft/class_1293;)Zofficial bLcgh;b(Lcei;)Z
-
initialize
public EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData) - Overrides:
initializein classPassiveEntity- Mappings:
Namespace Name Mixin selector named initializeLnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;intermediary method_5943Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;)Lnet/minecraft/class_1315;official aLcgj;a(Ldui;Lccx;Lcfo;Lcgz;)Lcgz;
-