Class BeeEntity
- All Implemented Interfaces:
Attackable,DataTracked,EquipmentHolder,Flutterer,Leashable,Angerable,Targeter,ScoreHolder,Nameable,EntityLike
- Mappings:
Namespace Name named net/minecraft/entity/passive/BeeEntityintermediary net/minecraft/class_4466official cha
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classprivate classprivate classprivate classprivate classclassclassprivate classprivate classprivate classprivate static classprivate classprivate 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.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.entity.Leashable
Leashable.LeashData -
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 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, bodyArmorDropChance, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, field_38932, field_52220, goalSelector, handDropChances, jumpControl, lookControl, MINIMUM_DROPPED_EXPERIENCE_PER_EQUIPMENT, moveControl, navigation, RANDOM_SPAWN_BONUS_MODIFIER_ID, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_NBT_KEY, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, elytraFlightController, EQUIPMENT_SLOT_ID, field_30069, field_30070, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_6215, forwardSpeed, glidingTicks, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, LIVING_FLAGS, lookDirection, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevScale, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideAttackDamage, riptideStack, riptideTicks, 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, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.entity.mob.Angerable
ANGER_TIME_KEY, ANGRY_AT_KEYFields inherited from interface net.minecraft.entity.Leashable
LEASH_NBT_KEY, MAX_LEASH_LENGTH, SHORT_LEASH_LENGTHFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
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) booleanvoid(package private) void(package private) voidcreateChild(ServerWorld serverWorld, PassiveEntity passiveEntity) protected EntityNavigationcreateNavigation(World world) booleandamage(ServerWorld world, 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 SoundEventintprivate booleangetBeeFlag(int location) floatgetBodyPitch(float tickDelta) (package private) intprotected SoundEvent(package private) @Nullable BeehiveBlockEntitygetHive()protected SoundEventgetHurtSound(DamageSource source) Returns the offset from the entity's position where the leash is attached to.intfloatgetPathfindingFavor(BlockPos pos, WorldView world) protected floatbooleanbooleanbooleanbooleanhasStung()(package private) booleanprotected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.protected voidinteractMob(PlayerEntity player, Hand hand) static booleanisAttractive(BlockState state) booleanisBreedingItem(ItemStack stack) booleanReturns whether the entity is flapping their wings.private booleanbooleanisInAir()private booleanstatic booleanisNightOrRaining(World world) (package private) boolean(package private) booleanisWithinDistance(BlockPos pos, int distance) protected voidmobTick(ServerWorld world) 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) voidsetHivePos(BlockPos pos) private voidsetNearTarget(boolean nearTarget) (package private) voidstartMovingTo(BlockPos pos) protected voidswimUpward(TagKey<Fluid> fluid) voidtick()Ticks this entity.voidbooleantryAttack(ServerWorld world, Entity target) private voidvoidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.passive.AnimalEntity
applyDamage, breed, breed, canBreedWith, canEat, canImmediatelyDespawn, createAnimalAttributes, eat, getExperienceToDrop, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, handleStatus, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, playEatSound, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, getForcedAge, getHappyTicksRemaining, growUp, growUp, initialize, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge, toGrowUpAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
beforeLeashTick, canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, onShortLeashTick, shouldFollowLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
baseTick, breakLongLeash, canBeLeashed, canDispenserEquipSlot, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, canUseSlot, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, convertTo, createBodyControl, createMobAttributes, dropAllEquipment, dropEquipment, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, equipStack, getAllArmorItems, getArmorDropChances, getArmorItems, getAttackBox, getBodyArmor, getControllingPassenger, getDropChance, getEquipmentForSlot, getEquippedStack, getHandDropChances, getHandItems, getItemPickUpRangeExpander, getJumpControl, getLeashData, getLimitPerChunk, getLookControl, getLootTableKey, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPreferredWeapons, getSafeFallDistance, getTarget, getTargetInBrain, getVisibilityCache, hasPositionTarget, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, movesIndependently, onEatingGrass, onFinishPathfinding, onLeashRemoved, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playAttackSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setEquipmentFromTable, setEquipmentFromTable, setForwardSpeed, setLeashData, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, stopMovement, tickNewAi, tryEquip, turnHead, updateAttribute, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, areItemsDifferent, attackLivingEntity, becomeAngry, blockedByShield, canBeNameTagged, canBreatheInWater, canEquip, canEquipFromDispenser, canFreeze, canGlide, canGlideWith, canHaveStatusEffect, canHit, canSee, canSee, canTakeDamage, canTarget, canUsePortals, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageArmor, damageEquipment, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, drop, dropExperience, dropInventory, endCombat, enterCombat, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseDimensions, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getEffectiveGravity, getEquippedItems, getExperienceToDrop, getFallSounds, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getKnockbackAgainst, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getLocationBasedEnchantmentEffects, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getStackInArm, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getWeaponStack, getYaw, giveOrDropStack, handleFallDamage, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInCreativeMode, isInsideWall, isInSwimmingPose, isInvulnerableTo, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onRemoval, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, playBlockFallSound, playSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, resetLerp, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setAttackingPlayer, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropExperience, shouldDropExperience, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnItemParticles, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickControlled, tickCramming, tickGliding, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canSprintAsVehicle, canStartRiding, canTeleportBetween, changeLookDirection, clientDamage, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashOffset, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getZ, handleAttack, handleFall, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAlwaysInvulnerableTo, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLocalPlayerOrLogicalSideForUpdatingMovement, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, lerpPosAndRotation, limitFallDistance, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemove, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, queueBlockCollisionCheck, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveNbt, saveSelfNbt, scheduleVelocityUpdate, serverDamage, setAir, setAngles, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setPrevPositionAndAngles, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportTo, tickBlockCollision, tickBlockCollision, tickPortalCooldown, tickPortalTeleportation, toNbtList, toNbtList, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updatePrevAngles, updatePrevPosition, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, 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.entity.EquipmentHolder
getSlotForStack, setEquipmentFromTable, setEquipmentFromTable, setEquipmentFromTableMethods inherited from interface net.minecraft.entity.Leashable
applyLeashElasticity, attachLeash, canLeashAttachTo, detachLeash, detachLeashWithoutDrop, getLeashHolder, isLeashed, mightBeLeashed, readLeashDataFromNbt, setUnresolvedLeashHolderId, writeLeashDataToNbtMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
field_30271
public static final float field_30271- See Also:
- Mappings:
Namespace Name Mixin selector named field_30271Lnet/minecraft/entity/passive/BeeEntity;field_30271:Fintermediary field_30271Lnet/minecraft/class_4466;field_30271:Fofficial bYLcha;bY:F
-
field_28638
public static final int field_28638- Mappings:
Namespace Name Mixin selector named field_28638Lnet/minecraft/entity/passive/BeeEntity;field_28638:Iintermediary field_28638Lnet/minecraft/class_4466;field_28638:Iofficial bZLcha;bZ:I
-
BEE_FLAGS
- Mappings:
Namespace Name Mixin selector named BEE_FLAGSLnet/minecraft/entity/passive/BeeEntity;BEE_FLAGS:Lnet/minecraft/entity/data/TrackedData;intermediary field_20353Lnet/minecraft/class_4466;field_20353:Lnet/minecraft/class_2940;official ciLcha;ci:Lajy;
-
ANGER
- Mappings:
Namespace Name Mixin selector named ANGERLnet/minecraft/entity/passive/BeeEntity;ANGER:Lnet/minecraft/entity/data/TrackedData;intermediary field_20354Lnet/minecraft/class_4466;field_20354:Lnet/minecraft/class_2940;official cjLcha;cj:Lajy;
-
NEAR_TARGET_FLAG
private static final int NEAR_TARGET_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named NEAR_TARGET_FLAGLnet/minecraft/entity/passive/BeeEntity;NEAR_TARGET_FLAG:Iintermediary field_30281Lnet/minecraft/class_4466;field_30281:Iofficial ckLcha;ck:I
-
HAS_STUNG_FLAG
private static final int HAS_STUNG_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named HAS_STUNG_FLAGLnet/minecraft/entity/passive/BeeEntity;HAS_STUNG_FLAG:Iintermediary field_30282Lnet/minecraft/class_4466;field_30282:Iofficial clLcha;cl:I
-
HAS_NECTAR_FLAG
private static final int HAS_NECTAR_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named HAS_NECTAR_FLAGLnet/minecraft/entity/passive/BeeEntity;HAS_NECTAR_FLAG:Iintermediary field_30283Lnet/minecraft/class_4466;field_30283:Iofficial cmLcha;cm:I
-
MAX_LIFETIME_AFTER_STINGING
private static final int MAX_LIFETIME_AFTER_STINGING- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_LIFETIME_AFTER_STINGINGLnet/minecraft/entity/passive/BeeEntity;MAX_LIFETIME_AFTER_STINGING:Iintermediary field_30284Lnet/minecraft/class_4466;field_30284:Iofficial cnLcha;cn: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 named FLOWER_NAVIGATION_START_TICKSLnet/minecraft/entity/passive/BeeEntity;FLOWER_NAVIGATION_START_TICKS:Iintermediary field_30285Lnet/minecraft/class_4466;field_30285:Iofficial coLcha;co: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 named POLLINATION_FAIL_TICKSLnet/minecraft/entity/passive/BeeEntity;POLLINATION_FAIL_TICKS:Iintermediary field_30286Lnet/minecraft/class_4466;field_30286:Iofficial cpLcha;cp:I
-
field_30287
private static final int field_30287- See Also:
- Mappings:
Namespace Name Mixin selector named field_30287Lnet/minecraft/entity/passive/BeeEntity;field_30287:Iintermediary field_30287Lnet/minecraft/class_4466;field_30287:Iofficial cqLcha;cq:I
-
MAX_POLLINATED_CROPS
private static final int MAX_POLLINATED_CROPS- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_POLLINATED_CROPSLnet/minecraft/entity/passive/BeeEntity;MAX_POLLINATED_CROPS:Iintermediary field_30288Lnet/minecraft/class_4466;field_30288:Iofficial crLcha;cr:I
-
NORMAL_DIFFICULTY_STING_POISON_DURATION
private static final int NORMAL_DIFFICULTY_STING_POISON_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector named NORMAL_DIFFICULTY_STING_POISON_DURATIONLnet/minecraft/entity/passive/BeeEntity;NORMAL_DIFFICULTY_STING_POISON_DURATION:Iintermediary field_30289Lnet/minecraft/class_4466;field_30289:Iofficial csLcha;cs:I
-
HARD_DIFFICULTY_STING_POISON_DURATION
private static final int HARD_DIFFICULTY_STING_POISON_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector named HARD_DIFFICULTY_STING_POISON_DURATIONLnet/minecraft/entity/passive/BeeEntity;HARD_DIFFICULTY_STING_POISON_DURATION:Iintermediary field_30290Lnet/minecraft/class_4466;field_30290:Iofficial ctLcha;ct: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 named TOO_FAR_DISTANCELnet/minecraft/entity/passive/BeeEntity;TOO_FAR_DISTANCE:Iintermediary field_30291Lnet/minecraft/class_4466;field_30291:Iofficial cuLcha;cu:I
-
field_30292
private static final int field_30292- See Also:
- Mappings:
Namespace Name Mixin selector named field_30292Lnet/minecraft/entity/passive/BeeEntity;field_30292:Iintermediary field_30292Lnet/minecraft/class_4466;field_30292:Iofficial cvLcha;cv:I
-
field_52456
private static final int field_52456- See Also:
- Mappings:
Namespace Name Mixin selector named field_52456Lnet/minecraft/entity/passive/BeeEntity;field_52456:Iintermediary field_52456Lnet/minecraft/class_4466;field_52456:Iofficial cwLcha;cw:I
-
field_52457
private static final int field_52457- See Also:
- Mappings:
Namespace Name Mixin selector named field_52457Lnet/minecraft/entity/passive/BeeEntity;field_52457:Iintermediary field_52457Lnet/minecraft/class_4466;field_52457:Iofficial cxLcha;cx: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 named MIN_HIVE_RETURN_DISTANCELnet/minecraft/entity/passive/BeeEntity;MIN_HIVE_RETURN_DISTANCE:Iintermediary field_30293Lnet/minecraft/class_4466;field_30293:Iofficial cyLcha;cy:I
-
field_30294
private static final int field_30294- See Also:
- Mappings:
Namespace Name Mixin selector named field_30294Lnet/minecraft/entity/passive/BeeEntity;field_30294:Iintermediary field_30294Lnet/minecraft/class_4466;field_30294:Iofficial czLcha;cz:I
-
CROPS_GROWN_SINCE_POLLINATION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named CROPS_GROWN_SINCE_POLLINATION_KEYLnet/minecraft/entity/passive/BeeEntity;CROPS_GROWN_SINCE_POLLINATION_KEY:Ljava/lang/String;intermediary field_30272Lnet/minecraft/class_4466;field_30272:Ljava/lang/String;official caLcha;ca:Ljava/lang/String;
-
CANNOT_ENTER_HIVE_TICKS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named CANNOT_ENTER_HIVE_TICKS_KEYLnet/minecraft/entity/passive/BeeEntity;CANNOT_ENTER_HIVE_TICKS_KEY:Ljava/lang/String;intermediary field_30273Lnet/minecraft/class_4466;field_30273:Ljava/lang/String;official ccLcha;cc:Ljava/lang/String;
-
TICKS_SINCE_POLLINATION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named TICKS_SINCE_POLLINATION_KEYLnet/minecraft/entity/passive/BeeEntity;TICKS_SINCE_POLLINATION_KEY:Ljava/lang/String;intermediary field_30276Lnet/minecraft/class_4466;field_30276:Ljava/lang/String;official cdLcha;cd:Ljava/lang/String;
-
HAS_STUNG_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named HAS_STUNG_KEYLnet/minecraft/entity/passive/BeeEntity;HAS_STUNG_KEY:Ljava/lang/String;intermediary field_30277Lnet/minecraft/class_4466;field_30277:Ljava/lang/String;official ceLcha;ce:Ljava/lang/String;
-
HAS_NECTAR_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named HAS_NECTAR_KEYLnet/minecraft/entity/passive/BeeEntity;HAS_NECTAR_KEY:Ljava/lang/String;intermediary field_30278Lnet/minecraft/class_4466;field_30278:Ljava/lang/String;official cfLcha;cf:Ljava/lang/String;
-
FLOWER_POS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named FLOWER_POS_KEYLnet/minecraft/entity/passive/BeeEntity;FLOWER_POS_KEY:Ljava/lang/String;intermediary field_30279Lnet/minecraft/class_4466;field_30279:Ljava/lang/String;official cgLcha;cg:Ljava/lang/String;
-
HIVE_POS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named HIVE_POS_KEYLnet/minecraft/entity/passive/BeeEntity;HIVE_POS_KEY:Ljava/lang/String;intermediary field_30280Lnet/minecraft/class_4466;field_30280:Ljava/lang/String;official chLcha;ch:Ljava/lang/String;
-
ANGER_TIME_RANGE
- Mappings:
Namespace Name Mixin selector named ANGER_TIME_RANGELnet/minecraft/entity/passive/BeeEntity;ANGER_TIME_RANGE:Lnet/minecraft/util/math/intprovider/UniformIntProvider;intermediary field_25363Lnet/minecraft/class_4466;field_25363:Lnet/minecraft/class_6019;official cCLcha;cC:Lbrw;
-
field_30274
private static final int field_30274- See Also:
- Mappings:
Namespace Name Mixin selector named field_30274Lnet/minecraft/entity/passive/BeeEntity;field_30274:Iintermediary field_30274Lnet/minecraft/class_4466;field_30274:Iofficial cKLcha;cK:I
-
field_30275
private static final int field_30275- See Also:
- Mappings:
Namespace Name Mixin selector named field_30275Lnet/minecraft/entity/passive/BeeEntity;field_30275:Iintermediary field_30275Lnet/minecraft/class_4466;field_30275:Iofficial cMLcha;cM:I
-
field_52454
private static final int field_52454- See Also:
- Mappings:
Namespace Name Mixin selector named field_52454Lnet/minecraft/entity/passive/BeeEntity;field_52454:Iintermediary field_52454Lnet/minecraft/class_4466;field_52454:Iofficial cNLcha;cN:I
-
field_52455
private static final int field_52455- See Also:
- Mappings:
Namespace Name Mixin selector named field_52455Lnet/minecraft/entity/passive/BeeEntity;field_52455:Iintermediary field_52455Lnet/minecraft/class_4466;field_52455:Iofficial cOLcha;cO:I
-
angryAt
- Mappings:
Namespace Name Mixin selector named angryAtLnet/minecraft/entity/passive/BeeEntity;angryAt:Ljava/util/UUID;intermediary field_25364Lnet/minecraft/class_4466;field_25364:Ljava/util/UUID;official cDLcha;cD:Ljava/util/UUID;
-
currentPitch
private float currentPitch- Mappings:
Namespace Name Mixin selector named currentPitchLnet/minecraft/entity/passive/BeeEntity;currentPitch:Fintermediary field_20356Lnet/minecraft/class_4466;field_20356:Fofficial cELcha;cE:F
-
lastPitch
private float lastPitch- Mappings:
Namespace Name Mixin selector named lastPitchLnet/minecraft/entity/passive/BeeEntity;lastPitch:Fintermediary field_20357Lnet/minecraft/class_4466;field_20357:Fofficial cFLcha;cF:F
-
ticksSinceSting
private int ticksSinceSting- Mappings:
Namespace Name Mixin selector named ticksSinceStingLnet/minecraft/entity/passive/BeeEntity;ticksSinceSting:Iintermediary field_20358Lnet/minecraft/class_4466;field_20358:Iofficial cGLcha;cG:I
-
ticksSincePollination
int ticksSincePollination- Mappings:
Namespace Name Mixin selector named ticksSincePollinationLnet/minecraft/entity/passive/BeeEntity;ticksSincePollination:Iintermediary field_20359Lnet/minecraft/class_4466;field_20359:Iofficial cHLcha;cH:I
-
cannotEnterHiveTicks
private int cannotEnterHiveTicks- Mappings:
Namespace Name Mixin selector named cannotEnterHiveTicksLnet/minecraft/entity/passive/BeeEntity;cannotEnterHiveTicks:Iintermediary field_20360Lnet/minecraft/class_4466;field_20360:Iofficial cILcha;cI:I
-
cropsGrownSincePollination
private int cropsGrownSincePollination- Mappings:
Namespace Name Mixin selector named cropsGrownSincePollinationLnet/minecraft/entity/passive/BeeEntity;cropsGrownSincePollination:Iintermediary field_20361Lnet/minecraft/class_4466;field_20361:Iofficial cJLcha;cJ:I
-
ticksLeftToFindHive
int ticksLeftToFindHive- Mappings:
Namespace Name Mixin selector named ticksLeftToFindHiveLnet/minecraft/entity/passive/BeeEntity;ticksLeftToFindHive:Iintermediary field_21643Lnet/minecraft/class_4466;field_21643:Iofficial cLLcha;cL:I
-
ticksUntilCanPollinate
int ticksUntilCanPollinate- Mappings:
Namespace Name Mixin selector named ticksUntilCanPollinateLnet/minecraft/entity/passive/BeeEntity;ticksUntilCanPollinate:Iintermediary field_21644Lnet/minecraft/class_4466;field_21644:Iofficial cPLcha;cP:I
-
flowerPos
- Mappings:
Namespace Name Mixin selector named flowerPosLnet/minecraft/entity/passive/BeeEntity;flowerPos:Lnet/minecraft/util/math/BlockPos;intermediary field_20362Lnet/minecraft/class_4466;field_20362:Lnet/minecraft/class_2338;official cQLcha;cQ:Lji;
-
hivePos
- Mappings:
Namespace Name Mixin selector named hivePosLnet/minecraft/entity/passive/BeeEntity;hivePos:Lnet/minecraft/util/math/BlockPos;intermediary field_20363Lnet/minecraft/class_4466;field_20363:Lnet/minecraft/class_2338;official cRLcha;cR:Lji;
-
pollinateGoal
BeeEntity.PollinateGoal pollinateGoal- Mappings:
Namespace Name Mixin selector named pollinateGoalLnet/minecraft/entity/passive/BeeEntity;pollinateGoal:Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;intermediary field_21079Lnet/minecraft/class_4466;field_21079:Lnet/minecraft/class_4466$class_4478;official cSLcha;cS:Lcha$k;
-
moveToHiveGoal
BeeEntity.MoveToHiveGoal moveToHiveGoal- Mappings:
Namespace Name Mixin selector named moveToHiveGoalLnet/minecraft/entity/passive/BeeEntity;moveToHiveGoal:Lnet/minecraft/entity/passive/BeeEntity$MoveToHiveGoal;intermediary field_21645Lnet/minecraft/class_4466;field_21645:Lnet/minecraft/class_4466$class_4472;official cTLcha;cT:Lcha$e;
-
moveToFlowerGoal
- Mappings:
Namespace Name Mixin selector named moveToFlowerGoalLnet/minecraft/entity/passive/BeeEntity;moveToFlowerGoal:Lnet/minecraft/entity/passive/BeeEntity$MoveToFlowerGoal;intermediary field_21646Lnet/minecraft/class_4466;field_21646:Lnet/minecraft/class_4466$class_4473;official cULcha;cU:Lcha$f;
-
ticksInsideWater
private int ticksInsideWater- Mappings:
Namespace Name Mixin selector named ticksInsideWaterLnet/minecraft/entity/passive/BeeEntity;ticksInsideWater:Iintermediary field_21509Lnet/minecraft/class_4466;field_21509:Iofficial cVLcha;cV:I
-
-
Constructor Details
-
BeeEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lbum;<init>(Lbut;Ldgj;)V
-
-
Method Details
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classPassiveEntity- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vofficial aLbum;a(Lakc$a;)V
-
getPathfindingFavor
- Overrides:
getPathfindingFavorin classAnimalEntity- Mappings:
Namespace Name Mixin selector named getPathfindingFavorLnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)Fintermediary method_6144Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)Fofficial aLbvq;a(Lji;Ldgm;)F
-
initGoals
protected void initGoals() -
writeCustomDataToNbt
Writes custom data tonbt. Subclasses have 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 named writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vofficial bLbum;b(Ltq;)V
-
readCustomDataFromNbt
Reads custom data fromnbt. Subclasses have 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 named readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vofficial aLbum;a(Ltq;)V
-
tryAttack
- Overrides:
tryAttackin classMobEntity- Mappings:
Namespace Name Mixin selector named tryAttackLnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)Zintermediary method_6121Lnet/minecraft/class_1309;method_6121(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)Zofficial cLbvi;c(Lard;Lbum;)Z
-
tick
public void tick()Ticks this entity.- Overrides:
tickin classMobEntity- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
MobEntity.baseTick(). - Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial hLbum;h()V
-
addParticle
private void addParticle(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect) - Mappings:
Namespace Name Mixin selector named addParticleLnet/minecraft/entity/passive/BeeEntity;addParticle(Lnet/minecraft/world/World;DDDDDLnet/minecraft/particle/ParticleEffect;)Vintermediary method_21769Lnet/minecraft/class_4466;method_21769(Lnet/minecraft/class_1937;DDDDDLnet/minecraft/class_2394;)Vofficial aLcha;a(Ldgj;DDDDDLlr;)V
-
startMovingTo
- Mappings:
Namespace Name Mixin selector named startMovingToLnet/minecraft/entity/passive/BeeEntity;startMovingTo(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_23987Lnet/minecraft/class_4466;method_23987(Lnet/minecraft/class_2338;)Vofficial jLcha;j(Lji;)V
-
getFlowerPos
- Mappings:
Namespace Name Mixin selector named getFlowerPosLnet/minecraft/entity/passive/BeeEntity;getFlowerPos()Lnet/minecraft/util/math/BlockPos;intermediary method_21778Lnet/minecraft/class_4466;method_21778()Lnet/minecraft/class_2338;official pLcha;p()Lji;
-
hasFlower
public boolean hasFlower()- Mappings:
Namespace Name Mixin selector named hasFlowerLnet/minecraft/entity/passive/BeeEntity;hasFlower()Zintermediary method_21779Lnet/minecraft/class_4466;method_21779()Zofficial tLcha;t()Z
-
setFlowerPos
- Mappings:
Namespace Name Mixin selector named setFlowerPosLnet/minecraft/entity/passive/BeeEntity;setFlowerPos(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_21797Lnet/minecraft/class_4466;method_21797(Lnet/minecraft/class_2338;)Vofficial hLcha;h(Lji;)V
-
getMoveGoalTicks
public int getMoveGoalTicks()- Mappings:
Namespace Name Mixin selector named getMoveGoalTicksLnet/minecraft/entity/passive/BeeEntity;getMoveGoalTicks()Iintermediary method_35161Lnet/minecraft/class_4466;method_35161()Iofficial xLcha;x()I
-
getPossibleHives
- Mappings:
Namespace Name Mixin selector named getPossibleHivesLnet/minecraft/entity/passive/BeeEntity;getPossibleHives()Ljava/util/List;intermediary method_35162Lnet/minecraft/class_4466;method_35162()Ljava/util/List;official gsLcha;gs()Ljava/util/List;
-
failedPollinatingTooLong
private boolean failedPollinatingTooLong()- Mappings:
Namespace Name Mixin selector named failedPollinatingTooLongLnet/minecraft/entity/passive/BeeEntity;failedPollinatingTooLong()Zintermediary method_23983Lnet/minecraft/class_4466;method_23983()Zofficial gJLcha;gJ()Z
-
clearHivePos
void clearHivePos()- Mappings:
Namespace Name Mixin selector named clearHivePosLnet/minecraft/entity/passive/BeeEntity;clearHivePos()Vintermediary method_61463Lnet/minecraft/class_4466;method_61463()Vofficial gKLcha;gK()V
-
clearFlowerPos
void clearFlowerPos()- Mappings:
Namespace Name Mixin selector named clearFlowerPosLnet/minecraft/entity/passive/BeeEntity;clearFlowerPos()Vintermediary method_61464Lnet/minecraft/class_4466;method_61464()Vofficial gLLcha;gL()V
-
canEnterHive
boolean canEnterHive()- Mappings:
Namespace Name Mixin selector named canEnterHiveLnet/minecraft/entity/passive/BeeEntity;canEnterHive()Zintermediary method_21789Lnet/minecraft/class_4466;method_21789()Zofficial gMLcha;gM()Z
-
isNightOrRaining
- Mappings:
Namespace Name Mixin selector named isNightOrRainingLnet/minecraft/entity/passive/BeeEntity;isNightOrRaining(Lnet/minecraft/world/World;)Zintermediary method_63007Lnet/minecraft/class_4466;method_63007(Lnet/minecraft/class_1937;)Zofficial cLcha;c(Ldgj;)Z
-
setCannotEnterHiveTicks
public void setCannotEnterHiveTicks(int cannotEnterHiveTicks) - Mappings:
Namespace Name Mixin selector named setCannotEnterHiveTicksLnet/minecraft/entity/passive/BeeEntity;setCannotEnterHiveTicks(I)Vintermediary method_21807Lnet/minecraft/class_4466;method_21807(I)Vofficial sLcha;s(I)V
-
getBodyPitch
public float getBodyPitch(float tickDelta) - Mappings:
Namespace Name Mixin selector named getBodyPitchLnet/minecraft/entity/passive/BeeEntity;getBodyPitch(F)Fintermediary method_21811Lnet/minecraft/class_4466;method_21811(F)Fofficial JLcha;J(F)F
-
updateBodyPitch
private void updateBodyPitch()- Mappings:
Namespace Name Mixin selector named updateBodyPitchLnet/minecraft/entity/passive/BeeEntity;updateBodyPitch()Vintermediary method_21790Lnet/minecraft/class_4466;method_21790()Vofficial gNLcha;gN()V
-
mobTick
- Overrides:
mobTickin classAnimalEntity- Mappings:
Namespace Name Mixin selector named mobTickLnet/minecraft/entity/mob/MobEntity;mobTick(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_5958Lnet/minecraft/class_1308;method_5958(Lnet/minecraft/class_3218;)Vofficial aLbvk;a(Lard;)V
-
resetPollinationTicks
public void resetPollinationTicks()- Mappings:
Namespace Name Mixin selector named resetPollinationTicksLnet/minecraft/entity/passive/BeeEntity;resetPollinationTicks()Vintermediary method_21780Lnet/minecraft/class_4466;method_21780()Vofficial gtLcha;gt()V
-
isHiveNearFire
private boolean isHiveNearFire()- Mappings:
Namespace Name Mixin selector named isHiveNearFireLnet/minecraft/entity/passive/BeeEntity;isHiveNearFire()Zintermediary method_23984Lnet/minecraft/class_4466;method_23984()Zofficial gOLcha;gO()Z
-
getAngerTime
public int getAngerTime()- Specified by:
getAngerTimein interfaceAngerable- Mappings:
Namespace Name Mixin selector named getAngerTimeLnet/minecraft/entity/mob/Angerable;getAngerTime()Iintermediary method_29507Lnet/minecraft/class_5354;method_29507()Iofficial aLbvn;a()I
-
setAngerTime
public void setAngerTime(int angerTime) - Specified by:
setAngerTimein interfaceAngerable- Mappings:
Namespace Name Mixin selector named setAngerTimeLnet/minecraft/entity/mob/Angerable;setAngerTime(I)Vintermediary method_29514Lnet/minecraft/class_5354;method_29514(I)Vofficial aLbvn;a(I)V
-
getAngryAt
- Specified by:
getAngryAtin interfaceAngerable- Mappings:
Namespace Name Mixin selector named getAngryAtLnet/minecraft/entity/mob/Angerable;getAngryAt()Ljava/util/UUID;intermediary method_29508Lnet/minecraft/class_5354;method_29508()Ljava/util/UUID;official bLbvn;b()Ljava/util/UUID;
-
setAngryAt
- Specified by:
setAngryAtin interfaceAngerable- Mappings:
Namespace Name Mixin selector named setAngryAtLnet/minecraft/entity/mob/Angerable;setAngryAt(Ljava/util/UUID;)Vintermediary method_29513Lnet/minecraft/class_5354;method_29513(Ljava/util/UUID;)Vofficial aLbvn;a(Ljava/util/UUID;)V
-
chooseRandomAngerTime
public void chooseRandomAngerTime()- Specified by:
chooseRandomAngerTimein interfaceAngerable- Mappings:
Namespace Name Mixin selector named chooseRandomAngerTimeLnet/minecraft/entity/mob/Angerable;chooseRandomAngerTime()Vintermediary method_29509Lnet/minecraft/class_5354;method_29509()Vofficial cLbvn;c()V
-
doesHiveHaveSpace
- Mappings:
Namespace Name Mixin selector named doesHiveHaveSpaceLnet/minecraft/entity/passive/BeeEntity;doesHiveHaveSpace(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_23988Lnet/minecraft/class_4466;method_23988(Lnet/minecraft/class_2338;)Zofficial kLcha;k(Lji;)Z
-
hasHivePos
public boolean hasHivePos()- Mappings:
Namespace Name Mixin selector named hasHivePosLnet/minecraft/entity/passive/BeeEntity;hasHivePos()Zintermediary method_21791Lnet/minecraft/class_4466;method_21791()Zofficial guLcha;gu()Z
-
getHivePos
- Mappings:
Namespace Name Mixin selector named getHivePosLnet/minecraft/entity/passive/BeeEntity;getHivePos()Lnet/minecraft/util/math/BlockPos;intermediary method_23884Lnet/minecraft/class_4466;method_23884()Lnet/minecraft/class_2338;official gvLcha;gv()Lji;
-
getGoalSelector
- Mappings:
Namespace Name Mixin selector named getGoalSelectorLnet/minecraft/entity/passive/BeeEntity;getGoalSelector()Lnet/minecraft/entity/ai/goal/GoalSelector;intermediary method_35163Lnet/minecraft/class_4466;method_35163()Lnet/minecraft/class_1355;official gwLcha;gw()Lcch;
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugDatain classMobEntity- Mappings:
Namespace Name Mixin selector named sendAiDebugDataLnet/minecraft/entity/mob/MobEntity;sendAiDebugData()Vintermediary method_18409Lnet/minecraft/class_1308;method_18409()Vofficial acLbvk;ac()V
-
getCropsGrownSincePollination
int getCropsGrownSincePollination()- Mappings:
Namespace Name Mixin selector named getCropsGrownSincePollinationLnet/minecraft/entity/passive/BeeEntity;getCropsGrownSincePollination()Iintermediary method_21792Lnet/minecraft/class_4466;method_21792()Iofficial gPLcha;gP()I
-
resetCropCounter
private void resetCropCounter()- Mappings:
Namespace Name Mixin selector named resetCropCounterLnet/minecraft/entity/passive/BeeEntity;resetCropCounter()Vintermediary method_21783Lnet/minecraft/class_4466;method_21783()Vofficial gQLcha;gQ()V
-
addCropCounter
void addCropCounter()- Mappings:
Namespace Name Mixin selector named addCropCounterLnet/minecraft/entity/passive/BeeEntity;addCropCounter()Vintermediary method_21793Lnet/minecraft/class_4466;method_21793()Vofficial gRLcha;gR()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classAnimalEntity- Mappings:
Namespace Name Mixin selector named tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vofficial d_Lbvi;d_()V
-
getHive
- Mappings:
Namespace Name Mixin selector named getHiveLnet/minecraft/entity/passive/BeeEntity;getHive()Lnet/minecraft/block/entity/BeehiveBlockEntity;intermediary method_65073Lnet/minecraft/class_4466;method_65073()Lnet/minecraft/class_4482;official gSLcha;gS()Ldtx;
-
hasValidHive
boolean hasValidHive()- Mappings:
Namespace Name Mixin selector named hasValidHiveLnet/minecraft/entity/passive/BeeEntity;hasValidHive()Zintermediary method_21794Lnet/minecraft/class_4466;method_21794()Zofficial gTLcha;gT()Z
-
hasNectar
public boolean hasNectar()- Mappings:
Namespace Name Mixin selector named hasNectarLnet/minecraft/entity/passive/BeeEntity;hasNectar()Zintermediary method_21784Lnet/minecraft/class_4466;method_21784()Zofficial gELcha;gE()Z
-
setHasNectar
void setHasNectar(boolean hasNectar) - Mappings:
Namespace Name Mixin selector named setHasNectarLnet/minecraft/entity/passive/BeeEntity;setHasNectar(Z)Vintermediary method_21805Lnet/minecraft/class_4466;method_21805(Z)Vofficial xLcha;x(Z)V
-
hasStung
public boolean hasStung()- Mappings:
Namespace Name Mixin selector named hasStungLnet/minecraft/entity/passive/BeeEntity;hasStung()Zintermediary method_21785Lnet/minecraft/class_4466;method_21785()Zofficial gFLcha;gF()Z
-
setHasStung
private void setHasStung(boolean hasStung) - Mappings:
Namespace Name Mixin selector named setHasStungLnet/minecraft/entity/passive/BeeEntity;setHasStung(Z)Vintermediary method_21806Lnet/minecraft/class_4466;method_21806(Z)Vofficial yLcha;y(Z)V
-
isNearTarget
private boolean isNearTarget()- Mappings:
Namespace Name Mixin selector named isNearTargetLnet/minecraft/entity/passive/BeeEntity;isNearTarget()Zintermediary method_21786Lnet/minecraft/class_4466;method_21786()Zofficial gULcha;gU()Z
-
setNearTarget
private void setNearTarget(boolean nearTarget) - Mappings:
Namespace Name Mixin selector named setNearTargetLnet/minecraft/entity/passive/BeeEntity;setNearTarget(Z)Vintermediary method_21808Lnet/minecraft/class_4466;method_21808(Z)Vofficial zLcha;z(Z)V
-
isTooFar
- Mappings:
Namespace Name Mixin selector named isTooFarLnet/minecraft/entity/passive/BeeEntity;isTooFar(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_23990Lnet/minecraft/class_4466;method_23990(Lnet/minecraft/class_2338;)Zofficial lLcha;l(Lji;)Z
-
setBeeFlag
private void setBeeFlag(int bit, boolean value) - Mappings:
Namespace Name Mixin selector named setBeeFlagLnet/minecraft/entity/passive/BeeEntity;setBeeFlag(IZ)Vintermediary method_21775Lnet/minecraft/class_4466;method_21775(IZ)Vofficial dLcha;d(IZ)V
-
getBeeFlag
private boolean getBeeFlag(int location) - Mappings:
Namespace Name Mixin selector named getBeeFlagLnet/minecraft/entity/passive/BeeEntity;getBeeFlag(I)Zintermediary method_21812Lnet/minecraft/class_4466;method_21812(I)Zofficial tLcha;t(I)Z
-
createBeeAttributes
- Mappings:
Namespace Name Mixin selector named createBeeAttributesLnet/minecraft/entity/passive/BeeEntity;createBeeAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;intermediary method_26880Lnet/minecraft/class_4466;method_26880()Lnet/minecraft/class_5132$class_5133;official gGLcha;gG()Lbwp$a;
-
interactMob
- Overrides:
interactMobin classAnimalEntity- Mappings:
Namespace Name Mixin selector named interactMobLnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;intermediary method_5992Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;official bLbvk;b(Lcoy;Lbsk;)Lbsl;
-
isBreedingItem
- Specified by:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector named isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Zofficial jLcgz;j(Lcwq;)Z
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector named playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial bLbum;b(Lji;Ldwy;)V
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;official uLbvk;u()Lavz;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;official eLbvi;e(Lbtc;)Lavz;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;official o_Lbvi;o_()Lavz;
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector named getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()Fintermediary method_6107Lnet/minecraft/class_1309;method_6107()Fofficial fgLbvi;fg()F
-
createChild
@Nullable public @Nullable BeeEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) - Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector named createChildLnet/minecraft/entity/passive/BeeEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/BeeEntity;intermediary method_21771Lnet/minecraft/class_4466;method_21771(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_4466;official bLcha;b(Lard;Lbud;)Lcha;
-
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- Implementation Note:
- If on ground, this calls
Block.onLandedUpon(net.minecraft.world.World, net.minecraft.block.BlockState, net.minecraft.util.math.BlockPos, net.minecraft.entity.Entity, float), which can add or reduce fall damage, emitsGameEvent.HIT_GROUND, then callsEntity.onLanding(). Otherwise, ifheightDifferenceis negative, it subtracts that value fromEntity.fallDistance. - Mappings:
Namespace Name Mixin selector named fallLnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_5623Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vofficial aLbum;a(DZLdwy;Lji;)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 named isFlappingWingsLnet/minecraft/entity/Entity;isFlappingWings()Zintermediary method_5776Lnet/minecraft/class_1297;method_5776()Zofficial baLbum;ba()Z
-
isInAir
public boolean isInAir() -
onHoneyDelivered
public void onHoneyDelivered()- Mappings:
Namespace Name Mixin selector named onHoneyDeliveredLnet/minecraft/entity/passive/BeeEntity;onHoneyDelivered()Vintermediary method_21788Lnet/minecraft/class_4466;method_21788()Vofficial gILcha;gI()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
LivingEntity.isInvulnerableTo(net.minecraft.server.world.ServerWorld, net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
damagein classLivingEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Zintermediary method_64397Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Zofficial aLbum;a(Lard;Lbtc;F)Z
-
swimUpward
- Overrides:
swimUpwardin classMobEntity- Mappings:
Namespace Name Mixin selector named swimUpwardLnet/minecraft/entity/LivingEntity;swimUpward(Lnet/minecraft/registry/tag/TagKey;)Vintermediary method_6010Lnet/minecraft/class_1309;method_6010(Lnet/minecraft/class_6862;)Vofficial cLbvi;c(Laxf;)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 named getLeashOffsetLnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;intermediary method_29919Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;official cTLbum;cT()Lfbb;
-
isWithinDistance
- Mappings:
Namespace Name Mixin selector named isWithinDistanceLnet/minecraft/entity/passive/BeeEntity;isWithinDistance(Lnet/minecraft/util/math/BlockPos;I)Zintermediary method_23979Lnet/minecraft/class_4466;method_23979(Lnet/minecraft/class_2338;I)Zofficial bLcha;b(Lji;I)Z
-
setHivePos
- Mappings:
Namespace Name Mixin selector named setHivePosLnet/minecraft/entity/passive/BeeEntity;setHivePos(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_57301Lnet/minecraft/class_4466;method_57301(Lnet/minecraft/class_2338;)Vofficial iLcha;i(Lji;)V
-
isAttractive
- Mappings:
Namespace Name Mixin selector named isAttractiveLnet/minecraft/entity/passive/BeeEntity;isAttractive(Lnet/minecraft/block/BlockState;)Zintermediary method_65348Lnet/minecraft/class_4466;method_65348(Lnet/minecraft/class_2680;)Zofficial cLcha;c(Ldwy;)Z
-