net.minecraft.world.entity.monster

public class Phantom

extends FlyingMob implements Enemy

All mapped superinterfaces:

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

cmb
net.minecraft.world.entity.monster.Phantom
net.minecraft.class_1593
net.minecraft.entity.mob.PhantomEntity
net.minecraft.world.entity.monster.EntityPhantom

Field summary

Modifier and TypeField
public static final float
a
FLAP_DEGREES_PER_TICK
field_30475
field_30475
public static final int
b
TICKS_PER_FLAP
field_28641
WING_FLAP_TICKS
private static final EntityDataAccessor<Integer>
c
ID_SIZE
field_7313
SIZE
Vec3
d
moveTargetPoint
field_7314
targetPosition
BlockPos
bX
anchorPoint
field_7312
circlingCenter
Phantom$AttackPhase
bY
attackPhase
field_7315
movementType

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
ba()
isFlapping()
method_5776()
isFlappingWings()
protected BodyRotationControl
J()
createBodyControl()
method_5963()
createBodyControl()
protected void
E()
registerGoals()
method_5959()
initGoals()
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(int arg0)
setPhantomSize(int arg0)
method_7091(int arg0)
setPhantomSize(int size)
private void
t()
updatePhantomSizeInfo()
method_7097()
onSizeChanged()
public int
m()
getPhantomSize()
method_7084()
getPhantomSize()
public void
a(ajy<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public int
p()
getUniqueFlapTickOffset()
method_33588()
getWingFlapTickOffset()
protected boolean
ab()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
public void
h()
tick()
method_5773()
tick()
public void
d_()
aiStep()
method_6007()
tickMovement()
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
public SoundSource
dm()
getSoundSource()
method_5634()
getSoundCategory()
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 float
fg()
getSoundVolume()
method_6107()
getSoundVolume()
public boolean
a(but<?> arg0)
canAttackType(EntityType<?> arg0)
method_5973(class_1299<?> arg0)
canTarget(EntityType<?> arg0)
public EntityDimensions
e(bvu arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
boolean
a(ard arg0, bvi arg1, cfz arg2)
canAttack(ServerLevel arg0, LivingEntity arg1, TargetingConditions arg2)
method_64463(class_3218 arg0, class_1309 arg1, class_4051 arg2)
testTargetPredicate(ServerWorld world, LivingEntity target, TargetPredicate predicate)