Package net.minecraft.entity.mob
Class GuardianEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.PathAwareEntity
net.minecraft.entity.mob.HostileEntity
net.minecraft.entity.mob.GuardianEntity
- All Implemented Interfaces:
CommandSource,EntityCategoryProvider,Monster
- Mappings:
Namespace Name official vtintermediary net/minecraft/class_2648named net/minecraft/entity/mob/GuardianEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static class(package private) static classNested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate LivingEntityprivate booleanprivate floatprivate floatprivate floatprivate floatprivate floatprivate WanderAroundGoalFields 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, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, 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, 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, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, 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, updateNeeded, 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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected booleancanClimb()booleancanSpawn()protected EntityNavigationcreateNavigation(World world) booleandamage(DamageSource source, float amount) protected voiddropLoot(boolean allowDrops, int lootingMultiplier) protected StringfloatgetBeamProgress(float tickDelta) protected Stringfloatprotected StringintintfloatfloatgetSpikesExtension(float tickDelta) floatgetTailAngle(float tickDelta) intbooleanprotected voidprotected voidbooleanisElder()private booleanmethod_11192(int int2) private voidmethod_11193(int int2, boolean bool) voidbooleanprotected booleanprotected voidvoidmethod_8364(int int2) protected voidmobTick()voidprivate voidsetBeamTarget(int progress) voidsetElder(boolean elder) private voidsetSpikesRetracted(boolean retracted) voidvoidtravel(float float2, float float3) voidMethods inherited from class net.minecraft.entity.mob.HostileEntity
getFallSound, getSplashSound, getSwimSound, shouldDropXp, tick, tryAttackMethods inherited from class net.minecraft.entity.PathAwareEntity
getPositionTarget, getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, isInWalkTargetRange, method_6173, method_6175, setPositionTarget, shouldContinue, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canBeLeashedBy, canImmediatelyDespawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, detachLeash, equip, getArmorStacks, getDefaultDrop, getJumpControl, getLimitPerChunk, getLookControl, getMainSlot, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasNoAi, initEquipment, initialize, isLeashed, isPersistent, isTameable, lookAtEntity, loot, method_2638, method_4470, method_4472, method_4485, method_5388, method_6162, method_8374, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, tickNewAi, turnHead, updateEnchantmentsMethods 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, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getRotationVector, getScoreboardTeam, getSoundPitch, getSoundVolume, getStatusEffectInstances, getStuckArrows, handleFallDamage, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isInSameTeam, isInTeam, isPushable, isSleeping, jump, kill, markEffectsDirty, method_10979, method_10981, method_2582, method_2607, method_2610, method_2634, method_2649, method_2658, method_6108, method_6109, method_6111, method_6117, method_6149, method_6150, method_6152, onKilled, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldAlwaysDropXp, shouldRenderName, startRiding, swingHand, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, burn, canAvoidTraps, canExplosionDestroyBlock, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, extinguish, fromClientNbt, fromNbt, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getPos, getRotationVector, getSavedEntityId, getTargetingMargin, 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, isSwimming, isTouchingLava, isTouchingWater, method_10948, method_10965, method_6097, method_6344, move, onKilledOther, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInLava, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setStat, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportToDimension, tickFire, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
spikesExtension
private float spikesExtension- Mappings:
Namespace Name Mixin selector official aLvt;a:Fintermediary field_12072Lnet/minecraft/class_2648;field_12072:Fnamed spikesExtensionLnet/minecraft/entity/mob/GuardianEntity;spikesExtension:F
-
prevSpikesExtension
private float prevSpikesExtension- Mappings:
Namespace Name Mixin selector official bLvt;b:Fintermediary field_12073Lnet/minecraft/class_2648;field_12073:Fnamed prevSpikesExtensionLnet/minecraft/entity/mob/GuardianEntity;prevSpikesExtension:F
-
spikesExtensionRate
private float spikesExtensionRate- Mappings:
Namespace Name Mixin selector official cLvt;c:Fintermediary field_12080Lnet/minecraft/class_2648;field_12080:Fnamed spikesExtensionRateLnet/minecraft/entity/mob/GuardianEntity;spikesExtensionRate:F
-
tailAngle
private float tailAngle- Mappings:
Namespace Name Mixin selector official bmLvt;bm:Fintermediary field_12074Lnet/minecraft/class_2648;field_12074:Fnamed tailAngleLnet/minecraft/entity/mob/GuardianEntity;tailAngle:F
-
prevTailAngle
private float prevTailAngle- Mappings:
Namespace Name Mixin selector official bnLvt;bn:Fintermediary field_12075Lnet/minecraft/class_2648;field_12075:Fnamed prevTailAngleLnet/minecraft/entity/mob/GuardianEntity;prevTailAngle:F
-
cachedBeamTarget
- Mappings:
Namespace Name Mixin selector official boLvt;bo:Lpr;intermediary field_12076Lnet/minecraft/class_2648;field_12076:Lnet/minecraft/class_1699;named cachedBeamTargetLnet/minecraft/entity/mob/GuardianEntity;cachedBeamTarget:Lnet/minecraft/entity/LivingEntity;
-
beamTicks
private int beamTicks- Mappings:
Namespace Name Mixin selector official bpLvt;bp:Iintermediary field_12077Lnet/minecraft/class_2648;field_12077:Inamed beamTicksLnet/minecraft/entity/mob/GuardianEntity;beamTicks:I
-
flopping
private boolean flopping- Mappings:
Namespace Name Mixin selector official bqLvt;bq:Zintermediary field_12078Lnet/minecraft/class_2648;field_12078:Znamed floppingLnet/minecraft/entity/mob/GuardianEntity;flopping:Z
-
wanderAroundGoal
- Mappings:
Namespace Name Mixin selector official brLvt;br:Lrz;intermediary field_12079Lnet/minecraft/class_2648;field_12079:Lnet/minecraft/class_917;named wanderAroundGoalLnet/minecraft/entity/mob/GuardianEntity;wanderAroundGoal:Lnet/minecraft/entity/ai/goal/WanderAroundGoal;
-
-
Constructor Details
-
GuardianEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)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
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classHostileEntity- Mappings:
Namespace Name Mixin selector official aXLpr;aX()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official bLpk;b(Ldn;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
method_11192
private boolean method_11192(int int2) - Mappings:
Namespace Name Mixin selector official aLvt;a(I)Zintermediary method_11192Lnet/minecraft/class_2648;method_11192(I)Znamed method_11192Lnet/minecraft/entity/mob/GuardianEntity;method_11192(I)Z
-
method_11193
private void method_11193(int int2, boolean bool) - Mappings:
Namespace Name Mixin selector official aLvt;a(IZ)Vintermediary method_11193Lnet/minecraft/class_2648;method_11193(IZ)Vnamed method_11193Lnet/minecraft/entity/mob/GuardianEntity;method_11193(IZ)V
-
areSpikesRetracted
public boolean areSpikesRetracted()- Mappings:
Namespace Name Mixin selector official nLvt;n()Zintermediary method_11205Lnet/minecraft/class_2648;method_11205()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_11204Lnet/minecraft/class_2648;method_11204(Z)Vnamed setSpikesRetractedLnet/minecraft/entity/mob/GuardianEntity;setSpikesRetracted(Z)V
-
getWarmupTime
public int getWarmupTime()- Mappings:
Namespace Name Mixin selector official cmLvt;cm()Iintermediary method_11199Lnet/minecraft/class_2648;method_11199()Inamed getWarmupTimeLnet/minecraft/entity/mob/GuardianEntity;getWarmupTime()I
-
isElder
public boolean isElder()- Mappings:
Namespace Name Mixin selector official cnLvt;cn()Zintermediary method_11200Lnet/minecraft/class_2648;method_11200()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_11197Lnet/minecraft/class_2648;method_11197(Z)Vnamed setElderLnet/minecraft/entity/mob/GuardianEntity;setElder(Z)V
-
method_11201
- Mappings:
Namespace Name Mixin selector official coLvt;co()Vintermediary method_11201Lnet/minecraft/class_2648;method_11201()Vnamed method_11201Lnet/minecraft/entity/mob/GuardianEntity;method_11201()V
-
setBeamTarget
private void setBeamTarget(int progress) - Mappings:
Namespace Name Mixin selector official bLvt;b(I)Vintermediary method_11198Lnet/minecraft/class_2648;method_11198(I)Vnamed setBeamTargetLnet/minecraft/entity/mob/GuardianEntity;setBeamTarget(I)V
-
hasBeamTarget
public boolean hasBeamTarget()- Mappings:
Namespace Name Mixin selector official cpLvt;cp()Zintermediary method_11202Lnet/minecraft/class_2648;method_11202()Znamed hasBeamTargetLnet/minecraft/entity/mob/GuardianEntity;hasBeamTarget()Z
-
getBeamTarget
- Mappings:
Namespace Name Mixin selector official cqLvt;cq()Lpr;intermediary method_11203Lnet/minecraft/class_2648;method_11203()Lnet/minecraft/class_1699;named getBeamTargetLnet/minecraft/entity/mob/GuardianEntity;getBeamTarget()Lnet/minecraft/entity/LivingEntity;
-
method_8364
public void method_8364(int int2) - Overrides:
method_8364in classEntity- Mappings:
Namespace Name Mixin selector official iLpk;i(I)Vintermediary method_8364Lnet/minecraft/class_864;method_8364(I)Vnamed method_8364Lnet/minecraft/entity/Entity;method_8364(I)V
-
getMinAmbientSoundDelay
public int getMinAmbientSoundDelay()- Overrides:
getMinAmbientSoundDelayin classMobEntity- Mappings:
Namespace Name Mixin selector official wLps;w()Iintermediary method_2594Lnet/minecraft/class_871;method_2594()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_2603Lnet/minecraft/class_871;method_2603()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_2604Lnet/minecraft/class_1699;method_2604()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_2605Lnet/minecraft/class_1699;method_2605()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_2544Lnet/minecraft/class_864;method_2544()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
getPathfindingFavor
- Overrides:
getPathfindingFavorin classHostileEntity- Mappings:
Namespace Name Mixin selector official aLpy;a(Lcj;)Fintermediary method_10989Lnet/minecraft/class_877;method_10989(Lnet/minecraft/class_2552;)Fnamed getPathfindingFavorLnet/minecraft/entity/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;)F
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classHostileEntity- Mappings:
Namespace Name Mixin selector official mLpr;m()Vintermediary method_2651Lnet/minecraft/class_1699;method_2651()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
getSpikesExtension
- Mappings:
Namespace Name Mixin selector official aLvt;a(F)Fintermediary method_11191Lnet/minecraft/class_2648;method_11191(F)Fnamed getSpikesExtensionLnet/minecraft/entity/mob/GuardianEntity;getSpikesExtension(F)F
-
getTailAngle
- Mappings:
Namespace Name Mixin selector official pLvt;p(F)Fintermediary method_11206Lnet/minecraft/class_2648;method_11206(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_11207Lnet/minecraft/class_2648;method_11207(F)Fnamed getBeamProgressLnet/minecraft/entity/mob/GuardianEntity;getBeamProgress(F)F
-
mobTick
protected void mobTick() -
dropLoot
protected void dropLoot(boolean allowDrops, int lootingMultiplier) -
method_4473
protected void method_4473()- Overrides:
method_4473in classLivingEntity- Mappings:
Namespace Name Mixin selector official bqLpr;bq()Vintermediary method_4473Lnet/minecraft/class_1699;method_4473()Vnamed method_4473Lnet/minecraft/entity/LivingEntity;method_4473()V
-
method_3087
protected boolean method_3087()- Overrides:
method_3087in classHostileEntity- Mappings:
Namespace Name Mixin selector official n_Lvv;n_()Zintermediary method_3087Lnet/minecraft/class_975;method_3087()Znamed method_3087Lnet/minecraft/entity/mob/HostileEntity;method_3087()Z
-
method_2469
public boolean method_2469()- Overrides:
method_2469in classMobEntity- Mappings:
Namespace Name Mixin selector official bSLps;bS()Zintermediary method_2469Lnet/minecraft/class_871;method_2469()Znamed method_2469Lnet/minecraft/entity/mob/MobEntity;method_2469()Z
-
canSpawn
public boolean canSpawn()- Overrides:
canSpawnin classHostileEntity- Mappings:
Namespace Name Mixin selector official bRLps;bR()Zintermediary method_2637Lnet/minecraft/class_871;method_2637()Znamed canSpawnLnet/minecraft/entity/mob/MobEntity;canSpawn()Z
-
damage
- Overrides:
damagein classHostileEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Low;F)Zintermediary method_2499Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;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_2636Lnet/minecraft/class_871;method_2636()Inamed getLookPitchSpeedLnet/minecraft/entity/mob/MobEntity;getLookPitchSpeed()I
-
travel
public void travel(float float2, float float3) - Overrides:
travelin classLivingEntity- Mappings:
Namespace Name Mixin selector official gLpr;g(FF)Vintermediary method_2657Lnet/minecraft/class_1699;method_2657(FF)Vnamed travelLnet/minecraft/entity/LivingEntity;travel(FF)V
-