Package net.minecraft.entity.passive
Class RabbitEntity
- All Implemented Interfaces:
ComponentsAccess,Attackable,DataTracked,EquipmentHolder,Leashable,Targeter,ScoreHolder,Nameable,EntityLike,UniquelyIdentifiable,ServerWaypoint,Waypoint
- Mappings:
Namespace Name named net/minecraft/entity/passive/RabbitEntityintermediary net/minecraft/class_1463official cnf
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static classRabbitEntity.FleeGoal<T extends LivingEntity>static classstatic classprivate static classstatic enumNested 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.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 intstatic final doublestatic final doublestatic final doublestatic final doubleprivate static final intprivate static final intprivate static final intprivate static final intprivate intprivate intprivate static final Identifierprivate static final Identifierprivate booleanstatic final double(package private) intprivate intprivate static final TrackedData<Integer> Fields 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, 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, defaultMaxHealth, 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, forwardSpeed, glidingTicks, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, HEALTH_KEY, HURT_BY_TIMESTAMP_KEY, HURT_TIME_KEY, hurtTime, interpolator, itemUseTimeLeft, jumping, lastAttackedTicks, lastBodyYaw, lastDamageTaken, lastHandSwingProgress, lastHeadYaw, limbAnimator, LIVING_FLAGS, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, riptideAttackDamage, riptideStack, riptideTicks, serverHeadYaw, sidewaysSpeed, SLEEPING_DIMENSIONS, SLEEPING_POS_KEY, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanSpawn(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) protected voidcreateChild(ServerWorld serverWorld, PassiveEntity passiveEntity) private voidprivate voidprivate void<T> Tget(ComponentType<? extends T> type) protected SoundEventprotected SoundEventprotected SoundEventgetHurtSound(DamageSource source) floatgetJumpProgress(float tickProgress) protected SoundEventprotected floatReturns the sound category for sounds from this entity.private static RabbitEntity.VariantgetVariantFromPos(WorldAccess world, BlockPos pos) voidhandleStatus(byte status) Called on the client when the entity receives an entity status from the server.protected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.protected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) booleanisBreedingItem(ItemStack stack) voidjump()private voidlookTowards(double x, double z) voidmobTick(ServerWorld world) voidprotected voidreadCustomData(ReadView view) private voidprotected <T> booleansetApplicableComponent(ComponentType<T> type, T value) voidsetJumping(boolean jumping) voidsetSpeed(double speed) private voidsetVariant(RabbitEntity.Variant variant) booleanvoidvoid(package private) booleanprotected voidwriteCustomData(WriteView view) Methods inherited from class net.minecraft.entity.passive.AnimalEntity
applyDamage, breed, breed, canBreedWith, canEat, canImmediatelyDespawn, createAnimalAttributes, eat, getExperienceToDrop, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, interactMob, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, playEatSound, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, getForcedAge, getHappyTicksRemaining, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, 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, canBeLeashed, canDispenserEquipSlot, canGather, canMobSpawn, cannotDespawn, canPickupItem, canPickUpLoot, canRemoveSaddle, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, convertTo, createBodyControl, createEquipmentInventory, createMobAttributes, createNavigation, dropAllForeignEquipment, dropEquipment, dropForeignEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, getAttackBox, getBodyArmor, getControllingPassenger, 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, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInPositionTargetRange, isInPositionTargetRange, isInPositionTargetRange, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, movesIndependently, onEatingGrass, onFinishPathfinding, onLeashRemoved, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setDropGuaranteed, setEquipmentDropChance, setEquipmentFromTable, setEquipmentFromTable, setForwardSpeed, setLeashData, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, snapLongLeash, spawnsTooManyForEachTry, startRiding, stopMovement, swimUpward, tick, 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, canBreatheInWater, canEquip, canEquipFromDispenser, canFreeze, canGlide, canGlideWith, canHaveStatusEffect, canHit, canSee, canSee, canTakeDamage, canTarget, canUsePortals, canUseSlot, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createEquipment, createLivingAttributes, createTracker, damage, damageArmor, damageEquipment, damageHelmet, deserializeBrain, disableExperienceDropping, drop, dropExperience, dropInventory, dropItem, endCombat, enterCombat, equipStack, fall, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackingPlayer, getAttackKnockbackAgainst, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseDimensions, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageBlockedAmount, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getEffectFadeFactor, getEffectiveGravity, getEquippedStack, getEquipSound, getExperienceToDrop, getFallSounds, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getInterpolator, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLocationBasedEnchantmentEffects, getLuck, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, 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, isInsideWall, isInSwimmingPose, isInvulnerableTo, isJumping, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isUsingItem, isUsingRiptide, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onRemoval, onRemove, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, playBlockFallSound, playSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setAttacking, setAttackingPlayer, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropExperience, shouldDropExperience, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnItemParticles, stopGliding, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickControlled, tickCramming, tickGliding, tickHandSwing, tickInVoid, tickItemStackUsage, tickMovementInput, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travel, 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, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, castComponentValue, changeLookDirection, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, 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, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHeldQuadLeashOffsets, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, 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, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, 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, isInSameTeam, isInSneakingPose, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, 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, playStepSound, 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, 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, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, 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, updateTrackedPosition, 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.Leashable
applyElasticity, attachLeash, canBeLeashedTo, canUseQuadLeashAttachmentPoint, detachLeash, detachLeashWithoutDrop, getDistanceToCenter, getElasticLeashDistance, getLeashHolder, getLeashOffset, getLeashSnappingDistance, getQuadLeashOffsets, isLeashed, mightBeLeashed, onLongLeashTick, readLeashData, setUnresolvedLeashHolderId, writeLeashDataMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
field_30356
public static final double field_30356- See Also:
- Mappings:
Namespace Name Mixin selector named field_30356Lnet/minecraft/entity/passive/RabbitEntity;field_30356:Dintermediary field_30356Lnet/minecraft/class_1463;field_30356:Dofficial ckLcnf;ck:D
-
field_30357
public static final double field_30357- See Also:
- Mappings:
Namespace Name Mixin selector named field_30357Lnet/minecraft/entity/passive/RabbitEntity;field_30357:Dintermediary field_30357Lnet/minecraft/class_1463;field_30357:Dofficial clLcnf;cl:D
-
field_30358
public static final double field_30358- See Also:
- Mappings:
Namespace Name Mixin selector named field_30358Lnet/minecraft/entity/passive/RabbitEntity;field_30358:Dintermediary field_30358Lnet/minecraft/class_1463;field_30358:Dofficial cmLcnf;cm:D
-
ESCAPE_DANGER_SPEED
public static final double ESCAPE_DANGER_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector named ESCAPE_DANGER_SPEEDLnet/minecraft/entity/passive/RabbitEntity;ESCAPE_DANGER_SPEED:Dintermediary field_30359Lnet/minecraft/class_1463;field_30359:Dofficial coLcnf;co:D
-
MELEE_ATTACK_SPEED
public static final double MELEE_ATTACK_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector named MELEE_ATTACK_SPEEDLnet/minecraft/entity/passive/RabbitEntity;MELEE_ATTACK_SPEED:Dintermediary field_30360Lnet/minecraft/class_1463;field_30360:Dofficial cpLcnf;cp:D
-
VARIANT
- Mappings:
Namespace Name Mixin selector named VARIANTLnet/minecraft/entity/passive/RabbitEntity;VARIANT:Lnet/minecraft/entity/data/TrackedData;intermediary field_6852Lnet/minecraft/class_1463;field_6852:Lnet/minecraft/class_2940;official cqLcnf;cq:Lalh;
-
DEFAULT_MORE_CARROT_TICKS
private static final int DEFAULT_MORE_CARROT_TICKS- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_MORE_CARROT_TICKSLnet/minecraft/entity/passive/RabbitEntity;DEFAULT_MORE_CARROT_TICKS:Iintermediary field_57616Lnet/minecraft/class_1463;field_57616:Iofficial crLcnf;cr:I
-
KILLER_BUNNY
- Mappings:
Namespace Name Mixin selector named KILLER_BUNNYLnet/minecraft/entity/passive/RabbitEntity;KILLER_BUNNY:Lnet/minecraft/util/Identifier;intermediary field_6846Lnet/minecraft/class_1463;field_6846:Lnet/minecraft/class_2960;official csLcnf;cs:Lame;
-
field_51585
private static final int field_51585- See Also:
- Mappings:
Namespace Name Mixin selector named field_51585Lnet/minecraft/entity/passive/RabbitEntity;field_51585:Iintermediary field_51585Lnet/minecraft/class_1463;field_51585:Iofficial ctLcnf;ct:I
-
field_51586
private static final int field_51586- See Also:
- Mappings:
Namespace Name Mixin selector named field_51586Lnet/minecraft/entity/passive/RabbitEntity;field_51586:Iintermediary field_51586Lnet/minecraft/class_1463;field_51586:Iofficial cuLcnf;cu:I
-
KILLER_BUNNY_ATTACK_DAMAGE_MODIFIER_ID
- Mappings:
Namespace Name Mixin selector named KILLER_BUNNY_ATTACK_DAMAGE_MODIFIER_IDLnet/minecraft/entity/passive/RabbitEntity;KILLER_BUNNY_ATTACK_DAMAGE_MODIFIER_ID:Lnet/minecraft/util/Identifier;intermediary field_51587Lnet/minecraft/class_1463;field_51587:Lnet/minecraft/class_2960;official cvLcnf;cv:Lame;
-
field_30369
private static final int field_30369- See Also:
- Mappings:
Namespace Name Mixin selector named field_30369Lnet/minecraft/entity/passive/RabbitEntity;field_30369:Iintermediary field_30369Lnet/minecraft/class_1463;field_30369:Iofficial cwLcnf;cw:I
-
field_30370
private static final int field_30370- See Also:
- Mappings:
Namespace Name Mixin selector named field_30370Lnet/minecraft/entity/passive/RabbitEntity;field_30370:Iintermediary field_30370Lnet/minecraft/class_1463;field_30370:Iofficial cxLcnf;cx:I
-
jumpTicks
private int jumpTicks- Mappings:
Namespace Name Mixin selector named jumpTicksLnet/minecraft/entity/passive/RabbitEntity;jumpTicks:Iintermediary field_6851Lnet/minecraft/class_1463;field_6851:Iofficial cyLcnf;cy:I
-
jumpDuration
private int jumpDuration- Mappings:
Namespace Name Mixin selector named jumpDurationLnet/minecraft/entity/passive/RabbitEntity;jumpDuration:Iintermediary field_6849Lnet/minecraft/class_1463;field_6849:Iofficial czLcnf;cz:I
-
lastOnGround
private boolean lastOnGround- Mappings:
Namespace Name Mixin selector named lastOnGroundLnet/minecraft/entity/passive/RabbitEntity;lastOnGround:Zintermediary field_6850Lnet/minecraft/class_1463;field_6850:Zofficial cALcnf;cA:Z
-
ticksUntilJump
private int ticksUntilJump- Mappings:
Namespace Name Mixin selector named ticksUntilJumpLnet/minecraft/entity/passive/RabbitEntity;ticksUntilJump:Iintermediary field_6848Lnet/minecraft/class_1463;field_6848:Iofficial cBLcnf;cB:I
-
moreCarrotTicks
int moreCarrotTicks- Mappings:
Namespace Name Mixin selector named moreCarrotTicksLnet/minecraft/entity/passive/RabbitEntity;moreCarrotTicks:Iintermediary field_6847Lnet/minecraft/class_1463;field_6847:Iofficial cCLcnf;cC:I
-
-
Constructor Details
-
RabbitEntity
- 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>Lbzm;<init>(Lbzv;Ldmu;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
getJumpVelocity
protected float getJumpVelocity()- Overrides:
getJumpVelocityin classLivingEntity- Mappings:
Namespace Name Mixin selector named getJumpVelocityLnet/minecraft/entity/LivingEntity;getJumpVelocity()Fintermediary method_6106Lnet/minecraft/class_1309;method_6106()Fofficial fnLcam;fn()F
-
jump
public void jump()- Overrides:
jumpin classLivingEntity- Mappings:
Namespace Name Mixin selector named jumpLnet/minecraft/entity/LivingEntity;jump()Vintermediary method_6043Lnet/minecraft/class_1309;method_6043()Vofficial sLcam;s()V
-
getJumpProgress
public float getJumpProgress(float tickProgress) - Mappings:
Namespace Name Mixin selector named getJumpProgressLnet/minecraft/entity/passive/RabbitEntity;getJumpProgress(F)Fintermediary method_6605Lnet/minecraft/class_1463;method_6605(F)Fofficial JLcnf;J(F)F
-
setSpeed
public void setSpeed(double speed) - Mappings:
Namespace Name Mixin selector named setSpeedLnet/minecraft/entity/passive/RabbitEntity;setSpeed(D)Vintermediary method_6606Lnet/minecraft/class_1463;method_6606(D)Vofficial iLcnf;i(D)V
-
setJumping
public void setJumping(boolean jumping) - Overrides:
setJumpingin classLivingEntity- Mappings:
Namespace Name Mixin selector named setJumpingLnet/minecraft/entity/LivingEntity;setJumping(Z)Vintermediary method_6100Lnet/minecraft/class_1309;method_6100(Z)Vofficial tLcam;t(Z)V
-
startJump
public void startJump()- Mappings:
Namespace Name Mixin selector named startJumpLnet/minecraft/entity/passive/RabbitEntity;startJump()Vintermediary method_6618Lnet/minecraft/class_1463;method_6618()Vofficial mLcnf;m()V
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classPassiveEntity- 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 aLbzm;a(Lall$a;)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 aLcao;a(Laub;)V
-
shouldSpawnSprintingParticles
public boolean shouldSpawnSprintingParticles()- Overrides:
shouldSpawnSprintingParticlesin classEntity- Mappings:
Namespace Name Mixin selector named shouldSpawnSprintingParticlesLnet/minecraft/entity/Entity;shouldSpawnSprintingParticles()Zintermediary method_27298Lnet/minecraft/class_1297;method_27298()Zofficial byLbzm;by()Z
-
lookTowards
private void lookTowards(double x, double z) - Mappings:
Namespace Name Mixin selector named lookTowardsLnet/minecraft/entity/passive/RabbitEntity;lookTowards(DD)Vintermediary method_6616Lnet/minecraft/class_1463;method_6616(DD)Vofficial cLcnf;c(DD)V
-
enableJump
private void enableJump()- Mappings:
Namespace Name Mixin selector named enableJumpLnet/minecraft/entity/passive/RabbitEntity;enableJump()Vintermediary method_6611Lnet/minecraft/class_1463;method_6611()Vofficial gILcnf;gI()V
-
disableJump
private void disableJump()- Mappings:
Namespace Name Mixin selector named disableJumpLnet/minecraft/entity/passive/RabbitEntity;disableJump()Vintermediary method_6621Lnet/minecraft/class_1463;method_6621()Vofficial gJLcnf;gJ()V
-
doScheduleJump
private void doScheduleJump()- Mappings:
Namespace Name Mixin selector named doScheduleJumpLnet/minecraft/entity/passive/RabbitEntity;doScheduleJump()Vintermediary method_6608Lnet/minecraft/class_1463;method_6608()Vofficial gKLcnf;gK()V
-
scheduleJump
private void scheduleJump()- Mappings:
Namespace Name Mixin selector named scheduleJumpLnet/minecraft/entity/passive/RabbitEntity;scheduleJump()Vintermediary method_6619Lnet/minecraft/class_1463;method_6619()Vofficial gLLcnf;gL()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classAnimalEntity- Mappings:
Namespace Name Mixin selector named tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vofficial e_Lcam;e_()V
-
createRabbitAttributes
- Mappings:
Namespace Name Mixin selector named createRabbitAttributesLnet/minecraft/entity/passive/RabbitEntity;createRabbitAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;intermediary method_26892Lnet/minecraft/class_1463;method_26892()Lnet/minecraft/class_5132$class_5133;official nLcnf;n()Lcbr$a;
-
writeCustomData
- Overrides:
writeCustomDatain classAnimalEntity- Mappings:
Namespace Name Mixin selector named writeCustomDataLnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)Vofficial aLbzm;a(Lfdc;)V
-
readCustomData
- Overrides:
readCustomDatain classAnimalEntity- Mappings:
Namespace Name Mixin selector named readCustomDataLnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)Vofficial aLbzm;a(Lfda;)V
-
getJumpSound
- Mappings:
Namespace Name Mixin selector named getJumpSoundLnet/minecraft/entity/passive/RabbitEntity;getJumpSound()Lnet/minecraft/sound/SoundEvent;intermediary method_6615Lnet/minecraft/class_1463;method_6615()Lnet/minecraft/class_3414;official tLcnf;t()Layy;
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;official pLcao;p()Layy;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;official eLcam;e(Lbyb;)Layy;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;official f_Lcam;f_()Layy;
-
playAttackSound
public void playAttackSound()- Overrides:
playAttackSoundin classMobEntity- Mappings:
Namespace Name Mixin selector named playAttackSoundLnet/minecraft/entity/mob/MobEntity;playAttackSound()Vintermediary method_59928Lnet/minecraft/class_1308;method_59928()Vofficial gALcao;gA()V
-
getSoundCategory
Returns the sound category for sounds from this entity.This is used by
Entity.playSound(SoundEvent, float, float)and defaults toSoundCategory.NEUTRAL. Hostile entities should override this to returnSoundCategory.HOSTILE.- Overrides:
getSoundCategoryin classEntity- Returns:
- the sound category for sounds from this entity
- See Also:
- Mappings:
Namespace Name Mixin selector named getSoundCategoryLnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;intermediary method_5634Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;official doLbzm;do()Laza;
-
createChild
@Nullable public @Nullable RabbitEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) - Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector named createChildLnet/minecraft/entity/passive/RabbitEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/RabbitEntity;intermediary method_6620Lnet/minecraft/class_1463;method_6620(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1463;official bLcnf;b(Laub;Lbzc;)Lcnf;
-
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 iLcmd;i(Ldcv;)Z
-
getVariant
- Mappings:
Namespace Name Mixin selector named getVariantLnet/minecraft/entity/passive/RabbitEntity;getVariant()Lnet/minecraft/entity/passive/RabbitEntity$Variant;intermediary method_47855Lnet/minecraft/class_1463;method_47855()Lnet/minecraft/class_1463$class_7990;official gHLcnf;gH()Lcnf$g;
-
setVariant
- Mappings:
Namespace Name Mixin selector named setVariantLnet/minecraft/entity/passive/RabbitEntity;setVariant(Lnet/minecraft/entity/passive/RabbitEntity$Variant;)Vintermediary method_47853Lnet/minecraft/class_1463;method_47853(Lnet/minecraft/class_1463$class_7990;)Vofficial aLcnf;a(Lcnf$g;)V
-
get
- Specified by:
getin interfaceComponentsAccess- Overrides:
getin classEntity- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/component/ComponentsAccess;get(Lnet/minecraft/component/ComponentType;)Ljava/lang/Object;intermediary method_58694Lnet/minecraft/class_9473;method_58694(Lnet/minecraft/class_9331;)Ljava/lang/Object;official aLkl;a(Lkp;)Ljava/lang/Object;
-
copyComponentsFrom
- Overrides:
copyComponentsFromin classEntity- Mappings:
Namespace Name Mixin selector named copyComponentsFromLnet/minecraft/entity/Entity;copyComponentsFrom(Lnet/minecraft/component/ComponentsAccess;)Vintermediary method_66649Lnet/minecraft/class_1297;method_66649(Lnet/minecraft/class_9473;)Vofficial aLbzm;a(Lkl;)V
-
setApplicableComponent
- Overrides:
setApplicableComponentin classEntity- Mappings:
Namespace Name Mixin selector named setApplicableComponentLnet/minecraft/entity/Entity;setApplicableComponent(Lnet/minecraft/component/ComponentType;Ljava/lang/Object;)Zintermediary method_66654Lnet/minecraft/class_1297;method_66654(Lnet/minecraft/class_9331;Ljava/lang/Object;)Zofficial bLbzm;b(Lkp;Ljava/lang/Object;)Z
-
initialize
@Nullable public @Nullable 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 aLcao;a(Ldnl;Lbxh;Lbzu;Lcbe;)Lcbe;
-
getVariantFromPos
- Mappings:
Namespace Name Mixin selector named getVariantFromPosLnet/minecraft/entity/passive/RabbitEntity;getVariantFromPos(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/passive/RabbitEntity$Variant;intermediary method_47854Lnet/minecraft/class_1463;method_47854(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1463$class_7990;official aLcnf;a(Ldmv;Ljb;)Lcnf$g;
-
canSpawn
public static boolean canSpawn(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector named canSpawnLnet/minecraft/entity/passive/RabbitEntity;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_20669Lnet/minecraft/class_1463;method_20669(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Zofficial cLcnf;c(Lbzv;Ldmv;Lbzu;Ljb;Lbck;)Z
-
wantsCarrots
boolean wantsCarrots()- Mappings:
Namespace Name Mixin selector named wantsCarrotsLnet/minecraft/entity/passive/RabbitEntity;wantsCarrots()Zintermediary method_6607Lnet/minecraft/class_1463;method_6607()Zofficial gTLcnf;gT()Z
-
handleStatus
public void handleStatus(byte status) Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.- Overrides:
handleStatusin classAnimalEntity- See Also:
- API Note:
- To send an entity status, use
World.sendEntityStatus(net.minecraft.entity.Entity, byte). - Mappings:
Namespace Name Mixin selector named handleStatusLnet/minecraft/entity/Entity;handleStatus(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vofficial bLbzm;b(B)V
-
getLeashOffset
- Mappings:
Namespace Name Mixin selector named getLeashOffsetLnet/minecraft/entity/Leashable;getLeashOffset()Lnet/minecraft/util/math/Vec3d;intermediary method_29919Lnet/minecraft/class_9817;method_29919()Lnet/minecraft/class_243;official FLcak;F()Lfis;
-