net.minecraft.world.entity.monster

public class Shulker

extends AbstractGolem implements Enemy

All mapped superinterfaces:

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

coj
net.minecraft.world.entity.monster.Shulker
net.minecraft.class_1606
net.minecraft.unmapped.C_wepsgefi
net.minecraft.entity.mob.ShulkerEntity
net.minecraft.entity.mob.ShulkerEntity

Field summary

Modifier and TypeField
private static final ResourceLocation
d
COVERED_ARMOR_MODIFIER_ID
field_7341
f_ouwpbtua
COVERED_ARMOR_MODIFIER_ID
COVERED_ARMOR_MODIFIER_ID
private static final AttributeModifier
bG
COVERED_ARMOR_MODIFIER
field_7342
f_yecffwtx
COVERED_ARMOR_BONUS
COVERED_ARMOR_BONUS
protected static final EntityDataAccessor<Direction>
a
DATA_ATTACH_FACE_ID
field_7344
f_kdytjkmi
ATTACHED_FACE
ATTACHED_FACE
protected static final EntityDataAccessor<Byte>
b
DATA_PEEK_ID
field_7346
f_qyhdlubn
PEEK_AMOUNT
PEEK_AMOUNT
protected static final EntityDataAccessor<Byte>
c
DATA_COLOR_ID
field_7343
f_twtbkvow
COLOR
COLOR
private static final int
bH
TELEPORT_STEPS
field_30487
f_hxfmsvrp
field_30487
TELEPORT_STEPS
private static final byte
bI
NO_COLOR
field_30488
f_faxfphpy
field_30488
NO_COLOR
private static final byte
bJ
DEFAULT_COLOR
field_30489
f_sxhxgvpw
field_30489
DEFAULT_COLOR
private static final int
bK
MAX_TELEPORT_DISTANCE
field_30490
f_fwpmtaxc
field_30490
MAX_TELEPORT_DISTANCE
private static final int
bL
OTHER_SHULKER_SCAN_RADIUS
field_30491
f_nhqhcoaz
field_30491
NEARBY_SHULKER_SCAN_RADIUS
private static final int
bM
OTHER_SHULKER_LIMIT
field_30492
f_yejiwmfa
field_30492
MAX_NEARBY_SHULKERS_FOR_REPRODUCTION
private static final float
bN
PEEK_PER_TICK
field_30493
f_gvaaancy
field_30493
PEEK_CHANCE_PER_TICK
static final org.joml.Vector3f
bO
FORWARD
field_33765
f_rhlsurhw
SOUTH_VECTOR
FORWARD
private static final float
bP
MAX_SCALE
field_48343
f_mcgjemru
field_48343
MAX_SCALE
private float
bQ
currentPeekAmountO
field_7339
f_cezsikwb
lastOpenProgress
prevOpenProgress
private float
bR
currentPeekAmount
field_7337
f_tdqqxmxs
openProgress
openProgress
private BlockPos
bS
clientOldAttachPosition
field_7345
f_odaehnvp
lastAttachedBlock
prevAttachedBlock
private int
bT
clientSideTeleportInterpolation
field_7340
f_hlyfzsza
teleportLerpTimer
teleportLerpTimer
private static final float
bU
MAX_LID_OPEN
field_30494
f_zdllrwfz
field_30494
MAX_SHELL_OPEN_DISTANCE

Constructor summary

ModifierConstructor
public (EntityType<? extends Shulker> arg0, Level world)

Method summary

