net.minecraft.world.entity.monster

public class Shulker

extends AbstractGolem implements Enemy

All mapped superinterfaces:

SyncedDataHolder, DebugValueSource, Nameable, ItemOwner, SlotProvider, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, WaypointTransmitter, Waypoint, EquipmentUser, Leashable, Targeting, Enemy

czu
net.minecraft.world.entity.monster.Shulker
net.minecraft.class_1606
net.minecraft.entity.mob.ShulkerEntity

Field summary

Modifier and TypeField
private static final Identifier
d
COVERED_ARMOR_MODIFIER_ID
field_7341
COVERED_ARMOR_MODIFIER_ID
private static final AttributeModifier
e
COVERED_ARMOR_MODIFIER
field_7342
COVERED_ARMOR_BONUS
protected static final EntityDataAccessor<Direction>
a
DATA_ATTACH_FACE_ID
field_7344
ATTACHED_FACE
protected static final EntityDataAccessor<Byte>
b
DATA_PEEK_ID
field_7346
PEEK_AMOUNT
protected static final EntityDataAccessor<Byte>
c
DATA_COLOR_ID
field_7343
COLOR
private static final int
f
TELEPORT_STEPS
field_30487
field_30487
private static final byte
cv
NO_COLOR
field_30488
field_30488
private static final byte
cw
DEFAULT_COLOR
field_30489
field_30489
private static final int
cx
MAX_TELEPORT_DISTANCE
field_30490
field_30490
private static final int
cy
OTHER_SHULKER_SCAN_RADIUS
field_30491
field_30491
private static final int
cz
OTHER_SHULKER_LIMIT
field_30492
field_30492
private static final float
cA
PEEK_PER_TICK
field_30493
field_30493
private static final byte
cB
DEFAULT_PEEK
field_57689
DEFAULT_PEEK
private static final Direction
cC
DEFAULT_ATTACH_FACE
field_57690
DEFAULT_ATTACHED_FACE
static final org.joml.Vector3f
cD
FORWARD
field_33765
SOUTH_VECTOR
private static final float
cE
MAX_SCALE
field_48343
field_48343
private float
cF
currentPeekAmountO
field_7339
lastOpenProgress
private float
cG
currentPeekAmount
field_7337
openProgress
private BlockPos
cH
clientOldAttachPosition
field_7345
lastAttachedBlock
private int
cI
clientSideTeleportInterpolation
field_7340
teleportLerpTimer
private static final float
cJ
MAX_LID_OPEN
field_30494
field_30494

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
H()
registerGoals()
method_5959()
initGoals()
protected Entity$MovementEmission
bu()
getMovementEmission()
method_33570()
getMoveEffect()
public SoundSource
dA()
getSoundSource()
method_5634()
getSoundCategory()
protected SoundEvent
p()
getAmbientSound()
method_5994()
getAmbientSound()
public void
X()
playAmbientSound()
method_5966()
playAmbientSound()
protected SoundEvent
e_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
e(cev arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected void
a(ama$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public static AttributeSupplier$Builder
k()
createAttributes()
method_26921()
createShulkerAttributes()
protected BodyRotationControl
N()
createBodyControl()
method_5963()
createBodyControl()
protected void
a(fmi arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
protected void
a(fmk arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
public void
g()
tick()
method_5773()
tick()
private void
gR()
findNewAttachment()
method_33348()
tryAttachOrTeleport()
protected AABB
c(fse arg0)
makeBoundingBox(Vec3 arg0)
method_65341(class_243 arg0)
calculateDefaultBoundingBox(Vec3d arg0)
private static float
N(float arg0)
getPhysicalPeek(float arg0)
method_33342(float arg0)
getExtraLength(float openProgress)
private boolean
gS()
updatePeekAmount()
method_33349()
tickOpenProgress()
private void
gT()
onPeekAmountChange()
method_33350()
moveEntities()
public static AABB
a(float arg0, iz arg1, float arg2, fse arg3)
getProgressAabb(float arg0, Direction arg1, float arg2, Vec3 arg3)
method_33346(float arg0, class_2350 arg1, float arg2, class_243 arg3)
calculateBoundingBox(float scale, Direction facing, float extraLength, Vec3d pos)
public static AABB
a(float arg0, iz arg1, float arg2, float arg3, fse 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)
calculateBoundingBox(float scale, Direction facing, float lastExtraLength, float extraLength, Vec3d pos)
public boolean
a(cgi arg0, boolean arg1, boolean arg2)
startRiding(Entity arg0, boolean arg1, boolean arg2)
method_5873(class_1297 arg0, boolean arg1, boolean arg2)
startRiding(Entity arg0, boolean arg1, boolean arg2)
public void
ce()
stopRiding()
method_5848()
stopRiding()
public SpawnGroupData
a(dvx arg0, ccy arg1, cgr arg2, cid 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(cho arg0, fse arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
move(MovementType arg0, Vec3d arg1)
public Vec3
dM()
getDeltaMovement()
method_18798()
getVelocity()
public void
k(fse arg0)
setDeltaMovement(Vec3 arg0)
method_18799(class_243 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)
setPosition(double arg0, double arg1, double arg2)
protected Direction
h(is arg0)
findAttachableSurface(BlockPos arg0)
method_24351(class_2338 arg0)
findAttachSide(BlockPos pos)
boolean
a(is arg0, iz arg1)
canStayAt(BlockPos arg0, Direction arg1)
method_24350(class_2338 arg0, class_2350 arg1)
canStay(BlockPos pos, Direction direction)
private boolean
i(is arg0)
isPositionBlocked(BlockPos arg0)
method_33351(class_2338 arg0)
isInvalidPosition(BlockPos pos)
protected boolean
m()
teleportSomewhere()
method_7127()
tryTeleport()
public InterpolationHandler
m_()
getInterpolation()
method_66233()
getInterpolator()
public boolean
a(axf arg0, cev arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
private boolean
gU()
isClosed()
method_7124()
isClosed()
private void
gV()
hitByShulkerBullet()
method_31547()
spawnNewShulker()
public boolean
j(cgi arg0)
canBeCollidedWith(Entity arg0)
method_30948(class_1297 arg0)
isCollidable(Entity arg0)
public Direction
n()
getAttachFace()
method_7119()
getAttachedFace()
private void
a(iz arg0)
setAttachFace(Direction arg0)
method_35192(class_2350 arg0)
setAttachedFace(Direction face)
public void
a(alw<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
private int
gW()
getRawPeekAmount()
method_7115()
getPeekAmount()
void
a(int arg0)
setRawPeekAmount(int arg0)
method_7122(int arg0)
setPeekAmount(int peekAmount)
public float
L(float arg0)
getClientPeekAmount(float arg0)
method_7116(float arg0)
getOpenProgress(float tickProgress)
public void
a(adc arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
public int
ai()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
public int
aj()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
public void
h(cgi arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
public Vec3
M(float arg0)
getRenderPosition(float arg0)
method_33352(float arg0)
getRenderPositionOffset(float tickProgress)
protected float
c(float arg0)
sanitizeScale(float arg0)
method_56077(float arg0)
clampScale(float arg0)
private void
a(Optional<djk> arg0)
setVariant(Optional<DyeColor> arg0)
method_47880(Optional<class_1767> arg0)
setColor(Optional<DyeColor> color)
public Optional<DyeColor>
s()
getVariant()
method_47881()
getColorOptional()
public DyeColor
gQ()
getColor()
method_7121()
getColor()
public <T> T
a(kh<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_58694(class_9331<? extends T> arg0)
get(ComponentType<? extends T> arg0)
protected void
a(kd arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_66649(class_9473 arg0)
copyComponentsFrom(ComponentsAccess arg0)
protected <T> boolean
b(kh<T> arg0, T arg1)
applyImplicitComponent(DataComponentType<T> arg0, T arg1)
method_66654(class_9331<T> arg0, T arg1)
setApplicableComponent(ComponentType<T> arg0, T arg1)