net.minecraft.world.entity.monster

public class Guardian

extends Monster

All mapped superinterfaces:

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

cmt
net.minecraft.world.entity.monster.Guardian
net.minecraft.class_1577
net.minecraft.entity.mob.GuardianEntity
net.minecraft.world.entity.monster.EntityGuardian

Field summary

Modifier and TypeField
protected static final int
b
ATTACK_TIME
field_30470
WARMUP_TIME
private static final EntityDataAccessor<Boolean>
a
DATA_ID_MOVING
field_7280
SPIKES_RETRACTED
private static final EntityDataAccessor<Integer>
d
DATA_ID_ATTACK_TARGET
field_7290
BEAM_TARGET_ID
private float
bZ
clientSideTailAnimation
field_7286
tailAngle
private float
ca
clientSideTailAnimationO
field_7284
prevTailAngle
private float
cb
clientSideTailAnimationSpeed
field_7281
spikesExtensionRate
private float
cc
clientSideSpikesAnimation
field_7285
spikesExtension
private float
cd
clientSideSpikesAnimationO
field_7287
prevSpikesExtension
private LivingEntity
ce
clientSideCachedAttackTarget
field_7288
cachedBeamTarget
private int
cf
clientSideAttackTime
field_7282
beamTicks
private boolean
cg
clientSideTouchedGround
field_7283
flopping
protected RandomStrollGoal
c
randomStrollGoal
field_7289
wanderGoal

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
B()
registerGoals()
method_5959()
initGoals()
public static AttributeSupplier$Builder
x()
createAttributes()
method_26915()
createGuardianAttributes()
protected PathNavigation
b(dhi arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
go()
isMoving()
method_7058()
areSpikesRetracted()
void
x(boolean arg0)
setMoving(boolean arg0)
method_7054(boolean arg0)
setSpikesRetracted(boolean retracted)
public int
p()
getAttackDuration()
method_7055()
getWarmupTime()
void
b(int arg0)
setActiveAttackTarget(int arg0)
method_7060(int arg0)
setBeamTarget(int entityId)
public boolean
gp()
hasActiveAttackTarget()
method_7063()
hasBeamTarget()
public LivingEntity
gq()
getActiveAttackTarget()
method_7052()
getBeamTarget()
public void
a(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public int
Q()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected Entity$MovementEmission
bg()
getMovementEmission()
method_33570()
getMoveEffect()
public float
a(jh arg0, dhl arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
public void
d_()
aiStep()
method_6007()
tickMovement()
protected SoundEvent
t()
getFlopSound()
method_7062()
getFlopSound()
public float
J(float arg0)
getTailAnimation(float arg0)
method_7057(float arg0)
getTailAngle(float tickDelta)
public float
K(float arg0)
getSpikesAnimation(float arg0)
method_7053(float arg0)
getSpikesExtension(float tickDelta)
public float
L(float arg0)
getAttackAnimationScale(float arg0)
method_7061(float arg0)
getBeamProgress(float tickDelta)
public float
gr()
getClientSideAttackTime()
method_48161()
getBeamTicks()
public boolean
a(dhl arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
public static boolean
b(bvr<? extends cmt> arg0, dhj arg1, bvq arg2, jh arg3, bam arg4)
checkGuardianSpawnRules(EntityType<? extends Guardian> arg0, LevelAccessor arg1, EntitySpawnReason 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)
public boolean
a(ash arg0, bua arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
public int
Z()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
public void
a_(fby arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)