net.minecraft.world.entity.monster

public class Shulker

extends AbstractGolem implements Enemy

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy

bie
net.minecraft.world.entity.monster.Shulker
net.minecraft.class_1606
net.minecraft.entity.mob.ShulkerEntity
net.minecraft.src.C_1048_
net.minecraft.world.entity.monster.EntityShulker

Field summary

Modifier and TypeField
private static final UUID
e
COVERED_ARMOR_MODIFIER_UUID
field_7341
COVERED_ARMOR_BONUS_ID
f_33394_
private static final AttributeModifier
bT
COVERED_ARMOR_MODIFIER
field_7342
COVERED_ARMOR_BONUS
f_33395_
protected static final EntityDataAccessor<Direction>
b
DATA_ATTACH_FACE_ID
field_7344
ATTACHED_FACE
f_33392_
protected static final EntityDataAccessor<Byte>
c
DATA_PEEK_ID
field_7346
PEEK_AMOUNT
f_33401_
protected static final EntityDataAccessor<Byte>
d
DATA_COLOR_ID
field_7343
COLOR
f_33393_
private static final int
bU
TELEPORT_STEPS
field_30487
field_30487
f_149756_
private static final byte
bV
NO_COLOR
field_30488
field_30488
f_149757_
private static final byte
bW
DEFAULT_COLOR
field_30489
field_30489
f_149758_
private static final int
bX
MAX_TELEPORT_DISTANCE
field_30490
field_30490
f_149759_
private static final int
bY
OTHER_SHULKER_SCAN_RADIUS
field_30491
field_30491
f_149760_
private static final int
bZ
OTHER_SHULKER_LIMIT
field_30492
field_30492
f_149761_
private static final float
ca
PEEK_PER_TICK
field_30493
field_30493
f_149762_
static final Vector3f
cb
FORWARD
field_33765
field_33765
f_149763_
private float
cc
currentPeekAmountO
field_7339
prevOpenProgress
f_33396_
private float
cd
currentPeekAmount
field_7337
openProgress
f_33397_
private BlockPos
ce
clientOldAttachPosition
field_7345
prevAttachedBlock
f_149764_
private int
cf
clientSideTeleportInterpolation
field_7340
teleportLerpTimer
f_33399_
private static final float
cg
MAX_LID_OPEN
field_30494
field_30494
f_149765_

Constructor summary

ModifierConstructor
public (EntityType<? extends Shulker> p_33405_, Level arg1)

Method summary

