Class AbstractNautilusEntity
- All Implemented Interfaces:
ComponentsAccess,Attackable,DataTracked,EquipmentHolder,JumpingMount,Leashable,Mount,RideableInventory,Tameable,Targeter,StackReferenceGetter,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 cwn
-
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 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 static final floatstatic final intstatic final intprotected SimpleInventoryprivate 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, knockedBack, 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, 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 TypeMethodDescriptionbooleanareInventoriesDifferent(Inventory inventory) protected booleancanAddPassenger(Entity passenger) Returns whetherentitycan ride this entity.protected booleanbooleanbooleancanImmediatelyDespawn(double distanceSquared) booleancanJump()static 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) @Nullable LivingEntityReturns the passenger in control of this entity, ornullif there is none.protected @Nullable SoundEventprotected @Nullable SoundEventprotected RegistryEntry<SoundEvent> getEquipSound(EquipmentSlot slot, ItemStack stack, EquippableComponent equippableComponent) intintprivate intfloatgetPathfindingFavor(BlockPos pos, WorldView world) protected floatgetSaddledSpeed(PlayerEntity controllingPlayer) final int@Nullable StackReferencegetStackReference(int slot) protected booleanprotected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) protected voidinteract(PlayerEntity player, Hand hand) Called when a player interacts with this entity.interactMob(PlayerEntity player, Hand hand) booleanisBreedingItem(ItemStack stack) protected booleanbooleanbooleanReturns whether the entity is pushed by fluids.protected voidmobTick(ServerWorld world) voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.voidopenInventory(PlayerEntity player) 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 voidtickControlled(PlayerEntity controllingPlayer, Vec3d movementInput) private voidtickController(World world) protected voidprotected voidtravelInWater(Vec3d movementInput, double gravity, boolean falling, double y) 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, createAnimalAttributes, getExperienceToDrop, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, playEatSound, resetLoveTicks, setLoveTicks, tickMovement, updatePassengerForDismountMethods 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
baseTick, canActVoluntarily, canGather, canMobSpawn, cannotDespawn, 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, getRiderChargingSpeedMultiplier, getSafeFallDistance, getTarget, getTargetInBrain, getVisibilityCache, hasPositionTarget, hasSaddleEquipped, initEquipment, initGoals, 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, beforePacketsSent, 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, getActiveOrMainHandStack, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackingPlayer, getAttackKnockbackAgainst, getAttackRange, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseDimensions, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageBlockedAmount, getDamageTiltYaw, getDamageTracker, getDeathSound, getDespawnCounter, getDimensions, getEffectFadeFactor, getEffectiveGravity, getEntity, getEquippedStack, 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, getPiercedEntityCount, getPlayerHitTimer, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRecentDamageSource, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInArm, getStackInHand, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getTimeSinceLastKineticAttack, 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, isTravellingInFluid, isUsingItem, isUsingRiptide, jump, kill, knockback, knockbackTarget, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, 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, travel, travelFlying, travelFlying, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, useAttackEnchantmentEffects, 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, getKineticAttackMovement, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getMaxAir, 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, isMovingHorizontally, 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, tickLastPos, tickPortalCooldown, tickPortalTeleportation, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, 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.inventory.StackReferenceGetter
getStackReferencesMethods inherited from interface net.minecraft.entity.Tameable
getEntityWorld, getOwner, getTopLevelOwner
-
Field Details
-
field_64484
public static final int field_64484- See Also:
- Mappings:
Namespace Name Mixin selector named field_64484Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_64484:Iintermediary field_64484Lnet/minecraft/class_12116;field_64484:Iofficial czLcwn;cz:I
-
field_64482
public static final int field_64482- See Also:
- Mappings:
Namespace Name Mixin selector named field_64482Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_64482:Iintermediary field_64482Lnet/minecraft/class_12116;field_64482:Iofficial cALcwn;cA:I
-
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 cBLcwn;cB: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 cCLcwn;cC: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 cDLcwn;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 cGLcwn;cG: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 cHLcwn;cH: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 cILcwn;cI: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 cJLcwn;cJ: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 cKLcwn;cK:F
-
field_63807
private static final float field_63807- See Also:
- Mappings:
Namespace Name Mixin selector named field_63807Lnet/minecraft/entity/passive/AbstractNautilusEntity;field_63807:Fintermediary field_63807Lnet/minecraft/class_12116;field_63807:Fofficial cLLcwn;cL: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 cMLcwn;cM:Lalw;
-
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 cNLcwn;cN: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 cOLcwn;cO: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 cPLcwn;cP: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 cQLcwn;cQ: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 cULcwn;cU: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 cVLcwn;cV: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 cWLcwn;cW: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 cXLcwn;cX: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 cYLcwn;cY: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 cZLcwn;cZ: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 cRLcwn;cR: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 cELcwn;cE:F
-
inventory
- Mappings:
Namespace Name Mixin selector named inventoryLnet/minecraft/entity/passive/AbstractNautilusEntity;inventory:Lnet/minecraft/inventory/SimpleInventory;intermediary field_64483Lnet/minecraft/class_12116;field_64483:Lnet/minecraft/class_1277;official cFLcwn;cF:Lcdk;
-
-
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>Lcgk;<init>(Lcgu;Ldwo;)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 jLcth;j(Ldlt;)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 aLchn;a(Lddm;Lcdb;Ldlt;)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 hdLcwn;hd()Lcir$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 dbLcgk;db()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 aLcht;a(Lis;Ldwr;)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 cLcwn;c(Lcgu;Ldwp;Lcgt;Lis;Lbgr;)Z
-
canSpawn
-
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 eLchl;e(Lcgv;)Z
-
canDispenserEquipSlot
- Overrides:
canDispenserEquipSlotin classMobEntity- Mappings:
Namespace Name Mixin selector named canDispenserEquipSlotLnet/minecraft/entity/LivingEntity;canDispenserEquipSlot(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_63626Lnet/minecraft/class_1309;method_63626(Lnet/minecraft/class_1304;)Zofficial fLchl;f(Lcgv;)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 sLcgk;s(Lcgk;)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 dlLcgk;dl()Lchl;
-
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 bLchl;b(Lddm;Lftm;)Lftm;
-
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 kLcwn;k(Lchl;)Lftl;
-
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 aLchl;a(Lddm;Lftm;)V
-
travelInWater
- Overrides:
travelInWaterin classLivingEntity- Mappings:
Namespace Name Mixin selector named travelInWaterLnet/minecraft/entity/LivingEntity;travelInWater(Lnet/minecraft/util/math/Vec3d;DZD)Vintermediary method_76087Lnet/minecraft/class_1309;method_76087(Lnet/minecraft/class_243;DZD)Vofficial aLchl;a(Lftm;DZD)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 fLchl;f(Lddm;)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 iLcwn;i(Lddm;)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 hnLcwn;hn()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 heLcwn;he()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 aLchn;a(Laxf;)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 cLcwn;c(Ldwo;)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 hoLcwn;ho()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
MobEntity.baseTick(). - Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial gLcgk;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 aLchv;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 aLchv;a(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 aLcgk;a(Lama$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 hfLcwn;hf()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 ALcwn;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 aLcwn;a(FLddm;)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 bLchv;b(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 cLchv;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 aLalz;a(Lalw;)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 bLchv;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 bLcgk;b(Lis;Leoh;)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 hgLcwn;hg()Lbcz;
-
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 hhLcwn;hh()Lbcz;
-
interact
Called when a player interacts with this entity.- Overrides:
interactin classMobEntity- Parameters:
player- the playerhand- the hand the player used to interact with this entity- Mappings:
Namespace Name Mixin selector named interactLnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;intermediary method_5688Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;official aLcgk;a(Lddm;Lcdb;)Lcdc;
-
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 bLchn;b(Lddm;Lcdb;)Lcdc;
-
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 jLcwn;j(Lddm;)V
-
canImmediatelyDespawn
public boolean canImmediatelyDespawn(double distanceSquared) - Overrides:
canImmediatelyDespawnin classAnimalEntity- Mappings:
Namespace Name Mixin selector named canImmediatelyDespawnLnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Zintermediary method_5974Lnet/minecraft/class_1308;method_5974(D)Zofficial iLchn;i(D)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 aLcgk;a(Laxf;Lcex;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 bLchl;b(Lcfm;)Z
-
initialize
public EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @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 aLchn;a(Ldxf;Lcda;Lcgt;Lcie;)Lcie;
-
getEquipSound
protected RegistryEntry<SoundEvent> getEquipSound(EquipmentSlot slot, ItemStack stack, EquippableComponent equippableComponent) - Overrides:
getEquipSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector named getEquipSoundLnet/minecraft/entity/LivingEntity;getEquipSound(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/type/EquippableComponent;)Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_66667Lnet/minecraft/class_1309;method_66667(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;Lnet/minecraft/class_10192;)Lnet/minecraft/class_6880;official aLchl;a(Lcgv;Ldlt;Ldun;)Ljd;
-
getSlotCount
public final int getSlotCount()- Mappings:
Namespace Name Mixin selector named getSlotCountLnet/minecraft/entity/passive/AbstractNautilusEntity;getSlotCount()Iintermediary method_76585Lnet/minecraft/class_12116;method_76585()Iofficial hiLcwn;hi()I
-
initInventory
protected void initInventory()- Mappings:
Namespace Name Mixin selector named initInventoryLnet/minecraft/entity/passive/AbstractNautilusEntity;initInventory()Vintermediary method_76586Lnet/minecraft/class_12116;method_76586()Vofficial hjLcwn;hj()V
-
openInventory
- Specified by:
openInventoryin interfaceRideableInventory- Mappings:
Namespace Name Mixin selector named openInventoryLnet/minecraft/entity/RideableInventory;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)Vintermediary method_6722Lnet/minecraft/class_7248;method_6722(Lnet/minecraft/class_1657;)Vofficial bLcha;b(Lddm;)V
-
getStackReference
- Specified by:
getStackReferencein interfaceStackReferenceGetter- Overrides:
getStackReferencein classLivingEntity- Mappings:
Namespace Name Mixin selector named getStackReferenceLnet/minecraft/inventory/StackReferenceGetter;getStackReference(I)Lnet/minecraft/inventory/StackReference;intermediary method_32318Lnet/minecraft/class_12260;method_32318(I)Lnet/minecraft/class_5630;official a_Lcid;a_(I)Lcic;
-
areInventoriesDifferent
- Mappings:
Namespace Name Mixin selector named areInventoriesDifferentLnet/minecraft/entity/passive/AbstractNautilusEntity;areInventoriesDifferent(Lnet/minecraft/inventory/Inventory;)Zintermediary method_76584Lnet/minecraft/class_12116;method_76584(Lnet/minecraft/class_1263;)Zofficial aLcwn;a(Lccv;)Z
-
getInventoryColumns
public int getInventoryColumns()- Mappings:
Namespace Name Mixin selector named getInventoryColumnsLnet/minecraft/entity/passive/AbstractNautilusEntity;getInventoryColumns()Iintermediary method_76587Lnet/minecraft/class_12116;method_76587()Iofficial hkLcwn;hk()I
-
isControlledByMob
protected boolean isControlledByMob()- Mappings:
Namespace Name Mixin selector named isControlledByMobLnet/minecraft/entity/passive/AbstractNautilusEntity;isControlledByMob()Zintermediary method_76727Lnet/minecraft/class_12116;method_76727()Zofficial hlLcwn;hl()Z
-
hasAttackTarget
protected boolean hasAttackTarget()- Mappings:
Namespace Name Mixin selector named hasAttackTargetLnet/minecraft/entity/passive/AbstractNautilusEntity;hasAttackTarget()Zintermediary method_76728Lnet/minecraft/class_12116;method_76728()Zofficial hmLcwn;hm()Z
-