Class Bee
- All Implemented Interfaces:
- CommandSource,- FlyingAnimal,- Attackable,- NeutralMob,- Targeting,- EntityAccess,- Nameable,- ICapabilityProvider,- ICapabilityProviderImpl<Entity>,- ICapabilitySerializable<CompoundTag>,- IForgeEntity,- IForgeLivingEntity,- INBTSerializable<CompoundTag>
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) class(package private) class(package private) static class(package private) classclassclass(package private) class(package private) class(package private) class(package private) class(package private) class(package private) classNested classes/interfaces inherited from class net.minecraft.world.entity.AgeableMobAgeableMob.AgeableMobGroupDataNested classes/interfaces inherited from class net.minecraft.world.entity.LivingEntityLivingEntity.FallsoundsNested classes/interfaces inherited from class net.minecraft.world.entity.EntityEntity.MoveFunction, Entity.MovementEmission, Entity.RemovalReasonNested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProviderCapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) Bee.BeePollinateGoalprivate static final intprivate static final intprivate static final EntityDataAccessor<Byte>private static final EntityDataAccessor<Integer>private static final intprivate static final intprivate static final intstatic final float(package private) Bee.BeeGoToHiveGoalprivate Bee.BeeGoToKnownFlowerGoalprivate static final intprivate static final int(package private) BlockPosprivate static final intprivate static final intprivate intprivate static final intprivate static final UniformIntprivate UUIDprivate static final intprivate static final int(package private) int(package private) intprivate floatprivate float(package private) BlockPosprivate intprivate static final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprivate static final intstatic final intprivate static final int(package private) intprivate intprivate static final intprivate intFields inherited from class net.minecraft.world.entity.animal.AnimalPARENT_AGE_AFTER_BREEDINGFields inherited from class net.minecraft.world.entity.AgeableMobage, BABY_START_AGE, forcedAge, forcedAgeTimerFields inherited from class net.minecraft.world.entity.PathfinderMobDEFAULT_WALK_TARGET_VALUEFields inherited from class net.minecraft.world.entity.MobambientSoundTime, armorDropChances, DEFAULT_EQUIPMENT_DROP_CHANCE, goalSelector, handDropChances, jumpControl, LEASH_TAG, lookControl, MAX_ENCHANTED_ARMOR_CHANCE, MAX_ENCHANTED_WEAPON_CHANCE, MAX_PICKUP_LOOT_CHANCE, MAX_WEARING_ARMOR_CHANCE, moveControl, navigation, PICKUP_REACH, PRESERVE_ITEM_DROP_CHANCE, targetSelector, UPDATE_GOAL_SELECTOR_EVERY_N_TICKS, xpRewardFields inherited from class net.minecraft.world.entity.LivingEntityanimStep, animStepO, ARMOR_SLOT_OFFSET, ARMOR_SLOTS, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathScore, deathTime, DEFAULT_BASE_GRAVITY, DEFAULT_EYE_HEIGHT, EQUIPMENT_SLOT_OFFSET, EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT, fallFlyTicks, HAND_SLOTS, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYHeadRot, lerpYRot, lerpZ, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, MIN_MOVEMENT_DISTANCE, noActionTime, oAttackAnim, oRun, PLAYER_HURT_EXPERIENCE_TIME, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, SWING_DURATION, swinging, swingingArm, swingTime, timeOffs, USE_ITEM_INTERVAL, useItem, useItemRemaining, walkAnimation, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zzaFields inherited from class net.minecraft.world.entity.EntityBASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, BREATHING_DISTANCE_BELOW_EYES, DATA_POSE, DATA_SHARED_FLAGS_ID, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5, DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0, ENTITY_COUNTER, entityData, fallDistance, firstTick, FLAG_FALL_FLYING, FLAG_GLOWING, FLAG_ONFIRE, fluidHeight, flyDist, forgeFluidTypeHeight, FREEZE_HURT_FREQUENCY, hasImpulse, horizontalCollision, hurtMarked, ID_TAG, invulnerableTime, isInPowderSnow, isInsidePortal, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noCulling, noPhysics, PASSENGERS_TAG, portalEntrancePos, portalTime, random, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, walkDist, walkDistO, wasEyeInWater, wasInPowderSnow, wasOnFire, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOldFields inherited from interface net.minecraft.commands.CommandSourceNULLFields inherited from interface net.minecraft.world.entity.NeutralMobTAG_ANGER_TIME, TAG_ANGRY_AT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAdditionalSaveData(CompoundTag p_27823_) voidaiStep()protected voidcheckFallDamage(double p_27754_, boolean p_27755_, BlockState p_27756_, BlockPos p_27757_) (package private) booleancloserThan(BlockPos p_27817_, int p_27818_) static AttributeSupplier.Builderprotected PathNavigationcreateNavigation(Level p_27815_) protected voidprotected voidprivate booleandoesHiveHaveSpace(BlockPos p_27885_) booleandoHurtTarget(Entity p_27722_) voidprotected SoundEventgetBreedOffspring(ServerLevel p_148760_, AgeableMob p_148761_) (package private) intprotected SoundEventprivate booleangetFlag(int p_27922_) protected SoundEventgetHurtSound(DamageSource p_27845_) intfloatgetRollAmount(float p_27936_) protected floatprotected floatgetStandingEyeHeight(Pose p_27804_, EntityDimensions p_27805_) intfloatgetWalkTargetValue(BlockPos p_27788_, LevelReader p_27789_) booleanhasHive()booleanbooleanbooleanhasStung()booleanhurt(DamageSource p_27762_, float p_27763_) (package private) voidboolean(package private) booleanisFlowerValid(BlockPos p_27897_) booleanisFlying()booleanprivate boolean(package private) booleanprivate booleanprivate boolean(package private) booleanisTooFarAway(BlockPos p_27890_) voidjumpInFluid(FluidType type) Performs what to do when an entity attempts to go up or "jump" in a fluid.protected voidjumpInLiquid(TagKey<Fluid> p_204061_) Deprecated.private void(package private) voidpathfindRandomlyTowards(BlockPos p_27881_) protected voidplayStepSound(BlockPos p_27820_, BlockState p_27821_) voidreadAdditionalSaveData(CompoundTag p_27793_) protected voidprivate voidvoidprotected voidprivate voidsetFlag(int p_27833_, boolean p_27834_) (package private) voidsetHasNectar(boolean p_27920_) private voidsetHasStung(boolean p_27926_) voidsetPersistentAngerTarget(UUID p_27791_) voidsetRemainingPersistentAngerTime(int p_27795_) private voidsetRolling(boolean p_27930_) voidsetSavedFlowerPos(BlockPos p_27877_) voidsetStayOutOfHiveCountdown(int p_27916_) private voidspawnFluidParticle(Level p_27780_, double p_27781_, double p_27782_, double p_27783_, double p_27784_, double p_27785_, ParticleOptions p_27786_) voidvoidtick()private void(package private) booleanMethods inherited from class net.minecraft.world.entity.animal.AnimalcanFallInLove, canMate, checkAnimalSpawnRules, finalizeSpawnChildFromBreeding, getAmbientSoundInterval, getExperienceReward, getInLoveTime, getLoveCause, handleEntityEvent, isBrightEnoughToSpawn, isInLove, mobInteract, removeWhenFarAway, resetLove, setInLove, setInLoveTime, spawnChildFromBreeding, usePlayerItemMethods inherited from class net.minecraft.world.entity.AgeableMobageBoundaryReached, ageUp, ageUp, canBreed, finalizeSpawn, getAge, getSpeedUpSecondsWhenFeeding, isBaby, onSyncedDataUpdated, setAge, setBabyMethods inherited from class net.minecraft.world.entity.PathfinderMobcheckSpawnRules, followLeashSpeed, getWalkTargetValue, isPanicking, isPathFinding, onLeashDistance, shouldStayCloseToLeashHolder, tickLeashMethods inherited from class net.minecraft.world.entity.Mobate, baseTick, canAttackType, canBeLeashed, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canTakeItem, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, clearRestriction, convertTo, createBodyControl, createMobAttributes, dropCustomDeathLoot, dropFromLootTable, dropLeash, enchantSpawnedArmor, enchantSpawnedWeapon, equipItemIfPossible, getArmorSlots, getAttackBoundingBox, getControllingPassenger, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashHolder, getLookControl, getLootTable, getLootTableSeed, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMaxSpawnClusterSize, getMoveControl, getNavigation, getPathfindingMalus, getPickResult, getPickupReach, getRestrictCenter, getRestrictRadius, getSensing, getSpawnType, getTarget, hasRestriction, interact, isAggressive, isEffectiveAi, isLeashed, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSpawnCancelled, isSunBurnTick, isWithinMeleeAttackRange, isWithinRestriction, isWithinRestriction, lookAt, onOffspringSpawnedFromEgg, onPathfindingDone, onPathfindingStart, pickUpItem, playAmbientSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, removeAfterChangingDimensions, removeAllGoals, removeFreeWill, requiresCustomPersistence, restrictTo, serverAiStep, setAggressive, setCanPickUpLoot, setDelayedLeashHolderId, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashedTo, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpawnCancelled, setSpeed, setTarget, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, tickHeadTurn, updateControlFlags, wantsToPickUpMethods inherited from class net.minecraft.world.entity.LivingEntityactuallyHurt, addEffect, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, calculateFallDamage, canAttack, canAttack, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canBreatheUnderwater, canChangeDimensions, canDisableShield, canFreeze, canSpawnSoulSpeedParticle, canStandOnFluid, causeFallDamage, checkAutoSpinAttack, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, doPush, dropAllDeathLoot, dropEquipment, dropExperience, eat, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributeBaseValue, getAttributes, getAttributeValue, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCapability, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDimensions, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEquipmentSlotForItem, getEyeHeight, getFallFlyingTicks, getFallSounds, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHitbox, getHurtDir, getItemInHand, getJumpBoostPower, getJumpPower, getKillCredit, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxAbsorption, getMaxHealth, getMyRidingOffset, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getProjectile, getRandom, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSleepingPos, getSlot, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleDamageEvent, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, hasLineOfSight, heal, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, increaseAirSupply, indicateDamage, internalSetAbsorptionAmount, invalidateCaps, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInWall, isPickable, isPushable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadRotationStep, lerpHeadTo, lerpTargetX, lerpTargetXRot, lerpTargetY, lerpTargetYRot, lerpTargetZ, lerpTo, lookAt, makeBrain, maxUpStep, onBelowWorld, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onItemPickup, onLeaveCombat, onSoulSpeedBlock, playBlockFallSound, push, pushEntities, randomTeleport, recreateFromPacket, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, reviveCaps, rideTick, sendEffectToPassengers, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, skipDropExperience, spawnSoulSpeedParticle, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, tickRidden, travel, triggerItemUseEffects, tryAddFrost, tryAddSoulSpeed, updateEffectVisibility, updateInvisibilityStatus, updateSwingTime, updateUsingItem, updateWalkAnimation, verifyEquippedItem, wasExperienceConsumed, wouldNotSuffocateAtTargetPoseMethods inherited from class net.minecraft.world.entity.EntityabsMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canBeHitByProjectile, canCollideWith, canControlVehicle, canRide, canSpawnSprintParticle, canSprint, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkBelowWorld, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, fixupDimensions, gameEvent, gameEvent, getAddEntityPacket, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensionsForge, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getHandHoldingItemAngle, getId, getIndirectPassengers, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getName, getNameTagOffsetY, getOnPos, getOnPos, getOnPosLegacy, getPassengerAttachmentPoint, getPassengers, getPassengersAndSelf, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getY, getY, getYRot, getZ, getZ, handleInsidePortal, handleNetherPortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, ignoreExplosion, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, isInLiquid, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killedEntity, lavaHurt, lerpMotion, lerpPositionAndRotationStep, level, limitPistonMovement, load, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onClientRemoval, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, onSyncedDataUpdated, pick, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playSwimSound, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, reapplyPosition, refreshDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, ridingOffset, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setMaxUpStep, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithKnownMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSecondsOnFire, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportTo, teleportToWithTicket, thunderHit, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSoundMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProviderareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, serializeCapsMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.commands.CommandSourcealwaysAcceptsMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvidergetCapabilityMethods inherited from interface net.minecraftforge.common.extensions.IForgeEntitycanBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, deserializeNBT, getClassification, getEyeHeightForge, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getParts, getPersistentData, getPickedResult, getSoundFromFluidType, getStepHeight, hasCustomOutlineRendering, isAddedToWorld, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, onAddedToWorld, onRemovedFromWorld, revive, serializeNBT, shouldRiderSit, shouldUpdateFluidWhileBoatingMethods inherited from interface net.minecraftforge.common.extensions.IForgeLivingEntitycanDrownInFluidType, canSwimInFluidType, moveInFluid, self, sinkInFluidMethods inherited from interface net.minecraft.world.entity.NeutralMobaddPersistentAngerSaveData, canAttack, forgetCurrentTargetAndRefreshUniversalAnger, getLastHurtByMob, getTarget, isAngry, isAngryAt, isAngryAtAllPlayers, playerDied, readPersistentAngerSaveData, setLastHurtByMob, setLastHurtByPlayer, setTarget, stopBeingAngry, updatePersistentAnger
- 
Field Details- 
FLAP_DEGREES_PER_TICKpublic static final float FLAP_DEGREES_PER_TICK- See Also:
 