Modifier and TypeMethod
protected void
v()
registerGoals()
method_5959()
initGoals()
m_8099_()
initPathfinder()
protected Entity$MovementEmission
aI()
getMovementEmission()
method_33570()
getMoveEffect()
m_142319_()
public SoundSource
cJ()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
getSoundCategory()
protected SoundEvent
q()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
getSoundAmbient()
public void
K()
playAmbientSound()
method_5966()
playAmbientSound()
m_8032_()
protected SoundEvent
v_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
getSoundDeath()
protected SoundEvent
c(asq arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
initDatawatcher()
public static AttributeSupplier$Builder
n()
createAttributes()
method_26921()
createShulkerAttributes()
m_33477_()
protected BodyRotationControl
z()
createBodyControl()
method_5963()
createBodyControl()
m_7560_()
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
k()
tick()
method_5773()
tick()
m_8119_()
tick()
private void
fx()
findNewAttachment()
method_33348()
tryAttachOrTeleport()
m_149807_()
protected AABB
ag()
makeBoundingBox()
method_33332()
calculateBoundingBox()
m_142242_()
private static float
B(float arg0)
getPhysicalPeek(float arg0)
method_33342(float arg0)
method_33342(float arg0)
m_149768_(float p_149769_)
private boolean
fy()
updatePeekAmount()
method_33349()
tickOpenProgress()
m_149808_()
private void
fz()
onPeekAmountChange()
method_33350()
moveEntities()
m_149809_()
public static AABB
a(gl arg0, float arg1)
getProgressAabb(Direction arg0, float arg1)
method_33346(class_2350 arg0, float arg1)
method_33346(Direction direction, float arg1)
m_149790_(C_4687_ p_149791_, float p_149792_)
public static AABB
a(gl arg0, float arg1, float arg2)
getProgressDeltaAabb(Direction arg0, float arg1, float arg2)
method_33347(class_2350 arg0, float arg1, float arg2)
method_33347(Direction direction, float arg1, float arg2)
m_149793_(C_4687_ p_149794_, float p_149795_, float p_149796_)
public double
bk()
getMyRidingOffset()
method_5678()
getHeightOffset()
m_6049_()
public boolean
a(atg arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
method_5873(class_1297 arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
m_7998_(C_507_ p_149774_, boolean arg1)
public void
m()
stopRiding()
method_5848()
stopRiding()
m_8127_()
stopRiding()
public SpawnGroupData
a(bxe arg0, arz arg1, aty arg2, aum arg3, na 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_149781_, C_469_ p_149782_, C_529_ p_149783_, C_542_ p_149784_, C_4917_ arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public void
a(aua arg0, dna arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
move(MovementType arg0, Vec3d arg1)
m_6478_(C_531_ p_33425_, C_3046_ arg1)
move(EnumMoveType arg0, Vec3D arg1)
public Vec3
cV()
getDeltaMovement()
method_18798()
getVelocity()
m_20184_()
getMot()
public void
f(dna arg0)
setDeltaMovement(Vec3 arg0)
method_18799(class_243 arg0)
setVelocity(Vec3d arg0)
m_20256_(C_3046_ arg0)
setMot(Vec3D arg0)
public void
e(double arg0, double arg1, double arg2)
setPos(double arg0, double arg1, double arg2)
method_5814(double arg0, double arg1, double arg2)
setPosition(double arg0, double arg1, double arg2)
m_6034_(double p_33450_, double arg1, double arg2)
setPosition(double arg0, double arg1, double arg2)
protected Direction
g(gg arg0)
findAttachableSurface(BlockPos arg0)
method_24351(class_2338 arg0)
findAttachSide(BlockPos pos)
m_149810_(C_4675_ arg0)
boolean
a(gg arg0, gl arg1)
canStayAt(BlockPos arg0, Direction arg1)
method_24350(class_2338 arg0, class_2350 arg1)
canStay(BlockPos pos, Direction direction)
m_149785_(C_4675_ p_149787_, C_4687_ arg1)
private boolean
h(gg arg0)
isPositionBlocked(BlockPos arg0)
method_33351(class_2338 arg0)
method_33351(BlockPos pos)
m_149812_(C_4675_ arg0)
protected boolean
p()
teleportSomewhere()
method_7127()
tryTeleport()
m_33460_()
public void
a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
lerpTo(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
method_5759(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
m_6453_(double p_33412_, double p_33414_, double p_33416_, float arg3, float arg4, int arg5, boolean arg6)
public boolean
a(asq 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_33422_, float arg1)
damageEntity(DamageSource arg0, float arg1)
private boolean
fA()
isClosed()
method_7124()
isClosed()
m_33468_()
private void
fB()
hitByShulkerBullet()
method_31547()
spawnNewShulker()
m_149805_()
public boolean
bi()
canBeCollidedWith()
method_30948()
isCollidable()
m_5829_()
public Direction
t()
getAttachFace()
method_7119()
getAttachedFace()
m_33461_()
getAttachFace()
private void
a(gl arg0)
setAttachFace(Direction arg0)
method_35192(class_2350 arg0)
setAttachedFace(Direction face)
m_149788_(C_4687_ arg0)
setAttachFace(EnumDirection arg0)
public void
a(wf<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
private int
fC()
getRawPeekAmount()
method_7115()
getPeekAmount()
m_33463_()
getPeek()
void
a(int arg0)
setRawPeekAmount(int arg0)
method_7122(int arg0)
setPeekAmount(int peekAmount)
m_33418_(int arg0)
setPeek(int arg0)
public float
z(float arg0)
getClientPeekAmount(float arg0)
method_7116(float arg0)
getOpenProgress(float delta)
m_33480_(float arg0)
protected float
b(aug arg0, ath arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_33439_, C_510_ arg1)
public void
a(pq arg0)
recreateFromPacket(ClientboundAddMobPacket arg0)
method_33579(class_2610 arg0)
readFromPacket(MobSpawnS2CPacket arg0)
m_142223_(C_5034_ arg0)
public int
eZ()
getMaxHeadXRot()
method_5978()
getLookPitchSpeed()
m_8132_()
public int
fa()
getMaxHeadYRot()
method_5986()
getBodyYawSpeed()
m_8085_()
public void
g(atg arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
m_7334_(C_507_ arg0)
collide(Entity arg0)
public float
bp()
getPickRadius()
method_5871()
getTargetingMargin()
m_6143_()
public Optional<Vec3>
A(float arg0)
getRenderPosition(float arg0)
method_33352(float arg0)
method_33352(float arg0)
m_149766_(float arg0)
private void
a(bpm arg0)
setColor(DyeColor arg0)
method_31546(class_1767 arg0)
setColor(DyeColor color)
m_149777_(C_1353_ arg0)
public DyeColor
fw()
getColor()
method_7121()
getColor()
m_33467_()