net.minecraft.world.entity.monster

public class Phantom

extends FlyingMob implements Enemy

All mapped superinterfaces:

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

cmy
net.minecraft.world.entity.monster.Phantom
net.minecraft.class_1593
net.minecraft.unmapped.C_xghtjqbw
net.minecraft.entity.mob.PhantomEntity
net.minecraft.entity.mob.PhantomEntity
net.minecraft.src.C_1030_
net.minecraft.world.entity.monster.EntityMonsterPatrolling

Field summary

Modifier and TypeField
public static final float
a
FLAP_DEGREES_PER_TICK
field_30475
f_jqseryog
field_30475
FLAP_DEGREES_PER_TICK
f_149721_
public static final int
b
TICKS_PER_FLAP
field_28641
f_yomimisq
WING_FLAP_TICKS
TICKS_PER_FLAP
f_149722_
private static final EntityDataAccessor<Integer>
c
ID_SIZE
field_7313
f_mfsdpwvz
SIZE
SIZE
f_33095_
Vec3
d
moveTargetPoint
field_7314
f_ninhbtbo
targetPosition
targetPosition
f_33097_
BlockPos
bY
anchorPoint
field_7312
f_mzmuicns
circlingCenter
circlingCenter
f_33098_
Phantom$AttackPhase
bZ
attackPhase
field_7315
f_vxkfiqyo
movementType
movementType
f_33096_

Constructor summary

ModifierConstructor
public (EntityType<? extends Phantom> p_33102_, Level world)

Method summary

Modifier and TypeMethod
public boolean
ba()
isFlapping()
method_5776()
m_gavkvalj()
isFlappingWings()
hasWings()
m_142039_()
protected BodyRotationControl
G()
createBodyControl()
method_5963()
m_mbyporyt()
createBodyControl()
createBodyControl()
m_7560_()
protected void
B()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
m_8099_()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
b(int arg0)
setPhantomSize(int arg0)
method_7091(int arg0)
m_xynsjfci(int arg0)
setPhantomSize(int size)
setPhantomSize(int size)
m_33108_(int arg0)
private void
t()
updatePhantomSizeInfo()
method_7097()
m_qsmmbmsk()
onSizeChanged()
onSizeChanged()
m_33155_()
public int
m()
getPhantomSize()
method_7084()
m_vbiamydm()
getPhantomSize()
getPhantomSize()
m_33172_()
public void
a(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_efnedaed(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public int
p()
getUniqueFlapTickOffset()
method_33588()
m_blndykop()
getWingFlapTickOffset()
getFlapTickOffset()
m_149736_()
protected boolean
X()
shouldDespawnInPeaceful()
method_23734()
m_mrbrckqf()
isDisallowedInPeaceful()
isDisallowedInPeaceful()
m_8028_()
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
public void
d_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
m_8107_()
public SpawnGroupData
a(dhy arg0, btg arg1, bvp arg2, bwy arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_bhyaesep arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_33127_, C_469_ p_368653_, C_345845_ p_33129_, C_542_ arg3)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
m_foqrqvze(double arg0)
shouldRender(double arg0)
shouldRender(double arg0)
m_6783_(double arg0)
public SoundSource
dn()
getSoundSource()
method_5634()
m_nsggwems()
getSoundCategory()
getSoundCategory()
m_5720_()
protected SoundEvent
u()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected SoundEvent
e(btz arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected float
fg()
getSoundVolume()
method_6107()
m_oafzlopj()
getSoundVolume()
getSoundVolume()
m_6121_()
public boolean
a(bvq<?> arg0)
canAttackType(EntityType<?> arg0)
method_5973(class_1299<?> arg0)
m_thnidwgf(C_ogavsvbr<?> arg0)
canTarget(EntityType<?> arg0)
canTarget(EntityType<?> arg0)
m_6549_(C_513_<?> arg0)
public EntityDimensions
e(bwr arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
m_qukpzlyx(C_ufdjspmk arg0)
getBaseDimensions(EntityPose arg0)
getDefaultDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)
boolean
a(ash arg0, bwf arg1, cgw arg2)
canAttack(ServerLevel arg0, LivingEntity arg1, TargetingConditions arg2)
method_64463(class_3218 arg0, class_1309 arg1, class_4051 arg2)
m_fvqarcie(C_bdwnwhiu arg0, C_usxaxydn arg1, C_cjtyhinh arg2)
testTargetPredicate(ServerWorld world, LivingEntity target, TargetPredicate predicate)
m_fvqarcie(ServerWorld world, LivingEntity entity, TargetPredicate arg2)
m_352057_(C_12_ p_367013_, C_524_ p_364315_, C_780_ arg2)