- 
TICKS_PER_FLAPpublic static final int TICKS_PER_FLAP
- 
DATA_FLAGS_ID
- 
DATA_REMAINING_ANGER_TIME
- 
FLAG_ROLLprivate static final int FLAG_ROLL- See Also:
 
- 
FLAG_HAS_STUNGprivate static final int FLAG_HAS_STUNG- See Also:
 
- 
FLAG_HAS_NECTARprivate static final int FLAG_HAS_NECTAR- See Also:
 
- 
STING_DEATH_COUNTDOWNprivate static final int STING_DEATH_COUNTDOWN- See Also:
 
- 
TICKS_BEFORE_GOING_TO_KNOWN_FLOWERprivate static final int TICKS_BEFORE_GOING_TO_KNOWN_FLOWER- See Also:
 
- 
TICKS_WITHOUT_NECTAR_BEFORE_GOING_HOMEprivate static final int TICKS_WITHOUT_NECTAR_BEFORE_GOING_HOME- See Also:
 
- 
MIN_ATTACK_DISTprivate static final int MIN_ATTACK_DIST- See Also:
 
- 
MAX_CROPS_GROWABLEprivate static final int MAX_CROPS_GROWABLE- See Also:
 
- 
POISON_SECONDS_NORMALprivate static final int POISON_SECONDS_NORMAL- See Also:
 
