Package net.minecraft.entity.passive
Class IronGolemEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.PathAwareEntity
net.minecraft.entity.passive.GolemEntity
net.minecraft.entity.passive.IronGolemEntity
- All Implemented Interfaces:
CommandSource,EntityCategoryProvider
- Mappings:
Namespace Name official xiintermediary net/minecraft/class_952named net/minecraft/entity/passive/IronGolemEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprotected static final TrackedData<Byte>private intprivate int(package private) VillageFields 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, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanAttackEntity(Class<? extends LivingEntity> clazz) protected SoundEventintintprotected Identifierprotected intgetNextAirUnderwater(int air) voidhandleStatus(byte status) protected voidprotected voidprotected voidbooleanprotected SoundEventstatic voidmethod_13513(class_2934 class_2934) protected voidmobTick()voidonKilled(DamageSource source) protected voidplayStepSound(BlockPos pos, Block block) protected voidvoidvoidsetLookingAtVillager(boolean lookingAtVillager) voidsetPlayerCreated(boolean playerCreated) voidbooleanvoidMethods inherited from class net.minecraft.entity.passive.GolemEntity
ambientSound, canImmediatelyDespawn, getMinAmbientSoundDelay, handleFallDamageMethods inherited from class net.minecraft.entity.PathAwareEntity
canSpawn, getPathfindingFavor, getPositionTarget, getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, isInWalkTargetRange, method_13951, method_6173, method_6175, setPositionTarget, shouldContinue, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canBeLeashedBy, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, dropLoot, equip, equipStack, getArmorItems, getDefaultDrop, getDurability, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMotionHelper, getNavigation, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, hasNoAi, initEquipment, initialize, 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, 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, damage, damageArmor, destroy, dropXp, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLandSound, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getOpponent, getRandom, getRotation, getRotationVector, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffectInstances, getStuckArrows, 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, 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, getBurningDuration, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getEyeHeight, getFlag, getHardCollisionBox, getHeightOffset, 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, getSoundCategory, getTargetingMargin, getTranslationKey, 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_12984, method_12985, 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_14623
- Mappings:
Namespace Name Mixin selector official aLxi;a:Lkk;intermediary field_14623Lnet/minecraft/class_952;field_14623:Lnet/minecraft/class_2921;named field_14623Lnet/minecraft/entity/passive/IronGolemEntity;field_14623:Lnet/minecraft/entity/data/TrackedData;
-
field_3724
private int field_3724- Mappings:
Namespace Name Mixin selector official cLxi;c:Iintermediary field_3724Lnet/minecraft/class_952;field_3724:Inamed field_3724Lnet/minecraft/entity/passive/IronGolemEntity;field_3724:I
-
village
- Mappings:
Namespace Name Mixin selector official bLxi;b:Lwp;intermediary field_3723Lnet/minecraft/class_952;field_3723:Lnet/minecraft/class_938;named villageLnet/minecraft/entity/passive/IronGolemEntity;village:Lnet/minecraft/village/Village;
-
attackTicksLeft
private int attackTicksLeft- Mappings:
Namespace Name Mixin selector official bwLxi;bw:Iintermediary field_3725Lnet/minecraft/class_952;field_3725:Inamed attackTicksLeftLnet/minecraft/entity/passive/IronGolemEntity;attackTicksLeft:I
-
lookingAtVillagerTicksLeft
private int lookingAtVillagerTicksLeft- Mappings:
Namespace Name Mixin selector official bxLxi;bx:Iintermediary field_3726Lnet/minecraft/class_952;field_3726:Inamed lookingAtVillagerTicksLeftLnet/minecraft/entity/passive/IronGolemEntity;lookingAtVillagerTicksLeft:I
-
-
Constructor Details
-
IronGolemEntity
- 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() -
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
-
mobTick
protected void mobTick() -
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classMobEntity- Mappings:
Namespace Name Mixin selector official bELsw;bE()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
getNextAirUnderwater
protected int getNextAirUnderwater(int air) - Overrides:
getNextAirUnderwaterin classLivingEntity- Mappings:
Namespace Name Mixin selector official dLsw;d(I)Iintermediary method_2664Lnet/minecraft/class_1699;method_2664(I)Inamed getNextAirUnderwaterLnet/minecraft/entity/LivingEntity;getNextAirUnderwater(I)I
-
pushAway
- Overrides:
pushAwayin classLivingEntity- Mappings:
Namespace Name Mixin selector official CLsw;C(Lsn;)Vintermediary method_4483Lnet/minecraft/class_1699;method_4483(Lnet/minecraft/class_864;)Vnamed pushAwayLnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classMobEntity- Mappings:
Namespace Name Mixin selector official nLsw;n()Vintermediary method_2651Lnet/minecraft/class_1699;method_2651()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
canAttackEntity
- Overrides:
canAttackEntityin classMobEntity- Mappings:
Namespace Name Mixin selector official dLsx;d(Ljava/lang/Class;)Zintermediary method_2579Lnet/minecraft/class_871;method_2579(Ljava/lang/Class;)Znamed canAttackEntityLnet/minecraft/entity/mob/MobEntity;canAttackEntity(Ljava/lang/Class;)Z
-
method_13513
- Mappings:
Namespace Name Mixin selector official aLxi;a(Lph;)Vintermediary method_13513Lnet/minecraft/class_952;method_13513(Lnet/minecraft/class_2934;)Vnamed method_13513Lnet/minecraft/entity/passive/IronGolemEntity;method_13513(Lnet/minecraft/class_2934;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official bLsn;b(Ldu;)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 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
-
tryAttack
- Overrides:
tryAttackin classLivingEntity- Mappings:
Namespace Name Mixin selector official BLsw;B(Lsn;)Zintermediary method_2671Lnet/minecraft/class_1699;method_2671(Lnet/minecraft/class_864;)Znamed tryAttackLnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
-
handleStatus
- Overrides:
handleStatusin classMobEntity- Mappings:
Namespace Name Mixin selector official aLsn;a(B)Vintermediary method_2485Lnet/minecraft/class_864;method_2485(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
method_2870
- Mappings:
Namespace Name Mixin selector official oLxi;o()Lwp;intermediary method_2870Lnet/minecraft/class_952;method_2870()Lnet/minecraft/class_938;named method_2870Lnet/minecraft/entity/passive/IronGolemEntity;method_2870()Lnet/minecraft/village/Village;
-
getAttackTicksLeft
- Mappings:
Namespace Name Mixin selector official dhLxi;dh()Iintermediary method_2871Lnet/minecraft/class_952;method_2871()Inamed getAttackTicksLeftLnet/minecraft/entity/passive/IronGolemEntity;getAttackTicksLeft()I
-
setLookingAtVillager
public void setLookingAtVillager(boolean lookingAtVillager) - Mappings:
Namespace Name Mixin selector official aLxi;a(Z)Vintermediary method_2868Lnet/minecraft/class_952;method_2868(Z)Vnamed setLookingAtVillagerLnet/minecraft/entity/passive/IronGolemEntity;setLookingAtVillager(Z)V
-
method_13048
- Overrides:
method_13048in classGolemEntity- Mappings:
Namespace Name Mixin selector official bWLsw;bW()Lnm;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 classGolemEntity- Mappings:
Namespace Name Mixin selector official bXLsw;bX()Lnm;intermediary method_13049Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;named deathSoundLnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
-
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
-
getLootTableId
- Overrides:
getLootTableIdin classMobEntity- Mappings:
Namespace Name Mixin selector official JLsx;J()Lkq;intermediary method_13074Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;named getLootTableIdLnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
-
getLookingAtVillagerTicks
public int getLookingAtVillagerTicks()- Mappings:
Namespace Name Mixin selector official diLxi;di()Iintermediary method_2872Lnet/minecraft/class_952;method_2872()Inamed getLookingAtVillagerTicksLnet/minecraft/entity/passive/IronGolemEntity;getLookingAtVillagerTicks()I
-
isPlayerCreated
public boolean isPlayerCreated()- Mappings:
Namespace Name Mixin selector official djLxi;dj()Zintermediary method_2873Lnet/minecraft/class_952;method_2873()Znamed isPlayerCreatedLnet/minecraft/entity/passive/IronGolemEntity;isPlayerCreated()Z
-
setPlayerCreated
public void setPlayerCreated(boolean playerCreated) - Mappings:
Namespace Name Mixin selector official pLxi;p(Z)Vintermediary method_2869Lnet/minecraft/class_952;method_2869(Z)Vnamed setPlayerCreatedLnet/minecraft/entity/passive/IronGolemEntity;setPlayerCreated(Z)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
-