net.minecraft.world.entity.monster

public class Guardian

extends Monster

All mapped superinterfaces:

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

clv
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
bY
clientSideTailAnimation
field_7286
tailAngle
private float
bZ
clientSideTailAnimationO
field_7284
prevTailAngle
private float
ca
clientSideTailAnimationSpeed
field_7281
spikesExtensionRate
private float
cb
clientSideSpikesAnimation
field_7285
spikesExtension
private float
cc
clientSideSpikesAnimationO
field_7287
prevSpikesExtension
private LivingEntity
cd
clientSideCachedAttackTarget
field_7288
cachedBeamTarget
private int
ce
clientSideAttackTime
field_7282
beamTicks
private boolean
cf
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
E()
registerGoals()
method_5959()
initGoals()
public static AttributeSupplier$Builder
x()
createAttributes()
method_26915()
createGuardianAttributes()
protected PathNavigation
b(dgj arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
gs()
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
gt()
hasActiveAttackTarget()
method_7063()
hasBeamTarget()
public LivingEntity
gu()
getActiveAttackTarget()
method_7052()
getBeamTarget()
public void
a(ajy<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public int
T()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(btc 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(ji arg0, dgm 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
gv()
getClientSideAttackTime()
method_48161()
getBeamTicks()
public boolean
a(dgm arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
public static boolean
b(but<? extends clv> arg0, dgk arg1, bus arg2, ji arg3, azh 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(ard arg0, btc 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
ad()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
public void
a_(fbb arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)