- 
POISON_SECONDS_HARDprivate static final int POISON_SECONDS_HARD- See Also:
 
- 
TOO_FAR_DISTANCEprivate static final int TOO_FAR_DISTANCE- See Also:
 
- 
HIVE_CLOSE_ENOUGH_DISTANCEprivate static final int HIVE_CLOSE_ENOUGH_DISTANCE- See Also:
 
- 
PATHFIND_TO_HIVE_WHEN_CLOSER_THANprivate static final int PATHFIND_TO_HIVE_WHEN_CLOSER_THAN- See Also:
 
- 
HIVE_SEARCH_DISTANCEprivate static final int HIVE_SEARCH_DISTANCE- See Also:
 
- 
TAG_CROPS_GROWN_SINCE_POLLINATION- See Also:
 
- 
TAG_CANNOT_ENTER_HIVE_TICKS- See Also:
 
- 
TAG_TICKS_SINCE_POLLINATION- See Also:
 
- 
TAG_HAS_STUNG- See Also:
 
- 
TAG_HAS_NECTAR- See Also:
 
- 
TAG_FLOWER_POS- See Also:
 
- 
TAG_HIVE_POS- See Also:
 
- 
PERSISTENT_ANGER_TIME
- 
persistentAngerTarget
- 
rollAmountprivate float rollAmount
- 
rollAmountOprivate float rollAmountO
- 
timeSinceStingprivate int timeSinceSting
- 
ticksWithoutNectarSinceExitingHiveint ticksWithoutNectarSinceExitingHive
- 
stayOutOfHiveCountdownprivate int stayOutOfHiveCountdown
- 
numCropsGrownSincePollinationprivate int numCropsGrownSincePollination
- 
COOLDOWN_BEFORE_LOCATING_NEW_HIVEprivate static final int COOLDOWN_BEFORE_LOCATING_NEW_HIVE- See Also:
 
