Package net.minecraft.entity.mob
Class GuardianEntity
- All Implemented Interfaces:
CommandSource,EntityCategoryProvider,Monster
public class GuardianEntity extends HostileEntity
- Mappings:
Namespace Name official vtintermediary net/minecraft/class_1922named net/minecraft/entity/mob/GuardianEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classGuardianEntity.class_1924(package private) static classGuardianEntity.FireBeamGoal(package private) static classGuardianEntity.GuardianMoveControlNested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
Fields Modifier and Type Field Description private intbeamTicksprivate LivingEntityfield_8216private WanderAroundGoalfield_8219private booleanfloppingprivate floatprevSpikesExtensionprivate floatprevTailAngleprivate floatspikesExtensionprivate floatspikesExtensionRateprivate floattailAngleFields 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, zFields inherited from interface net.minecraft.entity.mob.Monster
MONSTER_PREDICATE, VISIBLE_MONSTER_PREDICATE -
Constructor Summary
Constructors Constructor Description GuardianEntity(World world) -
Method Summary
Modifier and Type Method Description booleanareSpikesRetracted()protected booleancanClimb()booleandamage(DamageSource source, float amount)voiddeserialize(CompoundTag tag)protected StringgetAmbientSound()floatgetBeamProgress(float tickDelta)protected StringgetDeathSound()floatgetEyeHeight()protected StringgetHurtSound()intgetLookPitchSpeed()intgetMinAmbientSoundDelay()floatgetSpikesExtension(float tickDelta)floatgetTailAngle(float tickDelta)intgetWarmupTime()booleanhasBeamTarget()protected voidinitDataTracker()protected voidinitializeAttributes()booleanisElder()voidmethod_7049(int int2)protected voidmethod_7106(boolean bool, int int2)protected voidmethod_7139()voidmethod_7154(float float2, float float3)booleanmethod_7202()booleanmethod_7203()floatmethod_7239(BlockPos blockPos)private booleanmethod_7852(int int2)private voidmethod_7853(int int2, boolean bool)voidmethod_7861()LivingEntitymethod_7863()protected booleanmethod_7870()protected voidmobTick()protected TypenewNavigation(World world)voidserialize(CompoundTag tag)private voidsetBeamTarget(int progress)voidsetElder(boolean elder)private voidsetSpikesRetracted(boolean retracted)voidtickMovement()Methods inherited from class net.minecraft.entity.mob.HostileEntity
getFallSound, getSplashSound, getSwimSound, method_7123, method_7179, tickMethods inherited from class net.minecraft.entity.PassivePathFindingEntity
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, canAttackEntity, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, detachLeash, equip, getArmorStacks, getAttackTarget, getDefaultDrop, getJumpControl, getLimitPerChunk, getLookControl, getMainSlot, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getVisibilityCache, handleStatus, hasNoAi, hasPositionTarget, initEquipment, isPersistent, isTameable, lookAtEntity, loot, method_7096, method_7104, method_7156, method_7164, method_7177, method_7184, method_7187, method_7188, method_7191, method_7195, method_7204, method_7206, method_7210, method_7214, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setAttackTarget, setCanPickUpLoot, setForwardSpeed, setPersistent, tickNewAi, updateEnchantmentsMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyDamage, canSee, clearStatusEffects, collides, damageArmor, destroy, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttributeContainer, getDamageEnchantmentTarget, getDamageTracker, getEffectInstance, getHandSwingProgress, getHeadRotation, getHealth, getLastHurtTimestamp, getMaxHealth, getRandom, getRotationVector, getScoreboardTeam, getStuckArrows, handleFallDamage, 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_7124, method_7126, method_7128, method_7129, method_7130, method_7132, method_7134, method_7142, method_7146, method_7149, method_7153, method_7162, method_7166, method_7171, method_7176, method_7178, onKilled, pushAway, 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, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, doesNotCollide, doesRenderOnFire, equals, extinguish, fromClientTag, fromTag, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, getRotationVector, getSavedEntityId, 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_7051, method_7058, move, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, playStepSound, 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
-
spikesExtension
private float spikesExtension- Mappings:
Namespace Name Mixin selector official aLvt;a:Fintermediary field_8212Lnet/minecraft/class_1922;field_8212:Fnamed spikesExtensionLnet/minecraft/entity/mob/GuardianEntity;spikesExtension:F
-
prevSpikesExtension
private float prevSpikesExtension- Mappings:
Namespace Name Mixin selector official bLvt;b:Fintermediary field_8213Lnet/minecraft/class_1922;field_8213:Fnamed prevSpikesExtensionLnet/minecraft/entity/mob/GuardianEntity;prevSpikesExtension:F
-
spikesExtensionRate
private float spikesExtensionRate- Mappings:
Namespace Name Mixin selector official cLvt;c:Fintermediary field_8220Lnet/minecraft/class_1922;field_8220:Fnamed spikesExtensionRateLnet/minecraft/entity/mob/GuardianEntity;spikesExtensionRate:F
-
tailAngle
private float tailAngle- Mappings:
Namespace Name Mixin selector official bmLvt;bm:Fintermediary field_8214Lnet/minecraft/class_1922;field_8214:Fnamed tailAngleLnet/minecraft/entity/mob/GuardianEntity;tailAngle:F
-
prevTailAngle
private float prevTailAngle- Mappings:
Namespace Name Mixin selector official bnLvt;bn:Fintermediary field_8215Lnet/minecraft/class_1922;field_8215:Fnamed prevTailAngleLnet/minecraft/entity/mob/GuardianEntity;prevTailAngle:F
-
field_8216
- Mappings:
Namespace Name Mixin selector official boLvt;bo:Lpr;intermediary field_8216Lnet/minecraft/class_1922;field_8216:Lnet/minecraft/class_1752;named field_8216Lnet/minecraft/entity/mob/GuardianEntity;field_8216:Lnet/minecraft/entity/LivingEntity;
-
beamTicks
private int beamTicks- Mappings:
Namespace Name Mixin selector official bpLvt;bp:Iintermediary field_8217Lnet/minecraft/class_1922;field_8217:Inamed beamTicksLnet/minecraft/entity/mob/GuardianEntity;beamTicks:I
-
flopping
private boolean flopping- Mappings:
Namespace Name Mixin selector official bqLvt;bq:Zintermediary field_8218Lnet/minecraft/class_1922;field_8218:Znamed floppingLnet/minecraft/entity/mob/GuardianEntity;flopping:Z
-
field_8219
- Mappings:
Namespace Name Mixin selector official brLvt;br:Lrz;intermediary field_8219Lnet/minecraft/class_1922;field_8219:Lnet/minecraft/class_1811;named field_8219Lnet/minecraft/entity/mob/GuardianEntity;field_8219:Lnet/minecraft/entity/ai/goal/WanderAroundGoal;
-
-
Constructor Details
-
GuardianEntity
- 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
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classHostileEntity- Mappings:
Namespace Name Mixin selector official aXLpr;aX()Vintermediary method_7097Lnet/minecraft/class_1752;method_7097()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
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
-
serialize
-
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
-
method_7852
private boolean method_7852(int int2)- Mappings:
Namespace Name Mixin selector official aLvt;a(I)Zintermediary method_7852Lnet/minecraft/class_1922;method_7852(I)Znamed method_7852Lnet/minecraft/entity/mob/GuardianEntity;method_7852(I)Z
-
method_7853
private void method_7853(int int2, boolean bool)- Mappings:
Namespace Name Mixin selector official aLvt;a(IZ)Vintermediary method_7853Lnet/minecraft/class_1922;method_7853(IZ)Vnamed method_7853Lnet/minecraft/entity/mob/GuardianEntity;method_7853(IZ)V
-
areSpikesRetracted
public boolean areSpikesRetracted()- Mappings:
Namespace Name Mixin selector official nLvt;n()Zintermediary method_7865Lnet/minecraft/class_1922;method_7865()Znamed areSpikesRetractedLnet/minecraft/entity/mob/GuardianEntity;areSpikesRetracted()Z
-
setSpikesRetracted
private void setSpikesRetracted(boolean retracted)- Mappings:
Namespace Name Mixin selector official lLvt;l(Z)Vintermediary method_7864Lnet/minecraft/class_1922;method_7864(Z)Vnamed setSpikesRetractedLnet/minecraft/entity/mob/GuardianEntity;setSpikesRetracted(Z)V
-
getWarmupTime
public int getWarmupTime()- Mappings:
Namespace Name Mixin selector official cmLvt;cm()Iintermediary method_7859Lnet/minecraft/class_1922;method_7859()Inamed getWarmupTimeLnet/minecraft/entity/mob/GuardianEntity;getWarmupTime()I
-
isElder
public boolean isElder()- Mappings:
Namespace Name Mixin selector official cnLvt;cn()Zintermediary method_7860Lnet/minecraft/class_1922;method_7860()Znamed isElderLnet/minecraft/entity/mob/GuardianEntity;isElder()Z
-
setElder
public void setElder(boolean elder)- Mappings:
Namespace Name Mixin selector official aLvt;a(Z)Vintermediary method_7857Lnet/minecraft/class_1922;method_7857(Z)Vnamed setElderLnet/minecraft/entity/mob/GuardianEntity;setElder(Z)V
-
method_7861
- Mappings:
Namespace Name Mixin selector official coLvt;co()Vintermediary method_7861Lnet/minecraft/class_1922;method_7861()Vnamed method_7861Lnet/minecraft/entity/mob/GuardianEntity;method_7861()V
-
setBeamTarget
private void setBeamTarget(int progress)- Mappings:
Namespace Name Mixin selector official bLvt;b(I)Vintermediary method_7858Lnet/minecraft/class_1922;method_7858(I)Vnamed setBeamTargetLnet/minecraft/entity/mob/GuardianEntity;setBeamTarget(I)V
-
hasBeamTarget
public boolean hasBeamTarget()- Mappings:
Namespace Name Mixin selector official cpLvt;cp()Zintermediary method_7862Lnet/minecraft/class_1922;method_7862()Znamed hasBeamTargetLnet/minecraft/entity/mob/GuardianEntity;hasBeamTarget()Z
-
method_7863
- Mappings:
Namespace Name Mixin selector official cqLvt;cq()Lpr;intermediary method_7863Lnet/minecraft/class_1922;method_7863()Lnet/minecraft/class_1752;named method_7863Lnet/minecraft/entity/mob/GuardianEntity;method_7863()Lnet/minecraft/entity/LivingEntity;
-
method_7049
public void method_7049(int int2)- Overrides:
method_7049in classEntity- Mappings:
Namespace Name Mixin selector official iLpk;i(I)Vintermediary method_7049Lnet/minecraft/class_1745;method_7049(I)Vnamed method_7049Lnet/minecraft/entity/Entity;method_7049(I)V
-
getMinAmbientSoundDelay
public int getMinAmbientSoundDelay()- Overrides:
getMinAmbientSoundDelayin classMobEntity- Mappings:
Namespace Name Mixin selector official wLps;w()Iintermediary method_7228Lnet/minecraft/class_1753;method_7228()Inamed getMinAmbientSoundDelayLnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official zLps;z()Ljava/lang/String;intermediary method_7231Lnet/minecraft/class_1753;method_7231()Ljava/lang/String;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
-
getHurtSound
- Overrides:
getHurtSoundin classHostileEntity- 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 classHostileEntity- 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;
-
canClimb
protected boolean canClimb() -
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official aSLpk;aS()Fintermediary method_6965Lnet/minecraft/class_1745;method_6965()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
method_7239
- Overrides:
method_7239in classHostileEntity- Mappings:
Namespace Name Mixin selector official aLpy;a(Lcj;)Fintermediary method_7239Lnet/minecraft/class_1760;method_7239(Lnet/minecraft/class_1372;)Fnamed method_7239Lnet/minecraft/entity/PassivePathFindingEntity;method_7239(Lnet/minecraft/util/math/BlockPos;)F
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classHostileEntity- Mappings:
Namespace Name Mixin selector official mLpr;m()Vintermediary method_7169Lnet/minecraft/class_1752;method_7169()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
getSpikesExtension
- Mappings:
Namespace Name Mixin selector official aLvt;a(F)Fintermediary method_7851Lnet/minecraft/class_1922;method_7851(F)Fnamed getSpikesExtensionLnet/minecraft/entity/mob/GuardianEntity;getSpikesExtension(F)F
-
getTailAngle
- Mappings:
Namespace Name Mixin selector official pLvt;p(F)Fintermediary method_7866Lnet/minecraft/class_1922;method_7866(F)Fnamed getTailAngleLnet/minecraft/entity/mob/GuardianEntity;getTailAngle(F)F
-
getBeamProgress
public float getBeamProgress(float tickDelta)- Mappings:
Namespace Name Mixin selector official qLvt;q(F)Fintermediary method_7867Lnet/minecraft/class_1922;method_7867(F)Fnamed getBeamProgressLnet/minecraft/entity/mob/GuardianEntity;getBeamProgress(F)F
-
mobTick
protected void mobTick() -
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
-
method_7139
protected void method_7139()- Overrides:
method_7139in classLivingEntity- Mappings:
Namespace Name Mixin selector official bqLpr;bq()Vintermediary method_7139Lnet/minecraft/class_1752;method_7139()Vnamed method_7139Lnet/minecraft/entity/LivingEntity;method_7139()V
-
method_7870
protected boolean method_7870()- Overrides:
method_7870in classHostileEntity- Mappings:
Namespace Name Mixin selector official n_Lvv;n_()Zintermediary method_7870Lnet/minecraft/class_1927;method_7870()Znamed method_7870Lnet/minecraft/entity/mob/HostileEntity;method_7870()Z
-
method_7203
public boolean method_7203()- Overrides:
method_7203in classMobEntity- Mappings:
Namespace Name Mixin selector official bSLps;bS()Zintermediary method_7203Lnet/minecraft/class_1753;method_7203()Znamed method_7203Lnet/minecraft/entity/mob/MobEntity;method_7203()Z
-
method_7202
public boolean method_7202()- Overrides:
method_7202in classHostileEntity- Mappings:
Namespace Name Mixin selector official bRLps;bR()Zintermediary method_7202Lnet/minecraft/class_1753;method_7202()Znamed method_7202Lnet/minecraft/entity/mob/MobEntity;method_7202()Z
-
damage
- Overrides:
damagein classHostileEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Low;F)Zintermediary method_6937Lnet/minecraft/class_1745;method_6937(Lnet/minecraft/class_1733;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
getLookPitchSpeed
public int getLookPitchSpeed()- Overrides:
getLookPitchSpeedin classMobEntity- Mappings:
Namespace Name Mixin selector official bQLps;bQ()Iintermediary method_7201Lnet/minecraft/class_1753;method_7201()Inamed getLookPitchSpeedLnet/minecraft/entity/mob/MobEntity;getLookPitchSpeed()I
-
method_7154
public void method_7154(float float2, float float3)- Overrides:
method_7154in classLivingEntity- Mappings:
Namespace Name Mixin selector official gLpr;g(FF)Vintermediary method_7154Lnet/minecraft/class_1752;method_7154(FF)Vnamed method_7154Lnet/minecraft/entity/LivingEntity;method_7154(FF)V
-