net.minecraft.world.entity.monster

public class Guardian

extends Monster

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy

btz
net.minecraft.world.entity.monster.Guardian
net.minecraft.class_1577
net.minecraft.entity.mob.GuardianEntity
net.minecraft.src.C_1017_
net.minecraft.world.entity.monster.EntityGuardian

Field summary

Modifier and TypeField
protected static final int
c
ATTACK_TIME
field_30470
WARMUP_TIME
f_149711_
private static final EntityDataAccessor<Boolean>
b
DATA_ID_MOVING
field_7280
SPIKES_RETRACTED
f_32797_
private static final EntityDataAccessor<Integer>
e
DATA_ID_ATTACK_TARGET
field_7290
BEAM_TARGET_ID
f_32807_
private float
bX
clientSideTailAnimation
field_7286
tailAngle
f_32798_
private float
bY
clientSideTailAnimationO
field_7284
prevTailAngle
f_32799_
private float
bZ
clientSideTailAnimationSpeed
field_7281
spikesExtensionRate
f_32800_
private float
ca
clientSideSpikesAnimation
field_7285
spikesExtension
f_32801_
private float
cb
clientSideSpikesAnimationO
field_7287
prevSpikesExtension
f_32802_
private LivingEntity
cc
clientSideCachedAttackTarget
field_7288
cachedBeamTarget
f_32803_
private int
cd
clientSideAttackTime
field_7282
beamTicks
f_32804_
private boolean
ce
clientSideTouchedGround
field_7283
flopping
f_32805_
protected RandomStrollGoal
d
randomStrollGoal
field_7289
wanderGoal
f_32806_

Constructor summary

ModifierConstructor
public (EntityType<? extends Guardian> p_32811_, Level arg1)

Method summary

Modifier and TypeMethod
protected void
u()
registerGoals()
method_5959()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
fM()
createAttributes()
method_26915()
createGuardianAttributes()
m_32853_()
protected PathNavigation
a(cjw arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public boolean
dG()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
m_6040_()
public MobType
eE()
getMobType()
method_6046()
getGroup()
m_6336_()
public boolean
fN()
isMoving()
method_7058()
areSpikesRetracted()
m_32854_()
void
v(boolean arg0)
setMoving(boolean arg0)
method_7054(boolean arg0)
setSpikesRetracted(boolean retracted)
m_32861_(boolean arg0)
public int
p()
getAttackDuration()
method_7055()
getWarmupTime()
m_7552_()
void
a(int arg0)
setActiveAttackTarget(int arg0)
method_7060(int arg0)
setBeamTarget(int entityId)
m_32817_(int arg0)
public boolean
fO()
hasActiveAttackTarget()
method_7063()
hasBeamTarget()
m_32855_()
public LivingEntity
fP()
getActiveAttackTarget()
method_7052()
getBeamTarget()
m_32856_()
public void
a(abn<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public int
K()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_8100_()
protected SoundEvent
r()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
c(bcz arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
c_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected Entity$MovementEmission
aS()
getMovementEmission()
method_33570()
getMoveEffect()
m_142319_()
protected float
b(bes arg0, bds arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_32844_, C_510_ arg1)
public float
a(gp arg0, cjz arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_5610_(C_4675_ p_32832_, C_1599_ arg1)
public void
b_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected SoundEvent
t()
getFlopSound()
method_7062()
getFlopSound()
m_7868_()
public float
z(float arg0)
getTailAnimation(float arg0)
method_7057(float arg0)
getTailAngle(float tickDelta)
m_32863_(float arg0)
public float
A(float arg0)
getSpikesAnimation(float arg0)
method_7053(float arg0)
getSpikesExtension(float tickDelta)
m_32865_(float arg0)
public float
B(float arg0)
getAttackAnimationScale(float arg0)
method_7061(float arg0)
getBeamProgress(float tickDelta)
m_32812_(float arg0)
public boolean
a(cjz arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public static boolean
b(bdv<? extends btz> arg0, cjx arg1, bek arg2, gp arg3, aoh arg4)
checkGuardianSpawnRules(EntityType<? extends Guardian> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, RandomSource arg4)
method_20676(class_1299<? extends class_1577> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<? extends GuardianEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_218990_(C_513_<? extends C_1017_> p_218991_, C_1598_ p_218992_, C_529_ p_218993_, C_4675_ p_218994_, C_212974_ p_218995_)
public boolean
a(bcz arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_32821_, float arg1)
public int
V()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_8132_()
public void
h(eae arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)