net.minecraft.world.entity.monster

public class Guardian

extends Monster

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy

bhu
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
bT
clientSideTailAnimation
field_7286
tailAngle
f_32798_
private float
bU
clientSideTailAnimationO
field_7284
prevTailAngle
f_32799_
private float
bV
clientSideTailAnimationSpeed
field_7281
spikesExtensionRate
f_32800_
private float
bW
clientSideSpikesAnimation
field_7285
spikesExtension
f_32801_
private float
bX
clientSideSpikesAnimationO
field_7287
prevSpikesExtension
f_32802_
private LivingEntity
bY
clientSideCachedAttackTarget
field_7288
cachedBeamTarget
f_32803_
private int
bZ
clientSideAttackTime
field_7282
beamTicks
f_32804_
private boolean
ca
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
v()
registerGoals()
method_5959()
initGoals()
m_8099_()
initPathfinder()
public static AttributeSupplier$Builder
fw()
createAttributes()
method_26915()
createGuardianAttributes()
m_32853_()
protected PathNavigation
a(bwq 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_()
initDatawatcher()
public boolean
dr()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
m_6040_()
public MobType
ek()
getMobType()
method_6046()
getGroup()
m_6336_()
getMonsterType()
public boolean
fx()
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
fy()
hasActiveAttackTarget()
method_7063()
hasBeamTarget()
m_32855_()
public LivingEntity
fz()
getActiveAttackTarget()
method_7052()
getBeamTarget()
m_32856_()
public void
a(wf<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public int
J()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_8100_()
protected SoundEvent
q()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
getSoundAmbient()
protected SoundEvent
c(asq arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
v_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
getSoundDeath()
protected Entity$MovementEmission
aI()
getMovementEmission()
method_33570()
getMoveEffect()
m_142319_()
protected float
b(aug arg0, ath 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(gg arg0, bwt 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
u_()
aiStep()
method_6007()
tickMovement()
m_8107_()
movementTick()
protected SoundEvent
t()
getFlopSound()
method_7062()
getFlopSound()
m_7868_()
getSoundFlop()
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(bwt arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public static boolean
b(atk<? extends bhu> arg0, bwr arg1, aty arg2, gg arg3, Random arg4)
checkGuardianSpawnRules(EntityType<? extends Guardian> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20676(class_1299<? extends class_1577> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawn(EntityType<? extends GuardianEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_32836_(C_513_<? extends C_1017_> p_32837_, C_1598_ p_32838_, C_529_ p_32839_, C_4675_ p_32840_, Random p_32841_)
public boolean
a(asq 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)
damageEntity(DamageSource arg0, float arg1)
public int
eZ()
getMaxHeadXRot()
method_5978()
getLookPitchSpeed()
m_8132_()
public void
g(dna arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)