Package net.minecraft.entity.passive
Class TameableEntity
- All Implemented Interfaces:
EntityCategoryProvider,Tameable
- Direct Known Subclasses:
OcelotEntity,WolfEntity
- Mappings:
Namespace Name official rrintermediary net/minecraft/class_880named net/minecraft/entity/passive/TameableEntity
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.PathAwareEntity
field_3415, field_3416, field_3417, FLEEING_SPEED_BONUS_ID, FLEEING_SPEED_MODIFIERFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, experiencePoints, field_3351, field_3353, goalsFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_6745, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6772, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
boundingBox, changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3203, field_3214, field_3223, field_3232, fireResistance, height, heightOffset, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, lastNetherPortalAxis, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanAttackWithOwner(LivingEntity target, LivingEntity owner) getOwner()voidhandleStatus(byte status) protected voidbooleanisInSameTeam(LivingEntity entity) booleanbooleanisTamed()voidmethod_2713(String string) voidvoidsetSitting(boolean sitting) voidsetTamed(boolean tamed) protected voidshowEmoteParticle(boolean positive) voidMethods inherited from class net.minecraft.entity.passive.AnimalEntity
canBeLeashedBy, canBreedWith, canImmediatelyDespawn, canSpawn, damage, getLovingPlayer, getMinAmbientSoundDelay, getXpToDrop, isBreedingItem, isInLove, lovePlayer, method_2634, method_2683, method_2685, method_2689, resetLoveTicks, tickMovementMethods inherited from class net.minecraft.entity.passive.PassiveEntity
age, breed, isBaby, method_5377, method_5378, method_6095, setAge, setBoundsMethods inherited from class net.minecraft.entity.PathAwareEntity
getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, method_2684, method_2686, method_2687, method_2688, method_2691, method_6168, method_6169, method_6171, method_6173, method_6175, shouldContinue, tickNewAi, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canPickUpLoot, checkDespawn, detachLeash, dropLoot, getAmbientSound, getArmorStacks, getDefaultDrop, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getTarget, getTranslationKey, getVisibilityCache, hasNoAi, initializeAttributes, isLeashed, isPersistent, isTameable, lookAtEntity, method_2638, method_4470, method_4472, method_4473, method_4474, method_5388, method_5391, method_5392, method_5394, method_5397, method_6156, method_6162, method_6166, method_8374, mobTick, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, shouldDropHead, tick, turnHeadMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canMoveVoluntarily, canSee, clearStatusEffects, collides, damageArmor, destroy, dropXp, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getDeathSound, getEffectInstance, getEyeHeight, getFallSound, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getHurtSound, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getSoundPitch, getSoundVolume, getStatusEffectInstances, getStuckArrows, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isClimbing, isInTeam, isPushable, isSleeping, jump, method_2488, method_2489, method_2490, method_2577, method_2582, method_2607, method_2610, method_2630, method_2649, method_2658, method_2672, method_6105, method_6108, method_6109, method_6111, method_6117, method_6146, method_6149, method_6150, method_6152, method_8372, onKilled, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, shouldAlwaysDropXp, shouldDropXp, swingHand, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travel, tryAttackMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, burn, canAvoidTraps, canClimb, canFly, checkBlockCollision, copyFrom, copyPosition, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, enterNetherPortal, equals, extinguish, fromNbt, getAir, getBox, getBrightnessAtEyes, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getLastNetherPortalAxis, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, getUuid, handleAttack, hashCode, hasVehicle, increaseTransforms, isAttackable, isFireImmune, isInsideWall, isInvisible, isInvisibleTo, isOnFire, isPartOf, isSneaking, isSprinting, isSubmergedIn, isSwimming, isTouchingWater, method_2469, method_2475, method_2494, method_4444, method_4447, method_5379, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, setAir, setEntityId, setFlag, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setRotation, setSneaking, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, squaredDistanceTo, squaredDistanceTo, startRiding, teleportToDimension, tickFire, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
sitGoal
- Mappings:
Namespace Name Mixin selector official bpLrr;bp:Lts;intermediary field_3427Lnet/minecraft/class_880;field_3427:Lnet/minecraft/class_920;named sitGoalLnet/minecraft/entity/passive/TameableEntity;sitGoal:Lnet/minecraft/entity/ai/goal/SitGoal;
-
-
Constructor Details
-
TameableEntity
- Mappings:
Namespace Name Mixin selector official <init>Lqm;<init>(Lafm;)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
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classPassiveEntity- Mappings:
Namespace Name Mixin selector official cLqm;c()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLqm;b(Ldg;)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 classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(Ldg;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
showEmoteParticle
protected void showEmoteParticle(boolean positive) - Mappings:
Namespace Name Mixin selector official iLrr;i(Z)Vintermediary method_2714Lnet/minecraft/class_880;method_2714(Z)Vnamed showEmoteParticleLnet/minecraft/entity/passive/TameableEntity;showEmoteParticle(Z)V
-
handleStatus
- Overrides:
handleStatusin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(B)Vintermediary method_2485Lnet/minecraft/class_864;method_2485(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
isTamed
public boolean isTamed()- Mappings:
Namespace Name Mixin selector official bXLrr;bX()Zintermediary method_2717Lnet/minecraft/class_880;method_2717()Znamed isTamedLnet/minecraft/entity/passive/TameableEntity;isTamed()Z
-
setTamed
public void setTamed(boolean tamed) - Mappings:
Namespace Name Mixin selector official jLrr;j(Z)Vintermediary method_2715Lnet/minecraft/class_880;method_2715(Z)Vnamed setTamedLnet/minecraft/entity/passive/TameableEntity;setTamed(Z)V
-
isSitting
public boolean isSitting()- Mappings:
Namespace Name Mixin selector official bYLrr;bY()Zintermediary method_2718Lnet/minecraft/class_880;method_2718()Znamed isSittingLnet/minecraft/entity/passive/TameableEntity;isSitting()Z
-
setSitting
public void setSitting(boolean sitting) - Mappings:
Namespace Name Mixin selector official kLrr;k(Z)Vintermediary method_2716Lnet/minecraft/class_880;method_2716(Z)Vnamed setSittingLnet/minecraft/entity/passive/TameableEntity;setSitting(Z)V
-
getOwnerId
- Specified by:
getOwnerIdin interfaceTameable- Mappings:
Namespace Name Mixin selector official bLrl;b()Ljava/lang/String;intermediary method_2719Lnet/minecraft/class_1701;method_2719()Ljava/lang/String;named getOwnerIdLnet/minecraft/entity/Tameable;getOwnerId()Ljava/lang/String;
-
method_2713
- Mappings:
Namespace Name Mixin selector official bLrr;b(Ljava/lang/String;)Vintermediary method_2713Lnet/minecraft/class_880;method_2713(Ljava/lang/String;)Vnamed method_2713Lnet/minecraft/entity/passive/TameableEntity;method_2713(Ljava/lang/String;)V
-
getOwner
- Specified by:
getOwnerin interfaceTameable- Mappings:
Namespace Name Mixin selector official bZLrr;bZ()Lrg;intermediary method_6183Lnet/minecraft/class_880;method_6183()Lnet/minecraft/class_1699;named getOwnerLnet/minecraft/entity/passive/TameableEntity;getOwner()Lnet/minecraft/entity/LivingEntity;
-
getSitGoal
- Mappings:
Namespace Name Mixin selector official caLrr;ca()Lts;intermediary method_2721Lnet/minecraft/class_880;method_2721()Lnet/minecraft/class_920;named getSitGoalLnet/minecraft/entity/passive/TameableEntity;getSitGoal()Lnet/minecraft/entity/ai/goal/SitGoal;
-
canAttackWithOwner
- Mappings:
Namespace Name Mixin selector official aLrr;a(Lrg;Lrg;)Zintermediary method_6182Lnet/minecraft/class_880;method_6182(Lnet/minecraft/class_1699;Lnet/minecraft/class_1699;)Znamed canAttackWithOwnerLnet/minecraft/entity/passive/TameableEntity;canAttackWithOwner(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
getScoreboardTeam
- Overrides:
getScoreboardTeamin classLivingEntity- Mappings:
Namespace Name Mixin selector official btLrg;bt()Lays;intermediary method_6135Lnet/minecraft/class_1699;method_6135()Lnet/minecraft/class_1599;named getScoreboardTeamLnet/minecraft/entity/LivingEntity;getScoreboardTeam()Lnet/minecraft/scoreboard/AbstractTeam;
-
isInSameTeam
- Overrides:
isInSameTeamin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLrg;c(Lrg;)Zintermediary method_6137Lnet/minecraft/class_1699;method_6137(Lnet/minecraft/class_1699;)Znamed isInSameTeamLnet/minecraft/entity/LivingEntity;isInSameTeam(Lnet/minecraft/entity/LivingEntity;)Z
-