net.minecraft.world.entity.projectile

public class ShulkerBullet

extends Projectile

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, TraceableEntity

cnu
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
de()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
protected void
b(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
protected void
a(us arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
a(ako$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
private Direction
p()
getMoveDirection()
method_35208()
getDirection()
m_150186_()
private void
a(je arg0)
setMoveDirection(Direction arg0)
method_7487(class_2350 arg0)
setDirection(Direction direction)
m_37350_(C_4687_ arg0)
private void
a(je$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
dB()
checkDespawn()
method_5982()
checkDespawn()
m_6043_()
protected double
aY()
getDefaultGravity()
method_7490()
getGravity()
m_319564_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
protected boolean
b(bsw arg0)
canHitEntity(Entity arg0)
method_26958(class_1297 arg0)
canHit(Entity arg0)
m_5603_(C_507_ arg0)
public boolean
bQ()
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
bt()
getLightLevelDependentMagicValue()
method_5718()
getBrightnessAtEyes()
m_213856_()
protected void
a(evq arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
m_5790_(C_3042_ arg0)
protected void
a(evp arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
onBlockHit(BlockHitResult arg0)
m_8060_(C_3041_ arg0)
private void
u()
destroy()
method_49723()
destroy()
m_276200_()
protected void
a(evr arg0)
onHit(HitResult arg0)
method_7488(class_239 arg0)
onCollision(HitResult arg0)
m_6532_(C_3043_ arg0)
public boolean
bz()
isPickable()
method_5863()
canHit()
m_6087_()
public boolean
a(brp 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(acj arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
m_141965_(C_5032_ arg0)