- 
remainingCooldownBeforeLocatingNewHiveint remainingCooldownBeforeLocatingNewHive
- 
COOLDOWN_BEFORE_LOCATING_NEW_FLOWERprivate static final int COOLDOWN_BEFORE_LOCATING_NEW_FLOWER- See Also:
 
- 
remainingCooldownBeforeLocatingNewFlowerint remainingCooldownBeforeLocatingNewFlower
- 
savedFlowerPos
- 
hivePos
- 
beePollinateGoalBee.BeePollinateGoal beePollinateGoal
- 
goToHiveGoalBee.BeeGoToHiveGoal goToHiveGoal
- 
goToKnownFlowerGoal
- 
underWaterTicksprivate int underWaterTicks
 
- 
- 
Constructor Details- 
Bee
 
- 
- 
Method Details- 
defineSynchedDataprotected void defineSynchedData()- Overrides:
- defineSynchedDatain class- AgeableMob
 
- 
getWalkTargetValue- Overrides:
- getWalkTargetValuein class- Animal
 
- 
registerGoalsprotected void registerGoals()- Overrides:
- registerGoalsin class- Mob
 
- 
addAdditionalSaveData- Overrides:
- addAdditionalSaveDatain class- Animal
 
- 
readAdditionalSaveData- Overrides:
- readAdditionalSaveDatain class- Animal
 
