Package net.minecraft.entity.passive
Class OcelotEntity
- All Implemented Interfaces:
CommandSource,EntityCategoryProvider,Tameable
- Mappings:
Namespace Name official whintermediary net/minecraft/class_947named net/minecraft/entity/passive/OcelotEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FleeEntityGoal<PlayerEntity>private static final TrackedData<Integer>private TemptGoalFields inherited from class net.minecraft.entity.passive.TameableEntity
field_14566, field_14567, sitGoalFields inherited from class net.minecraft.entity.passive.AnimalEntity
field_11973Fields inherited from class net.minecraft.entity.passive.PassiveEntity
field_11896, field_11898, forcedAgeFields inherited from class net.minecraft.entity.PathAwareEntity
FLEEING_SPEED_BONUS_ID, FLEEING_SPEED_MODIFIERFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, field_14559, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_14542, field_14543, field_14546, field_14547, field_14548, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, mainHand, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, fireResistance, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SoundEventbreed(PassiveEntity passiveEntity) booleancanBreedWith(AnimalEntity other) protected booleanbooleancanSpawn()booleandamage(DamageSource source, float amount) protected SoundEventintprotected Identifierprotected floatvoidhandleFallDamage(float fallDistance, float damageMultiplier) protected voidprotected voidinitialize(LocalDifficulty difficulty, EntityData data) protected voidbooleanisBreedingItem(ItemStack stack) protected SoundEventbooleanmethod_13079(PlayerEntity playerEntity, Hand hand, ItemStack itemStack) static voidmethod_13503(class_2934 class_2934) booleanvoidmobTick()protected voidvoidvoidsetCatVariant(int variant) voidsetTamed(boolean tamed) booleanvoidMethods inherited from class net.minecraft.entity.passive.TameableEntity
canAttackWithOwner, canBeLeashedBy, getOwner, getScoreboardTeam, getSitGoal, handleStatus, isOwner, isSitting, isTamed, isTeammate, method_13092, method_2719, onKilled, setSitting, showEmoteParticleMethods inherited from class net.minecraft.entity.passive.AnimalEntity
eat, getHeightOffset, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, getXpToDrop, isInLove, lovePlayer, resetLoveTicks, tickMovementMethods inherited from class net.minecraft.entity.passive.PassiveEntity
age, isBaby, method_10925, method_10926, method_5377, method_5378, method_6095, onTrackedDataSet, setAge, setBoundsMethods inherited from class net.minecraft.entity.PathAwareEntity
getPositionTarget, getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, isInWalkTargetRange, method_6173, method_6175, setPositionTarget, shouldContinue, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, dropLoot, equip, equipStack, getArmorItems, getDefaultDrop, getDurability, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMotionHelper, getNavigation, getSafeFallDistance, getTarget, getVisibilityCache, hasNoAi, initEquipment, isLeashed, isPersistent, lookAtEntity, loot, method_13043, method_13044, method_13051, method_13075, method_13076, method_13077, method_13078, method_13080, method_13081, method_13082, method_13083, method_13084, method_13086, method_13088, method_13495, method_13496, method_2638, method_4472, method_6100, method_6162, onEatingGrass, playAmbientSound, playSpawnEffects, setAiDisabled, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, startRiding, tick, tickNewAi, turnHead, updateEnchantmentsMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canSee, clearStatusEffects, collides, damageArmor, destroy, dropXp, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLandSound, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getRotationVector, getSoundPitch, getStackInHand, getStatusEffectInstances, getStuckArrows, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isClimbing, isPushable, isSleeping, jump, kill, markEffectsDirty, method_10979, method_10981, method_13038, method_13040, method_13041, method_13042, method_13045, method_13046, method_13050, method_13052, method_13053, method_13054, method_13055, method_13056, method_13057, method_13058, method_13059, method_13061, method_13062, method_13063, method_13064, method_13065, method_13066, method_13067, method_13071, method_13072, method_13493, method_13494, method_2582, method_2607, method_2610, method_2634, method_2649, method_2658, method_3217, method_6108, method_6109, method_6111, method_6117, method_6150, method_6152, pushAway, removeStatusEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldAlwaysDropXp, shouldDropXp, shouldRenderName, stopRiding, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travel, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, applyMirror, applyRotation, attemptSprintingParticles, burn, canAddPassenger, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, entityDataRequiresOperator, equals, extinguish, fromNbt, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getEyeHeight, getFlag, getHardCollisionBox, getHorizontalDirection, getHoverEvent, getItemsEquipped, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVecClient, getRotationVector, getSavedEntityId, getScoreboardTags, getSoundCategory, getTargetingMargin, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeamPlayer, isTouchingLava, isTouchingWater, method_10965, method_12976, method_12984, method_12985, method_12991, method_13003, method_6344, move, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setStat, setUuid, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportRequested, tickFire, tickNetherPortalCooldown, toListNbt, toListNbt, toNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateVelocity, updateWaterState
-
Field Details
-
field_14612
- Mappings:
Namespace Name Mixin selector official bBLwh;bB:Lkh;intermediary field_14612Lnet/minecraft/class_947;field_14612:Lnet/minecraft/class_2921;named field_14612Lnet/minecraft/entity/passive/OcelotEntity;field_14612:Lnet/minecraft/entity/data/TrackedData;
-
field_11976
- Mappings:
Namespace Name Mixin selector official bCLwh;bC:Ltg;intermediary field_11976Lnet/minecraft/class_947;field_11976:Lnet/minecraft/class_886;named field_11976Lnet/minecraft/entity/passive/OcelotEntity;field_11976:Lnet/minecraft/entity/ai/goal/FleeEntityGoal;
-
field_3705
- Mappings:
Namespace Name Mixin selector official bDLwh;bD:Luv;intermediary field_3705Lnet/minecraft/class_947;field_3705:Lnet/minecraft/class_923;named field_3705Lnet/minecraft/entity/passive/OcelotEntity;field_3705:Lnet/minecraft/entity/ai/goal/TemptGoal;
-
-
Constructor Details
-
OcelotEntity
- Mappings:
Namespace Name Mixin selector official <init>Lrw;<init>(Laid;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classTameableEntity- Mappings:
Namespace Name Mixin selector official iLrw;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
mobTick
public void mobTick()- Overrides:
mobTickin classAnimalEntity- Mappings:
Namespace Name Mixin selector official MLsg;M()Vintermediary method_2633Lnet/minecraft/class_871;method_2633()Vnamed mobTickLnet/minecraft/entity/mob/MobEntity;mobTick()V
-
canImmediatelyDespawn
protected boolean canImmediatelyDespawn()- Overrides:
canImmediatelyDespawnin classAnimalEntity- Mappings:
Namespace Name Mixin selector official KLsg;K()Zintermediary method_2631Lnet/minecraft/class_871;method_2631()Znamed canImmediatelyDespawnLnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn()Z
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classMobEntity- Mappings:
Namespace Name Mixin selector official bDLsf;bD()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
handleFallDamage
public void handleFallDamage(float fallDistance, float damageMultiplier) - Overrides:
handleFallDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official eLrw;e(FF)Vintermediary method_2490Lnet/minecraft/class_864;method_2490(FF)Vnamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FF)V
-
method_13503
- Mappings:
Namespace Name Mixin selector official bLwh;b(Lpd;)Vintermediary method_13503Lnet/minecraft/class_947;method_13503(Lnet/minecraft/class_2934;)Vnamed method_13503Lnet/minecraft/entity/passive/OcelotEntity;method_13503(Lnet/minecraft/class_2934;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classTameableEntity- Mappings:
Namespace Name Mixin selector official bLrw;b(Ldr;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classTameableEntity- Mappings:
Namespace Name Mixin selector official aLrw;a(Ldr;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
ambientSound
- Overrides:
ambientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official GLsg;G()Lni;intermediary method_2603Lnet/minecraft/class_871;method_2603()Lnet/minecraft/class_2926;named ambientSoundLnet/minecraft/entity/mob/MobEntity;ambientSound()Lnet/minecraft/client/sound/SoundEvent;
-
method_13048
- Overrides:
method_13048in classLivingEntity- Mappings:
Namespace Name Mixin selector official bVLsf;bV()Lni;intermediary method_13048Lnet/minecraft/class_1699;method_13048()Lnet/minecraft/class_2926;named method_13048Lnet/minecraft/entity/LivingEntity;method_13048()Lnet/minecraft/client/sound/SoundEvent;
-
deathSound
- Overrides:
deathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official bWLsf;bW()Lni;intermediary method_13049Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;named deathSoundLnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official chLsf;ch()Fintermediary method_2602Lnet/minecraft/class_1699;method_2602()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
tryAttack
- Overrides:
tryAttackin classLivingEntity- Mappings:
Namespace Name Mixin selector official BLsf;B(Lrw;)Zintermediary method_2671Lnet/minecraft/class_1699;method_2671(Lnet/minecraft/class_864;)Znamed tryAttackLnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
-
damage
- Overrides:
damagein classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLrw;a(Lrh;F)Zintermediary method_2499Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
getLootTableId
- Overrides:
getLootTableIdin classMobEntity- Mappings:
Namespace Name Mixin selector official JLsg;J()Lkn;intermediary method_13074Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;named getLootTableIdLnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
-
method_13079
- Overrides:
method_13079in classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLsg;a(Lzs;Lqr;Ladz;)Zintermediary method_13079Lnet/minecraft/class_871;method_13079(Lnet/minecraft/class_988;Lnet/minecraft/class_2961;Lnet/minecraft/class_1071;)Znamed method_13079Lnet/minecraft/entity/mob/MobEntity;method_13079(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/item/ItemStack;)Z
-
breed
- Specified by:
breedin classPassiveEntity- Mappings:
Namespace Name Mixin selector official bLwh;b(Lrt;)Lwh;intermediary method_4521Lnet/minecraft/class_947;method_4521(Lnet/minecraft/class_862;)Lnet/minecraft/class_947;named breedLnet/minecraft/entity/passive/OcelotEntity;breed(Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/OcelotEntity;
-
isBreedingItem
- Overrides:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector official eLwc;e(Ladz;)Zintermediary method_2853Lnet/minecraft/class_942;method_2853(Lnet/minecraft/class_1071;)Znamed isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
canBreedWith
- Overrides:
canBreedWithin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLwc;a(Lwc;)Zintermediary method_2852Lnet/minecraft/class_942;method_2852(Lnet/minecraft/class_942;)Znamed canBreedWithLnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
-
getCatVariant
public int getCatVariant()- Mappings:
Namespace Name Mixin selector official dmLwh;dm()Iintermediary method_2858Lnet/minecraft/class_947;method_2858()Inamed getCatVariantLnet/minecraft/entity/passive/OcelotEntity;getCatVariant()I
-
setCatVariant
public void setCatVariant(int variant) - Mappings:
Namespace Name Mixin selector official gLwh;g(I)Vintermediary method_2857Lnet/minecraft/class_947;method_2857(I)Vnamed setCatVariantLnet/minecraft/entity/passive/OcelotEntity;setCatVariant(I)V
-
canSpawn
public boolean canSpawn()- Overrides:
canSpawnin classAnimalEntity- Mappings:
Namespace Name Mixin selector official cKLsg;cK()Zintermediary method_2637Lnet/minecraft/class_871;method_2637()Znamed canSpawnLnet/minecraft/entity/mob/MobEntity;canSpawn()Z
-
method_2469
public boolean method_2469()- Overrides:
method_2469in classMobEntity- Mappings:
Namespace Name Mixin selector official cLLsg;cL()Zintermediary method_2469Lnet/minecraft/class_871;method_2469()Znamed method_2469Lnet/minecraft/entity/mob/MobEntity;method_2469()Z
-
getTranslatedName
- Specified by:
getTranslatedNamein interfaceCommandSource- Overrides:
getTranslatedNamein classEntity- Mappings:
Namespace Name Mixin selector official method_2518Lrw;method_2518()Ljava/lang/String;intermediary method_2518Lnet/minecraft/class_864;method_2518()Ljava/lang/String;named getTranslatedNameLnet/minecraft/entity/Entity;getTranslatedName()Ljava/lang/String;
-
setTamed
public void setTamed(boolean tamed) - Overrides:
setTamedin classTameableEntity- Mappings:
Namespace Name Mixin selector official qLsq;q(Z)Vintermediary method_2715Lnet/minecraft/class_880;method_2715(Z)Vnamed setTamedLnet/minecraft/entity/passive/TameableEntity;setTamed(Z)V
-
onTamedChanged
protected void onTamedChanged()- Overrides:
onTamedChangedin classTameableEntity- Mappings:
Namespace Name Mixin selector official dfLsq;df()Vintermediary method_10993Lnet/minecraft/class_880;method_10993()Vnamed onTamedChangedLnet/minecraft/entity/passive/TameableEntity;onTamedChanged()V
-
initialize
- Overrides:
initializein classMobEntity- Mappings:
Namespace Name Mixin selector official aLsg;a(Lqq;Lsi;)Lsi;intermediary method_6156Lnet/minecraft/class_871;method_6156(Lnet/minecraft/class_2607;Lnet/minecraft/class_1700;)Lnet/minecraft/class_1700;named initializeLnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
-