Class BeeEntity
- All Implemented Interfaces:
Attackable,Flutterer,Angerable,Targeter,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official brkintermediary net/minecraft/class_4466named net/minecraft/entity/passive/BeeEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classprivate classprivate classprivate classprivate classclassclassprivate classprivate classprivate classprivate static classNested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData<Integer>private static final UniformIntProviderprivate static final TrackedData<Byte>static final Stringprivate intstatic final Stringprivate intprivate floatstatic final intstatic final floatprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intA bee will start moving to a flower once this time in ticks has passed from a pollination.static final Stringprivate static final intprivate static final intstatic final Stringprivate static final intstatic final Stringstatic final Stringprivate floatprivate static final intprivate static final intprivate static final intThe minimum distance that bees will immediately return to their hive at.private BeeEntity.MoveToFlowerGoal(package private) BeeEntity.MoveToHiveGoalprivate static final intprivate static final int(package private) BeeEntity.PollinateGoalprivate static final intThe duration in ticks when a bee's pollination is considered failed.static final Stringprivate int(package private) int(package private) intprivate int(package private) intprivate static final intThe minimum distance that bees lose their hive or flower position at.Fields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWNFields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVORFields 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, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, 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, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, 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_FLAGFields 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_44870, field_44871, field_44872, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFireFields inherited from interface net.minecraft.entity.mob.Angerable
ANGER_TIME_KEY, ANGRY_AT_KEYFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidprivate voidaddParticle(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect) (package private) booleanvoidcreateChild(ServerWorld serverWorld, PassiveEntity passiveEntity) protected EntityNavigationcreateNavigation(World world) booleandamage(DamageSource source, float amount) Applies a damage to this entity.private booleanprivate booleanprotected voidfall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected floatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions) protected SoundEventintprivate booleangetBeeFlag(int location) floatgetBodyPitch(float tickDelta) (package private) intprotected SoundEventgetGroup()protected SoundEventgetHurtSound(DamageSource source) Returns the offset from the entity's position where the leash is attached to.intfloatgetPathfindingFavor(BlockPos pos, WorldView world) protected floatbooleanbooleanhasHive()booleanbooleanhasStung()protected voidInitializes data tracker.protected voidbooleanisBreedingItem(ItemStack stack) booleanReturns whether the entity is flapping their wings.(package private) booleanprivate boolean(package private) booleanbooleanisInAir()private boolean(package private) boolean(package private) booleanisWithinDistance(BlockPos pos, int distance) protected voidmobTick()voidprotected voidplayStepSound(BlockPos pos, BlockState state) voidReads custom data fromnbt.private voidvoidprotected voidvoidsetAngerTime(int angerTime) voidsetAngryAt(@Nullable UUID angryAt) private voidsetBeeFlag(int bit, boolean value) voidsetCannotEnterHiveTicks(int cannotEnterHiveTicks) voidsetFlowerPos(BlockPos flowerPos) (package private) voidsetHasNectar(boolean hasNectar) private voidsetHasStung(boolean hasStung) private voidsetNearTarget(boolean nearTarget) (package private) voidstartMovingTo(BlockPos pos) protected voidswimUpward(TagKey<Fluid> fluid) voidtick()Ticks this entity.voidbooleanprivate voidvoidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, breed, canBreedWith, canEat, canImmediatelyDespawn, eat, getHeightOffset, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getXpToDrop, handleStatus, interactMob, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, initialize, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge, toGrowUpAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, shouldFollowLeash, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getControllingPassenger, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getItemPickUpRangeExpander, getJumpControl, getLimitPerChunk, getLookControl, 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, isPersistent, lookAtEntity, loot, method_51851, movesIndependently, onEatingGrass, onFinishPathfinding, onPlayerSpawnedChild, onStartPathfinding, 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, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, attackLivingEntity, blockedByShield, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canUsePortals, 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, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackPos, getAttributeBaseValue, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSounds, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRandom, getRecentDamageSource, getRoll, getSaddledSpeed, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, remove, 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, tickControlled, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canSprintAsVehicle, canStartRiding, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, 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, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, 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, getNameLabelHeight, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPosWithYOffset, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, limitFallDistance, method_51848, method_51849, method_51850, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, 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, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, 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
canTarget, forgive, getAttacker, getTarget, hasAngerTime, isUniversallyAngry, readAngerFromNbt, setAttacker, setAttacking, setTarget, shouldAngerAt, stopAnger, tickAngerLogic, universallyAnger, writeAngerToNbtMethods 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 bTLbrk;bT:Fintermediary field_30271Lnet/minecraft/class_4466;field_30271:Fnamed field_30271Lnet/minecraft/entity/passive/BeeEntity;field_30271:F
-
field_28638
public static final int field_28638- Mappings:
Namespace Name Mixin selector official bULbrk;bU:Iintermediary field_28638Lnet/minecraft/class_4466;field_28638:Inamed field_28638Lnet/minecraft/entity/passive/BeeEntity;field_28638:I
-
BEE_FLAGS
- Mappings:
Namespace Name Mixin selector official cdLbrk;cd:Laby;intermediary field_20353Lnet/minecraft/class_4466;field_20353:Lnet/minecraft/class_2940;named BEE_FLAGSLnet/minecraft/entity/passive/BeeEntity;BEE_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
ANGER
- Mappings:
Namespace Name Mixin selector official ceLbrk;ce:Laby;intermediary field_20354Lnet/minecraft/class_4466;field_20354:Lnet/minecraft/class_2940;named ANGERLnet/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 cfLbrk;cf:Iintermediary field_30281Lnet/minecraft/class_4466;field_30281:Inamed NEAR_TARGET_FLAGLnet/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 cgLbrk;cg:Iintermediary field_30282Lnet/minecraft/class_4466;field_30282:Inamed HAS_STUNG_FLAGLnet/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 chLbrk;ch:Iintermediary field_30283Lnet/minecraft/class_4466;field_30283:Inamed HAS_NECTAR_FLAGLnet/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 ciLbrk;ci:Iintermediary field_30284Lnet/minecraft/class_4466;field_30284:Inamed MAX_LIFETIME_AFTER_STINGINGLnet/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 cjLbrk;cj:Iintermediary field_30285Lnet/minecraft/class_4466;field_30285:Inamed FLOWER_NAVIGATION_START_TICKSLnet/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 ckLbrk;ck:Iintermediary field_30286Lnet/minecraft/class_4466;field_30286:Inamed POLLINATION_FAIL_TICKSLnet/minecraft/entity/passive/BeeEntity;POLLINATION_FAIL_TICKS:I
-
field_30287
private static final int field_30287- See Also:
- Mappings:
Namespace Name Mixin selector official clLbrk;cl:Iintermediary field_30287Lnet/minecraft/class_4466;field_30287:Inamed field_30287Lnet/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 cmLbrk;cm:Iintermediary field_30288Lnet/minecraft/class_4466;field_30288:Inamed MAX_POLLINATED_CROPSLnet/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 cnLbrk;cn:Iintermediary field_30289Lnet/minecraft/class_4466;field_30289:Inamed NORMAL_DIFFICULTY_STING_POISON_DURATIONLnet/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 coLbrk;co:Iintermediary field_30290Lnet/minecraft/class_4466;field_30290:Inamed HARD_DIFFICULTY_STING_POISON_DURATIONLnet/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 cpLbrk;cp:Iintermediary field_30291Lnet/minecraft/class_4466;field_30291:Inamed TOO_FAR_DISTANCELnet/minecraft/entity/passive/BeeEntity;TOO_FAR_DISTANCE:I
-
field_30292
private static final int field_30292- See Also:
- Mappings:
Namespace Name Mixin selector official cqLbrk;cq:Iintermediary field_30292Lnet/minecraft/class_4466;field_30292:Inamed field_30292Lnet/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 crLbrk;cr:Iintermediary field_30293Lnet/minecraft/class_4466;field_30293:Inamed MIN_HIVE_RETURN_DISTANCELnet/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 csLbrk;cs:Iintermediary field_30294Lnet/minecraft/class_4466;field_30294:Inamed field_30294Lnet/minecraft/entity/passive/BeeEntity;field_30294:I
-
CROPS_GROWN_SINCE_POLLINATION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official bWLbrk;bW:Ljava/lang/String;intermediary field_30272Lnet/minecraft/class_4466;field_30272:Ljava/lang/String;named CROPS_GROWN_SINCE_POLLINATION_KEYLnet/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 bXLbrk;bX:Ljava/lang/String;intermediary field_30273Lnet/minecraft/class_4466;field_30273:Ljava/lang/String;named CANNOT_ENTER_HIVE_TICKS_KEYLnet/minecraft/entity/passive/BeeEntity;CANNOT_ENTER_HIVE_TICKS_KEY:Ljava/lang/String;
-
TICKS_SINCE_POLLINATION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official bYLbrk;bY:Ljava/lang/String;intermediary field_30276Lnet/minecraft/class_4466;field_30276:Ljava/lang/String;named TICKS_SINCE_POLLINATION_KEYLnet/minecraft/entity/passive/BeeEntity;TICKS_SINCE_POLLINATION_KEY:Ljava/lang/String;
-
HAS_STUNG_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official bZLbrk;bZ:Ljava/lang/String;intermediary field_30277Lnet/minecraft/class_4466;field_30277:Ljava/lang/String;named HAS_STUNG_KEYLnet/minecraft/entity/passive/BeeEntity;HAS_STUNG_KEY:Ljava/lang/String;
-
HAS_NECTAR_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official caLbrk;ca:Ljava/lang/String;intermediary field_30278Lnet/minecraft/class_4466;field_30278:Ljava/lang/String;named HAS_NECTAR_KEYLnet/minecraft/entity/passive/BeeEntity;HAS_NECTAR_KEY:Ljava/lang/String;
-
FLOWER_POS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official cbLbrk;cb:Ljava/lang/String;intermediary field_30279Lnet/minecraft/class_4466;field_30279:Ljava/lang/String;named FLOWER_POS_KEYLnet/minecraft/entity/passive/BeeEntity;FLOWER_POS_KEY:Ljava/lang/String;
-
HIVE_POS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official ccLbrk;cc:Ljava/lang/String;intermediary field_30280Lnet/minecraft/class_4466;field_30280:Ljava/lang/String;named HIVE_POS_KEYLnet/minecraft/entity/passive/BeeEntity;HIVE_POS_KEY:Ljava/lang/String;
-
ANGER_TIME_RANGE
- Mappings:
Namespace Name Mixin selector official ctLbrk;ct:Lbdh;intermediary field_25363Lnet/minecraft/class_4466;field_25363:Lnet/minecraft/class_6019;named ANGER_TIME_RANGELnet/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 cBLbrk;cB:Iintermediary field_30274Lnet/minecraft/class_4466;field_30274:Inamed field_30274Lnet/minecraft/entity/passive/BeeEntity;field_30274:I
-
field_30275
private static final int field_30275- See Also:
- Mappings:
Namespace Name Mixin selector official cDLbrk;cD:Iintermediary field_30275Lnet/minecraft/class_4466;field_30275:Inamed field_30275Lnet/minecraft/entity/passive/BeeEntity;field_30275:I
-
angryAt
- Mappings:
Namespace Name Mixin selector official cuLbrk;cu:Ljava/util/UUID;intermediary field_25364Lnet/minecraft/class_4466;field_25364:Ljava/util/UUID;named angryAtLnet/minecraft/entity/passive/BeeEntity;angryAt:Ljava/util/UUID;
-
currentPitch
private float currentPitch- Mappings:
Namespace Name Mixin selector official cvLbrk;cv: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 cwLbrk;cw: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 cxLbrk;cx:Iintermediary field_20358Lnet/minecraft/class_4466;field_20358:Inamed ticksSinceStingLnet/minecraft/entity/passive/BeeEntity;ticksSinceSting:I
-
ticksSincePollination
int ticksSincePollination- Mappings:
Namespace Name Mixin selector official cyLbrk;cy: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 czLbrk;cz: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 cALbrk;cA:Iintermediary field_20361Lnet/minecraft/class_4466;field_20361:Inamed cropsGrownSincePollinationLnet/minecraft/entity/passive/BeeEntity;cropsGrownSincePollination:I
-
ticksLeftToFindHive
int ticksLeftToFindHive- Mappings:
Namespace Name Mixin selector official cCLbrk;cC:Iintermediary field_21643Lnet/minecraft/class_4466;field_21643:Inamed ticksLeftToFindHiveLnet/minecraft/entity/passive/BeeEntity;ticksLeftToFindHive:I
-
ticksUntilCanPollinate
int ticksUntilCanPollinate- Mappings:
Namespace Name Mixin selector official cELbrk;cE:Iintermediary field_21644Lnet/minecraft/class_4466;field_21644:Inamed ticksUntilCanPollinateLnet/minecraft/entity/passive/BeeEntity;ticksUntilCanPollinate:I
-
flowerPos
- Mappings:
Namespace Name Mixin selector official cFLbrk;cF:Lgu;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 cGLbrk;cG:Lgu;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
BeeEntity.PollinateGoal pollinateGoal- Mappings:
Namespace Name Mixin selector official cHLbrk;cH:Lbrk$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
BeeEntity.MoveToHiveGoal moveToHiveGoal- Mappings:
Namespace Name Mixin selector official cILbrk;cI:Lbrk$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 cJLbrk;cJ:Lbrk$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 cKLbrk;cK: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>Lbfh;<init>(Lbfl;Lcmk;)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()Initializes data tracker.- Overrides:
initDataTrackerin classPassiveEntity- Mappings:
Namespace Name Mixin selector official a_Lbfh;a_()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 aLbgg;a(Lgu;Lcmn;)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
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:
writeCustomDataToNbtin classAnimalEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbfh;b(Lqr;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/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.
nbtmight 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:
readCustomDataFromNbtin classAnimalEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbfh;a(Lqr;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/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 aLbrk;a(Lcmk;DDDDDLit;)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 jLbrk;j(Lgu;)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 pLbrk;p()Lgu;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 qLbrk;q()Zintermediary method_21779Lnet/minecraft/class_4466;method_21779()Znamed hasFlowerLnet/minecraft/entity/passive/BeeEntity;hasFlower()Z
-
setFlowerPos
- Mappings:
Namespace Name Mixin selector official iLbrk;i(Lgu;)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
-
getMoveGoalTicks
public int getMoveGoalTicks()- Mappings:
Namespace Name Mixin selector official tLbrk;t()Iintermediary method_35161Lnet/minecraft/class_4466;method_35161()Inamed getMoveGoalTicksLnet/minecraft/entity/passive/BeeEntity;getMoveGoalTicks()I
-
getPossibleHives
- Mappings:
Namespace Name Mixin selector official fXLbrk;fX()Ljava/util/List;intermediary method_35162Lnet/minecraft/class_4466;method_35162()Ljava/util/List;named getPossibleHivesLnet/minecraft/entity/passive/BeeEntity;getPossibleHives()Ljava/util/List;
-
failedPollinatingTooLong
private boolean failedPollinatingTooLong()- Mappings:
Namespace Name Mixin selector official gmLbrk;gm()Zintermediary method_23983Lnet/minecraft/class_4466;method_23983()Znamed failedPollinatingTooLongLnet/minecraft/entity/passive/BeeEntity;failedPollinatingTooLong()Z
-
canEnterHive
boolean canEnterHive()- Mappings:
Namespace Name Mixin selector official gnLbrk;gn()Zintermediary method_21789Lnet/minecraft/class_4466;method_21789()Znamed canEnterHiveLnet/minecraft/entity/passive/BeeEntity;canEnterHive()Z
-
setCannotEnterHiveTicks
public void setCannotEnterHiveTicks(int cannotEnterHiveTicks) - Mappings:
Namespace Name Mixin selector official tLbrk;t(I)Vintermediary method_21807Lnet/minecraft/class_4466;method_21807(I)Vnamed setCannotEnterHiveTicksLnet/minecraft/entity/passive/BeeEntity;setCannotEnterHiveTicks(I)V
-
getBodyPitch
public float getBodyPitch(float tickDelta) - Mappings:
Namespace Name Mixin selector official DLbrk;D(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 goLbrk;go()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 VLbfz;V()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 gdLbrk;gd()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 gpLbrk;gp()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 aLbge;a()Iintermediary method_29507Lnet/minecraft/class_5354;method_29507()Inamed getAngerTimeLnet/minecraft/entity/mob/Angerable;getAngerTime()I
-
setAngerTime
public void setAngerTime(int angerTime) - Specified by:
setAngerTimein interfaceAngerable- Mappings:
Namespace Name Mixin selector official aLbge;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 bLbge;b()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 aLbge;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 cLbge;c()Vintermediary method_29509Lnet/minecraft/class_5354;method_29509()Vnamed chooseRandomAngerTimeLnet/minecraft/entity/mob/Angerable;chooseRandomAngerTime()V
-
doesHiveHaveSpace
- Mappings:
Namespace Name Mixin selector official kLbrk;k(Lgu;)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 geLbrk;ge()Zintermediary method_21791Lnet/minecraft/class_4466;method_21791()Znamed hasHiveLnet/minecraft/entity/passive/BeeEntity;hasHive()Z
-
getHivePos
- Mappings:
Namespace Name Mixin selector official gfLbrk;gf()Lgu;intermediary method_23884Lnet/minecraft/class_4466;method_23884()Lnet/minecraft/class_2338;named getHivePosLnet/minecraft/entity/passive/BeeEntity;getHivePos()Lnet/minecraft/util/math/BlockPos;
-
getGoalSelector
- Mappings:
Namespace Name Mixin selector official ggLbrk;gg()Lbmu;intermediary method_35163Lnet/minecraft/class_4466;method_35163()Lnet/minecraft/class_1355;named getGoalSelectorLnet/minecraft/entity/passive/BeeEntity;getGoalSelector()Lnet/minecraft/entity/ai/goal/GoalSelector;
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugDatain classMobEntity- Mappings:
Namespace Name Mixin selector official ULbfz;U()Vintermediary method_18409Lnet/minecraft/class_1308;method_18409()Vnamed sendAiDebugDataLnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-
getCropsGrownSincePollination
int getCropsGrownSincePollination()- Mappings:
Namespace Name Mixin selector official gqLbrk;gq()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 grLbrk;gr()Vintermediary method_21783Lnet/minecraft/class_4466;method_21783()Vnamed resetCropCounterLnet/minecraft/entity/passive/BeeEntity;resetCropCounter()V
-
addCropCounter
void addCropCounter()- Mappings:
Namespace Name Mixin selector official gsLbrk;gs()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 b_Lbfx;b_()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
isHiveValid
boolean isHiveValid()- Mappings:
Namespace Name Mixin selector official gtLbrk;gt()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 ghLbrk;gh()Zintermediary method_21784Lnet/minecraft/class_4466;method_21784()Znamed hasNectarLnet/minecraft/entity/passive/BeeEntity;hasNectar()Z
-
setHasNectar
void setHasNectar(boolean hasNectar) - Mappings:
Namespace Name Mixin selector official xLbrk;x(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 giLbrk;gi()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 yLbrk;y(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 guLbrk;gu()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 zLbrk;z(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 lLbrk;l(Lgu;)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 dLbrk;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 uLbrk;u(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 gjLbrk;gj()Lbhd$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 mLbrj;m(Lcfx;)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 mLbrk;m(Lgu;)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 bLbfh;b(Lgu;Ldby;)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 rLbfz;r()Lamg;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 dLbfx;d(Lbem;)Lamg;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 g_Lbfx;g_()Lamg;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 eRLbfx;eR()Fintermediary method_6107Lnet/minecraft/class_1309;method_6107()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
createChild
@Nullable public @Nullable BeeEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) - Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector official bLbrk;b(Laif;Lbfc;)Lbrk;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 bLbfx;b(Lbgj;Lbfi;)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
-
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:
fallin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbfh;a(DZLdby;Lgu;)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
-
isFlappingWings
public boolean isFlappingWings()Returns whether the entity is flapping their wings.Entities flapping their wings will call
Entity.addFlapEffects()insideEntity.addAirTravelEffects().- Overrides:
isFlappingWingsin classEntity- Returns:
- whether the entity is flapping their wings
- Mappings:
Namespace Name Mixin selector official aOLbfh;aO()Zintermediary method_5776Lnet/minecraft/class_1297;method_5776()Znamed isFlappingWingsLnet/minecraft/entity/Entity;isFlappingWings()Z
-
isInAir
public boolean isInAir() -
onHoneyDelivered
public void onHoneyDelivered()- Mappings:
Namespace Name Mixin selector official glLbrk;gl()Vintermediary method_21788Lnet/minecraft/class_4466;method_21788()Vnamed onHoneyDeliveredLnet/minecraft/entity/passive/BeeEntity;onHoneyDelivered()V
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas 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
ItemEntityalso 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:
damagein classAnimalEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector official aLbfh;a(Lbem;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 eNLbfx;eN()Lbgc;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 cLbfx;c(Lanl;)Vintermediary method_6010Lnet/minecraft/class_1309;method_6010(Lnet/minecraft/class_6862;)Vnamed swimUpwardLnet/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:
getLeashOffsetin classEntity- Returns:
- the offset from the entity's position where the leash is attached to
- See Also:
- Mappings:
Namespace Name Mixin selector official cGLbfh;cG()Leea;intermediary method_29919Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;named getLeashOffsetLnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
-
isWithinDistance
- Mappings:
Namespace Name Mixin selector official bLbrk;b(Lgu;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
-