Package net.minecraft.entity.passive
Class ParrotEntity
- java.lang.Object
-
- All Implemented Interfaces:
ICommandSource,IFlyingAnimal,INameable,ICapabilityProvider,ICapabilitySerializable<CompoundNBT>,IForgeEntity,INBTSerializable<CompoundNBT>
public class ParrotEntity extends ShoulderRidingEntity implements IFlyingAnimal
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.entity.AgeableEntity
AgeableEntity.AgeableData
-
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.IMoveCallback
-
-
Field Summary
Fields Modifier and Type Field Description private static DataParameter<java.lang.Integer>DATA_VARIANT_IDfloatflapprivate floatflappingfloatflapSpeedprivate BlockPosjukeboxprivate static java.util.Map<EntityType<?>,SoundEvent>MOB_SOUND_MAPprivate static java.util.function.Predicate<MobEntity>NOT_PARROT_PREDICATEfloatoFlapfloatoFlapSpeedprivate booleanpartyParrotprivate static ItemPOISONOUS_FOODprivate static java.util.Set<Item>TAME_FOOD-
Fields inherited from class net.minecraft.entity.passive.TameableEntity
DATA_FLAGS_ID, DATA_OWNERUUID_ID
-
Fields inherited from class net.minecraft.entity.AgeableEntity
age, forcedAge, forcedAgeTimer
-
Fields inherited from class net.minecraft.entity.MobEntity
ambientSoundTime, armorDropChances, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelector, xpReward
-
Fields inherited from class net.minecraft.entity.LivingEntity
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
-
Fields inherited from class net.minecraft.entity.Entity
blocksBuilding, boardingCooldown, DATA_POSE, DATA_SHARED_FLAGS_ID, ENTITY_COUNTER, 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
-
Fields inherited from interface net.minecraft.command.ICommandSource
NULL
-
-
Constructor Summary
Constructors Constructor Description ParrotEntity(EntityType<? extends ParrotEntity> p_i50251_1_, World p_i50251_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAdditionalSaveData(CompoundNBT p_213281_1_)voidaiStep()private voidcalculateFlapping()booleancanMate(AnimalEntity p_70878_1_)booleancauseFallDamage(float p_225503_1_, float p_225503_2_)protected voidcheckFallDamage(double p_184231_1_, boolean p_184231_3_, BlockState p_184231_4_, BlockPos p_184231_5_)static booleancheckParrotSpawnRules(EntityType<ParrotEntity> p_223317_0_, IWorld p_223317_1_, SpawnReason p_223317_2_, BlockPos p_223317_3_, java.util.Random p_223317_4_)static AttributeModifierMap.MutableAttributecreateAttributes()protected PathNavigatorcreateNavigation(World p_175447_1_)protected voiddefineSynchedData()booleandoHurtTarget(Entity p_70652_1_)protected voiddoPush(Entity p_82167_1_)ILivingEntityDatafinalizeSpawn(IServerWorld p_213386_1_, DifficultyInstance p_213386_2_, SpawnReason p_213386_3_, ILivingEntityData p_213386_4_, CompoundNBT p_213386_5_)static SoundEventgetAmbient(World p_234212_0_, java.util.Random p_234212_1_)SoundEventgetAmbientSound()AgeableEntitygetBreedOffspring(ServerWorld p_241840_1_, AgeableEntity p_241840_2_)protected SoundEventgetDeathSound()protected SoundEventgetHurtSound(DamageSource p_184601_1_)private static SoundEventgetImitatedSound(EntityType<?> p_200610_0_)Vector3dgetLeashOffset()static floatgetPitch(java.util.Random p_192000_0_)SoundCategorygetSoundSource()protected floatgetStandingEyeHeight(Pose p_213348_1_, EntitySize p_213348_2_)intgetVariant()protected floatgetVoicePitch()booleanhurt(DamageSource p_70097_1_, float p_70097_2_)static booleanimitateNearbyMobs(World p_192006_0_, Entity p_192006_1_)booleanisBaby()booleanisFlying()booleanisFood(ItemStack p_70877_1_)booleanisPartyParrot()booleanisPushable()protected booleanmakeFlySound()ActionResultTypemobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)protected floatplayFlySound(float p_191954_1_)protected voidplayStepSound(BlockPos p_180429_1_, BlockState p_180429_2_)voidreadAdditionalSaveData(CompoundNBT p_70037_1_)protected voidregisterGoals()voidsetRecordPlayingNearby(BlockPos p_191987_1_, boolean p_191987_2_)voidsetVariant(int p_191997_1_)-
Methods inherited from class net.minecraft.entity.passive.ShoulderRidingEntity
canSitOnShoulder, setEntityOnShoulder, tick
-
Methods inherited from class net.minecraft.entity.passive.TameableEntity
canAttack, canBeLeashed, die, getOwner, getOwnerUUID, getTeam, handleEntityEvent, isAlliedTo, isInSittingPose, isOrderedToSit, isOwnedBy, isTame, reassessTameGoals, setInSittingPose, setOrderedToSit, setOwnerUUID, setTame, spawnTamingParticles, tame, wantsToAttack
-
Methods inherited from class net.minecraft.entity.passive.AnimalEntity
canFallInLove, checkAnimalSpawnRules, customServerAiStep, getAmbientSoundInterval, getExperienceReward, getInLoveTime, getLoveCause, getMyRidingOffset, getWalkTargetValue, isInLove, removeWhenFarAway, resetLove, setInLove, setInLoveTime, spawnChildFromBreeding, usePlayerItem
-
Methods inherited from class net.minecraft.entity.AgeableEntity
ageBoundaryReached, ageUp, ageUp, canBreed, getAge, onSyncedDataUpdated, setAge, setBaby
-
Methods inherited from class net.minecraft.entity.CreatureEntity
checkSpawnRules, followLeashSpeed, getWalkTargetValue, isPathFinding, onLeashDistance, tickLeash
-
Methods inherited from class net.minecraft.entity.MobEntity
ate, baseTick, canAttackType, canBeControlledByRider, 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, jumpInLiquid, lookAt, onOffspringSpawnedFromEgg, pickUpItem, playAmbientSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, removeAfterChangingDimensions, requiresCustomPersistence, restrictTo, sendDebugPackets, 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
-
Methods inherited from class net.minecraft.entity.LivingEntity
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, doAutoAttackOnTouch, 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, getMobType, getNoActionTime, getOffhandItem, getProjectile, getRandom, getRelativePortalPosition, getScale, getSleepingPos, getSoundVolume, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, 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, 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, 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
-
Methods inherited from class net.minecraft.entity.Entity
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, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, 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, 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, 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
-
Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCaps
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability
-
Methods inherited from interface net.minecraftforge.common.extensions.IForgeEntity
canBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getDimensionsForge, getEntity, getEyeHeightForge, getParts, getPickedResult, isMultipartEntity, serializeNBT, shouldRiderSit
-
-
-
-
Field Detail
-
DATA_VARIANT_ID
private static final DataParameter<java.lang.Integer> DATA_VARIANT_ID
-
NOT_PARROT_PREDICATE
private static final java.util.function.Predicate<MobEntity> NOT_PARROT_PREDICATE
-
POISONOUS_FOOD
private static final Item POISONOUS_FOOD
-
TAME_FOOD
private static final java.util.Set<Item> TAME_FOOD
-
MOB_SOUND_MAP
private static final java.util.Map<EntityType<?>,SoundEvent> MOB_SOUND_MAP
-
flap
public float flap
-
flapSpeed
public float flapSpeed
-
oFlapSpeed
public float oFlapSpeed
-
oFlap
public float oFlap
-
flapping
private float flapping
-
partyParrot
private boolean partyParrot
-
jukebox
private BlockPos jukebox
-
-
Constructor Detail
-
ParrotEntity
public ParrotEntity(EntityType<? extends ParrotEntity> p_i50251_1_, World p_i50251_2_)
-
-
Method Detail
-
finalizeSpawn
@Nullable public ILivingEntityData finalizeSpawn(IServerWorld p_213386_1_, DifficultyInstance p_213386_2_, SpawnReason p_213386_3_, @Nullable ILivingEntityData p_213386_4_, @Nullable CompoundNBT p_213386_5_)
- Overrides:
finalizeSpawnin classAgeableEntity
-
isBaby
public boolean isBaby()
- Overrides:
isBabyin classAgeableEntity
-
registerGoals
protected void registerGoals()
- Overrides:
registerGoalsin classMobEntity
-
createAttributes
public static AttributeModifierMap.MutableAttribute createAttributes()
-
createNavigation
protected PathNavigator createNavigation(World p_175447_1_)
- Overrides:
createNavigationin classMobEntity
-
getStandingEyeHeight
protected float getStandingEyeHeight(Pose p_213348_1_, EntitySize p_213348_2_)
- Overrides:
getStandingEyeHeightin classLivingEntity
-
aiStep
public void aiStep()
- Overrides:
aiStepin classAnimalEntity
-
setRecordPlayingNearby
public void setRecordPlayingNearby(BlockPos p_191987_1_, boolean p_191987_2_)
- Overrides:
setRecordPlayingNearbyin classLivingEntity
-
isPartyParrot
public boolean isPartyParrot()
-
calculateFlapping
private void calculateFlapping()
-
mobInteract
public ActionResultType mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
- Overrides:
mobInteractin classAnimalEntity
-
isFood
public boolean isFood(ItemStack p_70877_1_)
- Overrides:
isFoodin classAnimalEntity
-
checkParrotSpawnRules
public static boolean checkParrotSpawnRules(EntityType<ParrotEntity> p_223317_0_, IWorld p_223317_1_, SpawnReason p_223317_2_, BlockPos p_223317_3_, java.util.Random p_223317_4_)
-
causeFallDamage
public boolean causeFallDamage(float p_225503_1_, float p_225503_2_)- Overrides:
causeFallDamagein classLivingEntity
-
checkFallDamage
protected void checkFallDamage(double p_184231_1_, boolean p_184231_3_, BlockState p_184231_4_, BlockPos p_184231_5_)- Overrides:
checkFallDamagein classLivingEntity
-
canMate
public boolean canMate(AnimalEntity p_70878_1_)
- Overrides:
canMatein classAnimalEntity
-
getBreedOffspring
@Nullable public AgeableEntity getBreedOffspring(ServerWorld p_241840_1_, AgeableEntity p_241840_2_)
- Specified by:
getBreedOffspringin classAgeableEntity
-
doHurtTarget
public boolean doHurtTarget(Entity p_70652_1_)
- Overrides:
doHurtTargetin classMobEntity
-
getAmbientSound
@Nullable public SoundEvent getAmbientSound()
- Overrides:
getAmbientSoundin classMobEntity
-
getAmbient
public static SoundEvent getAmbient(World p_234212_0_, java.util.Random p_234212_1_)
-
getImitatedSound
private static SoundEvent getImitatedSound(EntityType<?> p_200610_0_)
-
getHurtSound
protected SoundEvent getHurtSound(DamageSource p_184601_1_)
- Overrides:
getHurtSoundin classLivingEntity
-
getDeathSound
protected SoundEvent getDeathSound()
- Overrides:
getDeathSoundin classLivingEntity
-
playStepSound
protected void playStepSound(BlockPos p_180429_1_, BlockState p_180429_2_)
- Overrides:
playStepSoundin classEntity
-
playFlySound
protected float playFlySound(float p_191954_1_)
- Overrides:
playFlySoundin classEntity
-
makeFlySound
protected boolean makeFlySound()
- Overrides:
makeFlySoundin classEntity
-
getVoicePitch
protected float getVoicePitch()
- Overrides:
getVoicePitchin classLivingEntity
-
getPitch
public static float getPitch(java.util.Random p_192000_0_)
-
getSoundSource
public SoundCategory getSoundSource()
- Overrides:
getSoundSourcein classEntity
-
isPushable
public boolean isPushable()
- Overrides:
isPushablein classLivingEntity
-
doPush
protected void doPush(Entity p_82167_1_)
- Overrides:
doPushin classLivingEntity
-
hurt
public boolean hurt(DamageSource p_70097_1_, float p_70097_2_)
- Overrides:
hurtin classAnimalEntity
-
getVariant
public int getVariant()
-
setVariant
public void setVariant(int p_191997_1_)
-
defineSynchedData
protected void defineSynchedData()
- Overrides:
defineSynchedDatain classTameableEntity
-
addAdditionalSaveData
public void addAdditionalSaveData(CompoundNBT p_213281_1_)
- Overrides:
addAdditionalSaveDatain classTameableEntity
-
readAdditionalSaveData
public void readAdditionalSaveData(CompoundNBT p_70037_1_)
- Overrides:
readAdditionalSaveDatain classTameableEntity
-
isFlying
public boolean isFlying()
-
getLeashOffset
public Vector3d getLeashOffset()
- Overrides:
getLeashOffsetin classEntity
-
-