Modifier and TypeMethod
protected void
D()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
protected Entity$MovementEmission
bg()
getMovementEmission()
method_33570()
m_dxohridw()
getMoveEffect()
getMoveEffect()
public SoundSource
dm()
getSoundSource()
method_5634()
m_nsggwems()
getSoundCategory()
getSoundCategory()
protected SoundEvent
u()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
public void
T()
playAmbientSound()
method_5966()
m_frolgtzg()
playAmbientSound()
playAmbientSound()
protected SoundEvent
l_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
protected SoundEvent
e(buu arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
protected void
a(akn$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
public static AttributeSupplier$Builder
j()
createAttributes()
method_26921()
m_agmrwfit()
createShulkerAttributes()
createAttributes()
protected BodyRotationControl
I()
createBodyControl()
method_5963()
m_mbyporyt()
createBodyControl()
createBodyControl()
public void
a(tz arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
b(tz arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
private void
x()
findNewAttachment()
method_33348()
m_lmhywaga()
tryAttachOrTeleport()
tryAttachOrTeleport()
protected AABB
c(feq arg0)
makeBoundingBox(Vec3 arg0)
method_65341(class_243 arg0)
m_sgtyfeib(C_vgpupfxx arg0)
calculateDefaultBoundingBox(Vec3d arg0)
getDimensionsBoxAt(Vec3d arg0)
private static float
L(float arg0)
getPhysicalPeek(float arg0)
method_33342(float arg0)
m_ghizitzm(float arg0)
getExtraLength(float openProgress)
getPhysicalPeak(float openProgress)
private boolean
gr()
updatePeekAmount()
method_33349()
m_munteupc()
tickOpenProgress()
tickOpenProgress()
private void
gs()
onPeekAmountChange()
method_33350()
m_rufuhovj()
moveEntities()
moveEntities()
public static AABB
a(float arg0, ja arg1, float arg2, feq arg3)
getProgressAabb(float arg0, Direction arg1, float arg2, Vec3 arg3)
method_33346(float arg0, class_2350 arg1, float arg2, class_243 arg3)
m_hqsastbf(float arg0, C_xpuuihxf arg1, float arg2, C_vgpupfxx arg3)
calculateBoundingBox(float scale, Direction facing, float extraLength, Vec3d pos)
getOpeningBoundingBox(float scale, Direction direction, float extraLength, Vec3d arg3)
public static AABB
a(float arg0, ja arg1, float arg2, float arg3, feq arg4)
getProgressDeltaAabb(float arg0, Direction arg1, float arg2, float arg3, Vec3 arg4)
method_33347(float arg0, class_2350 arg1, float arg2, float arg3, class_243 arg4)
m_aipehzdv(float arg0, C_xpuuihxf arg1, float arg2, float arg3, C_vgpupfxx arg4)
calculateBoundingBox(float scale, Direction facing, float lastExtraLength, float extraLength, Vec3d pos)
getOpeningDeltaBoundingBox(float scale, Direction direction, float prevExtraLength, float extraLength, Vec3d arg4)
public boolean
a(bwf arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
method_5873(class_1297 arg0, boolean arg1)
m_hvcwbybh(C_astfners arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
public void
bP()
stopRiding()
method_5848()
m_daozjmru()
stopRiding()
stopRiding()
public SpawnGroupData
a(djr arg0, bub arg1, bwn arg2, bxw arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_bhyaesep arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
public void
a(bxi arg0, feq arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
m_zcvlfcid(C_eojqvxuw arg0, C_vgpupfxx arg1)
move(MovementType arg0, Vec3d arg1)
move(MovementType arg0, Vec3d arg1)
public Vec3
dy()
getDeltaMovement()
method_18798()
m_psnzmttx()
getVelocity()
getVelocity()
public void
i(feq arg0)
setDeltaMovement(Vec3 arg0)
method_18799(class_243 arg0)
m_hpsqosvu(C_vgpupfxx arg0)
setVelocity(Vec3d arg0)
setVelocity(Vec3d arg0)
public void
a_(double arg0, double arg1, double arg2)
setPos(double arg0, double arg1, double arg2)
method_5814(double arg0, double arg1, double arg2)
m_jrpyecoc(double arg0, double arg1, double arg2)
setPosition(double arg0, double arg1, double arg2)
setPosition(double arg0, double arg1, double arg2)
protected Direction
h(iu arg0)
findAttachableSurface(BlockPos arg0)
method_24351(class_2338 arg0)
m_cuftthil(C_hynzadkk arg0)
findAttachSide(BlockPos pos)
findAttachSide(BlockPos pos)
boolean
a(iu arg0, ja arg1)
canStayAt(BlockPos arg0, Direction arg1)
method_24350(class_2338 arg0, class_2350 arg1)
m_rmuameyg(C_hynzadkk arg0, C_xpuuihxf arg1)
canStay(BlockPos pos, Direction direction)
canStay(BlockPos pos, Direction direction)
private boolean
i(iu arg0)
isPositionBlocked(BlockPos arg0)
method_33351(class_2338 arg0)
m_nqxiwxry(C_hynzadkk arg0)
isInvalidPosition(BlockPos pos)
isPosBlocked(BlockPos pos)
protected boolean
m()
teleportSomewhere()
method_7127()
m_yjhdxjbh()
tryTeleport()
tryTeleport()
public InterpolationHandler
N_()
getInterpolation()
method_66233()
m_dvrgqnea()
getInterpolator()
public boolean
a(arq arg0, buu arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
m_fuenwjjy(C_bdwnwhiu arg0, C_sbxfkpyv arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
private boolean
gt()
isClosed()
method_7124()
m_rrdultpy()
isClosed()
isClosed()
private void
gu()
hitByShulkerBullet()
method_31547()
m_bzwsabfi()
spawnNewShulker()
spawnNewShulker()
public boolean
bM()
canBeCollidedWith()
method_30948()
m_mvydwrgl()
isCollidable()
isCollidable()
public Direction
n()
getAttachFace()
method_7119()
m_bcbqzxod()
getAttachedFace()
getAttachedFace()
private void
a(ja arg0)
setAttachFace(Direction arg0)
method_35192(class_2350 arg0)
m_jcmqjrtu(C_xpuuihxf arg0)
setAttachedFace(Direction face)
setAttachedFace(Direction face)
public void
a(akj<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_efnedaed(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
private int
gv()
getRawPeekAmount()
method_7115()
m_xqlguhxm()
getPeekAmount()
getPeekAmount()
void
b(int arg0)
setRawPeekAmount(int arg0)
method_7122(int arg0)
m_kuzlyboe(int arg0)
setPeekAmount(int peekAmount)
setPeekAmount(int peekAmount)
public float
J(float arg0)
getClientPeekAmount(float arg0)
method_7116(float arg0)
m_ujepgyyt(float arg0)
getOpenProgress(float tickProgress)
getOpenProgress(float delta)
public void
a(abv arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
m_fccepfav(C_qdqrqwvy arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
public int
ac()
getMaxHeadXRot()
method_5978()
m_wdfnuhez()
getMaxLookPitchChange()
getLookPitchSpeed()
public int
ad()
getMaxHeadYRot()
method_5986()
m_lqlfsnxj()
getMaxHeadRotation()
getBodyYawSpeed()
public void
h(bwf arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
m_ysnccdty(C_astfners arg0)
pushAwayFrom(Entity arg0)
pushAwayFrom(Entity arg0)
public Vec3
K(float arg0)
getRenderPosition(float arg0)
method_33352(float arg0)
m_nbdtojoo(float arg0)
getRenderPositionOffset(float tickProgress)
getRenderPosition(float tickDelta)
protected float
b(float arg0)
sanitizeScale(float arg0)
method_56077(float arg0)
m_uzfdrlrs(float arg0)
clampScale(float arg0)
clampScale(float arg0)
private void
a(Optional<cyb> arg0)
setVariant(Optional<DyeColor> arg0)
method_47880(Optional<class_1767> arg0)
m_fbhoxmwb(Optional<C_arllgqae> arg0)
setColor(Optional<DyeColor> color)
public Optional<DyeColor>
q()
getVariant()
method_47881()
m_frxblpyr()
getColorOptional()
public DyeColor
t()
getColor()
method_7121()
m_nnaejkue()
getColor()
getColor()
public <T> T
a(ki<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_58694(class_9331<? extends T> arg0)
m_jtdlrfwm(C_pscqxfcs<? extends T> arg0)
get(ComponentType<? extends T> arg0)
protected void
a(ke arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_66649(class_9473 arg0)
m_oxfzjslk(C_hmcnusfu arg0)
copyComponentsFrom(ComponentsAccess arg0)
protected <T> boolean
b(ki<T> arg0, T arg1)
applyImplicitComponent(DataComponentType<T> arg0, T arg1)
method_66654(class_9331<T> arg0, T arg1)
m_vqawgcdu(C_pscqxfcs<T> arg0, T arg1)
setApplicableComponent(ComponentType<T> arg0, T arg1)