- 
doHurtTarget- Overrides:
- doHurtTargetin class- Mob
 
- 
tickpublic void tick()
- 
spawnFluidParticleprivate void spawnFluidParticle(Level p_27780_, double p_27781_, double p_27782_, double p_27783_, double p_27784_, double p_27785_, ParticleOptions p_27786_) 
- 
pathfindRandomlyTowards
- 
getSavedFlowerPos
- 
hasSavedFlowerPospublic boolean hasSavedFlowerPos()
- 
setSavedFlowerPos
- 
getTravellingTickspublic int getTravellingTicks()
- 
getBlacklistedHives
- 
isTiredOfLookingForNectarprivate boolean isTiredOfLookingForNectar()
- 
wantsToEnterHiveboolean wantsToEnterHive()
- 
setStayOutOfHiveCountdownpublic void setStayOutOfHiveCountdown(int p_27916_) 
- 
getRollAmountpublic float getRollAmount(float p_27936_) 
- 
updateRollAmountprivate void updateRollAmount()
- 
customServerAiStepprotected void customServerAiStep()- Overrides:
- customServerAiStepin class- Animal
 
- 
resetTicksWithoutNectarSinceExitingHivepublic void resetTicksWithoutNectarSinceExitingHive()
- 
isHiveNearFireprivate boolean isHiveNearFire()
- 
getRemainingPersistentAngerTimepublic int getRemainingPersistentAngerTime()- Specified by:
- getRemainingPersistentAngerTimein interface- NeutralMob
 
