public class TurtleEntity extends AnimalEntity
AgeableEntity.AgeableDataEntity.IMoveCallback| 修飾子とタイプ | フィールドと説明 | 
|---|---|
| static java.util.function.Predicate<LivingEntity> | TARGET_DRY_BABY | 
forcedAge, forcedAgeTimer, growingAgeexperienceValue, goalSelector, inventoryArmorDropChances, inventoryHandsDropChances, jumpController, livingSoundTime, lookController, moveController, navigator, targetSelectoractiveItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, beeStingRemovalCooldown, brain, dead, deathTime, ENTITY_GRAVITY, hurtTime, idleTime, interpTargetHeadYaw, interpTargetPitch, interpTargetX, interpTargetY, interpTargetYaw, interpTargetZ, interpTicksHead, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, LIVING_FLAGS, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, moveVertical, NAMETAG_DISTANCE, newPosRotationIncrements, onGroundSpeedFactor, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomUnused1, randomUnused2, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, SLEEPING_SIZE, spinAttackDuration, SWIM_SPEED, swingingHand, swingProgress, swingProgressInt, ticksElytraFlying, ticksSinceLastSwing, unused180addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesInWater, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, hurtResistantTime, ignoreFrustumCheck, inLava, inPortal, inWater, isAirBorne, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionMultiplier, noClip, onGround, portalCounter, POSE, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, worldDUMMY| コンストラクタと説明 | 
|---|
| TurtleEntity(EntityType<? extends TurtleEntity> type,
            World worldIn) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| boolean | canBeLeashedTo(PlayerEntity player) | 
| boolean | canBreatheUnderwater() | 
| boolean | canBreed() | 
| AgeableEntity | createChild(AgeableEntity ageable) | 
| protected PathNavigator | createNavigator(World worldIn)Returns new PathNavigateGround instance | 
| protected float | determineNextStepDistance() | 
| static boolean | func_223322_c(EntityType<TurtleEntity> p_223322_0_,
             IWorld p_223322_1_,
             SpawnReason reason,
             BlockPos p_223322_3_,
             java.util.Random p_223322_4_) | 
| protected SoundEvent | getAmbientSound() | 
| float | getBlockPathWeight(BlockPos pos,
                  IWorldReader worldIn) | 
| CreatureAttribute | getCreatureAttribute() | 
| protected SoundEvent | getDeathSound() | 
| protected SoundEvent | getHurtSound(DamageSource damageSourceIn) | 
| float | getRenderScale() | 
| protected SoundEvent | getSwimSound() | 
| int | getTalkInterval()Get number of ticks, at least during which the living entity will be silent. | 
| boolean | hasEgg() | 
| boolean | isBreedingItem(ItemStack stack)Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on
 the animal type) | 
| boolean | isDigging() | 
| boolean | isPushedByWater() | 
| void | livingTick()Called frequently so the entity can update its state every tick as required. | 
| protected void | onGrowingAdult()This is called when Entity's growing age timer reaches 0 (negative values are considered as a child, positive as
 an adult) | 
| ILivingEntityData | onInitialSpawn(IWorld worldIn,
              DifficultyInstance difficultyIn,
              SpawnReason reason,
              ILivingEntityData spawnDataIn,
              CompoundNBT dataTag) | 
| void | onStruckByLightning(LightningBoltEntity lightningBolt)Called when a lightning bolt hits the entity. | 
| protected void | playStepSound(BlockPos pos,
             BlockState blockIn) | 
