类 Camel
java.lang.Object
- 所有已实现的接口:
CommandSource
,ContainerListener
,Attackable
,HasCustomInventoryScreen
,OwnableEntity
,PlayerRideable
,PlayerRideableJumping
,RiderShieldingMount
,Saddleable
,Targeting
,EntityAccess
,Nameable
,ICapabilityProvider
,ICapabilityProviderImpl<Entity>
,ICapabilitySerializable<CompoundTag>
,IForgeEntity
,IForgeLivingEntity
,INBTSerializable<CompoundTag>
public class Camel
extends AbstractHorse
implements PlayerRideableJumping, RiderShieldingMount, Saddleable
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 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.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
-
字段概要
字段修饰符和类型字段说明static final EntityDataAccessor<Boolean>
static final int
private static final float
private static final int
private static final float
final AnimationState
private int
private static final int
final AnimationState
private int
static final EntityDataAccessor<Long>
static final int
private static final float
final AnimationState
private static final int
final AnimationState
private static final EntityDimensions
private static final float
final AnimationState
private static final int
static final Ingredient
从类继承的字段 net.minecraft.world.entity.animal.horse.AbstractHorse
allowStandSliding, BREEDING_CROSS_FACTOR, canGallop, CHEST_SLOT_OFFSET, EQUIPMENT_SLOT_OFFSET, gallopSoundCounter, INV_BASE_COUNT, INV_SLOT_ARMOR, INV_SLOT_SADDLE, inventory, INVENTORY_SLOT_OFFSET, isJumping, playerJumpPendingScale, sprintCounter, tailCounter, temper
从类继承的字段 net.minecraft.world.entity.animal.Animal
PARENT_AGE_AFTER_BREEDING
从类继承的字段 net.minecraft.world.entity.AgeableMob
age, BABY_START_AGE, forcedAge, forcedAgeTimer
从类继承的字段 net.minecraft.world.entity.PathfinderMob
DEFAULT_WALK_TARGET_VALUE
从类继承的字段 net.minecraft.world.entity.Mob
ambientSoundTime, 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, xpReward
从类继承的字段 net.minecraft.world.entity.LivingEntity
animStep, 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, EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT, fallFlyTicks, HAND_SLOTS, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYRot, lerpZ, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, lyHeadRot, 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, zza
从类继承的字段 net.minecraft.world.entity.Entity
BASE_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, zOld
从接口继承的字段 net.minecraft.commands.CommandSource
NULL
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
actuallyHurt
(DamageSource pDamageSource, float pDamageAmount) void
addAdditionalSaveData
(CompoundTag pCompound) protected Brain.Provider<Camel>
protected boolean
canAddPassenger
(Entity pPassenger) boolean
canJump()
boolean
protected boolean
boolean
private void
clampHeadRotationToBody
(Entity pEntity, float p_265541_) private void
clampRotation
(Entity pEntity) static AttributeSupplier.Builder
protected BodyRotationControl
protected void
protected void
protected void
executeRidersJump
(float pPlayerJumpPendingScale, Vec3 pTravelVector) finalizeSpawn
(ServerLevelAccessor pLevel, DifficultyInstance pDifficulty, MobSpawnType pReason, SpawnGroupData pSpawnData, CompoundTag pDataTag) Forge: Override-Only, call via ForgeEventFactory.onFinalizeSpawn.
Overrides are allowed.protected SoundEvent
private double
getBodyAnchorAnimationYOffset
(boolean pSitting, float pPartialTick) getBreedOffspring
(ServerLevel pLevel, AgeableMob pOtherParent) protected SoundEvent
getDimensions
(Pose pPose) protected SoundEvent
protected SoundEvent
getHurtSound
(DamageSource pDamageSource) int
getLeashOffset
(float pPartialTick) int
double
long
protected Vec3
getRiddenInput
(Player pPlayer, Vec3 pTravelVector) protected Vec2
getRiddenRotation
(LivingEntity pEntity) protected float
getRiddenSpeed
(Player pPlayer) double
protected float
getStandingEyeHeight
(Pose pPose, EntityDimensions pSize) protected boolean
handleEating
(Player pPlayer, ItemStack pStack) void
handleStartJump
(int pJumpPower) void
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isTamed()
private boolean
protected Brain<?>
makeBrain
(com.mojang.serialization.Dynamic<?> pDynamic) mobInteract
(Player pPlayer, InteractionHand pHand) protected void
onLeashDistance
(float pDistance) void
onPassengerTurned
(Entity pEntityToUpdate) void
onPlayerJump
(int pJumpPower) void
onSyncedDataUpdated
(EntityDataAccessor<?> pKey) void
openCustomInventoryScreen
(Player pPlayer) protected void
playStepSound
(BlockPos pPos, BlockState pBlock) protected void
positionRider
(Entity pPassenger, Entity.MoveFunction pCallback) void
readAdditionalSaveData
(CompoundTag pCompound) boolean
protected void
void
resetLastPoseChangeTick
(long pLastPoseChangeTick) private void
resetLastPoseChangeTickToFullStand
(long pLastPoseChangedTick) protected void
void
setDashing
(boolean pDashing) private void
void
sitDown()
void
standUp()
void
void
tick()
protected void
tickRidden
(Player pPlayer, Vec3 pTravelVector) void
protected void
updateWalkAnimation
(float pPartialTick) 从类继承的方法 net.minecraft.world.entity.animal.horse.AbstractHorse
addBehaviourGoals, aiStep, calculateFallDamage, canEatGrass, canParent, canWearArmor, causeFallDamage, containerChanged, createBaseHorseAttributes, createInventory, doPlayerRide, dropEquipment, equipArmor, equipSaddle, fedFood, followMommy, generateJumpStrength, generateMaxHealth, generateSpeed, getAmbientSoundInterval, getAmbientStandInterval, getAmbientStandSound, getAngrySound, getCapability, getCustomJump, getDismountLocationForPassenger, getEatAnim, getFlag, getInventorySize, getMaxSpawnClusterSize, getMaxTemper, getMouthAnim, getOwnerUUID, getSlot, getSoundVolume, getStandAnim, getTemper, handleEntityEvent, hasInventoryChanged, hurt, invalidateCaps, isArmor, isBred, isEating, isImmobile, isJumping, isPushable, isSaddleable, isSaddled, isStanding, isWearingArmor, makeMad, modifyTemper, onClimbable, playGallopSound, playJumpSound, randomizeAttributes, setBred, setEating, setFlag, setIsJumping, setOffspringAttributes, setOwnerUUID, setStanding, setTamed, setTemper, spawnTamingParticles, standIfPossible, tameWithName, updateContainerEquipment
从类继承的方法 net.minecraft.world.entity.animal.Animal
canFallInLove, checkAnimalSpawnRules, finalizeSpawnChildFromBreeding, getExperienceReward, getInLoveTime, getLoveCause, getMyRidingOffset, getWalkTargetValue, isBrightEnoughToSpawn, isInLove, removeWhenFarAway, resetLove, setInLove, setInLoveTime, spawnChildFromBreeding, usePlayerItem
从类继承的方法 net.minecraft.world.entity.AgeableMob
ageBoundaryReached, ageUp, ageUp, canBreed, getAge, getSpeedUpSecondsWhenFeeding, isBaby, setAge, setBaby
从类继承的方法 net.minecraft.world.entity.PathfinderMob
checkSpawnRules, followLeashSpeed, getWalkTargetValue, isPathFinding, shouldStayCloseToLeashHolder, tickLeash
从类继承的方法 net.minecraft.world.entity.Mob
ate, baseTick, canAttackType, canBeLeashed, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canTakeItem, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, clearRestriction, convertTo, createMobAttributes, createNavigation, doHurtTarget, dropCustomDeathLoot, dropFromLootTable, dropLeash, enchantSpawnedArmor, enchantSpawnedWeapon, equipItemIfPossible, getArmorSlots, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashHolder, getLookControl, getLootTable, getLootTableSeed, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMeleeAttackRangeSqr, getMoveControl, getNavigation, getPathfindingMalus, getPerceivedTargetDistanceSquareForMeleeAttack, getPickResult, getPickupReach, getRestrictCenter, getRestrictRadius, getSensing, getSpawnType, getTarget, hasRestriction, interact, isAggressive, isEffectiveAi, isLeashed, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSpawnCancelled, isSunBurnTick, isWithinMeleeAttackRange, isWithinRestriction, isWithinRestriction, jumpInFluid, jumpInLiquid, 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, wantsToPickUp
从类继承的方法 net.minecraft.world.entity.LivingEntity
addEffect, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, canAttack, canAttack, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canBreatheUnderwater, canChangeDimensions, canDisableShield, canFreeze, canSpawnSoulSpeedParticle, canStandOnFluid, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, doPush, dropAllDeathLoot, dropExperience, eat, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributeBaseValue, getAttributes, getAttributeValue, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEquipmentSlotForItem, getEyeHeight, getFallFlyingTicks, getFallSounds, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHurtDir, getItemInHand, getJumpBoostPower, getJumpPower, getKillCredit, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxHealth, getMeleeAttackReferencePosition, getMobType, getNoActionTime, getOffhandItem, getProjectile, getRandom, getRelativePortalPosition, getScale, getSleepingPos, 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, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isFallFlying, isHolding, isHolding, isInvertedHealAndHarm, isInWall, isPickable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadTo, lerpTo, lookAt, maxUpStep, onBelowWorld, onChangedBlock, 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, triggerItemUseEffects, tryAddFrost, tryAddSoulSpeed, updateEffectVisibility, updateInvisibilityStatus, updateSwingTime, updateUsingItem, verifyEquippedItem, wasExperienceConsumed
从类继承的方法 net.minecraft.world.entity.Entity
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canBeCollidedWith, canBeHitByProjectile, canCollideWith, canEnterPose, canRide, canSpawnSprintParticle, 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, getBoundingBoxForPose, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDirection, 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, 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, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, 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, 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, onRemovedFromWorld, onSyncedDataUpdated, pick, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playSwimSound, position, positionRider, processFlappingMovement, processPortalCooldown, push, reapplyPosition, refreshDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, 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, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSound
从类继承的方法 net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, serializeCaps
从接口继承的方法 net.minecraft.commands.CommandSource
alwaysAccepts
从接口继承的方法 net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability
从接口继承的方法 net.minecraftforge.common.extensions.IForgeEntity
canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, deserializeNBT, getClassification, 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
从接口继承的方法 net.minecraftforge.common.extensions.IForgeLivingEntity
canDrownInFluidType, canSwimInFluidType, moveInFluid, self, sinkInFluid
从接口继承的方法 net.minecraft.world.entity.OwnableEntity
getOwner, level
从接口继承的方法 net.minecraft.world.entity.Saddleable
equipSaddle, isSaddleable, isSaddled
-
字段详细资料
-
TEMPTATION_ITEM
-
DASH_COOLDOWN_TICKS
public static final int DASH_COOLDOWN_TICKS- 另请参阅:
-
MAX_HEAD_Y_ROT
public static final int MAX_HEAD_Y_ROT- 另请参阅:
-
RUNNING_SPEED_BONUS
private static final float RUNNING_SPEED_BONUS- 另请参阅:
-
DASH_VERTICAL_MOMENTUM
private static final float DASH_VERTICAL_MOMENTUM- 另请参阅:
-
DASH_HORIZONTAL_MOMENTUM
private static final float DASH_HORIZONTAL_MOMENTUM- 另请参阅:
-
DASH_MINIMUM_DURATION_TICKS
private static final int DASH_MINIMUM_DURATION_TICKS- 另请参阅:
-
SITDOWN_DURATION_TICKS
private static final int SITDOWN_DURATION_TICKS- 另请参阅:
-
STANDUP_DURATION_TICKS
private static final int STANDUP_DURATION_TICKS- 另请参阅:
-
IDLE_MINIMAL_DURATION_TICKS
private static final int IDLE_MINIMAL_DURATION_TICKS- 另请参阅:
-
SITTING_HEIGHT_DIFFERENCE
private static final float SITTING_HEIGHT_DIFFERENCE- 另请参阅:
-
DASH
-
LAST_POSE_CHANGE_TICK
-
sitAnimationState
-
sitPoseAnimationState
-
sitUpAnimationState
-
idleAnimationState
-
dashAnimationState
-
SITTING_DIMENSIONS
-
dashCooldown
private int dashCooldown -
idleAnimationTimeout
private int idleAnimationTimeout
-
-
构造器详细资料
-
Camel
-
-
方法详细资料
-
addAdditionalSaveData
- 覆盖:
addAdditionalSaveData
在类中AbstractHorse
-
readAdditionalSaveData
- 覆盖:
readAdditionalSaveData
在类中AbstractHorse
-
createAttributes
-
defineSynchedData
protected void defineSynchedData()- 覆盖:
defineSynchedData
在类中AbstractHorse
-
finalizeSpawn
public SpawnGroupData finalizeSpawn(ServerLevelAccessor pLevel, DifficultyInstance pDifficulty, MobSpawnType pReason, @Nullable SpawnGroupData pSpawnData, @Nullable CompoundTag pDataTag) 从类复制的说明:Mob
Forge: Override-Only, call via ForgeEventFactory.onFinalizeSpawn.
Overrides are allowed. Do not wrap super calls within override (as that will cause stack overflows).
Vanilla calls are replaced with a transformer, and are not visible in source.
Be certain to either call super.finalizeSpawn or set the
Mob.spawnType
field from within your override.- 覆盖:
finalizeSpawn
在类中AbstractHorse
-
brainProvider
- 覆盖:
brainProvider
在类中LivingEntity
-
registerGoals
protected void registerGoals()- 覆盖:
registerGoals
在类中AbstractHorse
-
makeBrain
- 覆盖:
makeBrain
在类中LivingEntity
-
getDimensions
- 覆盖:
getDimensions
在类中LivingEntity
-
getStandingEyeHeight
- 覆盖:
getStandingEyeHeight
在类中AbstractHorse
-
getRiderShieldingHeight
public double getRiderShieldingHeight()- 指定者:
getRiderShieldingHeight
在接口中RiderShieldingMount
-
customServerAiStep
protected void customServerAiStep()- 覆盖:
customServerAiStep
在类中Animal
-
tick
public void tick()- 覆盖:
tick
在类中AbstractHorse
-
setupAnimationStates
private void setupAnimationStates() -
updateWalkAnimation
protected void updateWalkAnimation(float pPartialTick) - 覆盖:
updateWalkAnimation
在类中LivingEntity
-
travel
- 覆盖:
travel
在类中LivingEntity
-
tickRidden
- 覆盖:
tickRidden
在类中AbstractHorse
-
refuseToMove
public boolean refuseToMove() -
getRiddenSpeed
- 覆盖:
getRiddenSpeed
在类中AbstractHorse
-
getRiddenRotation
- 覆盖:
getRiddenRotation
在类中AbstractHorse
-
getRiddenInput
- 覆盖:
getRiddenInput
在类中AbstractHorse
-
canJump
public boolean canJump()- 指定者:
canJump
在接口中PlayerRideableJumping
- 覆盖:
canJump
在类中AbstractHorse
-
onPlayerJump
public void onPlayerJump(int pJumpPower) - 指定者:
onPlayerJump
在接口中PlayerRideableJumping
- 覆盖:
onPlayerJump
在类中AbstractHorse
-
canSprint
public boolean canSprint() -
executeRidersJump
- 覆盖:
executeRidersJump
在类中AbstractHorse
-
isDashing
public boolean isDashing() -
setDashing
public void setDashing(boolean pDashing) -
isPanicking
public boolean isPanicking() -
handleStartJump
public void handleStartJump(int pJumpPower) - 指定者:
handleStartJump
在接口中PlayerRideableJumping
- 覆盖:
handleStartJump
在类中AbstractHorse
-
handleStopJump
public void handleStopJump()- 指定者:
handleStopJump
在接口中PlayerRideableJumping
- 覆盖:
handleStopJump
在类中AbstractHorse
-
getJumpCooldown
public int getJumpCooldown()- 指定者:
getJumpCooldown
在接口中PlayerRideableJumping
-
getAmbientSound
- 覆盖:
getAmbientSound
在类中Mob
-
getDeathSound
- 覆盖:
getDeathSound
在类中LivingEntity
-
getHurtSound
- 覆盖:
getHurtSound
在类中LivingEntity
-
playStepSound
- 覆盖:
playStepSound
在类中AbstractHorse
-
isFood
- 覆盖:
isFood
在类中AbstractHorse
-
mobInteract
- 覆盖:
mobInteract
在类中AbstractHorse
-
onLeashDistance
protected void onLeashDistance(float pDistance) - 覆盖:
onLeashDistance
在类中AbstractHorse
-
handleEating
- 覆盖:
handleEating
在类中AbstractHorse
-
canPerformRearing
protected boolean canPerformRearing()- 覆盖:
canPerformRearing
在类中AbstractHorse
-
canMate
- 覆盖:
canMate
在类中AbstractHorse
-
getBreedOffspring
- 覆盖:
getBreedOffspring
在类中AbstractHorse
-
getEatingSound
- 覆盖:
getEatingSound
在类中AbstractHorse
-
actuallyHurt
- 覆盖:
actuallyHurt
在类中LivingEntity
-
positionRider
- 覆盖:
positionRider
在类中AbstractHorse
-
getBodyAnchorAnimationYOffset
private double getBodyAnchorAnimationYOffset(boolean pSitting, float pPartialTick) -
getLeashOffset
- 覆盖:
getLeashOffset
在类中Entity
-
getPassengersRidingOffset
public double getPassengersRidingOffset()- 覆盖:
getPassengersRidingOffset
在类中Entity
-
onPassengerTurned
- 覆盖:
onPassengerTurned
在类中Entity
-
clampRotation
-
clampHeadRotationToBody
-
getMaxHeadYRot
public int getMaxHeadYRot()- 覆盖:
getMaxHeadYRot
在类中Mob
-
canAddPassenger
- 覆盖:
canAddPassenger
在类中Entity
-
getControllingPassenger
- 覆盖:
getControllingPassenger
在类中AbstractHorse
-
sendDebugPackets
protected void sendDebugPackets()- 覆盖:
sendDebugPackets
在类中Mob
-
isCamelSitting
public boolean isCamelSitting() -
isCamelVisuallySitting
public boolean isCamelVisuallySitting() -
isInPoseTransition
public boolean isInPoseTransition() -
isVisuallySittingDown
private boolean isVisuallySittingDown() -
sitDown
public void sitDown() -
standUp
public void standUp() -
standUpInstantly
public void standUpInstantly() -
resetLastPoseChangeTick
public void resetLastPoseChangeTick(long pLastPoseChangeTick) -
resetLastPoseChangeTickToFullStand
private void resetLastPoseChangeTickToFullStand(long pLastPoseChangedTick) -
getPoseTime
public long getPoseTime() -
getSaddleSoundEvent
- 指定者:
getSaddleSoundEvent
在接口中Saddleable
-
onSyncedDataUpdated
- 覆盖:
onSyncedDataUpdated
在类中AgeableMob
-
createBodyControl
- 覆盖:
createBodyControl
在类中Mob
-
isTamed
public boolean isTamed()- 覆盖:
isTamed
在类中AbstractHorse
-
openCustomInventoryScreen
-