public class BeeEntity extends AnimalEntity implements IAngerable, IFlyingAnimal
Modifier and Type | Class and Description |
---|---|
(package private) class |
BeeEntity.AngerGoal |
(package private) static class |
BeeEntity.AttackPlayerGoal |
(package private) class |
BeeEntity.BeeLookController |
(package private) class |
BeeEntity.EnterBeehiveGoal |
class |
BeeEntity.FindBeehiveGoal |
class |
BeeEntity.FindFlowerGoal |
(package private) class |
BeeEntity.FindPollinationTargetGoal |
(package private) class |
BeeEntity.PassiveGoal |
(package private) class |
BeeEntity.PollinateGoal |
(package private) class |
BeeEntity.StingGoal |
(package private) class |
BeeEntity.UpdateBeehiveGoal |
(package private) class |
BeeEntity.WanderGoal |
AgeableEntity.AgeableData
Entity.IMoveCallback
Modifier and Type | Field and Description |
---|---|
private BeeEntity.PollinateGoal |
beePollinateGoal |
private static DataParameter<java.lang.Byte> |
DATA_FLAGS_ID |
private static DataParameter<java.lang.Integer> |
DATA_REMAINING_ANGER_TIME |
private BeeEntity.FindBeehiveGoal |
goToHiveGoal |
private BeeEntity.FindFlowerGoal |
goToKnownFlowerGoal |
private BlockPos |
hivePos |
private int |
numCropsGrownSincePollination |
private static RangedInteger |
PERSISTENT_ANGER_TIME |
private java.util.UUID |
persistentAngerTarget |
private int |
remainingCooldownBeforeLocatingNewFlower |
private int |
remainingCooldownBeforeLocatingNewHive |
private float |
rollAmount |
private float |
rollAmountO |
private BlockPos |
savedFlowerPos |
private int |
stayOutOfHiveCountdown |
private int |
ticksWithoutNectarSinceExitingHive |
private int |
timeSinceSting |
private int |
underWaterTicks |
age, forcedAge, forcedAgeTimer
ambientSoundTime, armorDropChances, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelector, xpReward
animationPosition, animationSpeed, animationSpeedOld, animStep, animStepO, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_LIVING_ENTITY_FLAGS, dead, deathScore, deathTime, fallFlyTicks, flyingSpeed, hurtDir, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYRot, lerpZ, lyHeadRot, noActionTime, oAttackAnim, oRun, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, swinging, swingingArm, swingTime, timeOffs, useItem, useItemRemaining, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zza
blocksBuilding, boardingCooldown, DATA_POSE, DATA_SHARED_FLAGS_ID, entityData, fallDistance, firstTick, fluidHeight, fluidOnEyes, forcedLoading, glowing, hasImpulse, horizontalCollision, hurtMarked, inChunk, invulnerableTime, isInsidePortal, level, LOGGER, maxUpStep, moveDist, noCulling, noPhysics, onGround, portalEntrancePos, portalTime, pushthrough, random, removed, stringUUID, stuckSpeedMultiplier, tickCount, uuid, verticalCollision, walkDist, walkDistO, wasEyeInWater, wasTouchingWater, xChunk, xo, xOld, xRot, xRotO, yChunk, yo, yOld, yRot, yRotO, zChunk, zo, zOld
NULL
Constructor and Description |
---|
BeeEntity(EntityType<? extends BeeEntity> p_i225714_1_,
World p_i225714_2_) |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalSaveData(CompoundNBT p_213281_1_) |
void |
aiStep() |
boolean |
causeFallDamage(float p_225503_1_,
float p_225503_2_) |
protected void |
checkFallDamage(double p_184231_1_,
boolean p_184231_3_,
BlockState p_184231_4_,
BlockPos p_184231_5_) |
private boolean |
closerThan(BlockPos p_226401_1_,
int p_226401_2_) |
static AttributeModifierMap.MutableAttribute |
createAttributes() |
protected PathNavigator |
createNavigation(World p_175447_1_) |
protected void |
customServerAiStep() |
protected void |
defineSynchedData() |
private boolean |
doesHiveHaveSpace(BlockPos p_226435_1_) |
boolean |
doHurtTarget(Entity p_70652_1_) |
void |
dropOffNectar() |
protected SoundEvent |
getAmbientSound() |
BeeEntity |
getBreedOffspring(ServerWorld p_241840_1_,
AgeableEntity p_241840_2_) |
private int |
getCropsGrownSincePollination() |
protected SoundEvent |
getDeathSound() |
private boolean |
getFlag(int p_226456_1_) |
BlockPos |
getHivePos() |
protected SoundEvent |
getHurtSound(DamageSource p_184601_1_) |
Vector3d |
getLeashOffset() |
CreatureAttribute |
getMobType() |
java.util.UUID |
getPersistentAngerTarget() |
int |
getRemainingPersistentAngerTime() |
float |
getRollAmount(float p_226455_1_) |
BlockPos |
getSavedFlowerPos() |
protected float |
getSoundVolume() |
protected float |
getStandingEyeHeight(Pose p_213348_1_,
EntitySize p_213348_2_) |
float |
getWalkTargetValue(BlockPos p_205022_1_,
IWorldReader p_205022_2_) |
boolean |
hasHive() |
boolean |
hasNectar() |
boolean |
hasSavedFlowerPos() |
boolean |
hasStung() |
boolean |
hurt(DamageSource p_70097_1_,
float p_70097_2_) |
private void |
incrementNumCropsGrownSincePollination() |
private boolean |
isFlowerValid(BlockPos p_226439_1_) |
boolean |
isFood(ItemStack p_70877_1_) |
private boolean |
isHiveNearFire() |
private boolean |
isHiveValid() |
private boolean |
isRolling() |
private boolean |
isTiredOfLookingForNectar() |
private boolean |
isTooFarAway(BlockPos p_226437_1_) |
protected void |
jumpInLiquid(ITag<Fluid> p_180466_1_) |
protected boolean |
makeFlySound() |
private void |
pathfindRandomlyTowards(BlockPos p_226433_1_) |
protected void |
playStepSound(BlockPos p_180429_1_,
BlockState p_180429_2_) |
void |
readAdditionalSaveData(CompoundNBT p_70037_1_) |
protected void |
registerGoals() |
private void |
resetNumCropsGrownSincePollination() |
void |
resetTicksWithoutNectarSinceExitingHive() |
protected void |
sendDebugPackets() |
private void |
setFlag(int p_226404_1_,
boolean p_226404_2_) |
private void |
setHasNectar(boolean p_226447_1_) |
private void |
setHasStung(boolean p_226449_1_) |
void |
setPersistentAngerTarget(java.util.UUID p_230259_1_) |
void |
setRemainingPersistentAngerTime(int p_230260_1_) |
private void |
setRolling(boolean p_226452_1_) |
void |
setSavedFlowerPos(BlockPos p_226431_1_) |
void |
setStayOutOfHiveCountdown(int p_226450_1_) |
private void |
spawnFluidParticle(World p_226397_1_,
double p_226397_2_,
double p_226397_4_,
double p_226397_6_,
double p_226397_8_,
double p_226397_10_,
IParticleData p_226397_12_) |
void |
startPersistentAngerTimer() |
void |
tick() |
private void |
updateRollAmount() |
private boolean |
wantsToEnterHive() |
canFallInLove, canMate, checkAnimalSpawnRules, getAmbientSoundInterval, getExperienceReward, getInLoveTime, getLoveCause, getMyRidingOffset, handleEntityEvent, isInLove, mobInteract, removeWhenFarAway, resetLove, setInLove, setInLoveTime, spawnChildFromBreeding, usePlayerItem
ageBoundaryReached, ageUp, ageUp, canBreed, finalizeSpawn, getAge, isBaby, onSyncedDataUpdated, setAge, setBaby
checkSpawnRules, followLeashSpeed, getWalkTargetValue, isPathFinding, onLeashDistance, tickLeash
ate, baseTick, canAttack, canAttackType, canBeControlledByRider, canBeLeashed, canCutCorner, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canTakeItem, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, convertTo, createBodyControl, createLootContext, createMobAttributes, dropCustomDeathLoot, dropFromLootTable, dropLeash, enchantSpawnedArmor, enchantSpawnedWeapon, equipItemIfPossible, getArmorSlots, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getEquipmentSlotForItem, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashHolder, getLookControl, getLootTable, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMaxSpawnClusterSize, getMoveControl, getNavigation, getPathfindingMalus, getRestrictCenter, getRestrictRadius, getSensing, getTarget, hasRestriction, interact, isAggressive, isControlledByLocalInstance, isEffectiveAi, isLeashed, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSunBurnTick, isValidSlotForItem, isWithinRestriction, isWithinRestriction, lookAt, onOffspringSpawnedFromEgg, pickUpItem, playAmbientSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, removeAfterChangingDimensions, requiresCustomPersistence, restrictTo, serverAiStep, setAggressive, setCanPickUpLoot, setDelayedLeashHolderId, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashedTo, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSlot, setSpeed, setTarget, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, tickHeadTurn, updateControlFlags, wantsToPickUp
actuallyHurt, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, calculateFallDamage, canAttack, canBeAffected, canBreatheUnderwater, canSee, canSpawnSoulSpeedParticle, canStandOnFluid, checkAutoSpinAttack, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doPush, dropAllDeathLoot, dropEquipment, dropExperience, eat, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getAddEntityPacket, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCapability, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDimensions, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEyeHeight, getFallDamageSound, getFallFlyingTicks, getFeetBlockState, getFluidFallingAdjustedMovement, getHealth, getItemInHand, getJumpPower, getKillCredit, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxHealth, getNoActionTime, getOffhandItem, getProjectile, getRandom, getRelativePortalPosition, getScale, getSleepingPos, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, heal, hurtArmor, hurtCurrentlyUsedShield, increaseAirSupply, invalidateCaps, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isDeadOrDying, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInWall, isPickable, isPushable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadTo, lerpTo, lookAt, makeBrain, markHurt, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onItemPickup, onLeaveCombat, onSoulSpeedBlock, outOfWorld, playBlockFallSound, playEquipSound, push, pushEntities, randomTeleport, releaseUsingItem, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, rideableUnderWater, rideTick, setAbsorptionAmount, setArrowCount, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setOnGround, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, spawnSoulSpeedParticle, startAutoSpinAttack, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, travel, triggerItemUseEffects, tryAddSoulSpeed, updateEffectVisibility, updateInvisibilityStatus, updateSwingTime
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canChangeDimensions, canCollideWith, canEnterPose, canRide, canSpawnSprintParticle, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkAndResetForcedChunkAdditionFlag, checkAndResetUpdateChunkPos, checkInsideBlocks, clearFire, closerThan, collideBoundingBox, collideBoundingBoxHeuristically, collideBoundingBoxLegacy, copyPosition, createCommandSourceStack, createHoverEvent, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBoundingBox, getBoundingBoxForPose, getBrightness, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyePosition, getEyeY, getFireImmuneTicks, getFluidHeight, getFluidJumpThreshold, getForward, getHorizontalDistanceSqr, getId, getIndirectPassengers, getLightProbePosition, getLookAngle, getMaxAirSupply, getMotionDirection, getName, getOnPos, getPacketCoordinates, getPassengers, getPassengersRidingOffset, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalWaitTime, getPose, getPosition, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getY, getY, getZ, getZ, handleInsidePortal, handleNetherPortal, hasCustomName, hashCode, hasIndirectPassenger, hasOnePlayerPassenger, hasPassenger, hasPassenger, hasPermissions, ignoreExplosion, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAttackable, isColliding, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isGlowing, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isMovementNoisy, isNoGravity, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killed, lavaHurt, lerpMotion, limitPistonMovement, load, makeStuckInBlock, maybeBackOffFromEdge, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, pick, playerTouch, playFlySound, playSound, playSwimSound, position, positionRider, processPortalCooldown, push, reapplyPosition, refreshDimensions, remove, remove, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetPos, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowing, setId, setInvisible, setInvulnerable, setLevel, setLocationFromBoundingbox, setNoGravity, setPacketCoordinates, setPacketCoordinates, setPortalCooldown, setPos, setPosAndOldPos, setPose, setPosRaw, setRemainingFireTicks, setRot, setSecondsOnFire, setSharedFlag, setShiftKeyDown, setSilent, setSwimming, setUUID, setViewScale, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, teleportTo, teleportToWithTicket, thunderHit, toString, turn, unRide, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCaps
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addPersistentAngerSaveData, forgetCurrentTargetAndRefreshUniversalAnger, getTarget, isAngry, isAngryAt, isAngryAtAllPlayers, playerDied, readPersistentAngerSaveData, setLastHurtByMob, setLastHurtByPlayer, setTarget, stopBeingAngry, updatePersistentAnger
canBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getEntity, getParts, getPickedResult, isMultipartEntity, serializeNBT, shouldRiderSit
getCapability
private static final DataParameter<java.lang.Byte> DATA_FLAGS_ID
private static final DataParameter<java.lang.Integer> DATA_REMAINING_ANGER_TIME
private static final RangedInteger PERSISTENT_ANGER_TIME
private java.util.UUID persistentAngerTarget
private float rollAmount
private float rollAmountO
private int timeSinceSting
private int ticksWithoutNectarSinceExitingHive
private int stayOutOfHiveCountdown
private int numCropsGrownSincePollination
private int remainingCooldownBeforeLocatingNewHive
private int remainingCooldownBeforeLocatingNewFlower
@Nullable private BlockPos savedFlowerPos
@Nullable private BlockPos hivePos
private BeeEntity.PollinateGoal beePollinateGoal
private BeeEntity.FindBeehiveGoal goToHiveGoal
private BeeEntity.FindFlowerGoal goToKnownFlowerGoal
private int underWaterTicks
public BeeEntity(EntityType<? extends BeeEntity> p_i225714_1_, World p_i225714_2_)
protected void defineSynchedData()
defineSynchedData
in class AgeableEntity
public float getWalkTargetValue(BlockPos p_205022_1_, IWorldReader p_205022_2_)
getWalkTargetValue
in class AnimalEntity
protected void registerGoals()
registerGoals
in class MobEntity
public void addAdditionalSaveData(CompoundNBT p_213281_1_)
addAdditionalSaveData
in class AnimalEntity
public void readAdditionalSaveData(CompoundNBT p_70037_1_)
readAdditionalSaveData
in class AnimalEntity
public boolean doHurtTarget(Entity p_70652_1_)
doHurtTarget
in class MobEntity
private void spawnFluidParticle(World p_226397_1_, double p_226397_2_, double p_226397_4_, double p_226397_6_, double p_226397_8_, double p_226397_10_, IParticleData p_226397_12_)
private void pathfindRandomlyTowards(BlockPos p_226433_1_)
@Nullable public BlockPos getSavedFlowerPos()
public boolean hasSavedFlowerPos()
public void setSavedFlowerPos(BlockPos p_226431_1_)
private boolean isTiredOfLookingForNectar()
private boolean wantsToEnterHive()
public void setStayOutOfHiveCountdown(int p_226450_1_)
public float getRollAmount(float p_226455_1_)
private void updateRollAmount()
protected void customServerAiStep()
customServerAiStep
in class AnimalEntity
public void resetTicksWithoutNectarSinceExitingHive()
private boolean isHiveNearFire()
public int getRemainingPersistentAngerTime()
getRemainingPersistentAngerTime
in interface IAngerable
public void setRemainingPersistentAngerTime(int p_230260_1_)
setRemainingPersistentAngerTime
in interface IAngerable
public java.util.UUID getPersistentAngerTarget()
getPersistentAngerTarget
in interface IAngerable
public void setPersistentAngerTarget(@Nullable java.util.UUID p_230259_1_)
setPersistentAngerTarget
in interface IAngerable
public void startPersistentAngerTimer()
startPersistentAngerTimer
in interface IAngerable
private boolean doesHiveHaveSpace(BlockPos p_226435_1_)
public boolean hasHive()
@Nullable public BlockPos getHivePos()
protected void sendDebugPackets()
sendDebugPackets
in class MobEntity
private int getCropsGrownSincePollination()
private void resetNumCropsGrownSincePollination()
private void incrementNumCropsGrownSincePollination()
public void aiStep()
aiStep
in class AnimalEntity
private boolean isHiveValid()
public boolean hasNectar()
private void setHasNectar(boolean p_226447_1_)
public boolean hasStung()
private void setHasStung(boolean p_226449_1_)
private boolean isRolling()
private void setRolling(boolean p_226452_1_)
private boolean isTooFarAway(BlockPos p_226437_1_)
private void setFlag(int p_226404_1_, boolean p_226404_2_)
private boolean getFlag(int p_226456_1_)
public static AttributeModifierMap.MutableAttribute createAttributes()
protected PathNavigator createNavigation(World p_175447_1_)
createNavigation
in class MobEntity
public boolean isFood(ItemStack p_70877_1_)
isFood
in class AnimalEntity
private boolean isFlowerValid(BlockPos p_226439_1_)
protected void playStepSound(BlockPos p_180429_1_, BlockState p_180429_2_)
playStepSound
in class Entity
protected SoundEvent getAmbientSound()
getAmbientSound
in class MobEntity
protected SoundEvent getHurtSound(DamageSource p_184601_1_)
getHurtSound
in class LivingEntity
protected SoundEvent getDeathSound()
getDeathSound
in class LivingEntity
protected float getSoundVolume()
getSoundVolume
in class LivingEntity
public BeeEntity getBreedOffspring(ServerWorld p_241840_1_, AgeableEntity p_241840_2_)
getBreedOffspring
in class AgeableEntity
protected float getStandingEyeHeight(Pose p_213348_1_, EntitySize p_213348_2_)
getStandingEyeHeight
in class LivingEntity
public boolean causeFallDamage(float p_225503_1_, float p_225503_2_)
causeFallDamage
in class LivingEntity
protected void checkFallDamage(double p_184231_1_, boolean p_184231_3_, BlockState p_184231_4_, BlockPos p_184231_5_)
checkFallDamage
in class LivingEntity
protected boolean makeFlySound()
makeFlySound
in class Entity
public void dropOffNectar()
public boolean hurt(DamageSource p_70097_1_, float p_70097_2_)
hurt
in class AnimalEntity
public CreatureAttribute getMobType()
getMobType
in class LivingEntity
protected void jumpInLiquid(ITag<Fluid> p_180466_1_)
jumpInLiquid
in class MobEntity
public Vector3d getLeashOffset()
getLeashOffset
in class Entity
private boolean closerThan(BlockPos p_226401_1_, int p_226401_2_)