| protected void | playSwimSound(float volume) | 
| void | readAdditional(CompoundNBT compound)(abstract) Protected helper method to read subclass entity data from NBT. | 
| protected void | registerAttributes() | 
| protected void | registerData() | 
| protected void | registerGoals() | 
| void | setHome(BlockPos position) | 
| void | travel(Vec3d p_213352_1_) | 
| void | writeAdditional(CompoundNBT compound) | 
attackEntityFrom, canAnimalSpawn, canDespawn, canMateWith, consumeItemFromStack, getExperiencePoints, getLoveCause, getYOffset, handleStatusUpdate, isInLove, processInteract, resetInLove, setInLove, setInLove, updateAITasksaddGrowth, ageUp, getGrowingAge, isChild, notifyDataManagerChange, onChildSpawnFromEgg, setGrowingAgecanSpawn, followLeashSpeed, getBlockPathWeight, hasPath, onLeashDistance, updateLeashedStateattackEntityAsMob, baseTick, canAttack, canAttack, canBeSteered, canEquipItem, canPassengerSteer, canPickUpItem, canPickUpLoot, canSpawnOn, checkDespawn, clearLeashed, createBodyController, detachHome, dropLoot, dropSpecialItems, eatGrassBonus, enablePersistence, faceEntity, getArmorByChance, getArmorInventoryList, getAttackTarget, getDropChance, getEntitySenses, getFaceRotSpeed, getHeldEquipment, getHomePosition, getHorizontalFaceSpeed, getItemStackFromSlot, getJumpController, getLeashed, getLeashHolder, getLookController, getLootContextBuilder, getLootTable, getLootTableResourceLocation, getMaxFallHeight, getMaximumHomeDistance, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getPathPriority, getPrimaryHand, getSlotForItemStack, getVerticalFaceSpeed, handleFluidJump, isAggressive, isAIDisabled, isDespawnPeaceful, isHolding, isInDaylight, isItemStackInSlot, isLeftHanded, isMaxGroupSize, isNoDespawnRequired, isNotColliding, isServerWorld, isWithinHomeDistanceCurrentPosition, isWithinHomeDistanceFromPosition, playAmbientSound, playHurtSound, preventDespawn, processInitialInteract, replaceItemInInventory, sendDebugPackets, setAggroed, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setDropChance, setEnchantmentBasedOnDifficulty, setEquipmentBasedOnDifficulty, setHomePosAndDistance, setItemStackToSlot, setLeashHolder, setLeftHanded, setMoveForward, setMoveStrafing, setMoveVertical, setNoAI, setPathPriority, setVehicleEntityId, shouldExchangeEquipment, spawnExplosionParticle, startRiding, tick, updateDistance, updateEntityActionState, updateEquipmentIfNeeded, updateMovementGoalFlagsaddPotionEffect, applyArmorCalculations, applyEntityCollision, applyPotionDamageCalculations, areAllPotionsAmbient, attackable, attemptTeleport, blockUsingShield, canAttack, canBeCollidedWith, canBeHitWithPotion, canBePushed, canBeRiddenInWater, canDropLoot, canEntityBeSeen, clearActivePotions, clearBedPosition, collideWithEntity, collideWithNearbyEntities, constructKnockBackVector, createBrain, createSpawnPacket, curePotionEffects, damageArmor, damageEntity, damageShield, decreaseAirSupply, determineNextAir, dropInventory, findAmmo, frostWalk, func_213343_cS, func_225508_e_, func_226292_a_, func_226293_b_, func_226294_cV_, func_226296_dJ_, func_226298_f_, getAbsorptionAmount, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getActivePotionMap, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArrowCountInEntity, getAttackingEntity, getAttribute, getAttributes, getBedDirection, getBedPosition, getBeeStingCount, getBlockState, getBrain, getCapability, getCombatTracker, getDrinkSound, getEatSound, getEyeHeight, getFallSound, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getIdleTime, getItemInUseCount, getItemInUseMaxCount, getJumpUpwardsMotion, getLastAttackedEntity, getLastAttackedEntityTime, getLastDamageSource, getMaxHealth, getRevengeTarget, getRevengeTimer, getRNG, getRotationYawHead, getSize, getSoundPitch, getSoundVolume, getStandingEyeHeight, getSwimAnimation, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, getVisibilityMultiplier, getWaterSlowDown, getYaw, handleFluidSneak, hasItemInSlot, heal, isActiveItemStackBlocking, isActualySwimming, isAlive, isElytraFlying, isEntityInsideOpaqueBlock, isEntityUndead, isHandActive, isMovementBlocked, isOnLadder, isPlayer, isPotionActive, isPotionApplicable, isSleeping, isSpinAttacking, jump, knockBack, lookAt, markPotionsDirty, markVelocityChanged, onChangedPotionEffect, onDeath, onDeathUpdate, onFinishedPotionEffect, onFoodEaten, onItemPickup, onItemUseFinish, onKillCommand, onLivingFall, onNewPotionEffect, outOfWorld, performHurtAnimation, playEquipSound, playFallSound, remove, removeActivePotionEffect, removePotionEffect, resetActiveHand, resetPotionEffectMetadata, sendBreakAnimation, sendBreakAnimation, sendEndCombat, sendEnterCombat, setAbsorptionAmount, setActiveHand, setArrowCountInEntity, setBedPosition, setBeeStingCount, setHeadRotation, setHealth, setHeldItem, setIdleTime, setJumping, setLastAttackedEntity, setLivingFlag, setPartying, setPositionAndRotationDirect, setRenderYawOffset, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, spawnDrops, spinAttack, startSleeping, startSpinAttack, stopActiveHand, stopRiding, swingArm, updateArmSwingProgress, updateFallState, updatePotionEffects, updatePotionMetadata, updateRidden, updateSpinAttack, wakeUpaddPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, areEyesInFluid, awardKillScore, calculateUpVector, canBeAttackedWithItem, canBeRidden, canExplosionDestroyBlock, canFitPassenger, canRenderOnFire, canSwim, canTrample, canTriggerWalking, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, collideBoundingBox, collideBoundingBoxHeuristically, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, detach, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, forceSetPosition, func_225513_by_, func_225514_a_, func_226265_a_, func_226266_a_, func_226276_cg_, getAdjustedHorizontalFacing, getAir, getAllowedMovement, getBoundingBox, getBoundingBox, getBrightness, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyeHeight, getEyePosition, getFireImmuneTicks, getFireTimer, getFlag, getForward, getHeight, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getJumpFactor, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxInPortalTime, getMirroredYaw, getMotion, getMountedYOffset, getName, getOnPosition, getPassengers, getPermissionLevel, getPersistentData, getPitch, getPitchYaw, getPortalCooldown, getPose, getPosition, getPositionUnderneath, getPositionVec, getPositionVector, getPosX, getPosXRandom, getPosXWidth, getPosY, getPosYEye, getPosYHeight, getPosYRandom, getPosZ, getPosZRandom, getPosZWidth, getPushReaction, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getScoreboardName, getServer, getSoundCategory, getSpeedFactor, getSplashSound, getSubmergedHeight, getTags, getTeam, getTeamColor, getTeleportDirection, getType, getUniqueID, getUpVector, getVectorForRotation, getWidth, handleFluidAcceleration, handlePistonMovement, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, horizontalMag, ignoreItemEntityData, isAddedToWorld, isBeingRidden, isBurning, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEntityEqual, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInvisible, isInvisibleToPlayer, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnSameTeam, isOnScoreboardTeam, isPassenger, isPassenger, isPassenger, isPoseClear, isRidingOrBeingRiddenBy, isRidingSameEntity, isShiftKeyDown, isSilent, isSpectatedByPlayer, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isVisuallySwimming, isWet, makeFlySound, move, moveForced, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillEntity, onRemovedFromWorld, pick, playFlySound, playSound, preparePlayerToSpawn, pushOutOfBlocks, read, recalculateSize, recenterBoundingBox, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFire, setFireTimer, setFlag, setGlowing, setInLava, setInvisible, setInvulnerable, setLocationAndAngles, setMotion, setMotion, setMotionMultiplier, setNoGravity, setOnFireFromLava, setPacketCoordinates, setPortal, setPose, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRawPosition, setRenderDistanceWeight, setRotation, setSilent, setSneaking, setSwimming, setUniqueId, setVelocity, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, teleportKeepLoaded, toString, updatePassenger, updatePortal, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeIdareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapscanBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getEntity, getPickedResult, serializeNBT, shouldRiderSitgetCapabilitypublic static final java.util.function.Predicate<LivingEntity> TARGET_DRY_BABY
public TurtleEntity(EntityType<? extends TurtleEntity> type, World worldIn)
public void setHome(BlockPos position)
public boolean hasEgg()
public boolean isDigging()
protected void registerData()
registerData クラス内 AgeableEntitypublic void writeAdditional(CompoundNBT compound)
writeAdditional クラス内 AnimalEntitypublic void readAdditional(CompoundNBT compound)
readAdditional クラス内 AnimalEntity@Nullable public ILivingEntityData onInitialSpawn(IWorld worldIn, DifficultyInstance difficultyIn, SpawnReason reason, @Nullable ILivingEntityData spawnDataIn, @Nullable CompoundNBT dataTag)
onInitialSpawn クラス内 AgeableEntitypublic static boolean func_223322_c(EntityType<TurtleEntity> p_223322_0_, IWorld p_223322_1_, SpawnReason reason, BlockPos p_223322_3_, java.util.Random p_223322_4_)
protected void registerGoals()
registerGoals クラス内 MobEntityprotected void registerAttributes()
registerAttributes クラス内 MobEntitypublic boolean isPushedByWater()
isPushedByWater クラス内 Entitypublic boolean canBreatheUnderwater()
canBreatheUnderwater クラス内 LivingEntitypublic CreatureAttribute getCreatureAttribute()
getCreatureAttribute クラス内 LivingEntitypublic int getTalkInterval()
getTalkInterval クラス内 AnimalEntity@Nullable protected SoundEvent getAmbientSound()
getAmbientSound クラス内 MobEntityprotected void playSwimSound(float volume)
playSwimSound クラス内 Entityprotected SoundEvent getSwimSound()
getSwimSound クラス内 Entity@Nullable protected SoundEvent getHurtSound(DamageSource damageSourceIn)
getHurtSound クラス内 LivingEntity@Nullable protected SoundEvent getDeathSound()
getDeathSound クラス内 LivingEntityprotected void playStepSound(BlockPos pos, BlockState blockIn)
playStepSound クラス内 Entitypublic boolean canBreed()
canBreed クラス内 AnimalEntityprotected float determineNextStepDistance()
determineNextStepDistance クラス内 Entitypublic float getRenderScale()
getRenderScale クラス内 LivingEntityprotected PathNavigator createNavigator(World worldIn)
createNavigator クラス内 MobEntity@Nullable public AgeableEntity createChild(AgeableEntity ageable)
createChild クラス内 AgeableEntitypublic boolean isBreedingItem(ItemStack stack)
isBreedingItem クラス内 AnimalEntitypublic float getBlockPathWeight(BlockPos pos, IWorldReader worldIn)
getBlockPathWeight クラス内 AnimalEntitypublic void livingTick()
livingTick クラス内 AnimalEntityprotected void onGrowingAdult()
onGrowingAdult クラス内 AgeableEntitypublic void travel(Vec3d p_213352_1_)
travel クラス内 LivingEntitypublic boolean canBeLeashedTo(PlayerEntity player)
canBeLeashedTo クラス内 MobEntitypublic void onStruckByLightning(LightningBoltEntity lightningBolt)
onStruckByLightning クラス内 Entity