Class BeeEntity
- All Implemented Interfaces:
Flutterer
,Angerable
,CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official bpp
intermediary net/minecraft/class_4466
named net/minecraft/entity/passive/BeeEntity
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
private class
private class
private class
private class
class
class
private class
private class
private 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 TypeFieldDescriptionprivate static final TrackedData<Integer>
private static final UniformIntProvider
private static final TrackedData<Byte>
static final String
private int
static final String
private int
private float
static final int
static final float
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
A bee will start moving to a flower once this time in ticks has passed from a pollination.static final String
private static final int
private static final int
static final String
private static final int
static final String
static final String
private float
private static final int
private static final int
private static final int
The minimum distance that bees will immediately return to their hive at.private BeeEntity.MoveToFlowerGoal
(package private) BeeEntity.MoveToHiveGoal
private static final int
private static final int
(package private) BeeEntity.PollinateGoal
private static final int
The duration in ticks when a bee's pollination is considered failed.static final String
private int
(package private) int
(package private) int
private int
(package private) int
private static final int
The minimum distance that bees lose their hive or flower position at.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.entity.mob.Angerable
ANGER_TIME_KEY, ANGRY_AT_KEY
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
private void
addParticle
(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect) (package private) boolean
void
createChild
(ServerWorld serverWorld, PassiveEntity passiveEntity) protected EntityNavigation
createNavigation
(World world) boolean
damage
(DamageSource source, float amount) Applies a damage to this entity.private boolean
private boolean
protected void
fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected float
getActiveEyeHeight
(EntityPose pose, EntityDimensions dimensions) protected SoundEvent
int
private boolean
getBeeFlag
(int location) float
getBodyPitch
(float tickDelta) (package private) int
protected SoundEvent
getGroup()
protected SoundEvent
getHurtSound
(DamageSource source) Returns the offset from the entity's position where the leash is attached to.int
float
getPathfindingFavor
(BlockPos pos, WorldView world) protected float
boolean
handleFallDamage
(float fallDistance, float damageMultiplier, DamageSource damageSource) Called when an entity falls.boolean
boolean
hasHive()
boolean
boolean
hasStung()
protected void
Initializes data tracker.protected void
boolean
isBreedingItem
(ItemStack stack) boolean
Returns whether the entity is flapping their wings.(package private) boolean
private boolean
(package private) boolean
boolean
isInAir()
private boolean
(package private) boolean
(package private) boolean
isWithinDistance
(BlockPos pos, int distance) protected void
mobTick()
void
protected void
playStepSound
(BlockPos pos, BlockState state) void
Reads custom data fromnbt
.private void
void
protected void
void
setAngerTime
(int angerTime) void
setAngryAt
(@Nullable UUID angryAt) private void
setBeeFlag
(int bit, boolean value) void
setCannotEnterHiveTicks
(int cannotEnterHiveTicks) void
setFlowerPos
(BlockPos flowerPos) (package private) void
setHasNectar
(boolean hasNectar) private void
setHasStung
(boolean hasStung) private void
setNearTarget
(boolean nearTarget) (package private) void
startMovingTo
(BlockPos pos) protected void
swimUpward
(TagKey<Fluid> fluid) void
tick()
Ticks this entity.void
boolean
private void
void
Writes custom data tonbt
.Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canBreedWith, canEat, canImmediatelyDespawn, eat, getHeightOffset, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getXpToDrop, handleStatus, interactMob, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, resetLoveTicks, setLoveTicks
Methods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, initialize, 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, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, 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, getSafeFallDistance, getSquaredDistanceToAttackPosOf, 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, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, tickNewAi, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageArmor, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackPos, getAttributeBaseValue, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSounds, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, 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, jump, 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, setJumping, 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, 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, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, 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, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, 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, getSoundCategory, 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, 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, limitFallDistance, method_45320, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, 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, shouldSpawnSprintingParticles, 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.entity.mob.Angerable
canTarget, forgive, getAttacker, getTarget, hasAngerTime, isUniversallyAngry, readAngerFromNbt, setAttacker, setAttacking, setTarget, shouldAngerAt, stopAnger, tickAngerLogic, universallyAnger, writeAngerToNbt
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
field_30271
public static final float field_30271- See Also:
- Mappings:
Namespace Name Mixin selector official bX
Lbpp;bX:F
intermediary field_30271
Lnet/minecraft/class_4466;field_30271:F
named field_30271
Lnet/minecraft/entity/passive/BeeEntity;field_30271:F
-
field_28638
public static final int field_28638- Mappings:
Namespace Name Mixin selector official bY
Lbpp;bY:I
intermediary field_28638
Lnet/minecraft/class_4466;field_28638:I
named field_28638
Lnet/minecraft/entity/passive/BeeEntity;field_28638:I
-
BEE_FLAGS
- Mappings:
Namespace Name Mixin selector official ch
Lbpp;ch:Labn;
intermediary field_20353
Lnet/minecraft/class_4466;field_20353:Lnet/minecraft/class_2940;
named BEE_FLAGS
Lnet/minecraft/entity/passive/BeeEntity;BEE_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
ANGER
- Mappings:
Namespace Name Mixin selector official ci
Lbpp;ci:Labn;
intermediary field_20354
Lnet/minecraft/class_4466;field_20354:Lnet/minecraft/class_2940;
named ANGER
Lnet/minecraft/entity/passive/BeeEntity;ANGER:Lnet/minecraft/entity/data/TrackedData;
-
NEAR_TARGET_FLAG
private static final int NEAR_TARGET_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cj
Lbpp;cj:I
intermediary field_30281
Lnet/minecraft/class_4466;field_30281:I
named NEAR_TARGET_FLAG
Lnet/minecraft/entity/passive/BeeEntity;NEAR_TARGET_FLAG:I
-
HAS_STUNG_FLAG
private static final int HAS_STUNG_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official ck
Lbpp;ck:I
intermediary field_30282
Lnet/minecraft/class_4466;field_30282:I
named HAS_STUNG_FLAG
Lnet/minecraft/entity/passive/BeeEntity;HAS_STUNG_FLAG:I
-
HAS_NECTAR_FLAG
private static final int HAS_NECTAR_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cl
Lbpp;cl:I
intermediary field_30283
Lnet/minecraft/class_4466;field_30283:I
named HAS_NECTAR_FLAG
Lnet/minecraft/entity/passive/BeeEntity;HAS_NECTAR_FLAG:I
-
MAX_LIFETIME_AFTER_STINGING
private static final int MAX_LIFETIME_AFTER_STINGING- See Also:
- Mappings:
Namespace Name Mixin selector official cm
Lbpp;cm:I
intermediary field_30284
Lnet/minecraft/class_4466;field_30284:I
named MAX_LIFETIME_AFTER_STINGING
Lnet/minecraft/entity/passive/BeeEntity;MAX_LIFETIME_AFTER_STINGING:I
-
FLOWER_NAVIGATION_START_TICKS
private static final int FLOWER_NAVIGATION_START_TICKSA bee will start moving to a flower once this time in ticks has passed from a pollination.- See Also:
- Mappings:
Namespace Name Mixin selector official cn
Lbpp;cn:I
intermediary field_30285
Lnet/minecraft/class_4466;field_30285:I
named FLOWER_NAVIGATION_START_TICKS
Lnet/minecraft/entity/passive/BeeEntity;FLOWER_NAVIGATION_START_TICKS:I
-
POLLINATION_FAIL_TICKS
private static final int POLLINATION_FAIL_TICKSThe duration in ticks when a bee's pollination is considered failed.- See Also:
- Mappings:
Namespace Name Mixin selector official co
Lbpp;co:I
intermediary field_30286
Lnet/minecraft/class_4466;field_30286:I
named POLLINATION_FAIL_TICKS
Lnet/minecraft/entity/passive/BeeEntity;POLLINATION_FAIL_TICKS:I
-
field_30287
private static final int field_30287- See Also:
- Mappings:
Namespace Name Mixin selector official cp
Lbpp;cp:I
intermediary field_30287
Lnet/minecraft/class_4466;field_30287:I
named field_30287
Lnet/minecraft/entity/passive/BeeEntity;field_30287:I
-
MAX_POLLINATED_CROPS
private static final int MAX_POLLINATED_CROPS- See Also:
- Mappings:
Namespace Name Mixin selector official cq
Lbpp;cq:I
intermediary field_30288
Lnet/minecraft/class_4466;field_30288:I
named MAX_POLLINATED_CROPS
Lnet/minecraft/entity/passive/BeeEntity;MAX_POLLINATED_CROPS:I
-
NORMAL_DIFFICULTY_STING_POISON_DURATION
private static final int NORMAL_DIFFICULTY_STING_POISON_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector official cr
Lbpp;cr:I
intermediary field_30289
Lnet/minecraft/class_4466;field_30289:I
named NORMAL_DIFFICULTY_STING_POISON_DURATION
Lnet/minecraft/entity/passive/BeeEntity;NORMAL_DIFFICULTY_STING_POISON_DURATION:I
-
HARD_DIFFICULTY_STING_POISON_DURATION
private static final int HARD_DIFFICULTY_STING_POISON_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector official cs
Lbpp;cs:I
intermediary field_30290
Lnet/minecraft/class_4466;field_30290:I
named HARD_DIFFICULTY_STING_POISON_DURATION
Lnet/minecraft/entity/passive/BeeEntity;HARD_DIFFICULTY_STING_POISON_DURATION:I
-
TOO_FAR_DISTANCE
private static final int TOO_FAR_DISTANCEThe minimum distance that bees lose their hive or flower position at.- See Also:
- Mappings:
Namespace Name Mixin selector official ct
Lbpp;ct:I
intermediary field_30291
Lnet/minecraft/class_4466;field_30291:I
named TOO_FAR_DISTANCE
Lnet/minecraft/entity/passive/BeeEntity;TOO_FAR_DISTANCE:I
-
field_30292
private static final int field_30292- See Also:
- Mappings:
Namespace Name Mixin selector official cu
Lbpp;cu:I
intermediary field_30292
Lnet/minecraft/class_4466;field_30292:I
named field_30292
Lnet/minecraft/entity/passive/BeeEntity;field_30292:I
-
MIN_HIVE_RETURN_DISTANCE
private static final int MIN_HIVE_RETURN_DISTANCEThe minimum distance that bees will immediately return to their hive at.- See Also:
- Mappings:
Namespace Name Mixin selector official cv
Lbpp;cv:I
intermediary field_30293
Lnet/minecraft/class_4466;field_30293:I
named MIN_HIVE_RETURN_DISTANCE
Lnet/minecraft/entity/passive/BeeEntity;MIN_HIVE_RETURN_DISTANCE:I
-
field_30294
private static final int field_30294- See Also:
- Mappings:
Namespace Name Mixin selector official cw
Lbpp;cw:I
intermediary field_30294
Lnet/minecraft/class_4466;field_30294:I
named field_30294
Lnet/minecraft/entity/passive/BeeEntity;field_30294:I
-
CROPS_GROWN_SINCE_POLLINATION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official ca
Lbpp;ca:Ljava/lang/String;
intermediary field_30272
Lnet/minecraft/class_4466;field_30272:Ljava/lang/String;
named CROPS_GROWN_SINCE_POLLINATION_KEY
Lnet/minecraft/entity/passive/BeeEntity;CROPS_GROWN_SINCE_POLLINATION_KEY:Ljava/lang/String;
-
CANNOT_ENTER_HIVE_TICKS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official cb
Lbpp;cb:Ljava/lang/String;
intermediary field_30273
Lnet/minecraft/class_4466;field_30273:Ljava/lang/String;
named CANNOT_ENTER_HIVE_TICKS_KEY
Lnet/minecraft/entity/passive/BeeEntity;CANNOT_ENTER_HIVE_TICKS_KEY:Ljava/lang/String;
-
TICKS_SINCE_POLLINATION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official cc
Lbpp;cc:Ljava/lang/String;
intermediary field_30276
Lnet/minecraft/class_4466;field_30276:Ljava/lang/String;
named TICKS_SINCE_POLLINATION_KEY
Lnet/minecraft/entity/passive/BeeEntity;TICKS_SINCE_POLLINATION_KEY:Ljava/lang/String;
-
HAS_STUNG_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official cd
Lbpp;cd:Ljava/lang/String;
intermediary field_30277
Lnet/minecraft/class_4466;field_30277:Ljava/lang/String;
named HAS_STUNG_KEY
Lnet/minecraft/entity/passive/BeeEntity;HAS_STUNG_KEY:Ljava/lang/String;
-
HAS_NECTAR_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official ce
Lbpp;ce:Ljava/lang/String;
intermediary field_30278
Lnet/minecraft/class_4466;field_30278:Ljava/lang/String;
named HAS_NECTAR_KEY
Lnet/minecraft/entity/passive/BeeEntity;HAS_NECTAR_KEY:Ljava/lang/String;
-
FLOWER_POS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official cf
Lbpp;cf:Ljava/lang/String;
intermediary field_30279
Lnet/minecraft/class_4466;field_30279:Ljava/lang/String;
named FLOWER_POS_KEY
Lnet/minecraft/entity/passive/BeeEntity;FLOWER_POS_KEY:Ljava/lang/String;
-
HIVE_POS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official cg
Lbpp;cg:Ljava/lang/String;
intermediary field_30280
Lnet/minecraft/class_4466;field_30280:Ljava/lang/String;
named HIVE_POS_KEY
Lnet/minecraft/entity/passive/BeeEntity;HIVE_POS_KEY:Ljava/lang/String;
-
ANGER_TIME_RANGE
- Mappings:
Namespace Name Mixin selector official cx
Lbpp;cx:Lbbx;
intermediary field_25363
Lnet/minecraft/class_4466;field_25363:Lnet/minecraft/class_6019;
named ANGER_TIME_RANGE
Lnet/minecraft/entity/passive/BeeEntity;ANGER_TIME_RANGE:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
-
field_30274
private static final int field_30274- See Also:
- Mappings:
Namespace Name Mixin selector official cF
Lbpp;cF:I
intermediary field_30274
Lnet/minecraft/class_4466;field_30274:I
named field_30274
Lnet/minecraft/entity/passive/BeeEntity;field_30274:I
-
field_30275
private static final int field_30275- See Also:
- Mappings:
Namespace Name Mixin selector official cH
Lbpp;cH:I
intermediary field_30275
Lnet/minecraft/class_4466;field_30275:I
named field_30275
Lnet/minecraft/entity/passive/BeeEntity;field_30275:I
-
angryAt
- Mappings:
Namespace Name Mixin selector official cy
Lbpp;cy:Ljava/util/UUID;
intermediary field_25364
Lnet/minecraft/class_4466;field_25364:Ljava/util/UUID;
named angryAt
Lnet/minecraft/entity/passive/BeeEntity;angryAt:Ljava/util/UUID;
-
currentPitch
private float currentPitch- Mappings:
Namespace Name Mixin selector official cz
Lbpp;cz:F
intermediary field_20356
Lnet/minecraft/class_4466;field_20356:F
named currentPitch
Lnet/minecraft/entity/passive/BeeEntity;currentPitch:F
-
lastPitch
private float lastPitch- Mappings:
Namespace Name Mixin selector official cA
Lbpp;cA:F
intermediary field_20357
Lnet/minecraft/class_4466;field_20357:F
named lastPitch
Lnet/minecraft/entity/passive/BeeEntity;lastPitch:F
-
ticksSinceSting
private int ticksSinceSting- Mappings:
Namespace Name Mixin selector official cB
Lbpp;cB:I
intermediary field_20358
Lnet/minecraft/class_4466;field_20358:I
named ticksSinceSting
Lnet/minecraft/entity/passive/BeeEntity;ticksSinceSting:I
-
ticksSincePollination
int ticksSincePollination- Mappings:
Namespace Name Mixin selector official cC
Lbpp;cC:I
intermediary field_20359
Lnet/minecraft/class_4466;field_20359:I
named ticksSincePollination
Lnet/minecraft/entity/passive/BeeEntity;ticksSincePollination:I
-
cannotEnterHiveTicks
private int cannotEnterHiveTicks- Mappings:
Namespace Name Mixin selector official cD
Lbpp;cD:I
intermediary field_20360
Lnet/minecraft/class_4466;field_20360:I
named cannotEnterHiveTicks
Lnet/minecraft/entity/passive/BeeEntity;cannotEnterHiveTicks:I
-
cropsGrownSincePollination
private int cropsGrownSincePollination- Mappings:
Namespace Name Mixin selector official cE
Lbpp;cE:I
intermediary field_20361
Lnet/minecraft/class_4466;field_20361:I
named cropsGrownSincePollination
Lnet/minecraft/entity/passive/BeeEntity;cropsGrownSincePollination:I
-
ticksLeftToFindHive
int ticksLeftToFindHive- Mappings:
Namespace Name Mixin selector official cG
Lbpp;cG:I
intermediary field_21643
Lnet/minecraft/class_4466;field_21643:I
named ticksLeftToFindHive
Lnet/minecraft/entity/passive/BeeEntity;ticksLeftToFindHive:I
-
ticksUntilCanPollinate
int ticksUntilCanPollinate- Mappings:
Namespace Name Mixin selector official cI
Lbpp;cI:I
intermediary field_21644
Lnet/minecraft/class_4466;field_21644:I
named ticksUntilCanPollinate
Lnet/minecraft/entity/passive/BeeEntity;ticksUntilCanPollinate:I
-
flowerPos
- Mappings:
Namespace Name Mixin selector official cJ
Lbpp;cJ:Lgp;
intermediary field_20362
Lnet/minecraft/class_4466;field_20362:Lnet/minecraft/class_2338;
named flowerPos
Lnet/minecraft/entity/passive/BeeEntity;flowerPos:Lnet/minecraft/util/math/BlockPos;
-
hivePos
- Mappings:
Namespace Name Mixin selector official cK
Lbpp;cK:Lgp;
intermediary field_20363
Lnet/minecraft/class_4466;field_20363:Lnet/minecraft/class_2338;
named hivePos
Lnet/minecraft/entity/passive/BeeEntity;hivePos:Lnet/minecraft/util/math/BlockPos;
-
pollinateGoal
BeeEntity.PollinateGoal pollinateGoal- Mappings:
Namespace Name Mixin selector official cL
Lbpp;cL:Lbpp$k;
intermediary field_21079
Lnet/minecraft/class_4466;field_21079:Lnet/minecraft/class_4466$class_4478;
named pollinateGoal
Lnet/minecraft/entity/passive/BeeEntity;pollinateGoal:Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;
-
moveToHiveGoal
BeeEntity.MoveToHiveGoal moveToHiveGoal- Mappings:
Namespace Name Mixin selector official cM
Lbpp;cM:Lbpp$e;
intermediary field_21645
Lnet/minecraft/class_4466;field_21645:Lnet/minecraft/class_4466$class_4472;
named moveToHiveGoal
Lnet/minecraft/entity/passive/BeeEntity;moveToHiveGoal:Lnet/minecraft/entity/passive/BeeEntity$MoveToHiveGoal;
-
moveToFlowerGoal
- Mappings:
Namespace Name Mixin selector official cN
Lbpp;cN:Lbpp$f;
intermediary field_21646
Lnet/minecraft/class_4466;field_21646:Lnet/minecraft/class_4466$class_4473;
named moveToFlowerGoal
Lnet/minecraft/entity/passive/BeeEntity;moveToFlowerGoal:Lnet/minecraft/entity/passive/BeeEntity$MoveToFlowerGoal;
-
ticksInsideWater
private int ticksInsideWater- Mappings:
Namespace Name Mixin selector official cO
Lbpp;cO:I
intermediary field_21509
Lnet/minecraft/class_4466;field_21509:I
named ticksInsideWater
Lnet/minecraft/entity/passive/BeeEntity;ticksInsideWater:I
-
-
Constructor Details
-
BeeEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbdr;<init>(Lbdv;Lcjw;)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
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Overrides:
initDataTracker
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a_
Lbdr;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
getPathfindingFavor
- Overrides:
getPathfindingFavor
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official a
Lbep;a(Lgp;Lcjz;)F
intermediary method_6144
Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)F
named getPathfindingFavor
Lnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)F
-
initGoals
protected void initGoals() -
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
Lbdr;b(Lqp;)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
Lbdr;a(Lqp;)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
-
tryAttack
-
tick
public void tick()Ticks this entity. -
addParticle
private void addParticle(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect) - Mappings:
Namespace Name Mixin selector official a
Lbpp;a(Lcjw;DDDDDLio;)V
intermediary method_21769
Lnet/minecraft/class_4466;method_21769(Lnet/minecraft/class_1937;DDDDDLnet/minecraft/class_2394;)V
named addParticle
Lnet/minecraft/entity/passive/BeeEntity;addParticle(Lnet/minecraft/world/World;DDDDDLnet/minecraft/particle/ParticleEffect;)V
-
startMovingTo
- Mappings:
Namespace Name Mixin selector official h
Lbpp;h(Lgp;)V
intermediary method_23987
Lnet/minecraft/class_4466;method_23987(Lnet/minecraft/class_2338;)V
named startMovingTo
Lnet/minecraft/entity/passive/BeeEntity;startMovingTo(Lnet/minecraft/util/math/BlockPos;)V
-
getFlowerPos
- Mappings:
Namespace Name Mixin selector official p
Lbpp;p()Lgp;
intermediary method_21778
Lnet/minecraft/class_4466;method_21778()Lnet/minecraft/class_2338;
named getFlowerPos
Lnet/minecraft/entity/passive/BeeEntity;getFlowerPos()Lnet/minecraft/util/math/BlockPos;
-
hasFlower
public boolean hasFlower()- Mappings:
Namespace Name Mixin selector official t
Lbpp;t()Z
intermediary method_21779
Lnet/minecraft/class_4466;method_21779()Z
named hasFlower
Lnet/minecraft/entity/passive/BeeEntity;hasFlower()Z
-
setFlowerPos
- Mappings:
Namespace Name Mixin selector official g
Lbpp;g(Lgp;)V
intermediary method_21797
Lnet/minecraft/class_4466;method_21797(Lnet/minecraft/class_2338;)V
named setFlowerPos
Lnet/minecraft/entity/passive/BeeEntity;setFlowerPos(Lnet/minecraft/util/math/BlockPos;)V
-
getMoveGoalTicks
public int getMoveGoalTicks()- Mappings:
Namespace Name Mixin selector official fM
Lbpp;fM()I
intermediary method_35161
Lnet/minecraft/class_4466;method_35161()I
named getMoveGoalTicks
Lnet/minecraft/entity/passive/BeeEntity;getMoveGoalTicks()I
-
getPossibleHives
- Mappings:
Namespace Name Mixin selector official fN
Lbpp;fN()Ljava/util/List;
intermediary method_35162
Lnet/minecraft/class_4466;method_35162()Ljava/util/List;
named getPossibleHives
Lnet/minecraft/entity/passive/BeeEntity;getPossibleHives()Ljava/util/List;
-
failedPollinatingTooLong
private boolean failedPollinatingTooLong()- Mappings:
Namespace Name Mixin selector official gc
Lbpp;gc()Z
intermediary method_23983
Lnet/minecraft/class_4466;method_23983()Z
named failedPollinatingTooLong
Lnet/minecraft/entity/passive/BeeEntity;failedPollinatingTooLong()Z
-
canEnterHive
boolean canEnterHive()- Mappings:
Namespace Name Mixin selector official gd
Lbpp;gd()Z
intermediary method_21789
Lnet/minecraft/class_4466;method_21789()Z
named canEnterHive
Lnet/minecraft/entity/passive/BeeEntity;canEnterHive()Z
-
setCannotEnterHiveTicks
public void setCannotEnterHiveTicks(int cannotEnterHiveTicks) - Mappings:
Namespace Name Mixin selector official t
Lbpp;t(I)V
intermediary method_21807
Lnet/minecraft/class_4466;method_21807(I)V
named setCannotEnterHiveTicks
Lnet/minecraft/entity/passive/BeeEntity;setCannotEnterHiveTicks(I)V
-
getBodyPitch
public float getBodyPitch(float tickDelta) - Mappings:
Namespace Name Mixin selector official z
Lbpp;z(F)F
intermediary method_21811
Lnet/minecraft/class_4466;method_21811(F)F
named getBodyPitch
Lnet/minecraft/entity/passive/BeeEntity;getBodyPitch(F)F
-
updateBodyPitch
private void updateBodyPitch()- Mappings:
Namespace Name Mixin selector official ge
Lbpp;ge()V
intermediary method_21790
Lnet/minecraft/class_4466;method_21790()V
named updateBodyPitch
Lnet/minecraft/entity/passive/BeeEntity;updateBodyPitch()V
-
mobTick
protected void mobTick()- Overrides:
mobTick
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official U
Lbei;U()V
intermediary method_5958
Lnet/minecraft/class_1308;method_5958()V
named mobTick
Lnet/minecraft/entity/mob/MobEntity;mobTick()V
-
resetPollinationTicks
public void resetPollinationTicks()- Mappings:
Namespace Name Mixin selector official fO
Lbpp;fO()V
intermediary method_21780
Lnet/minecraft/class_4466;method_21780()V
named resetPollinationTicks
Lnet/minecraft/entity/passive/BeeEntity;resetPollinationTicks()V
-
isHiveNearFire
private boolean isHiveNearFire()- Mappings:
Namespace Name Mixin selector official gf
Lbpp;gf()Z
intermediary method_23984
Lnet/minecraft/class_4466;method_23984()Z
named isHiveNearFire
Lnet/minecraft/entity/passive/BeeEntity;isHiveNearFire()Z
-
getAngerTime
public int getAngerTime()- Specified by:
getAngerTime
in interfaceAngerable
- Mappings:
Namespace Name Mixin selector official a
Lben;a()I
intermediary method_29507
Lnet/minecraft/class_5354;method_29507()I
named getAngerTime
Lnet/minecraft/entity/mob/Angerable;getAngerTime()I
-
setAngerTime
public void setAngerTime(int angerTime) - Specified by:
setAngerTime
in interfaceAngerable
- Mappings:
Namespace Name Mixin selector official a
Lben;a(I)V
intermediary method_29514
Lnet/minecraft/class_5354;method_29514(I)V
named setAngerTime
Lnet/minecraft/entity/mob/Angerable;setAngerTime(I)V
-
getAngryAt
- Specified by:
getAngryAt
in interfaceAngerable
- Mappings:
Namespace Name Mixin selector official b
Lben;b()Ljava/util/UUID;
intermediary method_29508
Lnet/minecraft/class_5354;method_29508()Ljava/util/UUID;
named getAngryAt
Lnet/minecraft/entity/mob/Angerable;getAngryAt()Ljava/util/UUID;
-
setAngryAt
- Specified by:
setAngryAt
in interfaceAngerable
- Mappings:
Namespace Name Mixin selector official a
Lben;a(Ljava/util/UUID;)V
intermediary method_29513
Lnet/minecraft/class_5354;method_29513(Ljava/util/UUID;)V
named setAngryAt
Lnet/minecraft/entity/mob/Angerable;setAngryAt(Ljava/util/UUID;)V
-
chooseRandomAngerTime
public void chooseRandomAngerTime()- Specified by:
chooseRandomAngerTime
in interfaceAngerable
- Mappings:
Namespace Name Mixin selector official c
Lben;c()V
intermediary method_29509
Lnet/minecraft/class_5354;method_29509()V
named chooseRandomAngerTime
Lnet/minecraft/entity/mob/Angerable;chooseRandomAngerTime()V
-
doesHiveHaveSpace
- Mappings:
Namespace Name Mixin selector official i
Lbpp;i(Lgp;)Z
intermediary method_23988
Lnet/minecraft/class_4466;method_23988(Lnet/minecraft/class_2338;)Z
named doesHiveHaveSpace
Lnet/minecraft/entity/passive/BeeEntity;doesHiveHaveSpace(Lnet/minecraft/util/math/BlockPos;)Z
-
hasHive
public boolean hasHive()- Mappings:
Namespace Name Mixin selector official fU
Lbpp;fU()Z
intermediary method_21791
Lnet/minecraft/class_4466;method_21791()Z
named hasHive
Lnet/minecraft/entity/passive/BeeEntity;hasHive()Z
-
getHivePos
- Mappings:
Namespace Name Mixin selector official fV
Lbpp;fV()Lgp;
intermediary method_23884
Lnet/minecraft/class_4466;method_23884()Lnet/minecraft/class_2338;
named getHivePos
Lnet/minecraft/entity/passive/BeeEntity;getHivePos()Lnet/minecraft/util/math/BlockPos;
-
getGoalSelector
- Mappings:
Namespace Name Mixin selector official fW
Lbpp;fW()Lbkz;
intermediary method_35163
Lnet/minecraft/class_4466;method_35163()Lnet/minecraft/class_1355;
named getGoalSelector
Lnet/minecraft/entity/passive/BeeEntity;getGoalSelector()Lnet/minecraft/entity/ai/goal/GoalSelector;
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugData
in classMobEntity
- Mappings:
Namespace Name Mixin selector official S
Lbei;S()V
intermediary method_18409
Lnet/minecraft/class_1308;method_18409()V
named sendAiDebugData
Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-
getCropsGrownSincePollination
int getCropsGrownSincePollination()- Mappings:
Namespace Name Mixin selector official gg
Lbpp;gg()I
intermediary method_21792
Lnet/minecraft/class_4466;method_21792()I
named getCropsGrownSincePollination
Lnet/minecraft/entity/passive/BeeEntity;getCropsGrownSincePollination()I
-
resetCropCounter
private void resetCropCounter()- Mappings:
Namespace Name Mixin selector official gh
Lbpp;gh()V
intermediary method_21783
Lnet/minecraft/class_4466;method_21783()V
named resetCropCounter
Lnet/minecraft/entity/passive/BeeEntity;resetCropCounter()V
-
addCropCounter
void addCropCounter()- Mappings:
Namespace Name Mixin selector official gi
Lbpp;gi()V
intermediary method_21793
Lnet/minecraft/class_4466;method_21793()V
named addCropCounter
Lnet/minecraft/entity/passive/BeeEntity;addCropCounter()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official b_
Lbeg;b_()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
-
isHiveValid
boolean isHiveValid()- Mappings:
Namespace Name Mixin selector official gj
Lbpp;gj()Z
intermediary method_21794
Lnet/minecraft/class_4466;method_21794()Z
named isHiveValid
Lnet/minecraft/entity/passive/BeeEntity;isHiveValid()Z
-
hasNectar
public boolean hasNectar()- Mappings:
Namespace Name Mixin selector official fX
Lbpp;fX()Z
intermediary method_21784
Lnet/minecraft/class_4466;method_21784()Z
named hasNectar
Lnet/minecraft/entity/passive/BeeEntity;hasNectar()Z
-
setHasNectar
void setHasNectar(boolean hasNectar) - Mappings:
Namespace Name Mixin selector official v
Lbpp;v(Z)V
intermediary method_21805
Lnet/minecraft/class_4466;method_21805(Z)V
named setHasNectar
Lnet/minecraft/entity/passive/BeeEntity;setHasNectar(Z)V
-
hasStung
public boolean hasStung()- Mappings:
Namespace Name Mixin selector official fY
Lbpp;fY()Z
intermediary method_21785
Lnet/minecraft/class_4466;method_21785()Z
named hasStung
Lnet/minecraft/entity/passive/BeeEntity;hasStung()Z
-
setHasStung
private void setHasStung(boolean hasStung) - Mappings:
Namespace Name Mixin selector official w
Lbpp;w(Z)V
intermediary method_21806
Lnet/minecraft/class_4466;method_21806(Z)V
named setHasStung
Lnet/minecraft/entity/passive/BeeEntity;setHasStung(Z)V
-
isNearTarget
private boolean isNearTarget()- Mappings:
Namespace Name Mixin selector official gk
Lbpp;gk()Z
intermediary method_21786
Lnet/minecraft/class_4466;method_21786()Z
named isNearTarget
Lnet/minecraft/entity/passive/BeeEntity;isNearTarget()Z
-
setNearTarget
private void setNearTarget(boolean nearTarget) - Mappings:
Namespace Name Mixin selector official x
Lbpp;x(Z)V
intermediary method_21808
Lnet/minecraft/class_4466;method_21808(Z)V
named setNearTarget
Lnet/minecraft/entity/passive/BeeEntity;setNearTarget(Z)V
-
isTooFar
- Mappings:
Namespace Name Mixin selector official j
Lbpp;j(Lgp;)Z
intermediary method_23990
Lnet/minecraft/class_4466;method_23990(Lnet/minecraft/class_2338;)Z
named isTooFar
Lnet/minecraft/entity/passive/BeeEntity;isTooFar(Lnet/minecraft/util/math/BlockPos;)Z
-
setBeeFlag
private void setBeeFlag(int bit, boolean value) - Mappings:
Namespace Name Mixin selector official d
Lbpp;d(IZ)V
intermediary method_21775
Lnet/minecraft/class_4466;method_21775(IZ)V
named setBeeFlag
Lnet/minecraft/entity/passive/BeeEntity;setBeeFlag(IZ)V
-
getBeeFlag
private boolean getBeeFlag(int location) - Mappings:
Namespace Name Mixin selector official u
Lbpp;u(I)Z
intermediary method_21812
Lnet/minecraft/class_4466;method_21812(I)Z
named getBeeFlag
Lnet/minecraft/entity/passive/BeeEntity;getBeeFlag(I)Z
-
createBeeAttributes
- Mappings:
Namespace Name Mixin selector official fZ
Lbpp;fZ()Lbfi$a;
intermediary method_26880
Lnet/minecraft/class_4466;method_26880()Lnet/minecraft/class_5132$class_5133;
named createBeeAttributes
Lnet/minecraft/entity/passive/BeeEntity;createBeeAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
isBreedingItem
- Overrides:
isBreedingItem
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official n
Lbpo;n(Lcdt;)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
-
isFlowers
- Mappings:
Namespace Name Mixin selector official k
Lbpp;k(Lgp;)Z
intermediary method_23992
Lnet/minecraft/class_4466;method_23992(Lnet/minecraft/class_2338;)Z
named isFlowers
Lnet/minecraft/entity/passive/BeeEntity;isFlowers(Lnet/minecraft/util/math/BlockPos;)Z
-
playStepSound
- Overrides:
playStepSound
in classEntity
- Mappings:
Namespace Name Mixin selector official b
Lbdr;b(Lgp;Lcyt;)V
intermediary method_5712
Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named playStepSound
Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official r
Lbei;r()Laln;
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
Lbeg;c(Lbcz;)Laln;
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 c_
Lbeg;c_()Laln;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolume
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eI
Lbeg;eI()F
intermediary method_6107
Lnet/minecraft/class_1309;method_6107()F
named getSoundVolume
Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
createChild
@Nullable public @Nullable BeeEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) - Specified by:
createChild
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official b
Lbpp;b(Lahm;Lbdo;)Lbpp;
intermediary method_21771
Lnet/minecraft/class_4466;method_21771(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_4466;
named createChild
Lnet/minecraft/entity/passive/BeeEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/BeeEntity;
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeight
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Lbeg;b(Lbes;Lbds;)F
intermediary method_18394
Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
named getActiveEyeHeight
Lnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) Called when an entity falls.Flying mobs and mobs immune to fall damage should override this to do nothing. Mobs with reduced fall damage should override this method to apply reduced damage instead. Some entities explode instead of applying fall damage, like
TntMinecartEntity
.- Overrides:
handleFallDamage
in classLivingEntity
- Returns:
- whether to play the sound when falling on honey block;
false
for all entities except horses and llamas - Mappings:
Namespace Name Mixin selector official a
Lbdr;a(FFLbcz;)Z
intermediary method_5747
Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
named handleFallDamage
Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
fall
protected void fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls. Flying mobs should override this to do nothing.- Overrides:
fall
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbdr;a(DZLcyt;Lgp;)V
intermediary method_5623
Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
named fall
Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
-
isFlappingWings
public boolean isFlappingWings()Returns whether the entity is flapping their wings.Entities flapping their wings will call
Entity.addFlapEffects()
insideEntity.addAirTravelEffects()
.- Overrides:
isFlappingWings
in classEntity
- Returns:
- whether the entity is flapping their wings
- Mappings:
Namespace Name Mixin selector official aP
Lbdr;aP()Z
intermediary method_5776
Lnet/minecraft/class_1297;method_5776()Z
named isFlappingWings
Lnet/minecraft/entity/Entity;isFlappingWings()Z
-
isInAir
public boolean isInAir() -
onHoneyDelivered
public void onHoneyDelivered()- Mappings:
Namespace Name Mixin selector official gb
Lbpp;gb()V
intermediary method_21788
Lnet/minecraft/class_4466;method_21788()V
named onHoneyDelivered
Lnet/minecraft/entity/passive/BeeEntity;onHoneyDelivered()V
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntity
has 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
ItemEntity
also 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
Entity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource)
and return early.- Overrides:
damage
in classAnimalEntity
- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbdr;a(Lbcz;F)Z
intermediary method_5643
Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
named damage
Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
getGroup
- Overrides:
getGroup
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eE
Lbeg;eE()Lbel;
intermediary method_6046
Lnet/minecraft/class_1309;method_6046()Lnet/minecraft/class_1310;
named getGroup
Lnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
-
swimUpward
- Overrides:
swimUpward
in classMobEntity
- Mappings:
Namespace Name Mixin selector official c
Lbeg;c(Lamr;)V
intermediary method_6010
Lnet/minecraft/class_1309;method_6010(Lnet/minecraft/class_6862;)V
named swimUpward
Lnet/minecraft/entity/LivingEntity;swimUpward(Lnet/minecraft/registry/tag/TagKey;)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 cG
Lbdr;cG()Leae;
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;
-
isWithinDistance
- Mappings:
Namespace Name Mixin selector official b
Lbpp;b(Lgp;I)Z
intermediary method_23979
Lnet/minecraft/class_4466;method_23979(Lnet/minecraft/class_2338;I)Z
named isWithinDistance
Lnet/minecraft/entity/passive/BeeEntity;isWithinDistance(Lnet/minecraft/util/math/BlockPos;I)Z
-