Package net.minecraft.entity.passive
Class SheepEntity
- All Implemented Interfaces:
EntityCategoryProvider
- Mappings:
Namespace Name official vaintermediary net/minecraft/class_949named net/minecraft/entity/passive/SheepEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate EatGrassGoalprivate intstatic final float[][]private final CraftingInventoryFields 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 TypeMethodDescriptionbreed(PassiveEntity passiveEntity) booleancanBeLeashedBy(PlayerEntity player) protected voiddropLoot(boolean allowDrops, int lootingMultiplier) protected Stringprotected Stringprotected Itemprotected StringvoidhandleStatus(byte status) protected voidprotected voidbooleanprotected voidmethod_2494(int int2, int int3, int int4, Block block) static intmethod_2861(Random random) voidmethod_2862(int int2) floatmethod_2864(float float2) floatmethod_2865(float float2) intprivate intmethod_4524(AnimalEntity animalEntity, AnimalEntity animalEntity2) private intmethod_4526(AnimalEntity animalEntity) method_6156(EntityData entityData) protected voidmobTick()voidvoidvoidsetSheared(boolean bool) protected booleanvoidvoidMethods inherited from class net.minecraft.entity.passive.AnimalEntity
canBreedWith, canImmediatelyDespawn, canSpawn, damage, getLovingPlayer, getMinAmbientSoundDelay, getXpToDrop, isBreedingItem, isInLove, lovePlayer, method_2634, method_2683, method_2685, method_2689, resetLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
age, 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, getArmorStacks, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getTarget, getTranslatedName, getVisibilityCache, hasNoAi, 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_6162, method_6166, method_8374, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, 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, getEffectInstance, getEyeHeight, getFallSound, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getScoreboardTeam, getSoundPitch, getSoundVolume, getStatusEffectInstances, getStuckArrows, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isClimbing, isInSameTeam, 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_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
-
field_3706
public static final float[][] field_3706- Mappings:
Namespace Name Mixin selector official bpLva;bp:[[Fintermediary field_3706Lnet/minecraft/class_949;field_3706:[[Fnamed field_3706Lnet/minecraft/entity/passive/SheepEntity;field_3706:[[F
-
field_5369
- Mappings:
Namespace Name Mixin selector official bqLva;bq:Lyp;intermediary field_5369Lnet/minecraft/class_949;field_5369:Lnet/minecraft/class_1011;named field_5369Lnet/minecraft/entity/passive/SheepEntity;field_5369:Lnet/minecraft/inventory/CraftingInventory;
-
eatGrassTimer
private int eatGrassTimer- Mappings:
Namespace Name Mixin selector official brLva;br:Iintermediary field_3707Lnet/minecraft/class_949;field_3707:Inamed eatGrassTimerLnet/minecraft/entity/passive/SheepEntity;eatGrassTimer:I
-
eatGrassGoal
- Mappings:
Namespace Name Mixin selector official bsLva;bs:Lso;intermediary field_3708Lnet/minecraft/class_949;field_3708:Lnet/minecraft/class_891;named eatGrassGoalLnet/minecraft/entity/passive/SheepEntity;eatGrassGoal:Lnet/minecraft/entity/ai/goal/EatGrassGoal;
-
-
Constructor Details
-
SheepEntity
- 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
-
shouldDropHead
protected boolean shouldDropHead()- Overrides:
shouldDropHeadin classMobEntity
-
mobTick
protected void mobTick() -
tickMovement
public void tickMovement()- Overrides:
tickMovementin classAnimalEntity- Mappings:
Namespace Name Mixin selector official eLrg;e()Vintermediary method_2651Lnet/minecraft/class_1699;method_2651()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classMobEntity- Mappings:
Namespace Name Mixin selector official aDLrg;aD()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
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
-
dropLoot
protected void dropLoot(boolean allowDrops, int lootingMultiplier) -
getDefaultDrop
- Overrides:
getDefaultDropin classMobEntity- Mappings:
Namespace Name Mixin selector official uLrh;u()Labm;intermediary method_8375Lnet/minecraft/class_871;method_8375()Lnet/minecraft/class_1069;named getDefaultDropLnet/minecraft/entity/mob/MobEntity;getDefaultDrop()Lnet/minecraft/item/Item;
-
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
-
method_2864
- Mappings:
Namespace Name Mixin selector official pLva;p(F)Fintermediary method_2864Lnet/minecraft/class_949;method_2864(F)Fnamed method_2864Lnet/minecraft/entity/passive/SheepEntity;method_2864(F)F
-
method_2865
- Mappings:
Namespace Name Mixin selector official qLva;q(F)Fintermediary method_2865Lnet/minecraft/class_949;method_2865(F)Fnamed method_2865Lnet/minecraft/entity/passive/SheepEntity;method_2865(F)F
-
canBeLeashedBy
- Overrides:
canBeLeashedByin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLrh;a(Lxk;)Zintermediary method_2537Lnet/minecraft/class_871;method_2537(Lnet/minecraft/class_988;)Znamed canBeLeashedByLnet/minecraft/entity/mob/MobEntity;canBeLeashedBy(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
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
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official tLrh;t()Ljava/lang/String;intermediary method_2603Lnet/minecraft/class_871;method_2603()Ljava/lang/String;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official aTLrg;aT()Ljava/lang/String;intermediary method_2604Lnet/minecraft/class_1699;method_2604()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official aULrg;aU()Ljava/lang/String;intermediary method_2605Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
method_2494
- Overrides:
method_2494in classEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(IIILaht;)Vintermediary method_2494Lnet/minecraft/class_864;method_2494(IIILnet/minecraft/class_197;)Vnamed method_2494Lnet/minecraft/entity/Entity;method_2494(IIILnet/minecraft/block/Block;)V
-
method_2866
public int method_2866()- Mappings:
Namespace Name Mixin selector official bXLva;bX()Iintermediary method_2866Lnet/minecraft/class_949;method_2866()Inamed method_2866Lnet/minecraft/entity/passive/SheepEntity;method_2866()I
-
method_2862
public void method_2862(int int2) - Mappings:
Namespace Name Mixin selector official sLva;s(I)Vintermediary method_2862Lnet/minecraft/class_949;method_2862(I)Vnamed method_2862Lnet/minecraft/entity/passive/SheepEntity;method_2862(I)V
-
isSheared
public boolean isSheared()- Mappings:
Namespace Name Mixin selector official bYLva;bY()Zintermediary method_2867Lnet/minecraft/class_949;method_2867()Znamed isShearedLnet/minecraft/entity/passive/SheepEntity;isSheared()Z
-
setSheared
public void setSheared(boolean bool) - Mappings:
Namespace Name Mixin selector official iLva;i(Z)Vintermediary method_2863Lnet/minecraft/class_949;method_2863(Z)Vnamed setShearedLnet/minecraft/entity/passive/SheepEntity;setSheared(Z)V
-
method_2861
- Mappings:
Namespace Name Mixin selector official aLva;a(Ljava/util/Random;)Iintermediary method_2861Lnet/minecraft/class_949;method_2861(Ljava/util/Random;)Inamed method_2861Lnet/minecraft/entity/passive/SheepEntity;method_2861(Ljava/util/Random;)I
-
breed
- Specified by:
breedin classPassiveEntity- Mappings:
Namespace Name Mixin selector official bLva;b(Lqj;)Lva;intermediary method_4525Lnet/minecraft/class_949;method_4525(Lnet/minecraft/class_862;)Lnet/minecraft/class_949;named breedLnet/minecraft/entity/passive/SheepEntity;breed(Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/SheepEntity;
-
onEatingGrass
public void onEatingGrass()- Overrides:
onEatingGrassin classMobEntity- Mappings:
Namespace Name Mixin selector official pLrh;p()Vintermediary method_2588Lnet/minecraft/class_871;method_2588()Vnamed onEatingGrassLnet/minecraft/entity/mob/MobEntity;onEatingGrass()V
-
method_6156
- Overrides:
method_6156in classMobEntity- Mappings:
Namespace Name Mixin selector official aLrh;a(Lrj;)Lrj;intermediary method_6156Lnet/minecraft/class_871;method_6156(Lnet/minecraft/class_1700;)Lnet/minecraft/class_1700;named method_6156Lnet/minecraft/entity/mob/MobEntity;method_6156(Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
-
method_4524
- Mappings:
Namespace Name Mixin selector official aLva;a(Luq;Luq;)Iintermediary method_4524Lnet/minecraft/class_949;method_4524(Lnet/minecraft/class_942;Lnet/minecraft/class_942;)Inamed method_4524Lnet/minecraft/entity/passive/SheepEntity;method_4524(Lnet/minecraft/entity/passive/AnimalEntity;Lnet/minecraft/entity/passive/AnimalEntity;)I
-
method_4526
- Mappings:
Namespace Name Mixin selector official bLva;b(Luq;)Iintermediary method_4526Lnet/minecraft/class_949;method_4526(Lnet/minecraft/class_942;)Inamed method_4526Lnet/minecraft/entity/passive/SheepEntity;method_4526(Lnet/minecraft/entity/passive/AnimalEntity;)I
-