类 Bee
- 所有已实现的接口:
DataComponentGetter
,SyncedDataHolder
,FlyingAnimal
,Attackable
,EquipmentUser
,Leashable
,NeutralMob
,Targeting
,EntityAccess
,UniquelyIdentifyable
,Nameable
,ScoreHolder
,Waypoint
,WaypointTransmitter
,IAttachmentHolder
,IEntityExtension
,ILivingEntityExtension
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) class
(专用程序包) class
(专用程序包) static class
(专用程序包) class
class
class
(专用程序包) class
(专用程序包) class
(专用程序包) class
(专用程序包) class
(专用程序包) class
(专用程序包) class
(专用程序包) class
(专用程序包) class
从类继承的嵌套类/接口 net.minecraft.world.entity.AgeableMob
AgeableMob.AgeableMobGroupData
从类继承的嵌套类/接口 net.minecraft.world.entity.LivingEntity
LivingEntity.Fallsounds
从类继承的嵌套类/接口 net.minecraft.world.entity.Entity
Entity.MoveFunction, Entity.MovementEmission, Entity.RemovalReason
从类继承的嵌套类/接口 net.neoforged.neoforge.attachment.AttachmentHolder
AttachmentHolder.AsField
从接口继承的嵌套类/接口 net.minecraft.world.entity.Leashable
Leashable.LeashData, Leashable.Wrench
从接口继承的嵌套类/接口 net.minecraft.world.waypoints.Waypoint
Waypoint.Icon
-
字段概要
字段修饰符和类型字段说明(专用程序包) Bee.BeePollinateGoal
private static final int
private static final int
private static final EntityDataAccessor
<Byte> private static final EntityDataAccessor
<Integer> private static final int
private static final int
static final boolean
private static final boolean
private static final int
private static final int
private static final int
private static final int
private static final int
static final float
(专用程序包) Bee.BeeGoToHiveGoal
private Bee.BeeGoToKnownFlowerGoal
private static final int
private static final int
(专用程序包) BlockPos
private static final int
private static final int
private static final int
private static final int
private int
private static final int
private static final UniformInt
private UUID
private static final int
private static final int
(专用程序包) int
(专用程序包) int
private static final int
private float
private float
(专用程序包) BlockPos
private int
private static final int
static final String
static final String
static final String
static final String
static final String
static final String
static final String
private static final int
static final int
private static final int
(专用程序包) int
private int
private static final int
private int
从类继承的字段 net.minecraft.world.entity.animal.Animal
PARENT_AGE_AFTER_BREEDING
从类继承的字段 net.minecraft.world.entity.AgeableMob
age, BABY_START_AGE, DEFAULT_AGE, DEFAULT_FORCED_AGE, forcedAge, forcedAgeTimer
从类继承的字段 net.minecraft.world.entity.PathfinderMob
DEFAULT_WALK_TARGET_VALUE
从类继承的字段 net.minecraft.world.entity.Mob
ambientSoundTime, goalSelector, jumpControl, lookControl, MAX_ENCHANTED_ARMOR_CHANCE, MAX_ENCHANTED_WEAPON_CHANCE, MAX_PICKUP_LOOT_CHANCE, MAX_WEARING_ARMOR_CHANCE, moveControl, navigation, PICKUP_REACH, preventConversionSpawns, RANDOM_SPAWN_BONUS_ID, TAG_CAN_PICK_UP_LOOT, TAG_DROP_CHANCES, TAG_LEFT_HANDED, TAG_NO_AI, targetSelector, UPDATE_GOAL_SELECTOR_EVERY_N_TICKS, xpReward
从类继承的字段 net.minecraft.world.entity.LivingEntity
ARMOR_SLOT_OFFSET, attackAnim, attackStrengthTicker, autoSpinAttackDmg, autoSpinAttackItemStack, autoSpinAttackTicks, BASE_JUMP_POWER, BODY_ARMOR_OFFSET, brain, damageContainers, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathTime, DEFAULT_BABY_SCALE, DEFAULT_BASE_GRAVITY, elytraAnimationState, equipment, EQUIPMENT_SLOT_OFFSET, EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT, fallFlyTicks, hurtDuration, hurtTime, INPUT_FRICTION, interpolation, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerMemoryTime, lerpHeadSteps, lerpYHeadRot, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, MIN_MOVEMENT_DISTANCE, noActionTime, oAttackAnim, PLAYER_HURT_EXPERIENCE_TIME, PLAYER_NOT_WEARING_DISGUISE_ITEM, PLAYER_NOT_WEARING_DISGUISE_ITEM_FOR_TARGET, removeArrowTime, removeStingerTime, SADDLE_OFFSET, SLEEPING_DIMENSIONS, SWING_DURATION, swinging, swingingArm, swingTime, TAG_ATTRIBUTES, TAG_BRAIN, TAG_DEATH_TIME, TAG_EQUIPMENT, TAG_FALL_FLYING, TAG_HEALTH, TAG_HURT_BY_TIMESTAMP, TAG_HURT_TIME, TAG_SLEEPING_POS, useItem, useItemRemaining, walkAnimation, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zza
从类继承的字段 net.minecraft.world.entity.Entity
BASE_SAFE_FALL_DISTANCE, BASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, CONTENTS_SLOT_INDEX, 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, invulnerableTime, isInPowderSnow, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, MAX_MOVEMENTS_HANDELED_PER_TICK, minorHorizontalCollision, moveDist, noPhysics, portalProcess, random, stringUUID, stuckSpeedMultiplier, TAG_AIR, TAG_DATA, TAG_FALL_DISTANCE, TAG_FIRE, TAG_GLOWING, TAG_ID, TAG_INVULNERABLE, TAG_MOTION, TAG_NO_GRAVITY, TAG_ON_GROUND, TAG_PASSENGERS, TAG_PORTAL_COOLDOWN, TAG_POS, TAG_ROTATION, TAG_SILENT, TAG_UUID, tickCount, TOTAL_AIR_SUPPLY, uuid, verticalCollision, verticalCollisionBelow, wasEyeInWater, wasInPowderSnow, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOld
从类继承的字段 net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEY
从接口继承的字段 net.minecraft.world.entity.Leashable
AXIS_SPECIFIC_ELASTICITY, ENTITY_ATTACHMENT_POINT, LEASH_ELASTIC_DIST, LEASH_TAG, LEASH_TOO_FAR_DIST, LEASHER_ATTACHMENT_POINT, MAXIMUM_ALLOWED_LEASHED_DIST, SHARED_QUAD_ATTACHMENT_POINTS, SPRING_DAMPENING, STIFFNESS, TORSIONAL_ELASTICITY
从接口继承的字段 net.minecraft.world.entity.NeutralMob
TAG_ANGER_TIME, TAG_ANGRY_AT
从接口继承的字段 net.minecraft.world.scores.ScoreHolder
WILDCARD, WILDCARD_NAME
从接口继承的字段 net.minecraft.world.waypoints.Waypoint
MAX_RANGE, WAYPOINT_TRANSMIT_RANGE_HIDE_MODIFIER
从接口继承的字段 net.minecraft.world.waypoints.WaypointTransmitter
REALLY_FAR_DISTANCE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
addAdditionalSaveData
(ValueOutput p_422026_) void
aiStep()
static boolean
attractsBees
(BlockState p_388425_) protected void
checkFallDamage
(double p_27754_, boolean p_27755_, BlockState p_27756_, BlockPos p_27757_) (专用程序包) boolean
closerThan
(BlockPos p_27817_, int p_27818_) static AttributeSupplier.Builder
protected PathNavigation
createNavigation
(Level p_27815_) protected void
customServerAiStep
(ServerLevel p_376178_) protected void
defineSynchedData
(SynchedEntityData.Builder p_326248_) private boolean
doesHiveHaveSpace
(BlockPos p_27885_) boolean
doHurtTarget
(ServerLevel p_376916_, Entity p_27722_) (专用程序包) void
(专用程序包) void
dropHive()
void
protected SoundEvent
(专用程序包) BeehiveBlockEntity
getBreedOffspring
(ServerLevel p_148760_, AgeableMob p_148761_) (专用程序包) int
protected SoundEvent
private boolean
getFlag
(int p_27922_) protected SoundEvent
getHurtSound
(DamageSource p_27845_) int
float
getRollAmount
(float p_27936_) protected float
int
float
getWalkTargetValue
(BlockPos p_27788_, LevelReader p_27789_) boolean
hasHive()
boolean
boolean
boolean
hasStung()
boolean
hurtServer
(ServerLevel p_376576_, DamageSource p_376878_, float p_376402_) (专用程序包) void
boolean
boolean
isFlying()
boolean
private boolean
(专用程序包) boolean
static boolean
isNightOrRaining
(Level p_368571_) private boolean
private boolean
(专用程序包) boolean
isTooFarAway
(BlockPos p_27890_) void
jumpInFluid
(FluidType type) Performs what to do when an entity attempts to go up or "jump" in a fluid.protected void
jumpInLiquid
(TagKey<Fluid> p_204061_) 已过时。private void
mobInteract
(Player p_383058_, InteractionHand p_383220_) (专用程序包) void
pathfindRandomlyTowards
(BlockPos p_27881_) protected void
playStepSound
(BlockPos p_27820_, BlockState p_27821_) protected void
readAdditionalSaveData
(ValueInput p_422047_) protected void
private void
void
protected void
private void
setFlag
(int p_27833_, boolean p_27834_) (专用程序包) void
setHasNectar
(boolean p_27920_) private void
setHasStung
(boolean p_27926_) void
setHivePos
(BlockPos p_330297_) void
setPersistentAngerTarget
(UUID p_27791_) void
setRemainingPersistentAngerTime
(int p_27795_) private void
setRolling
(boolean p_27930_) void
setSavedFlowerPos
(BlockPos p_27877_) void
setStayOutOfHiveCountdown
(int p_27916_) private void
spawnFluidParticle
(Level p_27780_, double p_27781_, double p_27782_, double p_27783_, double p_27784_, double p_27785_, ParticleOptions p_27786_) void
void
tick()
private void
(专用程序包) boolean
从类继承的方法 net.minecraft.world.entity.animal.Animal
actuallyHurt, canFallInLove, canMate, checkAnimalSpawnRules, createAnimalAttributes, finalizeSpawnChildFromBreeding, getAmbientSoundInterval, getBaseExperienceReward, getInLoveTime, getLoveCause, handleEntityEvent, isBrightEnoughToSpawn, isInLove, playEatingSound, removeWhenFarAway, resetLove, setInLove, setInLoveTime, spawnChildFromBreeding, usePlayerItem
从类继承的方法 net.minecraft.world.entity.AgeableMob
ageBoundaryReached, ageUp, ageUp, canBreed, finalizeSpawn, getAge, getForcedAge, getForcedAgeTimer, getSpeedUpSecondsWhenFeeding, isBaby, onSyncedDataUpdated, setAge, setBaby
从类继承的方法 net.minecraft.world.entity.PathfinderMob
checkSpawnRules, closeRangeLeashBehaviour, followLeashSpeed, getWalkTargetValue, isPanicking, isPathFinding, shouldStayCloseToLeashHolder, whenLeashedTo
从类继承的方法 net.minecraft.world.entity.Mob
ate, baseTick, canAttackType, canBeLeashed, canDispenserEquipIntoSlot, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canShearEquipment, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, clampHeadRotationToBody, clearHome, convertTo, convertTo, createBodyControl, createEquipmentSlotContainer, createMobAttributes, dropCustomDeathLoot, dropFromLootTable, dropPreservedEquipment, dropPreservedEquipment, enchantSpawnedArmor, enchantSpawnedWeapon, equip, equip, equipItemIfPossible, getAttackBoundingBox, getBodyArmorItem, getControllingPassenger, getDropChances, getEquipmentForSlot, getHeadRotSpeed, getHomePosition, getHomeRadius, getJumpControl, getLeashData, getLookControl, getLootTable, getLootTableSeed, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMaxSpawnClusterSize, getMoveControl, getNavigation, getPathfindingMalus, getPickResult, getPickupReach, getPreferredWeaponType, getSensing, getSpawnType, getTarget, getTargetFromBrain, hasHome, interact, isAggressive, isEffectiveAi, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSaddled, isSpawnCancelled, isSunBurnTick, isWearingBodyArmor, isWithinHome, isWithinHome, isWithinHome, isWithinMeleeAttackRange, leashTooFarBehaviour, lookAt, onAttributeUpdated, onLeashRemoved, onOffspringSpawnedFromEgg, onPathfindingDone, onPathfindingStart, pickUpItem, playAmbientSound, playAttackSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, removeAfterChangingDimensions, removeAllGoals, removeFreeWill, requiresCustomPersistence, serverAiStep, setAggressive, setBodyArmorItem, setCanPickUpLoot, setDropChance, setGuaranteedDrop, setHomeTo, setItemSlotAndDropWhenKilled, setLeashData, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpawnCancelled, setSpeed, setTarget, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, stopInPlace, tickHeadTurn, updateControlFlags, wantsToPickUp
从类继承的方法 net.minecraft.world.entity.LivingEntity
activeLocationDependentEnchantments, addEffect, addEffect, animateHurt, applyInput, applyItemBlocking, areAllEffectsAmbient, attackable, blockedByItem, blockUsingItem, brainProvider, calculateEntityAnimation, calculateFallDamage, canAttack, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canBreatheUnderwater, canEquipWithDispenser, canFreeze, canGlide, canGlideUsing, canStandOnFluid, canUsePortal, canUseSlot, causeFallDamage, checkAutoSpinAttack, clearSleepingPos, completeUsingItem, createEquipment, createLivingAttributes, createWitherRose, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, doHurtEquipment, doPush, drop, dropAllDeathLoot, dropEquipment, dropExperience, dropFromGiftLootTable, dropFromLootTable, dropFromShearingLootTable, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getAgeScale, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBrain, getCombatTracker, getComfortableFallDistance, getCurrentSwingDuration, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDefaultDimensions, getDefaultGravity, getDimensions, getDismountPoses, getEffect, getEffectBlendFactor, getEffectiveGravity, getEquipmentSlotForItem, getEquipSound, getExperienceReward, getFallFlyingTicks, getFallSounds, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHitbox, getHurtDir, getInterpolation, getItemBlockingWith, getItemBySlot, getItemHeldByArm, getItemInHand, getJumpBoostPower, getJumpPower, getJumpPower, getKillCredit, getKnockback, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtByPlayer, getLastHurtByPlayerMemoryTime, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getLuck, getMainHandItem, getMaxAbsorption, getMaxHeadRotationRelativeToBody, getMaxHealth, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getPreciseBodyRotation, getProjectile, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSecondsToDisableBlocking, getSleepingPos, getSlot, getSlotForHand, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getWeaponItem, getYHeadRot, goDownInWater, handleDamageEvent, handleExtraItemsCreatedOnUse, hasEffect, hasInfiniteMaterials, hasItemInSlot, hasLandedInLiquid, hasLineOfSight, hasLineOfSight, heal, hurtArmor, hurtHelmet, igniteForTicks, increaseAirSupply, indicateDamage, internalSetAbsorptionAmount, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isCurrentlyGlowing, isDeadOrDying, isEquippableInSlot, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInvulnerableTo, isInWall, isJumping, isLookingAtMe, isPickable, isPushable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isTransmittingWaypoint, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadRotationStep, lerpHeadTo, lookAt, makeBrain, makePoofParticles, makeSound, makeWaypointConnectionWith, maxUpStep, onBelowWorld, onChangedBlock, onClimbable, onEffectAdded, onEffectsRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onEquippedItemBroken, onItemPickup, onLeaveCombat, onRemoval, playBlockFallSound, push, pushEntities, randomTeleport, recreateFromPacket, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, resetForwardDirectionOfRelativePortalPosition, resolveMobResponsibleForDamage, resolvePlayerResponsibleForDamage, rideTick, sanitizeScale, sendEffectToPassengers, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setItemSlot, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldDropExperience, shouldDropLoot, shouldShowName, skipDropExperience, spawnItemParticles, startSleeping, startUsingItem, stopFallFlying, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, tickRidden, travel, travelFlying, travelFlying, triggerOnDeathMobEffects, tryAddFrost, updateEffectVisibility, updateFallFlying, updateInvisibilityStatus, updateSwingTime, updateUsingItem, updateWalkAnimation, wasExperienceConsumed, waypointIcon, wouldNotSuffocateAtTargetPose
从类继承的方法 net.minecraft.world.entity.Entity
absSnapRotationTo, absSnapTo, absSnapTo, addDeltaMovement, addPassenger, addTag, adjustSpawnLocation, applyComponentsFromItemStack, applyEffectsFromBlocks, applyEffectsFromBlocks, applyGravity, applyImplicitComponent, applyImplicitComponentIfPresent, applyImplicitComponents, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canBeHitByProjectile, canCollideWith, canControlVehicle, canRide, canSimulateMovement, canSpawnSprintParticle, canSprint, canTeleport, canTrample, captureDrops, captureDrops, castComponentValue, checkBelowWorld, checkFallDistanceAccumulation, checkSupportingBlock, chunkPosition, clearFire, clearFreeze, clearMovementThisTick, closerThan, closerThan, collideBoundingBox, collidedWithFluid, collidedWithShapeMovingFrom, considersEntityAsAlly, copyPosition, couldAcceptPassenger, countPlayerPassengers, createCommandSourceStackForNameResolution, createHoverEvent, damageSources, dampensVibrations, deflection, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doCheckFallDamage, doWaterSplashEffect, dropAllLeashConnections, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, fireImmune, fixupDimensions, forceSetRotation, fudgePositionAfterSizeChange, gameEvent, gameEvent, get, getAddEntityPacket, getAirSupply, getAttachments, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getCapability, getCapability, getCollisionHorizontalEscapeVector, getControlledVehicle, getCustomName, getDefaultPassengerAttachmentPoint, getDeltaMovement, getDimensionChangingDelay, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getEyeHeight, getEyeHeight, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getGravity, getHandHoldingItemAngle, getId, getInBlockState, getIndirectPassengers, getInputVector, getKnownMovement, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getName, getNearestViewDirection, getOnPos, getOnPos, getOnPosLegacy, getPassengerAttachmentPoint, getPassengers, getPassengersAndSelf, getPercentFrozen, getPersistentData, getPickRadius, getPistonPushReaction, getPortalCooldown, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getQuadLeashHolderOffsets, getRandom, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRequiresPrecisePosition, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getVehicleAttachmentPoint, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getXRot, getY, getY, getYRot, getYRot, getZ, getZ, handleOnAboveBubbleColumn, handleOnInsideBubbleColumn, handlePortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPose, hurt, hurtClient, hurtOrSimulate, igniteForSeconds, ignoreExplosion, interactAt, is, isAddedToLevel, isAffectedByBlocks, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isClientAuthoritative, isColliding, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlyingVehicle, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInClouds, isInFluidType, isInFluidType, isInLava, isInLiquid, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableToBase, isInWater, isInWaterOrRain, isLocalClientAuthoritative, isLocalInstanceAuthoritative, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killedEntity, lavaHurt, lavaIgnite, lerpMotion, lerpPositionAndRotationStep, level, limitPistonMovement, load, makeBoundingBox, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveOrInterpolateTo, moveRelative, moveTowardsClosestSpace, nextStep, notifyLeasheeRemoved, notifyLeashHolder, oldPosition, onAboveBubbleColumn, onAddedToLevel, onClientRemoval, onExplosionHit, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onPassengerTurned, onRemovedFromLevel, onSyncedDataUpdated, pick, placePortalTicket, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playSwimSound, position, positionRider, positionRider, problemPath, processFlappingMovement, processPortalCooldown, propagateFallToPassengers, push, push, reapplyPosition, refreshDimensions, registryAccess, removeLatestMovementRecording, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendBubbleColumnParticles, setAirSupply, setAsInsidePortal, setBoundingBox, setComponent, setCustomName, setCustomNameVisible, setData, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setNoGravity, setOldPos, setOldPosAndRot, setOldPosAndRot, setOldRot, setOnGround, setOnGroundWithMovement, setOnGroundWithMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRequiresPrecisePosition, setRot, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYRot, shearOffAllLeashConnections, shouldBeSaved, shouldBlockExplode, shouldPlayLavaHurtSound, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, snapTo, snapTo, snapTo, snapTo, snapTo, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, supportQuadLeashAsHolder, syncPacketPositionCodec, teleport, teleportRelative, teleportSetPosition, teleportSpectators, teleportTo, teleportTo, thunderHit, toString, touchingUnloadedChunk, trackingPosition, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSound
从类继承的方法 net.neoforged.neoforge.attachment.AttachmentHolder
deserializeAttachments, getData, getExistingDataOrNull, hasAttachments, hasData, removeData, serializeAttachments
从接口继承的方法 net.minecraft.core.component.DataComponentGetter
get, getOrDefault, getOrDefault, getTyped, has, has
从接口继承的方法 net.minecraft.world.entity.EquipmentUser
equip, equip, equip, getItemBySlot, resolveSlot, setItemSlot
从接口继承的方法 net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setData
从接口继承的方法 net.neoforged.neoforge.common.extensions.IEntityExtension
canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, captureDrops, captureDrops, copyAttachmentsFrom, getClassification, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getParts, getPersistentData, getSoundFromFluidType, hasCustomOutlineRendering, isAddedToLevel, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, onAddedToLevel, onRemovedFromLevel, revive, sendPairingData, shouldRiderSit
从接口继承的方法 net.neoforged.neoforge.common.extensions.ILivingEntityExtension
canDrownInFluidType, canSwimInFluidType, moveInFluid, onDamageTaken, self, sinkInFluid
从接口继承的方法 net.minecraft.world.entity.Leashable
canHaveALeashAttachedTo, checkElasticInteractions, dropLeash, getLeashHolder, getLeashOffset, getQuadLeashOffsets, isLeashed, leashDistanceTo, leashElasticDistance, leashSnapDistance, mayBeLeashed, onElasticLeashPull, readLeashData, removeLeash, setDelayedLeashHolderId, setLeashedTo, supportQuadLeash, writeLeashData
从接口继承的方法 net.minecraft.world.entity.NeutralMob
addPersistentAngerSaveData, canAttack, forgetCurrentTargetAndRefreshUniversalAnger, getLastHurtByMob, getTarget, isAngry, isAngryAt, isAngryAtAllPlayers, playerDied, readPersistentAngerSaveData, setLastHurtByMob, setTarget, stopBeingAngry, updatePersistentAnger
从接口继承的方法 net.minecraft.world.scores.ScoreHolder
getFeedbackDisplayName
-
字段详细资料
-
FLAP_DEGREES_PER_TICK
public static final float FLAP_DEGREES_PER_TICK- 另请参阅:
-
TICKS_PER_FLAP
public static final int TICKS_PER_FLAP -
DATA_FLAGS_ID
-
DATA_REMAINING_ANGER_TIME
-
FLAG_ROLL
private static final int FLAG_ROLL- 另请参阅:
-
FLAG_HAS_STUNG
private static final int FLAG_HAS_STUNG- 另请参阅:
-
FLAG_HAS_NECTAR
private static final int FLAG_HAS_NECTAR- 另请参阅:
-
STING_DEATH_COUNTDOWN
private static final int STING_DEATH_COUNTDOWN- 另请参阅:
-
TICKS_BEFORE_GOING_TO_KNOWN_FLOWER
private static final int TICKS_BEFORE_GOING_TO_KNOWN_FLOWER- 另请参阅:
-
TICKS_WITHOUT_NECTAR_BEFORE_GOING_HOME
private static final int TICKS_WITHOUT_NECTAR_BEFORE_GOING_HOME- 另请参阅:
-
MIN_ATTACK_DIST
private static final int MIN_ATTACK_DIST- 另请参阅:
-
MAX_CROPS_GROWABLE
private static final int MAX_CROPS_GROWABLE- 另请参阅:
-
POISON_SECONDS_NORMAL
private static final int POISON_SECONDS_NORMAL- 另请参阅:
-
POISON_SECONDS_HARD
private static final int POISON_SECONDS_HARD- 另请参阅:
-
TOO_FAR_DISTANCE
private static final int TOO_FAR_DISTANCE- 另请参阅:
-
HIVE_CLOSE_ENOUGH_DISTANCE
private static final int HIVE_CLOSE_ENOUGH_DISTANCE- 另请参阅:
-
RESTRICTED_WANDER_DISTANCE_REDUCTION
private static final int RESTRICTED_WANDER_DISTANCE_REDUCTION- 另请参阅:
-
DEFAULT_WANDER_DISTANCE_REDUCTION
private static final int DEFAULT_WANDER_DISTANCE_REDUCTION- 另请参阅:
-
PATHFIND_TO_HIVE_WHEN_CLOSER_THAN
private static final int PATHFIND_TO_HIVE_WHEN_CLOSER_THAN- 另请参阅:
-
HIVE_SEARCH_DISTANCE
private static final int HIVE_SEARCH_DISTANCE- 另请参阅:
-
TAG_CROPS_GROWN_SINCE_POLLINATION
- 另请参阅:
-
TAG_CANNOT_ENTER_HIVE_TICKS
- 另请参阅:
-
TAG_TICKS_SINCE_POLLINATION
- 另请参阅:
-
TAG_HAS_STUNG
- 另请参阅:
-
TAG_HAS_NECTAR
- 另请参阅:
-
TAG_FLOWER_POS
- 另请参阅:
-
TAG_HIVE_POS
- 另请参阅:
-
DEFAULT_HAS_NECTAR
public static final boolean DEFAULT_HAS_NECTAR- 另请参阅:
-
DEFAULT_HAS_STUNG
private static final boolean DEFAULT_HAS_STUNG- 另请参阅:
-
DEFAULT_TICKS_SINCE_POLLINATION
private static final int DEFAULT_TICKS_SINCE_POLLINATION- 另请参阅:
-
DEFAULT_CANNOT_ENTER_HIVE_TICKS
private static final int DEFAULT_CANNOT_ENTER_HIVE_TICKS- 另请参阅:
-
DEFAULT_CROPS_GROWN_SINCE_POLLINATION
private static final int DEFAULT_CROPS_GROWN_SINCE_POLLINATION- 另请参阅:
-
PERSISTENT_ANGER_TIME
-
persistentAngerTarget
-
rollAmount
private float rollAmount -
rollAmountO
private float rollAmountO -
timeSinceSting
private int timeSinceSting -
ticksWithoutNectarSinceExitingHive
int ticksWithoutNectarSinceExitingHive -
stayOutOfHiveCountdown
private int stayOutOfHiveCountdown -
numCropsGrownSincePollination
private int numCropsGrownSincePollination -
COOLDOWN_BEFORE_LOCATING_NEW_HIVE
private static final int COOLDOWN_BEFORE_LOCATING_NEW_HIVE- 另请参阅:
-
remainingCooldownBeforeLocatingNewHive
int remainingCooldownBeforeLocatingNewHive -
COOLDOWN_BEFORE_LOCATING_NEW_FLOWER
private static final int COOLDOWN_BEFORE_LOCATING_NEW_FLOWER- 另请参阅:
-
MIN_FIND_FLOWER_RETRY_COOLDOWN
private static final int MIN_FIND_FLOWER_RETRY_COOLDOWN- 另请参阅:
-
MAX_FIND_FLOWER_RETRY_COOLDOWN
private static final int MAX_FIND_FLOWER_RETRY_COOLDOWN- 另请参阅:
-
remainingCooldownBeforeLocatingNewFlower
int remainingCooldownBeforeLocatingNewFlower -
savedFlowerPos
-
hivePos
-
beePollinateGoal
Bee.BeePollinateGoal beePollinateGoal -
goToHiveGoal
Bee.BeeGoToHiveGoal goToHiveGoal -
goToKnownFlowerGoal
-
underWaterTicks
private int underWaterTicks
-
-
构造器详细资料
-
Bee
-
-
方法详细资料
-
defineSynchedData
- 覆盖:
defineSynchedData
在类中AgeableMob
-
getWalkTargetValue
- 覆盖:
getWalkTargetValue
在类中Animal
-
registerGoals
protected void registerGoals()- 覆盖:
registerGoals
在类中Mob
-
addAdditionalSaveData
- 覆盖:
addAdditionalSaveData
在类中Animal
-
readAdditionalSaveData
- 覆盖:
readAdditionalSaveData
在类中Animal
-
doHurtTarget
- 覆盖:
doHurtTarget
在类中Mob
-
tick
public void tick() -
spawnFluidParticle
private 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
-
hasSavedFlowerPos
public boolean hasSavedFlowerPos() -
setSavedFlowerPos
-
getTravellingTicks
public int getTravellingTicks() -
getBlacklistedHives
-
isTiredOfLookingForNectar
private boolean isTiredOfLookingForNectar() -
dropHive
void dropHive() -
dropFlower
void dropFlower() -
wantsToEnterHive
boolean wantsToEnterHive() -
isNightOrRaining
-
setStayOutOfHiveCountdown
public void setStayOutOfHiveCountdown(int p_27916_) -
getRollAmount
public float getRollAmount(float p_27936_) -
updateRollAmount
private void updateRollAmount() -
customServerAiStep
- 覆盖:
customServerAiStep
在类中Animal
-
resetTicksWithoutNectarSinceExitingHive
public void resetTicksWithoutNectarSinceExitingHive() -
isHiveNearFire
private boolean isHiveNearFire() -
getRemainingPersistentAngerTime
public int getRemainingPersistentAngerTime()- 指定者:
getRemainingPersistentAngerTime
在接口中NeutralMob
-
setRemainingPersistentAngerTime
public void setRemainingPersistentAngerTime(int p_27795_) - 指定者:
setRemainingPersistentAngerTime
在接口中NeutralMob
-
getPersistentAngerTarget
- 指定者:
getPersistentAngerTarget
在接口中NeutralMob
-
setPersistentAngerTarget
- 指定者:
setPersistentAngerTarget
在接口中NeutralMob
-
startPersistentAngerTimer
public void startPersistentAngerTimer()- 指定者:
startPersistentAngerTimer
在接口中NeutralMob
-
doesHiveHaveSpace
-
hasHive
public boolean hasHive() -
getHivePos
-
getGoalSelector
-
sendDebugPackets
protected void sendDebugPackets()- 覆盖:
sendDebugPackets
在类中Mob
-
getCropsGrownSincePollination
int getCropsGrownSincePollination() -
resetNumCropsGrownSincePollination
private void resetNumCropsGrownSincePollination() -
incrementNumCropsGrownSincePollination
void incrementNumCropsGrownSincePollination() -
aiStep
public void aiStep() -
getBeehiveBlockEntity
-
isHiveValid
boolean isHiveValid() -
hasNectar
public boolean hasNectar() -
setHasNectar
void setHasNectar(boolean p_27920_) -
hasStung
public boolean hasStung() -
setHasStung
private void setHasStung(boolean p_27926_) -
isRolling
private boolean isRolling() -
setRolling
private void setRolling(boolean p_27930_) -
isTooFarAway
-
setFlag
private void setFlag(int p_27833_, boolean p_27834_) -
getFlag
private boolean getFlag(int p_27922_) -
createAttributes
-
mobInteract
- 覆盖:
mobInteract
在类中Animal
-
isFood
-
playStepSound
- 覆盖:
playStepSound
在类中Entity
-
getAmbientSound
- 覆盖:
getAmbientSound
在类中Mob
-
getHurtSound
- 覆盖:
getHurtSound
在类中LivingEntity
-
getDeathSound
- 覆盖:
getDeathSound
在类中LivingEntity
-
getSoundVolume
protected float getSoundVolume()- 覆盖:
getSoundVolume
在类中LivingEntity
-
getBreedOffspring
- 指定者:
getBreedOffspring
在类中AgeableMob
-
checkFallDamage
protected void checkFallDamage(double p_27754_, boolean p_27755_, BlockState p_27756_, BlockPos p_27757_) - 覆盖:
checkFallDamage
在类中LivingEntity
-
isFlapping
public boolean isFlapping()- 覆盖:
isFlapping
在类中Entity
-
isFlying
public boolean isFlying()- 指定者:
isFlying
在接口中FlyingAnimal
-
dropOffNectar
public void dropOffNectar() -
hurtServer
- 覆盖:
hurtServer
在类中LivingEntity
-
jumpInLiquid
已过时。- 覆盖:
jumpInLiquid
在类中Mob
-
jumpInLiquidInternal
private void jumpInLiquidInternal() -
jumpInFluid
从接口复制的说明:ILivingEntityExtension
Performs what to do when an entity attempts to go up or "jump" in a fluid.- 指定者:
jumpInFluid
在接口中ILivingEntityExtension
- 覆盖:
jumpInFluid
在类中Mob
- 参数:
type
- the type of the fluid
-
getLeashOffset
- 指定者:
getLeashOffset
在接口中Leashable
-
closerThan
-
setHivePos
-
attractsBees
-