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.PassivePathFindingEntity
net.minecraft.entity.passive.GolemEntity
net.minecraft.entity.passive.IronGolemEntity
- All Implemented Interfaces:
CommandSource,EntityCategoryProvider
public class IronGolemEntity extends GolemEntity
- Mappings:
Namespace Name official tyintermediary net/minecraft/class_1869named net/minecraft/entity/passive/IronGolemEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classIronGolemEntity.class_1870<T extends LivingEntity>Nested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
Fields Modifier and Type Field Description private intattackTicksLeft(package private) Villagefield_7977private intfield_7978private intlookingAtVillagerTicksLeftFields inherited from class net.minecraft.entity.PassivePathFindingEntity
FLEEING_SPEED_BONUS_ID, FLEEING_SPEED_MODIFIERFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_7434, field_7435, field_7436, field_7438, field_7439, field_7456, field_7457, field_7458, field_7462, field_7463, field_7472, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, 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
changingDimension, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_7357, field_7362, field_7363, field_7364, field_7365, field_7370, field_7390, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors Constructor Description IronGolemEntity(World world) -
Method Summary
Modifier and Type Method Description booleancanAttackEntity(Class<? extends LivingEntity> clazz)voiddeserialize(CompoundTag tag)intgetAttackTicksLeft()protected StringgetDeathSound()protected StringgetHurtSound()intgetLookingAtVillagerTicks()voidhandleStatus(byte status)protected voidinitDataTracker()protected voidinitializeAttributes()booleanisPlayerCreated()protected voidmethod_7106(boolean bool, int int2)protected intmethod_7162(int int2)booleanmethod_7179(Entity entity)Villagemethod_7649()protected voidmobTick()voidonKilled(DamageSource source)protected voidplayStepSound(BlockPos pos, Block block)protected voidpushAway(Entity entity)voidserialize(CompoundTag tag)voidsetLookingAtVillager(boolean lookingAtVillager)voidsetPlayerCreated(boolean playerCreated)voidtickMovement()Methods inherited from class net.minecraft.entity.passive.GolemEntity
getAmbientSound, getMinAmbientSoundDelay, handleFallDamage, method_7184Methods inherited from class net.minecraft.entity.PassivePathFindingEntity
method_7202, method_7239, method_7240, method_7241, method_7242, method_7243, method_7244, method_7245, method_7246, method_7247, method_7248, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, detachLeash, equip, getArmorStacks, getAttackTarget, getDefaultDrop, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getVisibilityCache, hasNoAi, hasPositionTarget, initEquipment, isPersistent, isTameable, lookAtEntity, loot, method_7096, method_7104, method_7156, method_7164, method_7177, method_7187, method_7188, method_7191, method_7195, method_7203, method_7204, method_7206, method_7210, method_7214, newNavigation, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setAttackTarget, setCanPickUpLoot, setForwardSpeed, setPersistent, tick, tickNewAi, updateEnchantmentsMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyDamage, canSee, clearStatusEffects, collides, damage, damageArmor, destroy, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttributeContainer, getDamageEnchantmentTarget, getDamageTracker, getEffectInstance, getFallSound, getHandSwingProgress, getHeadRotation, getHealth, getLastHurtTimestamp, getMaxHealth, getRandom, getRotationVector, getScoreboardTeam, getStuckArrows, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isInSameTeam, isInTeam, isPushable, isSleeping, jump, kill, markEffectsDirty, method_6985, method_7087, method_7091, method_7092, method_7093, method_7098, method_7099, method_7100, method_7102, method_7105, method_7108, method_7109, method_7110, method_7111, method_7113, method_7114, method_7115, method_7118, method_7123, method_7124, method_7126, method_7128, method_7129, method_7130, method_7132, method_7134, method_7139, method_7142, method_7146, method_7149, method_7153, method_7154, method_7166, method_7171, method_7176, method_7178, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldRenderName, startRiding, swingHand, tickRiding, tickStatusEffects, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, burn, canAvoidTraps, canClimb, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, doesNotCollide, doesRenderOnFire, equals, extinguish, fromClientTag, fromTag, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, getRotationVector, getSavedEntityId, getSplashSound, getSwimSound, getTranslationKey, getUuid, getWorld, handleAttack, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTouchingWater, method_6912, method_6924, method_6926, method_6939, method_6940, method_6943, method_6944, method_6945, method_6948, method_6949, method_6968, method_6971, method_6977, method_6981, method_6984, method_6994, method_6998, method_7008, method_7020, method_7049, method_7051, method_7058, move, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, populateCrashReport, pushAwayFrom, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToTag, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setStat, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, teleportToDimension, tickFire, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePosition, updatePositionAndAngles, writePlayerData
-
Field Details
-
field_7978
private int field_7978- Mappings:
Namespace Name Mixin selector official bLty;b:Iintermediary field_7978Lnet/minecraft/class_1869;field_7978:Inamed field_7978Lnet/minecraft/entity/passive/IronGolemEntity;field_7978:I
-
field_7977
Village field_7977- Mappings:
Namespace Name Mixin selector official aLty;a:Ltf;intermediary field_7977Lnet/minecraft/class_1869;field_7977:Lnet/minecraft/class_1841;named field_7977Lnet/minecraft/entity/passive/IronGolemEntity;field_7977:Lnet/minecraft/village/Village;
-
attackTicksLeft
private int attackTicksLeft- Mappings:
Namespace Name Mixin selector official cLty;c:Iintermediary field_7980Lnet/minecraft/class_1869;field_7980:Inamed attackTicksLeftLnet/minecraft/entity/passive/IronGolemEntity;attackTicksLeft:I
-
lookingAtVillagerTicksLeft
private int lookingAtVillagerTicksLeft- Mappings:
Namespace Name Mixin selector official bmLty;bm:Iintermediary field_7979Lnet/minecraft/class_1869;field_7979:Inamed lookingAtVillagerTicksLeftLnet/minecraft/entity/passive/IronGolemEntity;lookingAtVillagerTicksLeft:I
-
-
Constructor Details
-
IronGolemEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_7043Lnet/minecraft/class_1745;method_7043()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
mobTick
protected void mobTick() -
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classMobEntity- Mappings:
Namespace Name Mixin selector official aXLpr;aX()Vintermediary method_7097Lnet/minecraft/class_1752;method_7097()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
method_7162
protected int method_7162(int int2)- Overrides:
method_7162in classLivingEntity- Mappings:
Namespace Name Mixin selector official jLpr;j(I)Iintermediary method_7162Lnet/minecraft/class_1752;method_7162(I)Inamed method_7162Lnet/minecraft/entity/LivingEntity;method_7162(I)I
-
pushAway
- Overrides:
pushAwayin classLivingEntity- Mappings:
Namespace Name Mixin selector official sLpr;s(Lpk;)Vintermediary method_7180Lnet/minecraft/class_1752;method_7180(Lnet/minecraft/class_1745;)Vnamed pushAwayLnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classMobEntity- Mappings:
Namespace Name Mixin selector official mLpr;m()Vintermediary method_7169Lnet/minecraft/class_1752;method_7169()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
canAttackEntity
- Overrides:
canAttackEntityin classMobEntity- Mappings:
Namespace Name Mixin selector official aLps;a(Ljava/lang/Class;)Zintermediary method_7189Lnet/minecraft/class_1753;method_7189(Ljava/lang/Class;)Znamed canAttackEntityLnet/minecraft/entity/mob/MobEntity;canAttackEntity(Ljava/lang/Class;)Z
-
serialize
-
deserialize
- Overrides:
deserializein classMobEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_6933Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)Vnamed deserializeLnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
-
method_7179
- Overrides:
method_7179in classLivingEntity- Mappings:
Namespace Name Mixin selector official rLpr;r(Lpk;)Zintermediary method_7179Lnet/minecraft/class_1752;method_7179(Lnet/minecraft/class_1745;)Znamed method_7179Lnet/minecraft/entity/LivingEntity;method_7179(Lnet/minecraft/entity/Entity;)Z
-
handleStatus
- Overrides:
handleStatusin classMobEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(B)Vintermediary method_6916Lnet/minecraft/class_1745;method_6916(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
method_7649
- Mappings:
Namespace Name Mixin selector official nLty;n()Ltf;intermediary method_7649Lnet/minecraft/class_1869;method_7649()Lnet/minecraft/class_1841;named method_7649Lnet/minecraft/entity/passive/IronGolemEntity;method_7649()Lnet/minecraft/village/Village;
-
getAttackTicksLeft
- Mappings:
Namespace Name Mixin selector official clLty;cl()Iintermediary method_7645Lnet/minecraft/class_1869;method_7645()Inamed getAttackTicksLeftLnet/minecraft/entity/passive/IronGolemEntity;getAttackTicksLeft()I
-
setLookingAtVillager
public void setLookingAtVillager(boolean lookingAtVillager)- Mappings:
Namespace Name Mixin selector official aLty;a(Z)Vintermediary method_7644Lnet/minecraft/class_1869;method_7644(Z)Vnamed setLookingAtVillagerLnet/minecraft/entity/passive/IronGolemEntity;setLookingAtVillager(Z)V
-
getHurtSound
- Overrides:
getHurtSoundin classGolemEntity- Mappings:
Namespace Name Mixin selector official boLpr;bo()Ljava/lang/String;intermediary method_7137Lnet/minecraft/class_1752;method_7137()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classGolemEntity- Mappings:
Namespace Name Mixin selector official bpLpr;bp()Ljava/lang/String;intermediary method_7138Lnet/minecraft/class_1752;method_7138()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Lcj;Lafh;)Vintermediary method_6932Lnet/minecraft/class_1745;method_6932(Lnet/minecraft/class_1372;Lnet/minecraft/class_160;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
method_7106
protected void method_7106(boolean bool, int int2)- Overrides:
method_7106in classMobEntity- Mappings:
Namespace Name Mixin selector official bLpr;b(ZI)Vintermediary method_7106Lnet/minecraft/class_1752;method_7106(ZI)Vnamed method_7106Lnet/minecraft/entity/LivingEntity;method_7106(ZI)V
-
getLookingAtVillagerTicks
public int getLookingAtVillagerTicks()- Mappings:
Namespace Name Mixin selector official cmLty;cm()Iintermediary method_7646Lnet/minecraft/class_1869;method_7646()Inamed getLookingAtVillagerTicksLnet/minecraft/entity/passive/IronGolemEntity;getLookingAtVillagerTicks()I
-
isPlayerCreated
public boolean isPlayerCreated()- Mappings:
Namespace Name Mixin selector official cnLty;cn()Zintermediary method_7647Lnet/minecraft/class_1869;method_7647()Znamed isPlayerCreatedLnet/minecraft/entity/passive/IronGolemEntity;isPlayerCreated()Z
-
setPlayerCreated
public void setPlayerCreated(boolean playerCreated)- Mappings:
Namespace Name Mixin selector official lLty;l(Z)Vintermediary method_7648Lnet/minecraft/class_1869;method_7648(Z)Vnamed setPlayerCreatedLnet/minecraft/entity/passive/IronGolemEntity;setPlayerCreated(Z)V
-
onKilled
- Overrides:
onKilledin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLpr;a(Low;)Vintermediary method_7089Lnet/minecraft/class_1752;method_7089(Lnet/minecraft/class_1733;)Vnamed onKilledLnet/minecraft/entity/LivingEntity;onKilled(Lnet/minecraft/entity/damage/DamageSource;)V
-