UNPKG

minecraft-data

Version:
950 lines (949 loc) 97.4 kB
{ "handshaking": { "toClient": {}, "toServer": { "set_protocol": { "before": [ "This causes the server to switch into the target state.", "" ], "after": [ "", "" ], "id": "0x00" }, "legacy_server_list_ping": { "before": [ "While not technically part of the current protocol, legacy clients may send this packet to initiate [Server List Ping](Server_List_Ping \"wikilink\"), and modern servers should handle it correctly.", "" ], "after": [ "See [Server List Ping\\#1.6](Server_List_Ping#1.6 \"wikilink\") for the details of the protocol that follows this packet.", "" ], "id": "0xfe" } } }, "status": { "toClient": { "ping": { "before": [ "", "" ], "after": [ "", "" ], "id": "0x01" }, "server_info": { "before": [ "", "" ], "after": [ "", "" ], "id": "0x00" } }, "toServer": { "ping": { "before": [ "", "" ], "after": [ "", "" ], "id": "0x01" }, "ping_start": { "before": [ "", "" ], "after": [ "", "" ], "id": "0x00" } } }, "login": { "toServer": { "login_start": { "before": [ "", "" ], "after": [ "", "" ], "id": "0x00" }, "encryption_begin": { "before": [ "", "" ], "after": [ "See [Protocol Encryption](Protocol_Encryption \"wikilink\") for details.", "", "[Category:Protocol Details](Category:Protocol_Details \"wikilink\") [Category:Minecraft Modern](Category:Minecraft_Modern \"wikilink\")", "" ], "id": "0x01" } }, "toClient": { "encryption_begin": { "before": [ "", "" ], "after": [ "See [Protocol Encryption](Protocol_Encryption \"wikilink\") for details.", "" ], "id": "0x01" }, "success": { "before": [ "", "" ], "after": [ "This packet switches the connection state to [play](#play \"wikilink\").", "" ], "id": "0x02" }, "compress": { "before": [ "Enables compression. If compression is enabled, all following packets are encoded in the [compressed packet format](#with_compression \"wikilink\"). Negative values will disable compression, meaning the packet format should remain in the [uncompressed packet format](#without_compression \"wikilink\"). However, this packet is entirely optional, and if not sent, compression will also not be enabled (the notchian server does not send the packet when compression is disabled).", "" ], "after": [ "", "" ], "id": "0x03" }, "disconnect": { "before": [ "", "" ], "after": [ "", "" ], "id": "0x00" } } }, "play": { "toClient": { "block_break_animation": { "before": [ "0–9 are the displayable destroy stages and each other number means that there is no animation on this coordinate.", "", "Block break animations can still be applied on air; the animation will remain visible although there is no block being broken. However, if this is applied to a transparent block, odd graphical effects may happen, including water losing its transparency. (An effect similar to this can be seen in normal gameplay when breaking ice blocks)", "", "If you need to display several break animations at the same time you have to give each of them a unique Entity ID.", "" ], "after": [ "", "" ], "id": "0x08" }, "tile_entity_data": { "before": [ "Sets tile entity associated with the block at the given location.", "" ], "after": [ "*Action* field:", "", "- **1**: Set data of a mob spawner (everything except for SpawnPotentials: current delay, min/max delay, mob to be spawned, spawn count, spawn range, etc.)", "- **2**: Set command block text (command and last execution status)", "- **3**: Set the level, primary, and secondary powers of a beacon", "- **4**: Set rotation and skin of mob head", "- **5**: Set type of flower in flower pot", "- **6**: Set base color and patterns on a banner", "- **7**: Set the data for a Structure tile entity", "- **8**: Set the destination for a end gateway", "- **9**: Set the text on a sign", "- **10**: Declare a shulker box (unclear if there is any actual data)", "", "" ], "id": "0x09" }, "difficulty": { "before": [ "Changes the difficulty setting in the client's option menu", "" ], "after": [ "", "" ], "id": "0x0d" }, "tab_complete": { "before": [ "The server responds with a list of auto-completions of the last word sent to it. In the case of regular chat, this is a player username. Command names and parameters are also supported. The client sorts these alphabetically before listing them.", "" ], "after": [ "", "" ], "id": "0x0e" }, "chat": { "before": [ "Identifying the difference between Chat/System Message is important as it helps respect the user's chat visibility options. While Position 2 accepts json formatting it will not display, old style formatting works", "" ], "after": [ "", "" ], "id": "0x0f" }, "multi_block_change": { "before": [ "Fired whenever 2 or more blocks are changed within the same chunk on the same tick.", "" ], "after": [ "To decode the position into a world position:", "", "``` java", "worldX = (horizPos >> 4 & 15) + (chunkX * 16);", "worldY = vertPos;", "worldZ = (horizPos & 15) + (chunkZ * 16);", "```", "" ], "id": "0x10" }, "transaction": { "before": [ "A packet from the server indicating whether a request from the client was accepted, or whether there was a conflict (due to lag). If the packet was not accepted, the client must respond with a [serverbound confirm transaction](#confirm_transaction \"wikilink\") packet.", "" ], "after": [ "", "" ], "id": "0x11" }, "close_window": { "before": [ "This packet is sent from the server to the client when a window is forcibly closed, such as when a chest is destroyed while it's open.", "", "Note, notchian clients send a close window packet with Window ID 0 to close their inventory even though there is never an [Open Window](#open_window \"wikilink\") packet for inventory.", "" ], "after": [ "", "" ], "id": "0x12" }, "open_window": { "before": [ "This is sent to the client when it should open an inventory, such as a chest, workbench, or furnace. This message is not sent anywhere for clients opening their own inventory.", "" ], "after": [ "See [Inventory](Inventory \"wikilink\") for further information.", "" ], "id": "0x13" }, "window_items": { "before": [ "![The inventory slots](Inventory-slots.png \"The inventory slots\")", "", "Sent by the server when items in multiple slots (in a window) are added/removed. This includes the main inventory, equipped armour and crafting slots.", "" ], "after": [ "See [inventory windows](Inventory#Windows \"wikilink\") for further information about how slots are indexed.", "" ], "id": "0x14" }, "craft_progress_bar": { "before": [ "This packet is used to inform the client that part of a GUI window should be updated.", "" ], "after": [ "The meaning of the Property field depends on the type of the window. The following table shows the known combinations of window type and property, and how the value is to be interpreted.", "", "| Window type | Property | Value |", "|---------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------|", "| Furnace | 0: Fire icon (fuel left) | counting from fuel burn time down to 0 (in-game ticks) |", "| 1: Maximum fuel burn time | fuel burn time or 0 (in-game ticks) |", "| 2: Progress arrow | counting from 0 to maximum progress (in-game ticks) |", "| 3: Maximum progress | always 200 on the notchian server |", "| Enchantment Table | 0: Level requirement for top enchantment slot | The enchantment's xp level requirement |", "| 1: Level requirement for middle enchantment slot |", "| 2: Level requirement for bottom enchantment slot |", "| 3: The enchantment seed | Used for drawing the enchantment names (in [SGA](Wikipedia:Standard_Galactic_Alphabet \"wikilink\")) clientside. The same seed *is* used to calculate enchantments, but some of the data isn't sent to the client to prevent easily guessing the entire list (the seed value here is the regular seed bitwise and `0xFFFFFFF0`). |", "| 4: Enchantment ID shown on mouse hover over top enchantment slot | The enchantment id (set to -1 to hide it) |", "| 5: Enchantment ID shown on mouse hover over middle enchantment slot |", "| 6: Enchantment ID shown on mouse hover over bottom enchantment slot |", "| 7: Enchantment level shown on mouse hover over the top slot | The enchantment level (1 = I, 2 = II, 6 = VI, etc.), or -1 if no enchant |", "| 8: Enchantment level shown on mouse hover over the middle slot |", "| 9: Enchantment level shown on mouse hover over the bottom slot |", "| Beacon | 0: Power level | 0-4, controls what effect buttons are enabled |", "| 1: First potion effect | for the first effect, or -1 if no effect |", "| 2: Second potion effect | for the second effect, or -1 if no effect |", "| Anvil | 0: Repair cost | The repair's cost in xp levels |", "| Brewing Stand | 0: Brew time | 0–400, with 400 making the arrow empty, and 0 making the arrow full |", "", "", "" ], "id": "0x15" }, "set_slot": { "before": [ "Sent by the server when an item in a slot (in a window) is added/removed.", "" ], "after": [ "To set the cursor (the item currently dragged with the mouse), use -1 as Window ID and as Slot.", "", "This packet can only be used to edit the hotbar of the player's inventory if window ID is set to 0 (slots 36 through 44). If the window ID is set to -2, then any slot in the inventory can be used but no add item animation will be played.", "" ], "id": "0x16" }, "set_cooldown": { "before": [ "Applies a cooldown period to all items with the given type. Used by the Notchian server with enderpearls. This packet should be sent when the cooldown starts and also when the cooldown ends (to compensate for lag), although the client will end the cooldown automatically.", "" ], "after": [ "", "" ], "id": "0x17" }, "custom_payload": { "before": [ "Mods and plugins can use this to send their data. Minecraft itself uses a number of [plugin channels](plugin_channel \"wikilink\"). These internal channels are prefixed with `MC|`.", "", "More documentation on this: [<http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/>](http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/)", "" ], "after": [ "", "" ], "id": "0x18" }, "named_sound_effect": { "before": [ "Used to play a sound effect on the client. Custom sounds may be added by resource packs.", "" ], "after": [ "", "" ], "id": "0x19" }, "kick_disconnect": { "before": [ "Sent by the server before it disconnects a client. The client assumes that the server has already closed the connection by the time the packet arrives.", "" ], "after": [ "", "" ], "id": "0x1a" }, "entity_status": { "before": [ "Entity statuses generally trigger an animation for an entity. The available statuses vary by the entity's type (and are available to subclasses of that type as well).", "" ], "after": [ "See [entities](entities \"wikilink\") for a list of which statuses are valid for each type of entity.", "" ], "id": "0x1b" }, "explosion": { "before": [ "Sent when an explosion occurs (creepers, TNT, and ghast fireballs).", "", "Each block in Records is set to air. Coordinates for each axis in record is int(X) + record.x", "" ], "after": [ "", "" ], "id": "0x1c" }, "unload_chunk": { "before": [ "Tells the client to unload a chunk column.", "" ], "after": [ "", "" ], "id": "0x1d" }, "game_state_change": { "before": [ "Used for a wide variety of game state things, from weather to bed use to game mode to demo messages.", "" ], "after": [ "*Reason codes*:", "", "| Reason | Effect | Value |", "|--------|-------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|", "| 0 | Invalid Bed | Would be used to switch between messages, but the only used message is 0 for invalid bed |", "| 1 | End raining | |", "| 2 | Begin raining | |", "| 3 | Change game mode | 0: Survival, 1: Creative, 2: Adventure, 3: Spectator |", "| 4 | Exit end | 0: Immediately send Client Status of respawn without showing end credits; 1: Show end credits and respawn at the end (or when esc is pressed). 1 is sent if the player has not yet received the “The end?” achievement, while if they do have it 0 is used. |", "| 5 | Demo message | 0: Show welcome to demo screen, 101: Tell movement controls, 102: Tell jump control, 103: Tell inventory control |", "| 6 | Arrow hitting player | Appears to be played when an arrow strikes another player in Multiplayer |", "| 7 | Fade value | The current darkness value. 1 = Dark, 0 = Bright, Setting the value higher causes the game to change color and freeze |", "| 8 | Fade time | Time in ticks for the sky to fade |", "| 10 | Play elder guardian mob appearance (effect and sound) | |", "", "", "" ], "id": "0x1e" }, "keep_alive": { "before": [ "The server will frequently send out a keep-alive, each containing a random ID. The client must respond with the same packet. If the client does not respond to them for over 30 seconds, the server kicks the client. Vice versa, if the server does not send any keep-alives for 20 seconds, the client will disconnect and yields a “Timed out” exception.", "" ], "after": [ "", "" ], "id": "0x1f" }, "map_chunk": { "before": [ "The server only sends skylight information for chunk pillars in the , it's up to the client to know in which dimenison the player is currently located. You can also infer this information from the primary bitmask and the amount of uncompressed bytes sent. This packet also sends all block entities in the chunk (though sending them is not required; it is still legal to send them with [Update Block Entity](#update_block_entity \"wikilink\") later).", "" ], "after": [ "", "" ], "id": "0x20" }, "world_event": { "before": [ "Sent when a client is to play a sound or particle effect.", "", "By default, the Minecraft client adjusts the volume of sound effects based on distance. The final boolean field is used to disable this, and instead the effect is played from 2 blocks away in the correct direction. Currently this is only used for effect 1023 (wither spawn) and effect 1028 (enderdragon death); it is ignored on other effects.", "" ], "after": [ "Effect IDs:", "", "| ID | Name | Data |", "|----------|-----------------------------------------------------------|---------------------------------------------------------------------------------------|", "| Sound |", "| 1000 | Dispenser dispenses | |", "| 1001 | Dispenser fails to dispense | |", "| 1002 | Dispenser shoots | |", "| 1003 | Ender eye launched | |", "| 1004 | Firework shot | |", "| 1005 | Iron door opened | |", "| 1006 | Wooden door opened | |", "| 1007 | Wooden trapdoor opened | |", "| 1008 | Fence gate opened | |", "| 1009 | Fire extinguished | |", "| 1010 | Play record | |", "| 1011 | Iron door closed | |", "| 1012 | Wooden door closed | |", "| 1013 | Wooden trapdoor closed | |", "| 1014 | Fence gate closed | |", "| 1015 | Ghast warns | |", "| 1016 | Ghast shoots | |", "| 1017 | Enderdragon shoots | |", "| 1018 | Blaze shoots | |", "| 1019 | Zombie attacks wood door | |", "| 1020 | Zombie attacks iron door | |", "| 1021 | Zombie breaks wood door | |", "| 1022 | Wither breaks block | |", "| 1023 | Wither spawned | |", "| 1024 | Wither shoots | |", "| 1025 | Bat takes off | |", "| 1026 | Zombie infects | |", "| 1027 | Zombie villager converted | |", "| 1028 | Ender dragon death | |", "| 1029 | Anvil destroyed | |", "| 1030 | Anvil used | |", "| 1031 | Anvil landed | |", "| 1032 | Portal travel | |", "| 1033 | Chorus flower grown | |", "| 1034 | Chorus flower died | |", "| 1035 | Brewing stand brewed | |", "| 1036 | Iron trapdoor opened | |", "| 1037 | Iron trapdoor closed | |", "| Particle |", "| 2000 | Spawns 10 smoke particles, e.g. from a fire | Direction, see below |", "| 2001 | Block break + block break sound | |", "| 2002 | Splash potion. Particle effect + glass break sound. | [Potion ID](https://minecraft.wiki/w/Java_Edition_data_values/Pre-flattening#Potions) |", "| 2003 | Eye of Ender entity break animation — particles and sound | |", "| 2004 | Mob spawn particle effect: smoke + flames | |", "| 2005 | Bonemeal particles | How many particles to spawn (if set to 0, 15 are spawned) |", "| 2006 | Dragon breath | |", "| 3000 | End gateway spawn | |", "| 3001 | Enderdragon growl | |", "", "Smoke directions:", "", "| ID | Direction |", "|-----|------------------|", "| 0 | South-East |", "| 1 | South |", "| 2 | South-West |", "| 3 | East |", "| 4 | (Up or middle ?) |", "| 5 | West |", "| 6 | North-East |", "| 7 | North |", "| 8 | North-West |", "", "", "" ], "id": "0x21" }, "world_particles": { "before": [ "Displays the named particle", "" ], "after": [ "Particle IDs:", "", "| Particle Name | Particle ID |", "|-----------------------------------|-------------|", "| explode | 0 |", "| largeexplosion | 1 |", "| hugeexplosion | 2 |", "| fireworksSpark | 3 |", "| bubble | 4 |", "| splash | 5 |", "| wake | 6 |", "| suspended | 7 |", "| depthsuspend | 8 |", "| crit | 9 |", "| magicCrit | 10 |", "| smoke | 11 |", "| largesmoke | 12 |", "| spell | 13 |", "| instantSpell | 14 |", "| mobSpell | 15 |", "| mobSpellAmbient | 16 |", "| witchMagic | 17 |", "| dripWater | 18 |", "| dripLava | 19 |", "| angryVillager | 20 |", "| happyVillager | 21 |", "| townaura | 22 |", "| note | 23 |", "| portal | 24 |", "| enchantmenttable | 25 |", "| flame | 26 |", "| lava | 27 |", "| footstep | 28 |", "| cloud | 29 |", "| reddust | 30 |", "| snowballpoof | 31 |", "| snowshovel | 32 |", "| slime | 33 |", "| heart | 34 |", "| barrier | 35 |", "| iconcrack\\_(id)\\_(data) | 36 |", "| blockcrack\\_(id+(data&lt;&lt;12)) | 37 |", "| blockdust\\_(id) | 38 |", "| droplet | 39 |", "| take | 40 |", "| mobappearance | 41 |", "| dragonbreath | 42 |", "| endrod | 43 |", "| damageindicator | 44 |", "| sweepattack | 45 |", "| fallingdust | 46 |", "", "", "" ], "id": "0x22" }, "login": { "before": [ "See [Protocol Encryption](Protocol_Encryption \"wikilink\") for information on logging in.", "" ], "after": [ "", "" ], "id": "0x23" }, "map": { "before": [ "Updates a rectangular area on a item.", "" ], "after": [ "For icons, a direction of 0 is a vertical icon and increments by 22.5° (360/16).", "", "Types are based off of rows and columns in `map_icons.png`:", "", "| Icon type | Result |", "|-----------|------------------------------------------|", "| 0 | White arrow (players) |", "| 1 | Green arrow (item frames) |", "| 2 | Red arrow |", "| 3 | Blue arrow |", "| 4 | White cross |", "| 5 | Red pointer |", "| 6 | White circle (off-map players) |", "| 7 | Small white circle (far-off-map players) |", "| 8 | Mansion |", "| 9 | Temple |", "| 10-15 | Unused (blue square) |", "", "", "" ], "id": "0x24" }, "rel_entity_move": { "before": [ "This packet is sent by the server when an entity moves less then 8 blocks; if an entity moves more than 8 blocks [Entity Teleport](#entity_teleport \"wikilink\") ([Play](#play \"wikilink\"), 0x4A, clientbound) should be sent instead.", "", "This packet allows at most 8 blocks movement in any direction, because short range is from -32768 to 32767. And `32768 / (128 * 32)` = 8.", "" ], "after": [ "", "" ], "id": "0x25" }, "entity_move_look": { "before": [ "This packet is sent by the server when an entity rotates and moves. Since a short range is limited from -32768 to 32767, and movement is offset of fixed-point numbers, this packet allows at most 8 blocks movement in any direction. (`-32768 / (32 * 128) == -8`)", "" ], "after": [ "", "" ], "id": "0x26" }, "entity_look": { "before": [ "This packet is sent by the server when an entity rotates.", "" ], "after": [ "", "" ], "id": "0x27" }, "entity": { "before": [ "This packet may be used to initialize an entity.", "", "For player entities, either this packet or any move/look packet is sent every game tick. So the meaning of this packet is basically that the entity did not move/look since the last such packet.", "" ], "after": [ "", "" ], "id": "0x28" }, "vehicle_move": { "before": [ "Note that all fields use absolute positioning and do not allow for relative positioning.", "" ], "after": [ "", "" ], "id": "0x29" }, "open_sign_entity": { "before": [ "Sent when the client has placed a sign and is allowed to send [Update Sign](#update_sign \"wikilink\").", "" ], "after": [ "", "" ], "id": "0x2a" }, "abilities": { "before": [ "The latter 2 floats are used to indicate the field of view and flying speed respectively, while the first byte is used to determine the value of 4 booleans.", "" ], "after": [ "About the flags:", "", "| Field | Bit |", "|---------------|------|", "| Invulnerable | 0x01 |", "| Flying | 0x02 |", "| Allow Flying | 0x04 |", "| Creative Mode | 0x08 |", "", "", "" ], "id": "0x2b" }, "combat_event": { "before": [ "", "" ], "after": [ "", "" ], "id": "0x2c" }, "player_info": { "before": [ "Sent by the server to update the user list (<tab> in the client).", "" ], "after": [ "The Property field looks as in the response of [Mojang API\\#UUID -&gt; Profile + Skin/Cape](Mojang_API#UUID_->_Profile_+_Skin/Cape \"wikilink\"), except of course using the protocol format instead of JSON. That is, each player will usually have one property with Name “textures” and Value being a base64-encoded JSON string as documented at [Mojang API\\#UUID -&gt; Profile + Skin/Cape](Mojang_API#UUID_->_Profile_+_Skin/Cape \"wikilink\"). An empty properties array is also acceptable, and will cause clients to display the player with one of the two default skins depending on UUID.", "" ], "id": "0x2d" }, "position": { "before": [ "Updates the player's position on the server. This packet will also close the “Downloading Terrain” screen when joining/respawning.", "", "If the distance between the last known position of the player on the server and the new position set by this packet is greater than 100 meters, the client will be kicked for “You moved too quickly :( (Hacking?)”.", "", "Also if the fixed-point number of X or Z is set greater than `3.2E7D` the client will be kicked for “Illegal position”.", "", "Yaw is measured in degrees, and does not follow classical trigonometry rules. The unit circle of yaw on the XZ-plane starts at (0, 1) and turns counterclockwise, with 90 at (-1, 0), 180 at (0, -1) and 270 at (1, 0). Additionally, yaw is not clamped to between 0 and 360 degrees; any number is valid, including negative numbers and numbers greater than 360.", "", "Pitch is measured in degrees, where 0 is looking straight ahead, -90 is looking straight up, and 90 is looking straight down.", "" ], "after": [ "About the Flags field:", "", "<Dinnerbone>` It's a bitfield, X/Y/Z/Y_ROT/X_ROT. If X is set, the x value is relative and not absolute.`", "", "| Field | Bit |", "|--------|------|", "| X | 0x01 |", "| Y | 0x02 |", "| Z | 0x04 |", "| Y\\_ROT | 0x08 |", "| X\\_ROT | 0x10 |", "", "", "" ], "id": "0x2e" }, "bed": { "before": [ "This packet tells that a player goes to bed.", "", "The client with the matching Entity ID will go into bed mode.", "", "This Packet is sent to all nearby players including the one sent to bed.", "" ], "after": [ "", "" ], "id": "0x2f" }, "entity_destroy": { "before": [ "Sent by the server when a list of entities is to be destroyed on the client.", "" ], "after": [ "", "" ], "id": "0x30" }, "remove_entity_effect": { "before": [ "", "" ], "after": [ "", "" ], "id": "0x31" }, "resource_pack_send": { "before": [ "", "" ], "after": [ "", "" ], "id": "0x32" }, "respawn": { "before": [ "To change the player's dimension (overworld/nether/end), send them a respawn packet with the appropriate dimension, followed by prechunks/chunks for the new dimension, and finally a position and look packet. You do not need to unload chunks, the client will do it automatically.", "" ], "after": [ "", "" ], "id": "0x33" }, "entity_head_rotation": { "before": [ "Changes the direction an entity's head is facing.", "" ], "after": [ "", "" ], "id": "0x34" }, "world_border": { "before": [ "", "" ], "after": [ "The Notchian client determines how solid to display the warning by comparing to whichever is higher, the warning distance or whichever is lower, the distance from the current diameter to the target diameter or the place the border will be after warningTime seconds. In pseudocode:", "", "``` java", "distance = max(min(resizeSpeed * 1000 * warningTime, abs(targetDiameter - currentDiameter)), warningDistance);", "if (playerDistance < distance) {", " warning = 1.0 - playerDistance / distance;", "} else {", " warning = 0.0;", "}", "```", "" ], "id": "0x35" }, "camera": { "before": [ "Sets the entity that the player renders from. This is normally used when the player left-clicks an entity while in spectator mode.", "", "The player's camera will move with the entity and look where it is looking. The entity is often another player, but can be any type of entity. The player is unable to move this entity (move packets will act as if they are coming from the other entity).", "", "If the given entity is not loaded by the player, this packet is ignored. To return control to the player, send this packet with their entity ID.", "", "The Notchian server resets this (sends it back to the default entity) whenever the spectated entity is killed or the player sneaks, but only if they were spectating an entity. It also sends this packet whenever the player switches out of spectator mode (even if they weren't spectating an entity).", "" ], "after": [ "The notchian also loads certain shaders for given entities:", "", "- Creeper → `shaders/post/creeper.json`", "- Spider (and cave spider) → `shaders/post/spider.json`", "- Enderman → `shaders/post/invert.json`", "- Anything else → the current shader is unloaded", "", "" ], "id": "0x36" }, "held_item_slot": { "before": [ "Sent to change the player's slot selection.", "" ], "after": [ "", "" ], "id": "0x37" }, "scoreboard_display_objective": { "before": [ "This is sent to the client when it should display a scoreboard.", "" ], "after": [ "", "" ], "id": "0x38" }, "entity_metadata": { "before": [ "Updates one or more [metadata](Entities#Entity_Metadata_Format \"wikilink\") properties for an existing entity. Any properties not included in the Metadata field are left unchanged.", "" ], "after": [ "", "" ], "id": "0x39" }, "attach_entity": { "before": [ "This packet is sent when an entity has been to another entity.", "" ], "after": [ "", "" ],