net.minecraft.world.entity.monster

public class Phantom

extends FlyingMob implements Enemy

All mapped superinterfaces:

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

cof
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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
ba()
isFlapping()
method_5776()
m_gavkvalj()
isFlappingWings()
hasWings()
protected BodyRotationControl
I()
createBodyControl()
method_5963()
m_mbyporyt()
createBodyControl()
createBodyControl()
protected void
D()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
protected void
a(akn$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)
public void
b(int arg0)
setPhantomSize(int arg0)
method_7091(int arg0)
m_xynsjfci(int arg0)
setPhantomSize(int size)
setPhantomSize(int size)
private void
n()
updatePhantomSizeInfo()
method_7097()
m_qsmmbmsk()
onSizeChanged()
onSizeChanged()
public int
j()
getPhantomSize()
method_7084()
m_vbiamydm()
getPhantomSize()
getPhantomSize()
public void
a(akj<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_efnedaed(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public int
m()
getUniqueFlapTickOffset()
method_33588()
m_blndykop()
getWingFlapTickOffset()
getFlapTickOffset()
protected boolean
aa()
shouldDespawnInPeaceful()
method_23734()
m_mrbrckqf()
isDisallowedInPeaceful()
isDisallowedInPeaceful()
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
public void
k_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
public SpawnGroupData
a(djr arg0, bub arg1, bwn arg2, bxw 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)
public void
a(tz arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
b(tz arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
m_foqrqvze(double arg0)
shouldRender(double arg0)
shouldRender(double arg0)
public SoundSource
dm()
getSoundSource()
method_5634()
m_nsggwems()
getSoundCategory()
getSoundCategory()
protected SoundEvent
u()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
protected SoundEvent
e(buu arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
protected float
fe()
getSoundVolume()
method_6107()
m_oafzlopj()
getSoundVolume()
getSoundVolume()
public boolean
a(bwo<?> arg0)
canAttackType(EntityType<?> arg0)
method_5973(class_1299<?> arg0)
m_thnidwgf(C_ogavsvbr<?> arg0)
canTarget(EntityType<?> arg0)
canTarget(EntityType<?> arg0)
public EntityDimensions
e(bxq arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
m_qukpzlyx(C_ufdjspmk arg0)
getBaseDimensions(EntityPose arg0)
getDefaultDimensions(EntityPose arg0)
boolean
a(arq arg0, bxe arg1, cht 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)
canTarget(ServerWorld world, LivingEntity entity, TargetPredicate predicate)