net.minecraft.world.entity.projectile

public class ShulkerBullet

extends Projectile

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, TraceableEntity

cco
net.minecraft.world.entity.projectile.ShulkerBullet
net.minecraft.class_1678
net.minecraft.entity.projectile.ShulkerBulletEntity
net.minecraft.src.C_1169_
net.minecraft.world.entity.projectile.EntityShulkerBullet

Field summary

Modifier and TypeField
private static final double
b
SPEED
field_30666
field_30666
f_150183_
private Entity
c
finalTarget
field_7626
target
f_37312_
private Direction
d
currentMoveDirection
field_7628
direction
f_37313_
private int
e
flightSteps
field_7627
stepCount
f_37314_
private double
f
targetDeltaX
field_7635
targetX
f_37315_
private double
g
targetDeltaY
field_7633
targetY
f_37316_
private double
h
targetDeltaZ
field_7625
targetZ
f_37317_
private UUID
i
targetId
field_7632
targetUuid
f_37311_

Constructor summary

ModifierConstructor
public (EntityType<? extends ShulkerBullet> p_37320_, Level arg1)
public (Level world, LivingEntity owner, Entity target, Direction$Axis axis)

Method summary

Modifier and TypeMethod
public SoundSource
da()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
protected void
b(qw arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
protected void
a(qw arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
private Direction
q()
getMoveDirection()
method_35208()
getDirection()
m_150186_()
private void
a(ha arg0)
setMoveDirection(Direction arg0)
method_7487(class_2350 arg0)
setDirection(Direction direction)
m_37350_(C_4687_ arg0)
private void
a(ha$a arg0)
selectNextMoveDirection(Direction$Axis arg0)
method_7486(class_2350$class_2351 arg0)
changeTargetDirection(Direction$Axis axis)
m_37348_(C_4687_$C_4689_ arg0)
public void
dx()
checkDespawn()
method_5982()
checkDespawn()
m_6043_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
protected boolean
a(biq arg0)
canHitEntity(Entity arg0)
method_26958(class_1297 arg0)
canHit(Entity arg0)
m_5603_(C_507_ arg0)
public boolean
bM()
isOnFire()
method_5809()
isOnFire()
m_6060_()
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
m_6783_(double arg0)
public float
bm()
getLightLevelDependentMagicValue()
method_5718()
getBrightnessAtEyes()
m_213856_()
protected void
a(ehk arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
m_5790_(C_3042_ arg0)
protected void
a(ehj arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
onBlockHit(BlockHitResult arg0)
m_8060_(C_3041_ arg0)
private void
s()
destroy()
method_49723()
destroy()
m_276200_()
protected void
a(ehl arg0)
onHit(HitResult arg0)
method_7488(class_239 arg0)
onCollision(HitResult arg0)
m_6532_(C_3043_ arg0)
public boolean
br()
isPickable()
method_5863()
canHit()
m_6087_()
public boolean
a(bho arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_37339_, float arg1)
public void
a(wx arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
m_141965_(C_5032_ arg0)