net.minecraft.world.entity.monster

public class Phantom

extends FlyingMob implements Enemy

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, Enemy

bzk
net.minecraft.world.entity.monster.Phantom
net.minecraft.class_1593
net.minecraft.entity.mob.PhantomEntity
net.minecraft.src.C_1030_
net.minecraft.world.entity.monster.EntityPhantom

Field summary

Modifier and TypeField
public static final float
b
FLAP_DEGREES_PER_TICK
field_30475
field_30475
f_149721_
public static final int
c
TICKS_PER_FLAP
field_28641
WING_FLAP_TICKS
f_149722_
private static final EntityDataAccessor<Integer>
d
ID_SIZE
field_7313
SIZE
f_33095_
Vec3
e
moveTargetPoint
field_7314
targetPosition
f_33097_
BlockPos
bS
anchorPoint
field_7312
circlingCenter
f_33098_
Phantom$AttackPhase
bT
attackPhase
field_7315
movementType
f_33096_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
aR()
isFlapping()
method_5776()
isFlappingWings()
m_142039_()
protected BodyRotationControl
F()
createBodyControl()
method_5963()
createBodyControl()
m_7560_()
protected void
z()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
b(int arg0)
setPhantomSize(int arg0)
method_7091(int arg0)
setPhantomSize(int size)
m_33108_(int arg0)
private void
y()
updatePhantomSizeInfo()
method_7097()
onSizeChanged()
m_33155_()
public int
s()
getPhantomSize()
method_7084()
getPhantomSize()
m_33172_()
protected float
b(bjs arg0, bir arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_33137_, C_510_ arg1)
public void
a(aee<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public int
t()
getUniqueFlapTickOffset()
method_33588()
getWingFlapTickOffset()
m_149736_()
protected boolean
V()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
m_8028_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
public void
b_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected void
X()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public SpawnGroupData
a(cqk arg0, bgw arg1, bjk arg2, bjz arg3, qw arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_33127_, C_469_ p_33128_, C_529_ p_33129_, C_542_ p_33130_, C_4917_ arg4)
public void
a(qw arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
b(qw arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
m_6783_(double arg0)
public SoundSource
da()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
protected SoundEvent
w()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(bho arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
public MobType
eR()
getMobType()
method_6046()
getGroup()
m_6336_()
protected float
eV()
getSoundVolume()
method_6107()
getSoundVolume()
m_6121_()
public boolean
a(biu<?> arg0)
canAttackType(EntityType<?> arg0)
method_5973(class_1299<?> arg0)
canTarget(EntityType<?> arg0)
m_6549_(C_513_<?> arg0)
public EntityDimensions
a(bjs arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
m_6972_(C_535_ arg0)
protected org.joml.Vector3f
a(biq arg0, bir arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
m_292594_(C_507_ p_300744_, C_510_ p_301405_, float arg2)
protected float
l(biq arg0)
ridingOffset(Entity arg0)
method_52537(class_1297 arg0)
getUnscaledRidingOffset(Entity arg0)
m_292595_(C_507_ arg0)