- 
setRemainingPersistentAngerTimepublic void setRemainingPersistentAngerTime(int p_27795_) - Specified by:
- setRemainingPersistentAngerTimein interface- NeutralMob
 
- 
getPersistentAngerTarget- Specified by:
- getPersistentAngerTargetin interface- NeutralMob
 
- 
setPersistentAngerTarget- Specified by:
- setPersistentAngerTargetin interface- NeutralMob
 
- 
startPersistentAngerTimerpublic void startPersistentAngerTimer()- Specified by:
- startPersistentAngerTimerin interface- NeutralMob
 
- 
doesHiveHaveSpace
- 
hasHivepublic boolean hasHive()
- 
getHivePos
- 
getGoalSelector
- 
sendDebugPacketsprotected void sendDebugPackets()- Overrides:
- sendDebugPacketsin class- Mob
 
- 
getCropsGrownSincePollinationint getCropsGrownSincePollination()
- 
resetNumCropsGrownSincePollinationprivate void resetNumCropsGrownSincePollination()
- 
incrementNumCropsGrownSincePollinationvoid incrementNumCropsGrownSincePollination()
- 
aiSteppublic void aiStep()
- 
isHiveValidboolean isHiveValid()
- 
hasNectarpublic boolean hasNectar()
- 
setHasNectarvoid setHasNectar(boolean p_27920_) 
- 
hasStungpublic boolean hasStung()
- 
setHasStungprivate void setHasStung(boolean p_27926_) 
- 
isRollingprivate boolean isRolling()
- 
setRollingprivate void setRolling(boolean p_27930_) 
- 
isTooFarAway
- 
setFlagprivate void setFlag(int p_27833_, boolean p_27834_) 
- 
getFlagprivate boolean getFlag(int p_27922_) 
- 
createAttributes
- 
isFood
- 
isFlowerValid
- 
playStepSound- Overrides:
- playStepSoundin class- Entity
 
- 
getAmbientSound- Overrides:
- getAmbientSoundin class- Mob
 
- 
getHurtSound- Overrides:
- getHurtSoundin class- LivingEntity
 
- 
getDeathSound- Overrides:
- getDeathSoundin class- LivingEntity
 
- 
getSoundVolumeprotected float getSoundVolume()- Overrides:
- getSoundVolumein class- LivingEntity
 
- 
getBreedOffspring- Specified by:
- getBreedOffspringin class- AgeableMob
 
- 
getStandingEyeHeight- Overrides:
- getStandingEyeHeightin class- LivingEntity
 
- 
checkFallDamageprotected void checkFallDamage(double p_27754_, boolean p_27755_, BlockState p_27756_, BlockPos p_27757_) - Overrides:
- checkFallDamagein class- LivingEntity
 
- 
isFlappingpublic boolean isFlapping()- Overrides:
- isFlappingin class- Entity
 
- 
isFlyingpublic boolean isFlying()- Specified by:
- isFlyingin interface- FlyingAnimal
 
- 
dropOffNectarpublic void dropOffNectar()
- 
hurt
- 
getMobType- Overrides:
- getMobTypein class- LivingEntity
 
- 
jumpInLiquidDeprecated.- Overrides:
- jumpInLiquidin class- Mob
 
- 
jumpInLiquidInternalprivate void jumpInLiquidInternal()
- 
jumpInFluidDescription copied from interface:IForgeLivingEntityPerforms what to do when an entity attempts to go up or "jump" in a fluid.- Specified by:
- jumpInFluidin interface- IForgeLivingEntity
- Overrides:
- jumpInFluidin class- Mob
- Parameters:
- type- the type of the fluid
 
- 
getLeashOffset- Overrides:
- getLeashOffsetin class- Entity
 
- 
closerThan
 
-