Package net.minecraft
Class class_3146
- All Implemented Interfaces:
CommandSource,RangedAttackMob,EntityCategoryProvider,Monster
- Direct Known Subclasses:
SkeletonEntity,StrayEntity,WhitherSkeletonEntity
- Mappings:
Namespace Name official zmintermediary net/minecraft/class_3146named net/minecraft/class_3146
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData<Boolean>private final class_2973private final MeleeAttackGoalFields 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, 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, zFields inherited from interface net.minecraft.entity.mob.Monster
MONSTER_PREDICATE, VISIBLE_MONSTER_PREDICATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidequipStack(EquipmentSlot slot, ItemStack stack) floatgetGroup()doubleprotected voidprotected voidinitEquipment(LocalDifficulty difficulty) protected voidinitialize(LocalDifficulty difficulty, EntityData data) protected voidprotected AbstractArrowEntitymethod_14056(float float2) voidmethod_14057(boolean bool) voidboolean(package private) abstract SoundEventvoidonKilled(DamageSource source) protected voidplayStepSound(BlockPos pos, Block block) voidrangedAttack(LivingEntity target, float pullProgress) voidvoidvoidMethods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawn, damage, deathSound, getLandSound, getPathfindingFavor, getSoundCategory, method_12984, method_12985, method_13048, method_3087, shouldDropXp, tick, tryAttackMethods inherited from class net.minecraft.entity.PathAwareEntity
getPositionTarget, getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, isInWalkTargetRange, method_13951, method_6173, method_6175, setPositionTarget, shouldContinue, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
ambientSound, attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canBeLeashedBy, canImmediatelyDespawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, dropLoot, equip, getArmorItems, getDefaultDrop, getDurability, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getLootTableId, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasNoAi, interact, interactMob, isLeashed, isPersistent, lookAtEntity, loot, method_13003, 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_13950, method_2469, method_2638, method_4472, method_6162, mobTick, onEatingGrass, playAmbientSound, playSpawnEffects, setAiDisabled, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, startRiding, tickNewAi, turnHead, updateEnchantments, writeCustomDataToNbtMethods 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, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getRotationVector, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffectInstances, getStuckArrows, handleFallDamage, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, 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_13946, method_13947, method_13948, 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, onTrackedDataSet, pushAway, removeStatusEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldAlwaysDropXp, shouldRenderName, stopRiding, tickCramming, tickHandSwing, 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, getBurningDuration, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, 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, getScoreboardTeam, getTargetingMargin, getTranslatedName, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, interactAt, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, method_10965, method_12991, method_13932, method_6344, move, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, 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_15531
- Mappings:
Namespace Name Mixin selector official aLzm;a:Lkk;intermediary field_15531Lnet/minecraft/class_3146;field_15531:Lnet/minecraft/class_2921;named field_15531Lnet/minecraft/class_3146;field_15531:Lnet/minecraft/entity/data/TrackedData;
-
field_15532
- Mappings:
Namespace Name Mixin selector official bLzm;b:Lvh;intermediary field_15532Lnet/minecraft/class_3146;field_15532:Lnet/minecraft/class_2973;named field_15532Lnet/minecraft/class_3146;field_15532:Lnet/minecraft/entity/ai/goal/class_2973;
-
field_15533
- Mappings:
Namespace Name Mixin selector official cLzm;c:Lur;intermediary field_15533Lnet/minecraft/class_3146;field_15533:Lnet/minecraft/class_905;named field_15533Lnet/minecraft/class_3146;field_15533:Lnet/minecraft/entity/ai/goal/MeleeAttackGoal;
-
-
Constructor Details
-
class_3146
- Mappings:
Namespace Name Mixin selector official <init>Lsn;<init>(Lajs;)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() -
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classHostileEntity- Mappings:
Namespace Name Mixin selector official bELsw;bE()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official iLsn;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official aLsn;a(Lco;Lalu;)Vintermediary method_10936Lnet/minecraft/class_864;method_10936(Lnet/minecraft/class_2552;Lnet/minecraft/class_197;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
method_14060
- Mappings:
Namespace Name Mixin selector official oLzm;o()Lnm;intermediary method_14060Lnet/minecraft/class_3146;method_14060()Lnet/minecraft/class_2926;named method_14060Lnet/minecraft/class_3146;method_14060()Lnet/minecraft/client/sound/SoundEvent;
-
getGroup
- Overrides:
getGroupin classLivingEntity- Mappings:
Namespace Name Mixin selector official cfLsw;cf()Ltb;intermediary method_2647Lnet/minecraft/class_1699;method_2647()Lnet/minecraft/class_873;named getGroupLnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classHostileEntity- Mappings:
Namespace Name Mixin selector official nLsw;n()Vintermediary method_2651Lnet/minecraft/class_1699;method_2651()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
tickRiding
public void tickRiding()- Overrides:
tickRidingin classLivingEntity- Mappings:
Namespace Name Mixin selector official awLsn;aw()Vintermediary method_2478Lnet/minecraft/class_864;method_2478()Vnamed tickRidingLnet/minecraft/entity/Entity;tickRiding()V
-
onKilled
- Overrides:
onKilledin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLsw;a(Lry;)Vintermediary method_2580Lnet/minecraft/class_1699;method_2580(Lnet/minecraft/class_856;)Vnamed onKilledLnet/minecraft/entity/LivingEntity;onKilled(Lnet/minecraft/entity/damage/DamageSource;)V
-
initEquipment
- Overrides:
initEquipmentin classMobEntity- Mappings:
Namespace Name Mixin selector official aLsx;a(Lrh;)Vintermediary method_10983Lnet/minecraft/class_871;method_10983(Lnet/minecraft/class_2607;)Vnamed initEquipmentLnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/world/LocalDifficulty;)V
-
initialize
- Overrides:
initializein classMobEntity- Mappings:
Namespace Name Mixin selector official aLsx;a(Lrh;Lsz;)Lsz;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;
-
method_14058
public void method_14058()- Mappings:
Namespace Name Mixin selector official dhLzm;dh()Vintermediary method_14058Lnet/minecraft/class_3146;method_14058()Vnamed method_14058Lnet/minecraft/class_3146;method_14058()V
-
rangedAttack
- Specified by:
rangedAttackin interfaceRangedAttackMob- Mappings:
Namespace Name Mixin selector official aLaac;a(Lsw;F)Vintermediary method_4552Lnet/minecraft/class_1413;method_4552(Lnet/minecraft/class_1699;F)Vnamed rangedAttackLnet/minecraft/entity/ai/RangedAttackMob;rangedAttack(Lnet/minecraft/entity/LivingEntity;F)V
-
method_14056
- Mappings:
Namespace Name Mixin selector official aLzm;a(F)Labb;intermediary method_14056Lnet/minecraft/class_3146;method_14056(F)Lnet/minecraft/class_990;named method_14056Lnet/minecraft/class_3146;method_14056(F)Lnet/minecraft/entity/projectile/AbstractArrowEntity;
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official aLsn;a(Ldu;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
equipStack
- Overrides:
equipStackin classMobEntity- Mappings:
Namespace Name Mixin selector official aLsn;a(Lss;Lafj;)Vintermediary method_2527Lnet/minecraft/class_864;method_2527(Lnet/minecraft/class_2968;Lnet/minecraft/class_1071;)Vnamed equipStackLnet/minecraft/entity/Entity;equipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official bqLsn;bq()Fintermediary method_2544Lnet/minecraft/class_864;method_2544()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
getHeightOffset
public double getHeightOffset()- Overrides:
getHeightOffsetin classEntity- Mappings:
Namespace Name Mixin selector official axLsn;ax()Dintermediary method_2480Lnet/minecraft/class_864;method_2480()Dnamed getHeightOffsetLnet/minecraft/entity/Entity;getHeightOffset()D
-
method_14059
- Mappings:
Namespace Name Mixin selector official diLzm;di()Zintermediary method_14059Lnet/minecraft/class_3146;method_14059()Znamed method_14059Lnet/minecraft/class_3146;method_14059()Z
-
method_14057
public void method_14057(boolean bool) - Mappings:
Namespace Name Mixin selector official aLzm;a(Z)Vintermediary method_14057Lnet/minecraft/class_3146;method_14057(Z)Vnamed method_14057Lnet/minecraft/class_3146;method_14057(Z)V
-