Package net.minecraft.entity.passive
Class BeeEntity
- All Implemented Interfaces:
EntityLike,Flutterer,Angerable,CommandOutput,Nameable
public class BeeEntity extends AnimalEntity implements Angerable, Flutterer
- Mappings:
Namespace Name official bbjintermediary net/minecraft/class_4466named net/minecraft/entity/passive/BeeEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classBeeEntity.BeeFollowTargetGoal(package private) classBeeEntity.BeeLookControl(package private) classBeeEntity.BeeRevengeGoal(package private) classBeeEntity.BeeWanderAroundGoal(package private) classBeeEntity.EnterHiveGoal(package private) classBeeEntity.FindHiveGoal(package private) classBeeEntity.GrowCropsGoalclassBeeEntity.MoveToFlowerGoalclassBeeEntity.MoveToHiveGoal(package private) classBeeEntity.NotAngryGoal(package private) classBeeEntity.PollinateGoal(package private) classBeeEntity.StingGoalNested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
Fields Modifier and Type Field Description private static TrackedData<Integer>ANGERprivate static IntRangeANGER_TIME_RANGEprivate intcannotEnterHiveTicksprivate intcropsGrownSincePollinationprivate floatcurrentPitchprivate BlockPosflowerPosprivate BlockPoshivePosprivate floatlastPitchprivate BeeEntity.MoveToFlowerGoalmoveToFlowerGoalprivate BeeEntity.MoveToHiveGoalmoveToHiveGoalprivate BeeEntity.PollinateGoalpollinateGoalprivate static TrackedData<Byte>STATUS_TRACKERprivate UUIDtargetUuidprivate intticksInsideWaterprivate intticksLeftToFindHiveprivate intticksSincePollinationprivate intticksSinceStingprivate intticksUntilCanPollinateFields inherited from class net.minecraft.entity.passive.PassiveEntity
breedingAge, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeedFields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, world, yawFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
Constructors Constructor Description BeeEntity(EntityType<? extends BeeEntity> type, World world) -
Method Summary
Modifier and Type Method Description private voidaddCropCounter()private voidaddParticle(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect)private booleancanEnterHive()voidchooseRandomAngerTime()static DefaultAttributeContainer.BuildercreateBeeAttributes()BeeEntitycreateChild(ServerWorld serverWorld, PassiveEntity passiveEntity)protected EntityNavigationcreateNavigation(World world)booleandamage(DamageSource source, float amount)private booleandoesHiveHaveSpace(BlockPos pos)private booleanfailedPollinatingTooLong()protected voidfall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)protected floatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)protected SoundEventgetAmbientSound()intgetAngerTime()UUIDgetAngryAt()private booleangetBeeFlag(int location)floatgetBodyPitch(float tickDelta)private intgetCropsGrownSincePollination()protected SoundEventgetDeathSound()BlockPosgetFlowerPos()EntityGroupgetGroup()BlockPosgetHivePos()protected SoundEventgetHurtSound(DamageSource source)floatgetPathfindingFavor(BlockPos pos, WorldView world)protected floatgetSoundVolume()booleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)booleanhasFlower()booleanhasHive()booleanhasNectar()booleanhasStung()protected booleanhasWings()protected voidinitDataTracker()protected voidinitGoals()booleanisBreedingItem(ItemStack stack)private booleanisFlowers(BlockPos pos)private booleanisHiveNearFire()private booleanisHiveValid()private booleanisNearTarget()private booleanisTooFar(BlockPos pos)private booleanisWithinDistance(BlockPos pos, int distance)Vec3dmethod_29919()protected voidmobTick()voidonHoneyDelivered()protected voidplayStepSound(BlockPos pos, BlockState state)voidreadCustomDataFromTag(CompoundTag tag)private voidresetCropCounter()voidresetPollinationTicks()protected voidsendAiDebugData()voidsetAngerTime(int ticks)voidsetAngryAt(UUID uuid)private voidsetBeeFlag(int bit, boolean value)voidsetCannotEnterHiveTicks(int ticks)voidsetFlowerPos(BlockPos pos)private voidsetHasNectar(boolean hasNectar)private voidsetHasStung(boolean hasStung)private voidsetNearTarget(boolean nearTarget)private voidstartMovingTo(BlockPos pos)protected voidswimUpward(Tag<Fluid> fluid)voidtick()voidtickMovement()booleantryAttack(Entity target)private voidupdateBodyPitch()voidwriteCustomDataToTag(CompoundTag tag)Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canBreedWith, canEat, canImmediatelyDespawn, eat, getCurrentExperience, getHeightOffset, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, handleStatus, interactMob, isInLove, isValidNaturalSpawn, lovePlayer, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, initialize, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canBeLeashedBy, canEquip, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canTarget, canUseRangedWeapon, checkDespawn, createBodyControl, createMobAttributes, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getBodyYawSpeed, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getLookYawSpeed, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, hasPositionTarget, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, method_29243, method_29244, method_33191, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, tickNewAi, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, canBeRiddenInWater, canBreatheInWater, canDropLootAndXp, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageShield, deserializeBrain, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockState, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSound, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBlocking, isClimbing, isDead, isFallFlying, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_29500, method_30633, method_31079, method_32318, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, afterSpawn, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canClimb, canExplosionDestroyBlock, canFly, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, fromTag, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_29241, method_30330, method_30951, method_31744, method_32877, method_33332, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playFlySound, playSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, streamPassengers, streamPassengersRecursively, teleport, tickNetherPortal, tickNetherPortalCooldown, toListTag, toListTag, toString, toTag, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollideMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.entity.mob.Angerable
angerFromTag, angerToTag, forgive, getTarget, hasAngerTime, isUniversallyAngry, setAttacker, setAttacking, setTarget, shouldAngerAt, stopAnger, tickAngerLogic, universallyAnger
-
Field Details
-
STATUS_TRACKER
- Mappings:
Namespace Name Mixin selector official bjLbbj;bj:Lvk;intermediary field_20353Lnet/minecraft/class_4466;field_20353:Lnet/minecraft/class_2940;named STATUS_TRACKERLnet/minecraft/entity/passive/BeeEntity;STATUS_TRACKER:Lnet/minecraft/entity/data/TrackedData;
-
ANGER
- Mappings:
Namespace Name Mixin selector official bkLbbj;bk:Lvk;intermediary field_20354Lnet/minecraft/class_4466;field_20354:Lnet/minecraft/class_2940;named ANGERLnet/minecraft/entity/passive/BeeEntity;ANGER:Lnet/minecraft/entity/data/TrackedData;
-
ANGER_TIME_RANGE
- Mappings:
Namespace Name Mixin selector official blLbbj;bl:Lafy;intermediary field_25363Lnet/minecraft/class_4466;field_25363:Lnet/minecraft/class_4801;named ANGER_TIME_RANGELnet/minecraft/entity/passive/BeeEntity;ANGER_TIME_RANGE:Lnet/minecraft/util/math/IntRange;
-
targetUuid
- Mappings:
Namespace Name Mixin selector official bmLbbj;bm:Ljava/util/UUID;intermediary field_25364Lnet/minecraft/class_4466;field_25364:Ljava/util/UUID;named targetUuidLnet/minecraft/entity/passive/BeeEntity;targetUuid:Ljava/util/UUID;
-
currentPitch
private float currentPitch- Mappings:
Namespace Name Mixin selector official bnLbbj;bn:Fintermediary field_20356Lnet/minecraft/class_4466;field_20356:Fnamed currentPitchLnet/minecraft/entity/passive/BeeEntity;currentPitch:F
-
lastPitch
private float lastPitch- Mappings:
Namespace Name Mixin selector official boLbbj;bo:Fintermediary field_20357Lnet/minecraft/class_4466;field_20357:Fnamed lastPitchLnet/minecraft/entity/passive/BeeEntity;lastPitch:F
-
ticksSinceSting
private int ticksSinceSting- Mappings:
Namespace Name Mixin selector official bpLbbj;bp:Iintermediary field_20358Lnet/minecraft/class_4466;field_20358:Inamed ticksSinceStingLnet/minecraft/entity/passive/BeeEntity;ticksSinceSting:I
-
ticksSincePollination
private int ticksSincePollination- Mappings:
Namespace Name Mixin selector official bqLbbj;bq:Iintermediary field_20359Lnet/minecraft/class_4466;field_20359:Inamed ticksSincePollinationLnet/minecraft/entity/passive/BeeEntity;ticksSincePollination:I
-
cannotEnterHiveTicks
private int cannotEnterHiveTicks- Mappings:
Namespace Name Mixin selector official brLbbj;br:Iintermediary field_20360Lnet/minecraft/class_4466;field_20360:Inamed cannotEnterHiveTicksLnet/minecraft/entity/passive/BeeEntity;cannotEnterHiveTicks:I
-
cropsGrownSincePollination
private int cropsGrownSincePollination- Mappings:
Namespace Name Mixin selector official bsLbbj;bs:Iintermediary field_20361Lnet/minecraft/class_4466;field_20361:Inamed cropsGrownSincePollinationLnet/minecraft/entity/passive/BeeEntity;cropsGrownSincePollination:I
-
ticksLeftToFindHive
private int ticksLeftToFindHive- Mappings:
Namespace Name Mixin selector official btLbbj;bt:Iintermediary field_21643Lnet/minecraft/class_4466;field_21643:Inamed ticksLeftToFindHiveLnet/minecraft/entity/passive/BeeEntity;ticksLeftToFindHive:I
-
ticksUntilCanPollinate
private int ticksUntilCanPollinate- Mappings:
Namespace Name Mixin selector official buLbbj;bu:Iintermediary field_21644Lnet/minecraft/class_4466;field_21644:Inamed ticksUntilCanPollinateLnet/minecraft/entity/passive/BeeEntity;ticksUntilCanPollinate:I
-
flowerPos
- Mappings:
Namespace Name Mixin selector official bvLbbj;bv:Lfx;intermediary field_20362Lnet/minecraft/class_4466;field_20362:Lnet/minecraft/class_2338;named flowerPosLnet/minecraft/entity/passive/BeeEntity;flowerPos:Lnet/minecraft/util/math/BlockPos;
-
hivePos
- Mappings:
Namespace Name Mixin selector official bwLbbj;bw:Lfx;intermediary field_20363Lnet/minecraft/class_4466;field_20363:Lnet/minecraft/class_2338;named hivePosLnet/minecraft/entity/passive/BeeEntity;hivePos:Lnet/minecraft/util/math/BlockPos;
-
pollinateGoal
- Mappings:
Namespace Name Mixin selector official bxLbbj;bx:Lbbj$k;intermediary field_21079Lnet/minecraft/class_4466;field_21079:Lnet/minecraft/class_4466$class_4478;named pollinateGoalLnet/minecraft/entity/passive/BeeEntity;pollinateGoal:Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;
-
moveToHiveGoal
- Mappings:
Namespace Name Mixin selector official byLbbj;by:Lbbj$e;intermediary field_21645Lnet/minecraft/class_4466;field_21645:Lnet/minecraft/class_4466$class_4472;named moveToHiveGoalLnet/minecraft/entity/passive/BeeEntity;moveToHiveGoal:Lnet/minecraft/entity/passive/BeeEntity$MoveToHiveGoal;
-
moveToFlowerGoal
- Mappings:
Namespace Name Mixin selector official bzLbbj;bz:Lbbj$f;intermediary field_21646Lnet/minecraft/class_4466;field_21646:Lnet/minecraft/class_4466$class_4473;named moveToFlowerGoalLnet/minecraft/entity/passive/BeeEntity;moveToFlowerGoal:Lnet/minecraft/entity/passive/BeeEntity$MoveToFlowerGoal;
-
ticksInsideWater
private int ticksInsideWater- Mappings:
Namespace Name Mixin selector official bALbbj;bA:Iintermediary field_21509Lnet/minecraft/class_4466;field_21509:Inamed ticksInsideWaterLnet/minecraft/entity/passive/BeeEntity;ticksInsideWater:I
-
-
Constructor Details
-
BeeEntity
- Mappings:
Namespace Name Mixin selector official <init>Laqu;<init>(Laqy;Lbtu;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classPassiveEntity- Mappings:
Namespace Name Mixin selector official eLaqu;e()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
getPathfindingFavor
- Overrides:
getPathfindingFavorin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLarp;a(Lfx;Lbtx;)Fintermediary method_6144Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)Fnamed getPathfindingFavorLnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)F
-
initGoals
protected void initGoals() -
writeCustomDataToTag
- Overrides:
writeCustomDataToTagin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLaqu;b(Lmq;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToTagLnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromTag
- Overrides:
readCustomDataFromTagin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLaqu;a(Lmq;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromTagLnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
tryAttack
-
tick
public void tick() -
addParticle
private void addParticle(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect)- Mappings:
Namespace Name Mixin selector official aLbbj;a(Lbtu;DDDDDLhj;)Vintermediary method_21769Lnet/minecraft/class_4466;method_21769(Lnet/minecraft/class_1937;DDDDDLnet/minecraft/class_2394;)Vnamed addParticleLnet/minecraft/entity/passive/BeeEntity;addParticle(Lnet/minecraft/world/World;DDDDDLnet/minecraft/particle/ParticleEffect;)V
-
startMovingTo
- Mappings:
Namespace Name Mixin selector official hLbbj;h(Lfx;)Vintermediary method_23987Lnet/minecraft/class_4466;method_23987(Lnet/minecraft/class_2338;)Vnamed startMovingToLnet/minecraft/entity/passive/BeeEntity;startMovingTo(Lnet/minecraft/util/math/BlockPos;)V
-
getFlowerPos
- Mappings:
Namespace Name Mixin selector official oLbbj;o()Lfx;intermediary method_21778Lnet/minecraft/class_4466;method_21778()Lnet/minecraft/class_2338;named getFlowerPosLnet/minecraft/entity/passive/BeeEntity;getFlowerPos()Lnet/minecraft/util/math/BlockPos;
-
hasFlower
public boolean hasFlower()- Mappings:
Namespace Name Mixin selector official rLbbj;r()Zintermediary method_21779Lnet/minecraft/class_4466;method_21779()Znamed hasFlowerLnet/minecraft/entity/passive/BeeEntity;hasFlower()Z
-
setFlowerPos
- Mappings:
Namespace Name Mixin selector official gLbbj;g(Lfx;)Vintermediary method_21797Lnet/minecraft/class_4466;method_21797(Lnet/minecraft/class_2338;)Vnamed setFlowerPosLnet/minecraft/entity/passive/BeeEntity;setFlowerPos(Lnet/minecraft/util/math/BlockPos;)V
-
failedPollinatingTooLong
private boolean failedPollinatingTooLong()- Mappings:
Namespace Name Mixin selector official fyLbbj;fy()Zintermediary method_23983Lnet/minecraft/class_4466;method_23983()Znamed failedPollinatingTooLongLnet/minecraft/entity/passive/BeeEntity;failedPollinatingTooLong()Z
-
canEnterHive
private boolean canEnterHive()- Mappings:
Namespace Name Mixin selector official fzLbbj;fz()Zintermediary method_21789Lnet/minecraft/class_4466;method_21789()Znamed canEnterHiveLnet/minecraft/entity/passive/BeeEntity;canEnterHive()Z
-
setCannotEnterHiveTicks
public void setCannotEnterHiveTicks(int ticks)- Mappings:
Namespace Name Mixin selector official uLbbj;u(I)Vintermediary method_21807Lnet/minecraft/class_4466;method_21807(I)Vnamed setCannotEnterHiveTicksLnet/minecraft/entity/passive/BeeEntity;setCannotEnterHiveTicks(I)V
-
getBodyPitch
- Mappings:
Namespace Name Mixin selector official yLbbj;y(F)Fintermediary method_21811Lnet/minecraft/class_4466;method_21811(F)Fnamed getBodyPitchLnet/minecraft/entity/passive/BeeEntity;getBodyPitch(F)F
-
updateBodyPitch
private void updateBodyPitch()- Mappings:
Namespace Name Mixin selector official fALbbj;fA()Vintermediary method_21790Lnet/minecraft/class_4466;method_21790()Vnamed updateBodyPitchLnet/minecraft/entity/passive/BeeEntity;updateBodyPitch()V
-
mobTick
protected void mobTick()- Overrides:
mobTickin classAnimalEntity- Mappings:
Namespace Name Mixin selector official eKLari;eK()Vintermediary method_5958Lnet/minecraft/class_1308;method_5958()Vnamed mobTickLnet/minecraft/entity/mob/MobEntity;mobTick()V
-
resetPollinationTicks
public void resetPollinationTicks()- Mappings:
Namespace Name Mixin selector official fkLbbj;fk()Vintermediary method_21780Lnet/minecraft/class_4466;method_21780()Vnamed resetPollinationTicksLnet/minecraft/entity/passive/BeeEntity;resetPollinationTicks()V
-
isHiveNearFire
private boolean isHiveNearFire()- Mappings:
Namespace Name Mixin selector official fBLbbj;fB()Zintermediary method_23984Lnet/minecraft/class_4466;method_23984()Znamed isHiveNearFireLnet/minecraft/entity/passive/BeeEntity;isHiveNearFire()Z
-
getAngerTime
public int getAngerTime()- Specified by:
getAngerTimein interfaceAngerable- Mappings:
Namespace Name Mixin selector official G_Larn;G_()Iintermediary method_29507Lnet/minecraft/class_5354;method_29507()Inamed getAngerTimeLnet/minecraft/entity/mob/Angerable;getAngerTime()I
-
setAngerTime
public void setAngerTime(int ticks)- Specified by:
setAngerTimein interfaceAngerable- Mappings:
Namespace Name Mixin selector official a_Larn;a_(I)Vintermediary method_29514Lnet/minecraft/class_5354;method_29514(I)Vnamed setAngerTimeLnet/minecraft/entity/mob/Angerable;setAngerTime(I)V
-
getAngryAt
- Specified by:
getAngryAtin interfaceAngerable- Mappings:
Namespace Name Mixin selector official H_Larn;H_()Ljava/util/UUID;intermediary method_29508Lnet/minecraft/class_5354;method_29508()Ljava/util/UUID;named getAngryAtLnet/minecraft/entity/mob/Angerable;getAngryAt()Ljava/util/UUID;
-
setAngryAt
- Specified by:
setAngryAtin interfaceAngerable- Mappings:
Namespace Name Mixin selector official aLarn;a(Ljava/util/UUID;)Vintermediary method_29513Lnet/minecraft/class_5354;method_29513(Ljava/util/UUID;)Vnamed setAngryAtLnet/minecraft/entity/mob/Angerable;setAngryAt(Ljava/util/UUID;)V
-
chooseRandomAngerTime
public void chooseRandomAngerTime()- Specified by:
chooseRandomAngerTimein interfaceAngerable- Mappings:
Namespace Name Mixin selector official I_Larn;I_()Vintermediary method_29509Lnet/minecraft/class_5354;method_29509()Vnamed chooseRandomAngerTimeLnet/minecraft/entity/mob/Angerable;chooseRandomAngerTime()V
-
doesHiveHaveSpace
- Mappings:
Namespace Name Mixin selector official iLbbj;i(Lfx;)Zintermediary method_23988Lnet/minecraft/class_4466;method_23988(Lnet/minecraft/class_2338;)Znamed doesHiveHaveSpaceLnet/minecraft/entity/passive/BeeEntity;doesHiveHaveSpace(Lnet/minecraft/util/math/BlockPos;)Z
-
hasHive
public boolean hasHive()- Mappings:
Namespace Name Mixin selector official fqLbbj;fq()Zintermediary method_21791Lnet/minecraft/class_4466;method_21791()Znamed hasHiveLnet/minecraft/entity/passive/BeeEntity;hasHive()Z
-
getHivePos
- Mappings:
Namespace Name Mixin selector official frLbbj;fr()Lfx;intermediary method_23884Lnet/minecraft/class_4466;method_23884()Lnet/minecraft/class_2338;named getHivePosLnet/minecraft/entity/passive/BeeEntity;getHivePos()Lnet/minecraft/util/math/BlockPos;
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugDatain classMobEntity- Mappings:
Namespace Name Mixin selector official QLari;Q()Vintermediary method_18409Lnet/minecraft/class_1308;method_18409()Vnamed sendAiDebugDataLnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-
getCropsGrownSincePollination
private int getCropsGrownSincePollination()- Mappings:
Namespace Name Mixin selector official fCLbbj;fC()Iintermediary method_21792Lnet/minecraft/class_4466;method_21792()Inamed getCropsGrownSincePollinationLnet/minecraft/entity/passive/BeeEntity;getCropsGrownSincePollination()I
-
resetCropCounter
private void resetCropCounter()- Mappings:
Namespace Name Mixin selector official fDLbbj;fD()Vintermediary method_21783Lnet/minecraft/class_4466;method_21783()Vnamed resetCropCounterLnet/minecraft/entity/passive/BeeEntity;resetCropCounter()V
-
addCropCounter
private void addCropCounter()- Mappings:
Namespace Name Mixin selector official fELbbj;fE()Vintermediary method_21793Lnet/minecraft/class_4466;method_21793()Vnamed addCropCounterLnet/minecraft/entity/passive/BeeEntity;addCropCounter()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classAnimalEntity- Mappings:
Namespace Name Mixin selector official kLarh;k()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
isHiveValid
private boolean isHiveValid()- Mappings:
Namespace Name Mixin selector official fFLbbj;fF()Zintermediary method_21794Lnet/minecraft/class_4466;method_21794()Znamed isHiveValidLnet/minecraft/entity/passive/BeeEntity;isHiveValid()Z
-
hasNectar
public boolean hasNectar()- Mappings:
Namespace Name Mixin selector official ftLbbj;ft()Zintermediary method_21784Lnet/minecraft/class_4466;method_21784()Znamed hasNectarLnet/minecraft/entity/passive/BeeEntity;hasNectar()Z
-
setHasNectar
private void setHasNectar(boolean hasNectar)- Mappings:
Namespace Name Mixin selector official tLbbj;t(Z)Vintermediary method_21805Lnet/minecraft/class_4466;method_21805(Z)Vnamed setHasNectarLnet/minecraft/entity/passive/BeeEntity;setHasNectar(Z)V
-
hasStung
public boolean hasStung()- Mappings:
Namespace Name Mixin selector official fuLbbj;fu()Zintermediary method_21785Lnet/minecraft/class_4466;method_21785()Znamed hasStungLnet/minecraft/entity/passive/BeeEntity;hasStung()Z
-
setHasStung
private void setHasStung(boolean hasStung)- Mappings:
Namespace Name Mixin selector official uLbbj;u(Z)Vintermediary method_21806Lnet/minecraft/class_4466;method_21806(Z)Vnamed setHasStungLnet/minecraft/entity/passive/BeeEntity;setHasStung(Z)V
-
isNearTarget
private boolean isNearTarget()- Mappings:
Namespace Name Mixin selector official fGLbbj;fG()Zintermediary method_21786Lnet/minecraft/class_4466;method_21786()Znamed isNearTargetLnet/minecraft/entity/passive/BeeEntity;isNearTarget()Z
-
setNearTarget
private void setNearTarget(boolean nearTarget)- Mappings:
Namespace Name Mixin selector official vLbbj;v(Z)Vintermediary method_21808Lnet/minecraft/class_4466;method_21808(Z)Vnamed setNearTargetLnet/minecraft/entity/passive/BeeEntity;setNearTarget(Z)V
-
isTooFar
- Mappings:
Namespace Name Mixin selector official jLbbj;j(Lfx;)Zintermediary method_23990Lnet/minecraft/class_4466;method_23990(Lnet/minecraft/class_2338;)Znamed isTooFarLnet/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 dLbbj;d(IZ)Vintermediary method_21775Lnet/minecraft/class_4466;method_21775(IZ)Vnamed setBeeFlagLnet/minecraft/entity/passive/BeeEntity;setBeeFlag(IZ)V
-
getBeeFlag
private boolean getBeeFlag(int location)- Mappings:
Namespace Name Mixin selector official vLbbj;v(I)Zintermediary method_21812Lnet/minecraft/class_4466;method_21812(I)Znamed getBeeFlagLnet/minecraft/entity/passive/BeeEntity;getBeeFlag(I)Z
-
createBeeAttributes
- Mappings:
Namespace Name Mixin selector official fvLbbj;fv()Lasg$a;intermediary method_26880Lnet/minecraft/class_4466;method_26880()Lnet/minecraft/class_5132$class_5133;named createBeeAttributesLnet/minecraft/entity/passive/BeeEntity;createBeeAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
isBreedingItem
- Overrides:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector official kLbbi;k(Lbnu;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Znamed isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
isFlowers
- Mappings:
Namespace Name Mixin selector official kLbbj;k(Lfx;)Zintermediary method_23992Lnet/minecraft/class_4466;method_23992(Lnet/minecraft/class_2338;)Znamed isFlowersLnet/minecraft/entity/passive/BeeEntity;isFlowers(Lnet/minecraft/util/math/BlockPos;)Z
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official bLaqu;b(Lfx;Lchg;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official pLari;p()Laef;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLarh;c(Laqe;)Laef;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official qLarh;q()Laef;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official ebLarh;eb()Fintermediary method_6107Lnet/minecraft/class_1309;method_6107()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
createChild
- Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector official bLbbj;b(Laav;Laqs;)Lbbj;intermediary method_21771Lnet/minecraft/class_4466;method_21771(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_4466;named createChildLnet/minecraft/entity/passive/BeeEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/BeeEntity;
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeightin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLarh;b(Lars;Laqv;)Fintermediary method_18394Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)Fnamed getActiveEyeHeightLnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)- Overrides:
handleFallDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLaqu;a(FFLaqe;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Znamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
fall
protected void fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)- Overrides:
fallin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLaqu;a(DZLchg;Lfx;)Vintermediary method_5623Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vnamed fallLnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
-
hasWings
protected boolean hasWings() -
onHoneyDelivered
public void onHoneyDelivered()- Mappings:
Namespace Name Mixin selector official fxLbbj;fx()Vintermediary method_21788Lnet/minecraft/class_4466;method_21788()Vnamed onHoneyDeliveredLnet/minecraft/entity/passive/BeeEntity;onHoneyDelivered()V
-
damage
- Overrides:
damagein classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLaqu;a(Laqe;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
getGroup
- Overrides:
getGroupin classLivingEntity- Mappings:
Namespace Name Mixin selector official dXLarh;dX()Larl;intermediary method_6046Lnet/minecraft/class_1309;method_6046()Lnet/minecraft/class_1310;named getGroupLnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
-
swimUpward
- Overrides:
swimUpwardin classMobEntity- Mappings:
Namespace Name Mixin selector official cLarh;c(Lafc;)Vintermediary method_6010Lnet/minecraft/class_1309;method_6010(Lnet/minecraft/class_3494;)Vnamed swimUpwardLnet/minecraft/entity/LivingEntity;swimUpward(Lnet/minecraft/tag/Tag;)V
-
method_29919
- Overrides:
method_29919in classEntity- Mappings:
Namespace Name Mixin selector official cnLaqu;cn()Ldia;intermediary method_29919Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;named method_29919Lnet/minecraft/entity/Entity;method_29919()Lnet/minecraft/util/math/Vec3d;
-
isWithinDistance
- Mappings:
Namespace Name Mixin selector official bLbbj;b(Lfx;I)Zintermediary method_23979Lnet/minecraft/class_4466;method_23979(Lnet/minecraft/class_2338;I)Znamed isWithinDistanceLnet/minecraft/entity/passive/BeeEntity;isWithinDistance(Lnet/minecraft/util/math/BlockPos;I)Z
-