net.minecraft.world.entity.monster

public class Guardian

extends Monster

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, Enemy

cjz
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
cc
clientSideTailAnimation
field_7286
tailAngle
f_32798_
private float
cd
clientSideTailAnimationO
field_7284
prevTailAngle
f_32799_
private float
ce
clientSideTailAnimationSpeed
field_7281
spikesExtensionRate
f_32800_
private float
cf
clientSideSpikesAnimation
field_7285
spikesExtension
f_32801_
private float
cg
clientSideSpikesAnimationO
field_7287
prevSpikesExtension
f_32802_
private LivingEntity
ch
clientSideCachedAttackTarget
field_7288
cachedBeamTarget
f_32803_
private int
ci
clientSideAttackTime
field_7282
beamTicks
f_32804_
private boolean
cj
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
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
gk()
createAttributes()
method_26915()
createGuardianAttributes()
m_32853_()
protected PathNavigation
b(dcw arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
protected void
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public boolean
gl()
isMoving()
method_7058()
areSpikesRetracted()
m_32854_()
void
x(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
gm()
hasActiveAttackTarget()
method_7063()
hasBeamTarget()
m_32855_()
public LivingEntity
gn()
getActiveAttackTarget()
method_7052()
getBeamTarget()
m_32856_()
public void
a(ajw<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public int
R()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_8100_()
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(brk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
n_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected Entity$MovementEmission
bc()
getMovementEmission()
method_33570()
getMoveEffect()
m_142319_()
public float
a(jd arg0, dcz 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
m_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected SoundEvent
x()
getFlopSound()
method_7062()
getFlopSound()
m_7868_()
public float
H(float arg0)
getTailAnimation(float arg0)
method_7057(float arg0)
getTailAngle(float tickDelta)
m_32863_(float arg0)
public float
I(float arg0)
getSpikesAnimation(float arg0)
method_7053(float arg0)
getSpikesExtension(float tickDelta)
m_32865_(float arg0)
public float
J(float arg0)
getAttackAnimationScale(float arg0)
method_7061(float arg0)
getBeamProgress(float tickDelta)
m_32812_(float arg0)
public float
go()
getClientSideAttackTime()
method_48161()
getBeamTicks()
m_264437_()
public boolean
a(dcz arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public static boolean
b(bsx<? extends cjz> arg0, dcx arg1, btr arg2, jd arg3, ayw 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(brk 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
ac()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_8132_()
public void
a(exc arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)