Class RabbitEntity
- All Implemented Interfaces:
CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official bny
intermediary net/minecraft/class_1463
named net/minecraft/entity/passive/RabbitEntity
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
private static class
RabbitEntity.FleeGoal<T extends LivingEntity>
private static class
static class
static class
private static class
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveData
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final double
static final double
static final double
static final double
static final double
static final int
static final int
private static final int
static final int
private int
private int
private static final Identifier
static final int
private boolean
(package private) int
private static final TrackedData<Integer>
static final int
private int
static final int
static final int
Fields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWN
Fields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemaining
Fields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVOR
Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, field_38932, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, MINIMUM_DROPPED_XP_PER_EQUIPMENT, moveControl, navigation, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, airStrafingSpeed, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30067, field_30069, field_30070, field_30072, field_30074, field_30075, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAG
Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canSpawn
(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) private int
chooseType
(WorldAccess world) createChild
(ServerWorld serverWorld, PassiveEntity passiveEntity) private void
private void
private void
protected SoundEvent
protected SoundEvent
protected SoundEvent
getHurtSound
(DamageSource source) float
getJumpProgress
(float delta) protected SoundEvent
protected float
Returns the offset from the entity's position where the leash is attached to.int
Returns the sound category for sounds from this entity.void
handleStatus
(byte status) Called on the client when the entity receives an entity status from the server.protected void
Initializes data tracker.protected void
initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) boolean
isBreedingItem
(ItemStack stack) private static boolean
isTempting
(ItemStack stack) protected void
jump()
private void
lookTowards
(double x, double z) void
mobTick()
void
Reads custom data fromnbt
.private void
void
setJumping
(boolean jumping) void
setRabbitType
(int rabbitType) void
setSpeed
(double speed) boolean
void
void
boolean
(package private) boolean
void
Writes custom data tonbt
.Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canBreedWith, canEat, canImmediatelyDespawn, damage, eat, getHeightOffset, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, getXpToDrop, interactMob, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, resetLoveTicks, setLoveTicks
Methods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge, toGrowUpAge
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, shouldFollowLeash, updateForLeashLength, updateLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getItemPickUpRangeExpander, getJumpControl, getLimitPerChunk, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPotentialEscapePositions, getSafeFallDistance, getTarget, getVisibilityCache, hasPositionTarget, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, swimUpward, tick, tickNewAi, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveEyeHeight, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSounds, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, kill, knockback, knockDownwards, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playEquipSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMessageSourceProfile, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasPrimaryPassenger, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
field_30356
public static final double field_30356- See Also:
- Mappings:
Namespace Name Mixin selector official bX
Lbny;bX:D
intermediary field_30356
Lnet/minecraft/class_1463;field_30356:D
named field_30356
Lnet/minecraft/entity/passive/RabbitEntity;field_30356:D
-
field_30357
public static final double field_30357- See Also:
- Mappings:
Namespace Name Mixin selector official bY
Lbny;bY:D
intermediary field_30357
Lnet/minecraft/class_1463;field_30357:D
named field_30357
Lnet/minecraft/entity/passive/RabbitEntity;field_30357:D
-
field_30358
public static final double field_30358- See Also:
- Mappings:
Namespace Name Mixin selector official ca
Lbny;ca:D
intermediary field_30358
Lnet/minecraft/class_1463;field_30358:D
named field_30358
Lnet/minecraft/entity/passive/RabbitEntity;field_30358:D
-
ESCAPE_SPEED
public static final double ESCAPE_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector official cb
Lbny;cb:D
intermediary field_30359
Lnet/minecraft/class_1463;field_30359:D
named ESCAPE_SPEED
Lnet/minecraft/entity/passive/RabbitEntity;ESCAPE_SPEED:D
-
field_30360
public static final double field_30360- See Also:
- Mappings:
Namespace Name Mixin selector official cc
Lbny;cc:D
intermediary field_30360
Lnet/minecraft/class_1463;field_30360:D
named field_30360
Lnet/minecraft/entity/passive/RabbitEntity;field_30360:D
-
RABBIT_TYPE
- Mappings:
Namespace Name Mixin selector official cm
Lbny;cm:Laaj;
intermediary field_6852
Lnet/minecraft/class_1463;field_6852:Lnet/minecraft/class_2940;
named RABBIT_TYPE
Lnet/minecraft/entity/passive/RabbitEntity;RABBIT_TYPE:Lnet/minecraft/entity/data/TrackedData;
-
BROWN_TYPE
public static final int BROWN_TYPE- See Also:
- Mappings:
Namespace Name Mixin selector official cd
Lbny;cd:I
intermediary field_30361
Lnet/minecraft/class_1463;field_30361:I
named BROWN_TYPE
Lnet/minecraft/entity/passive/RabbitEntity;BROWN_TYPE:I
-
WHITE_TYPE
public static final int WHITE_TYPE- See Also:
- Mappings:
Namespace Name Mixin selector official ce
Lbny;ce:I
intermediary field_30362
Lnet/minecraft/class_1463;field_30362:I
named WHITE_TYPE
Lnet/minecraft/entity/passive/RabbitEntity;WHITE_TYPE:I
-
BLACK_TYPE
public static final int BLACK_TYPE- See Also:
- Mappings:
Namespace Name Mixin selector official cf
Lbny;cf:I
intermediary field_30363
Lnet/minecraft/class_1463;field_30363:I
named BLACK_TYPE
Lnet/minecraft/entity/passive/RabbitEntity;BLACK_TYPE:I
-
WHITE_SPOTTED_TYPE
public static final int WHITE_SPOTTED_TYPE- See Also:
- Mappings:
Namespace Name Mixin selector official cg
Lbny;cg:I
intermediary field_30364
Lnet/minecraft/class_1463;field_30364:I
named WHITE_SPOTTED_TYPE
Lnet/minecraft/entity/passive/RabbitEntity;WHITE_SPOTTED_TYPE:I
-
GOLD_TYPE
public static final int GOLD_TYPE- See Also:
- Mappings:
Namespace Name Mixin selector official ch
Lbny;ch:I
intermediary field_30365
Lnet/minecraft/class_1463;field_30365:I
named GOLD_TYPE
Lnet/minecraft/entity/passive/RabbitEntity;GOLD_TYPE:I
-
SALT_TYPE
public static final int SALT_TYPE- See Also:
- Mappings:
Namespace Name Mixin selector official ci
Lbny;ci:I
intermediary field_30366
Lnet/minecraft/class_1463;field_30366:I
named SALT_TYPE
Lnet/minecraft/entity/passive/RabbitEntity;SALT_TYPE:I
-
KILLER_BUNNY_TYPE
public static final int KILLER_BUNNY_TYPE- See Also:
- Mappings:
Namespace Name Mixin selector official cj
Lbny;cj:I
intermediary field_30367
Lnet/minecraft/class_1463;field_30367:I
named KILLER_BUNNY_TYPE
Lnet/minecraft/entity/passive/RabbitEntity;KILLER_BUNNY_TYPE:I
-
KILLER_BUNNY
- Mappings:
Namespace Name Mixin selector official cn
Lbny;cn:Labb;
intermediary field_6846
Lnet/minecraft/class_1463;field_6846:Lnet/minecraft/class_2960;
named KILLER_BUNNY
Lnet/minecraft/entity/passive/RabbitEntity;KILLER_BUNNY:Lnet/minecraft/util/Identifier;
-
field_30368
public static final int field_30368- See Also:
- Mappings:
Namespace Name Mixin selector official ck
Lbny;ck:I
intermediary field_30368
Lnet/minecraft/class_1463;field_30368:I
named field_30368
Lnet/minecraft/entity/passive/RabbitEntity;field_30368:I
-
field_30369
public static final int field_30369- See Also:
- Mappings:
Namespace Name Mixin selector official cl
Lbny;cl:I
intermediary field_30369
Lnet/minecraft/class_1463;field_30369:I
named field_30369
Lnet/minecraft/entity/passive/RabbitEntity;field_30369:I
-
field_30370
private static final int field_30370- See Also:
- Mappings:
Namespace Name Mixin selector official co
Lbny;co:I
intermediary field_30370
Lnet/minecraft/class_1463;field_30370:I
named field_30370
Lnet/minecraft/entity/passive/RabbitEntity;field_30370:I
-
jumpTicks
private int jumpTicks- Mappings:
Namespace Name Mixin selector official cp
Lbny;cp:I
intermediary field_6851
Lnet/minecraft/class_1463;field_6851:I
named jumpTicks
Lnet/minecraft/entity/passive/RabbitEntity;jumpTicks:I
-
jumpDuration
private int jumpDuration- Mappings:
Namespace Name Mixin selector official cq
Lbny;cq:I
intermediary field_6849
Lnet/minecraft/class_1463;field_6849:I
named jumpDuration
Lnet/minecraft/entity/passive/RabbitEntity;jumpDuration:I
-
lastOnGround
private boolean lastOnGround- Mappings:
Namespace Name Mixin selector official cr
Lbny;cr:Z
intermediary field_6850
Lnet/minecraft/class_1463;field_6850:Z
named lastOnGround
Lnet/minecraft/entity/passive/RabbitEntity;lastOnGround:Z
-
ticksUntilJump
private int ticksUntilJump- Mappings:
Namespace Name Mixin selector official cs
Lbny;cs:I
intermediary field_6848
Lnet/minecraft/class_1463;field_6848:I
named ticksUntilJump
Lnet/minecraft/entity/passive/RabbitEntity;ticksUntilJump:I
-
moreCarrotTicks
int moreCarrotTicks- Mappings:
Namespace Name Mixin selector official ct
Lbny;ct:I
intermediary field_6847
Lnet/minecraft/class_1463;field_6847:I
named moreCarrotTicks
Lnet/minecraft/entity/passive/RabbitEntity;moreCarrotTicks:I
-
-
Constructor Details
-
RabbitEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbbn;<init>(Lbbr;Lcgx;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
getJumpVelocity
protected float getJumpVelocity()- Overrides:
getJumpVelocity
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eF
Lbcc;eF()F
intermediary method_6106
Lnet/minecraft/class_1309;method_6106()F
named getJumpVelocity
Lnet/minecraft/entity/LivingEntity;getJumpVelocity()F
-
jump
protected void jump()- Overrides:
jump
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eH
Lbcc;eH()V
intermediary method_6043
Lnet/minecraft/class_1309;method_6043()V
named jump
Lnet/minecraft/entity/LivingEntity;jump()V
-
getJumpProgress
public float getJumpProgress(float delta) - Mappings:
Namespace Name Mixin selector official y
Lbny;y(F)F
intermediary method_6605
Lnet/minecraft/class_1463;method_6605(F)F
named getJumpProgress
Lnet/minecraft/entity/passive/RabbitEntity;getJumpProgress(F)F
-
setSpeed
public void setSpeed(double speed) - Mappings:
Namespace Name Mixin selector official i
Lbny;i(D)V
intermediary method_6606
Lnet/minecraft/class_1463;method_6606(D)V
named setSpeed
Lnet/minecraft/entity/passive/RabbitEntity;setSpeed(D)V
-
setJumping
public void setJumping(boolean jumping) - Overrides:
setJumping
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official q
Lbcc;q(Z)V
intermediary method_6100
Lnet/minecraft/class_1309;method_6100(Z)V
named setJumping
Lnet/minecraft/entity/LivingEntity;setJumping(Z)V
-
startJump
public void startJump()- Mappings:
Namespace Name Mixin selector official q
Lbny;q()V
intermediary method_6618
Lnet/minecraft/class_1463;method_6618()V
named startJump
Lnet/minecraft/entity/passive/RabbitEntity;startJump()V
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Overrides:
initDataTracker
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a_
Lbbn;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
mobTick
public void mobTick()- Overrides:
mobTick
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official T
Lbce;T()V
intermediary method_5958
Lnet/minecraft/class_1308;method_5958()V
named mobTick
Lnet/minecraft/entity/mob/MobEntity;mobTick()V
-
shouldSpawnSprintingParticles
public boolean shouldSpawnSprintingParticles()- Overrides:
shouldSpawnSprintingParticles
in classEntity
- Mappings:
Namespace Name Mixin selector official bd
Lbbn;bd()Z
intermediary method_27298
Lnet/minecraft/class_1297;method_27298()Z
named shouldSpawnSprintingParticles
Lnet/minecraft/entity/Entity;shouldSpawnSprintingParticles()Z
-
lookTowards
private void lookTowards(double x, double z) - Mappings:
Namespace Name Mixin selector official b
Lbny;b(DD)V
intermediary method_6616
Lnet/minecraft/class_1463;method_6616(DD)V
named lookTowards
Lnet/minecraft/entity/passive/RabbitEntity;lookTowards(DD)V
-
enableJump
private void enableJump()- Mappings:
Namespace Name Mixin selector official fL
Lbny;fL()V
intermediary method_6611
Lnet/minecraft/class_1463;method_6611()V
named enableJump
Lnet/minecraft/entity/passive/RabbitEntity;enableJump()V
-
disableJump
private void disableJump()- Mappings:
Namespace Name Mixin selector official fR
Lbny;fR()V
intermediary method_6621
Lnet/minecraft/class_1463;method_6621()V
named disableJump
Lnet/minecraft/entity/passive/RabbitEntity;disableJump()V
-
doScheduleJump
private void doScheduleJump()- Mappings:
Namespace Name Mixin selector official fS
Lbny;fS()V
intermediary method_6608
Lnet/minecraft/class_1463;method_6608()V
named doScheduleJump
Lnet/minecraft/entity/passive/RabbitEntity;doScheduleJump()V
-
scheduleJump
private void scheduleJump()- Mappings:
Namespace Name Mixin selector official fT
Lbny;fT()V
intermediary method_6619
Lnet/minecraft/class_1463;method_6619()V
named scheduleJump
Lnet/minecraft/entity/passive/RabbitEntity;scheduleJump()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official w_
Lbcc;w_()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
-
createRabbitAttributes
- Mappings:
Namespace Name Mixin selector official t
Lbny;t()Lbdc$a;
intermediary method_26892
Lnet/minecraft/class_1463;method_26892()Lnet/minecraft/class_5132$class_5133;
named createRabbitAttributes
Lnet/minecraft/entity/passive/RabbitEntity;createRabbitAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
writeCustomDataToNbt
Writes custom data tonbt
. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Overrides:
writeCustomDataToNbt
in classAnimalEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbbn;b(Lpj;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
Reads custom data fromnbt
. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbt
might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readCustomDataFromNbt
in classAnimalEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbbn;a(Lpj;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getJumpSound
- Mappings:
Namespace Name Mixin selector official fJ
Lbny;fJ()Lajv;
intermediary method_6615
Lnet/minecraft/class_1463;method_6615()Lnet/minecraft/class_3414;
named getJumpSound
Lnet/minecraft/entity/passive/RabbitEntity;getJumpSound()Lnet/minecraft/sound/SoundEvent;
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official r
Lbce;r()Lajv;
intermediary method_5994
Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
named getAmbientSound
Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lbcc;c(Lbaw;)Lajv;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official x_
Lbcc;x_()Lajv;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
tryAttack
-
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:
getSoundCategory
in classEntity
- Returns:
- the sound category for sounds from this entity
- See Also:
- Mappings:
Namespace Name Mixin selector official cR
Lbbn;cR()Lajx;
intermediary method_5634
Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
named getSoundCategory
Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
-
isTempting
- Mappings:
Namespace Name Mixin selector official m
Lbny;m(Lcax;)Z
intermediary method_6614
Lnet/minecraft/class_1463;method_6614(Lnet/minecraft/class_1799;)Z
named isTempting
Lnet/minecraft/entity/passive/RabbitEntity;isTempting(Lnet/minecraft/item/ItemStack;)Z
-
createChild
- Specified by:
createChild
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official b
Lbny;b(Lagg;Lbbk;)Lbny;
intermediary method_6620
Lnet/minecraft/class_1463;method_6620(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1463;
named createChild
Lnet/minecraft/entity/passive/RabbitEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/RabbitEntity;
-
isBreedingItem
- Overrides:
isBreedingItem
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official n
Lbne;n(Lcax;)Z
intermediary method_6481
Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
named isBreedingItem
Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
getRabbitType
public int getRabbitType()- Mappings:
Namespace Name Mixin selector official fK
Lbny;fK()I
intermediary method_6610
Lnet/minecraft/class_1463;method_6610()I
named getRabbitType
Lnet/minecraft/entity/passive/RabbitEntity;getRabbitType()I
-
setRabbitType
public void setRabbitType(int rabbitType) - Mappings:
Namespace Name Mixin selector official t
Lbny;t(I)V
intermediary method_6617
Lnet/minecraft/class_1463;method_6617(I)V
named setRabbitType
Lnet/minecraft/entity/passive/RabbitEntity;setRabbitType(I)V
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt) - Overrides:
initialize
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a
Lbce;a(Lchm;Lbah;Lbcg;Lbcu;Lpj;)Lbcu;
intermediary method_5943
Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;
named initialize
Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
-
chooseType
- Mappings:
Namespace Name Mixin selector official a
Lbny;a(Lcgy;)I
intermediary method_6622
Lnet/minecraft/class_1463;method_6622(Lnet/minecraft/class_1936;)I
named chooseType
Lnet/minecraft/entity/passive/RabbitEntity;chooseType(Lnet/minecraft/world/WorldAccess;)I
-
canSpawn
public static boolean canSpawn(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector official c
Lbny;c(Lbbr;Lcgy;Lbcg;Lgt;Lamn;)Z
intermediary method_20669
Lnet/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;)Z
named canSpawn
Lnet/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;)Z
-
wantsCarrots
boolean wantsCarrots()- Mappings:
Namespace Name Mixin selector official fU
Lbny;fU()Z
intermediary method_6607
Lnet/minecraft/class_1463;method_6607()Z
named wantsCarrots
Lnet/minecraft/entity/passive/RabbitEntity;wantsCarrots()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:
handleStatus
in classAnimalEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbbn;a(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
-
getLeashOffset
Returns the offset from the entity's position where the leash is attached to.This is different from
Entity.getLeashPos(float)
; this method is called on the entity which a leash is attached to.- Overrides:
getLeashOffset
in classEntity
- Returns:
- the offset from the entity's position where the leash is attached to
- See Also:
- Mappings:
Namespace Name Mixin selector official cB
Lbbn;cB()Ldwq;
intermediary method_29919
Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;
named getLeashOffset
Lnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
-