Shulker

A shulker is a box-shaped hostile mob found in end cities. It hides in its shell to protect itself and blend in with its surroundings. It attacks by shooting homing bullets at the player which inflict Levitation. It is the only source of shulker shells, which are used to craft shulker boxes.
== Spawning ==
=== Natural generation ===
Shulkers spawn during the generation of end cities, which are located on the outer islands of the End. They usually spawn on the walls of the city and on end ships. They do not despawn naturally, even in Peaceful difficulty.
=== Post-generation ===
There is a chance that a new shulker of the same color will spawn when a shulker is hit with a shulker bullet (including one of its own).
The following conditions need to be met:
* When the shulker gets hit and then has less than half its health remaining, there is a 25% chance it will try to teleport without spawning a new shulker instead of checking the conditions below.
* The hit shulker must have its lid open.
* The hit shulker needs to find somewhere to teleport. For this, it takes a random block in a 17×17×17 cuboid centered on the shulker and then checks if the block has a valid face to teleport to. If not it proceeds to try this up to 4 more times. If no valid face is found, the attempt fails.
* Each other shulker within 8 blocks of the hit shulker decreases the odds of success by 20%. When five or more other shulkers are nearby, no shulkers will spawn, but the hit shulker still teleports.
If the attempt succeeds a new shulker spawns where the old shulker was before it teleported.
== Drops ==
, shulkers drop 0–1 shulker shells. The maximum can be increased by 1 per level of Looting, which is 0–4 shells with Looting III.
, shulkers have a 50% chance of dropping a shulker shell when killed. This is increased by 6.25% per level of Looting, for a maximum of 68.75% with Looting III.
Shulkers also drop when killed by a player or a tamed wolf.
== Behavior ==
The shell of the mob looks similar to a purpur block, blending in to its natural surroundings. Inside the shell of the mob is a small yellow head with two eyes. Shulkers are uncolored by default when using spawn eggs, while white is the default when using or spawners. Spawning shulkers with other colors can be done using the command, as detailed below.
Shulkers generally remain stationary, attached to an adjacent block with a full face.Most solid blocks have 6 full faces. Some have fewer, for example composters have 5 as the top is open, slabs have just one (top or bottom), stairs have two (one side and top or bottom), and chests have none as they are slightly smaller than a full block. However, if the block the shulker occupies becomes something other than air or the shulker finds itself not adjacent to any full face, or the shell cannot fully open (due to solid blocks or entities such as boats or other shulkers), it attempts to teleport (5 attempts per tick) to an air block within a 17×17×17 cube centered on the shulker where the shulker can attach to a full face and open. If it finds no valid position to teleport onto it does not move.
Shulkers evaluate the collision box of scaffolding based on their current position,When the shulker is at a Y position above the scaffolding block, the top is a full face and it will block opening. When at the same Y level as scaffolding unsupported from below, the bottom is a full face and it will block opening. Otherwise the scaffolding is seen as having no faces and will not block opening. which can result in the shulker teleporting to a position only to find it invalid and teleport again.
Shulkers occasionally open their shell for 1–3 seconds. When a target comes within about 16 blocks, it opens fully and shoots guided projectiles that follow the player, called shulker bullets, moving only along the X, Y, or Z axes and leaving trails of white particles. The projectiles can be destroyed by attacking them or blocked with a shield. If the projectile hits an entity, it does of damage and inflicts the Levitation status effect for 10 seconds, this status effect has no effect underwater, or while riding a mob. The shulker continues firing every 1–5.5 seconds while the target remains in range. If the shulker's target dies with projectiles still in flight, they fall to the ground.
Shulkers can attack each other, in which case they shoot fully guided bullets at each other, but are unaffected by Levitation when hit. The normal teleportation habits apply during these battles, and is likely to result in the duplication of more shulkers.
When its shell is closed, a shulker has armor points and deflects arrows. When the shell opens, it loses this natural armor and takes damage as normal. When at less than half health, a shulker has a 25% chance of teleporting (as described above) after taking damage. When a shulker is attacked, other shulkers in the area target the attacker as well.
Shulkers don't take burning damage from lava or fire. They drown in water, but try to teleport away when water or lava flows into the block they occupy.
In Peaceful difficulty, shulkers exist within the world, but do not attack, like vindicators ,evokers and piglin brutes .
Shulkers are treated differently than true blocks. For example, mobs are unable to pathfind around or jump over them, and falling on them from a height does not produce particles. Their spawn egg also does not destroy blocks such as grass.
, they apply Levitation II instead of I.
Shulkers spawned as part of a team using attack most hostile mobs without provocation. They never attack their teammates intentionally and do not retaliate even when being hit, however the shulkers will still target players without a team or in another team.
=== Shulker bullet===
A shulker bullet is a guided projectile that is shot from shulkers, and they follow the targeted entity along the X, Y, or Z axis and leave trails of white particles. A shulker bullet that hits a mob or player deals damage and affects them with Levitation for ten seconds.
The shulker's projectiles also have entity data that control its movement.
The bullet can be destroyed by hitting it with any item, shooting it with an arrow, or blocking it with a shield. It explodes upon contact with a block. The explosion does not destroy any blocks and does not damage nearby mobs or players.
===Coloring===
, shulkers can be dyed in a similar fashion to sheep. a dye on a shulker gives it the color of the dye.
, the color of a shulker is changed through commands using the color byte tag.
==Transportation==
Shulkers can be moved by boats or minecarts; pushing a boat/cart into a shulker causes it to board. A boat's sides block some of a shulkers projectiles.
A shulker pushed through the exit portal gets transported to the world spawn point in the Overworld. Since shulkers teleport when not adjacent to a solid block, they must be pushed down the central pillar of the exit portal (or a manually placed block directly above the portal) with a piston.
==Sounds==
===Shulker===
:
:
===Shulker bullet===
:
Shulker bullets use the Hostile Creatures sound category for entity-dependent sound events.
:
==Data values==
===ID===
:
:
===Entity data===
:
Shulkers have entity data associated with them that contains various properties.
Shulker bullets have entity data associated with them that contains various properties.
:
:See Bedrock Edition level format/Entity format.
==Achievements==
==Advancements ==
==History==
== Issues==
==Trivia==
*Originally, shulkers were going to fully camouflage to look exactly like a nearby block. However, Jeb decided this was too difficult to code, so instead, they were simply made to be a similar shade of purple to purpur.
*The word "shulker" is a portmanteau of "shell lurker".https://youtu.be/eYw3U8C_P40&t=5m42s 
*A shulker named 'Dinnerbone' or 'Grumm' flips upside-down. This appears to also lift the shulker by the same height as a pressure plate.
*Walking toward a shulker at the same level as the player's head pushes the player down to the one-block crawling position if there is space beneath.
*If given the Invisibility effect, only the shulker's shell becomes invisible.
*Gravity blocks break when dropped on a shulker.
*In the game's texture files, the shulker bullet is named spark.png.
==Gallery==
===Renders===
Shulker.png|
White Shulker.png|
Light Gray Shulker.png|
Gray Shulker.png|
Black Shulker.png|
Brown Shulker.png|
Red Shulker.png|
Orange Shulker.png|
Yellow Shulker.png|
Lime Shulker.png|
Green Shulker.png|
Cyan Shulker.png|
Light Blue Shulker.png|
Blue Shulker.png|
Purple Shulker.png|
Magenta Shulker.png|
Pink Shulker.png|
Shulker Closed.png|
White Shulker Box.png|
Light Gray Shulker Box.png|
Gray Shulker Box.png|
Black Shulker Box.png|
Brown Shulker Box.png|
Red Shulker Box.png|
Orange Shulker Box.png|
Yellow Shulker Box.png|
Lime Shulker Box.png|
Green Shulker Box.png|
Cyan Shulker Box.png|
Light Blue Shulker Box.png|
Blue Shulker Box.png|
Purple Shulker Box.png|
Magenta Shulker Box.png|
Pink Shulker Box.png|
===Screenshots===
Shulkblaze.jpg|An image released by Jeb_ of shulkers appearing to attack blazes in the Nether.
ShulkerAttack.png|A shulker attacking the player.
ShulkerBullet.png|Close-up of the projectile shot by a shulker.
ShulkerCamouflage.png|A shulker inside an end city. It is difficult to spot against the purpur blocks.
ShulkersFighting.png|A shulker attacking another shulker.
Shulkerbottom.png|The bottom of a shulker.
ShulkerInvisiblity.png|A shulker with Invisibility effect.
AllShulkerColors.png|All 16 shulker colors from before Java Edition 1.16.4.
2shulkers.png|2 shulkers guarding entrance to the end city.
Shulkersonship.png|2 shulkers on end ship.
Invisibility Shulker.jpg|A player avoiding a shulker by using the Invisibility effect.
===In other media===
LEGO Shulker.png|Lego Minecraft shulker
==References==
==External links==
*Meet the Shulker – Minecraft.net on January 30, 2017
Category:Hostile mobs
Category:End mobs
Category:Monster mobs
cs:Shulker
de:Shulker
es:Shulker
fr:Shulker
hu:Shulker
it:Shulker
ja:シュルカー
ko:셜커
nl:Shulker
pl:Shulker
pt:Shulker
ru:Шалкер
th:ชัลเกอร์
uk:Шалкер
zh:潜影贝