Package net.minecraft.entity.passive
Class BeeEntity
- All Implemented Interfaces:
Flutterer,Angerable,CommandOutput,Nameable,EntityLike
public class BeeEntity extends AnimalEntity implements Angerable, Flutterer
- Mappings:
Namespace Name official bcdintermediary 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.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
Fields Modifier and Type Field Description private static TrackedData<Integer>ANGERprivate static IntRangeANGER_TIME_RANGEprivate intcannotEnterHiveTicksprivate intcropsGrownSincePollinationprivate floatcurrentPitchstatic intfield_28638private @Nullable BlockPosflowerPosprivate @Nullable 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, field_28627, field_28629, 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, wasInPowderSnow, 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()@Nullable BlockPosgetFlowerPos()EntityGroupgetGroup()@Nullable BlockPosgetHivePos()protected SoundEventgetHurtSound(DamageSource source)floatgetPathfindingFavor(BlockPos pos, WorldView world)protected floatgetSoundVolume()booleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)booleanhasFlower()booleanhasHive()booleanhasNectar()booleanhasStung()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()booleanmethod_33585()protected voidmobTick()voidonHoneyDelivered()protected voidplayStepSound(BlockPos pos, BlockState state)voidreadCustomDataFromNbt(CompoundTag tag)private voidresetCropCounter()voidresetPollinationTicks()protected voidsendAiDebugData()voidsetAngerTime(int ticks)voidsetAngryAt(@Nullable 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()voidwriteCustomDataToNbt(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, convertTo, 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_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, getCommandItemSlot, 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_31079, method_33579, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, 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
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canFly, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimHeight, 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, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_30951, method_33332, method_33574, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, 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, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toListTag, toListTag, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.entity.mob.Angerable
forgive, getTarget, hasAngerTime, isUniversallyAngry, readAngerFromNbt, setAttacker, setAttacking, setTarget, shouldAngerAt, stopAnger, tickAngerLogic, universallyAnger, writeAngerToNbt
-
Field Details
-
field_28638
public static final int field_28638- Mappings:
Namespace Name Mixin selector official bmLbcd;bm:Iintermediary field_28638Lnet/minecraft/class_4466;field_28638:Inamed field_28638Lnet/minecraft/entity/passive/BeeEntity;field_28638:I
-
STATUS_TRACKER
- Mappings:
Namespace Name Mixin selector official bnLbcd;bn:Lvu;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 boLbcd;bo:Lvu;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 bpLbcd;bp:Lagq;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 bqLbcd;bq: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 brLbcd;br: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 bsLbcd;bs: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 btLbcd;bt: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 buLbcd;bu: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 bvLbcd;bv: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 bwLbcd;bw: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 bxLbcd;bx: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 byLbcd;by:Iintermediary field_21644Lnet/minecraft/class_4466;field_21644:Inamed ticksUntilCanPollinateLnet/minecraft/entity/passive/BeeEntity;ticksUntilCanPollinate:I
-
flowerPos
- Mappings:
Namespace Name Mixin selector official bzLbcd;bz: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 bALbcd;bA: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 bBLbcd;bB:Lbcd$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 bCLbcd;bC:Lbcd$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 bDLbcd;bD:Lbcd$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 bELbcd;bE: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>Laro;<init>(Lars;Lbuq;)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 eLaro;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 aLasj;a(Lfx;Lbut;)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() -
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLaro;b(Lmr;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLaro;a(Lmr;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(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 aLbcd;a(Lbuq;DDDDDLhk;)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 hLbcd;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 oLbcd;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 sLbcd;s()Zintermediary method_21779Lnet/minecraft/class_4466;method_21779()Znamed hasFlowerLnet/minecraft/entity/passive/BeeEntity;hasFlower()Z
-
setFlowerPos
- Mappings:
Namespace Name Mixin selector official gLbcd;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 fCLbcd;fC()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 fDLbcd;fD()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 uLbcd;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 xLbcd;x(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 fELbcd;fE()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 eOLasc;eO()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 foLbcd;fo()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 fFLbcd;fF()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_Lash;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_Lash;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_Lash;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 aLash;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_Lash;I_()Vintermediary method_29509Lnet/minecraft/class_5354;method_29509()Vnamed chooseRandomAngerTimeLnet/minecraft/entity/mob/Angerable;chooseRandomAngerTime()V
-
doesHiveHaveSpace
- Mappings:
Namespace Name Mixin selector official iLbcd;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 fuLbcd;fu()Zintermediary method_21791Lnet/minecraft/class_4466;method_21791()Znamed hasHiveLnet/minecraft/entity/passive/BeeEntity;hasHive()Z
-
getHivePos
- Mappings:
Namespace Name Mixin selector official fvLbcd;fv()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 QLasc;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 fGLbcd;fG()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 fHLbcd;fH()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 fILbcd;fI()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 kLasb;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 fJLbcd;fJ()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 fxLbcd;fx()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 uLbcd;u(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 fyLbcd;fy()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 vLbcd;v(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 fKLbcd;fK()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 wLbcd;w(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 jLbcd;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 dLbcd;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 vLbcd;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 fzLbcd;fz()Lata$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 kLbcc;k(Lboq;)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 kLbcd;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 bLaro;b(Lfx;Lcio;)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 pLasc;p()Laer;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 cLasb;c(Laqy;)Laer;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 qLasb;q()Laer;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 efLasb;ef()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 bLbcd;b(Labf;Larm;)Lbcd;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 bLasb;b(Lasm;Larp;)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 aLaro;a(FFLaqy;)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 aLaro;a(DZLcio;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
public boolean hasWings() -
method_33585
public boolean method_33585()- Mappings:
Namespace Name Mixin selector official fALbcd;fA()Zintermediary method_33585Lnet/minecraft/class_4466;method_33585()Znamed method_33585Lnet/minecraft/entity/passive/BeeEntity;method_33585()Z
-
onHoneyDelivered
public void onHoneyDelivered()- Mappings:
Namespace Name Mixin selector official fBLbcd;fB()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 aLaro;a(Laqy;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 ebLasb;eb()Lasf;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 cLasb;c(Lafo;)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 cpLaro;cp()Ldkn;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 bLbcd;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
-