net.minecraft.world.entity.monster

public class Guardian

extends Monster

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, Enemy

bze
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
z()
registerGoals()
method_5959()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
gd()
createAttributes()
method_26915()
createGuardianAttributes()
m_32853_()
protected PathNavigation
b(cpv 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
dQ()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
m_6040_()
public MobType
eR()
getMobType()
method_6046()
getGroup()
m_6336_()
public boolean
ge()
isMoving()
method_7058()
areSpikesRetracted()
m_32854_()
void
w(boolean arg0)
setMoving(boolean arg0)
method_7054(boolean arg0)
setSpikesRetracted(boolean retracted)
m_32861_(boolean arg0)
public int
t()
getAttackDuration()
method_7055()
getWarmupTime()
m_7552_()
void
b(int arg0)
setActiveAttackTarget(int arg0)
method_7060(int arg0)
setBeamTarget(int entityId)
m_32817_(int arg0)
public boolean
gf()
hasActiveAttackTarget()
method_7063()
hasBeamTarget()
m_32855_()
public LivingEntity
gg()
getActiveAttackTarget()
method_7052()
getBeamTarget()
m_32856_()
public void
a(aee<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public int
O()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_8100_()
protected SoundEvent
w()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(bho arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected Entity$MovementEmission
aU()
getMovementEmission()
method_33570()
getMoveEffect()
m_142319_()
protected float
b(bjs arg0, bir 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(gw arg0, cpy 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
y()
getFlopSound()
method_7062()
getFlopSound()
m_7868_()
public float
E(float arg0)
getTailAnimation(float arg0)
method_7057(float arg0)
getTailAngle(float tickDelta)
m_32863_(float arg0)
public float
F(float arg0)
getSpikesAnimation(float arg0)
method_7053(float arg0)
getSpikesExtension(float tickDelta)
m_32865_(float arg0)
public float
G(float arg0)
getAttackAnimationScale(float arg0)
method_7061(float arg0)
getBeamProgress(float tickDelta)
m_32812_(float arg0)
public float
gh()
getClientSideAttackTime()
method_48161()
getBeamTicks()
m_264437_()
public boolean
a(cpy arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public static boolean
b(biu<? extends bze> arg0, cpw arg1, bjk arg2, gw arg3, asc 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(bho 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
Y()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_8132_()
public void
h(ehn arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
protected org.joml.Vector3f
a(biq arg0, bir arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
m_292594_(C_507_ p_297893_, C_510_ p_297810_, float arg2)