text
stringlengths
0
113k
[SOURCE: https://minecraft.wiki/w/Development_resources] | [TOKENS: 261]
Development resources Minecraft is written in Java and C++, and although the class files are obfuscated, the community has figured out most of the inner workings of Minecraft. Notch himself gave notes on a common format used by Minecraft, the NBT format. From this, the community has derived information for the files that use the NBT format. Contents NBT format The NBT format is used by almost every file in Minecraft. It is a GZipped tree structure of tags, where each tag has a type, name, and payload based on the type. In 1.2 snapshot 12w07a and above, an additional tag type was added to the original tag types that existed since Indev. Level formats Each edition of Minecraft uses its own file format to store levels. The following information about the different level file formats can be used by software developers to create map editors, servers, level generators, and other programs. Blocks, items, data values, and entities are common to all map types. Other formats Libraries These are community-created libraries to interact with the various files used by Minecraft. Server protocol Classic server protocol used by the Minecraft Classic Creative Multiplayer server. For info on the current multiplayer protocol, see the wiki.vg merge project on this wiki. Resources Navigation All commands Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/File:MC_Live_25_Spear.png] | [TOKENS: 129]
File:MC Live 25 Spear.png An image of the spear item on the ground, as shown in the Minecraft Live 2025 Video Licensing File history Click on a date/time to view the file as it appeared at that time. You cannot overwrite this file. File usage The following 3 pages use this file (also see what links to it): Global file usage The following other wikis use this file: Metadata This file contains additional information, probably added from the digital camera or scanner used to create or digitize it. If the file has been modified from its original state, some details may not fully reflect the modified file. Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/File:Dark_Oak_Hanging_Sign_JE1_BE1.png] | [TOKENS: 112]
File:Dark Oak Hanging Sign JE1 BE1.png License File history Click on a date/time to view the file as it appeared at that time. You cannot overwrite this file. File usage The following 49 pages use this file (also see what links to it): Global file usage The following other wikis use this file: Metadata This file contains additional information, probably added from the digital camera or scanner used to create or digitize it. If the file has been modified from its original state, some details may not fully reflect the modified file. Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/File:Instant_Damage_JE1.png] | [TOKENS: 109]
File:Instant Damage JE1.png Summary Licensing File history Click on a date/time to view the file as it appeared at that time. You cannot overwrite this file. File usage The following 9 pages use this file (also see what links to it): Global file usage The following other wikis use this file: Metadata This file contains additional information, probably added from the digital camera or scanner used to create or digitize it. If the file has been modified from its original state, some details may not fully reflect the modified file. Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/Bedrock_Edition_level_format] | [TOKENS: 979]
Bedrock Edition level format Bedrock Edition uses a modified version of Google's LevelDB, which uses the Zlib compression format for world storage. The world storage files are located in a world file in com.mojang. Contents LevelDB based format Mojang has modified Google's Original LevelDB to add Zlib compression and Windows support. The code is available at https://github.com/Mojang/leveldb, and the building instructions are documented by Tommaso at https://twitter.com/_tomcc/status/477950809427427328. For a Java implementation of LevelDB + Zlib, see https://github.com/HiveGamesOSS/leveldb-mcpe-java Google's leveldb library has evolved extensively since Mojang released their version, but the Mojang version still works (as of 2022). The code does require some minor tweaks to compile: The database is stored in the db/ subdirectory of a Bedrock Edition world. The database path which is passed to the LevelDB API is this directory path, not the path to any file within it. It seems this is also where terrain generation is stored. This is because you can turn an old world infinite by replacing its db folder with one from an infinite world. A database key for data regarding a chunk is the concatenation of: Accordingly, such a key may be 9, 10, 13 or 14 bytes long. Not all subchunks necessarily exist for a given chunk. The "BlockEntity", "Entity" and "PendingTicks" records are represented by a sequence of concatenated root tags in a variant of NBT which stores the lengths and the multi-byte integer types in little-endian format, as opposed to the big-endian format used by Java Edition or the original NBT specification. The value 0 is used in the "Version" record in old style worlds; higher values are used in infinite worlds. Biome data (varying lengths) 2D biomes (256×1 bytes) 2D biomes (256×4 bytes) Block meta (32768 nibbles) Block sky light (32768 nibbles) Block light (32768 nibbles) Heightmap (256×1 bytes) 2D biomes (256×4 bytes) No longer written since v1.0.0. Biomes are IDs plus RGB colours similar to Data2DLegacy. Entries: Key (4 bytes), Value (2 bytes). There's also the special key ~local_player for an entity data entry that holds the local player entity. The value associated with the ~local_player key is NBT encoded and has only a single compound tag at the root level. There's also a special key for remote players which consists of two parts. The first part is the prefix "player_" (without the quotes) and the second part is the client ID which is contained in the remote player's clientid.txt file. For example, player_-12345678 would be the key for a remote client with an client ID of -12345678. The value associated with the "player_" prefixed key is NBT encoded and has only a single compound tag at the root level. There's also a special "game_flatworldlayers" key of length 20 for flat worlds. The value associated with this key is a set of numbers in ASCII text format. An example of a value associated with the "game_flatworldlayers" key is "[7,3,3,2]" where the value length for this example is 9. There are several keys related to villages. Depending on the dimension, the village key is prefixed with VILLAGE_DIMENSION_[0-9a-f\\-]+_, with DIMENSION being replaced with the dimension's name. Other keys start with the following strings An official explanation from Microsoft about how entities (actors) are stored in LevelDB can be found on Microsoft Learn / Minecraft Bedrock Edition. The following articles document NBT structures of block entity and entity. level.dat The level.dat is still in uncompressed NBT format. The file begins with an 8-byte header, consisting of a little-endian 4-byte integer indicating the version of the file, which is currently 10. It is followed by another integer containing the length of the file, minus the header. LOG The LOG files are located at the /db path of a level, and are part of the leveldb format, used in between compaction of the LDB files. It is similar to a Log file for a program. The format is: YYYY/MM/DD-Hour/Minute/Second.StepName "Info" Example: 2014/07/24-22:20:08.400488 4a3638 Recovering log #3 History See also References Navigation Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/File:Three_spears.jpg] | [TOKENS: 86]
File:Three spears.jpg Summary Source: https://www.minecraft.net/en-us/article/test-the-first-features-from-mounts-of-mayhem Licensing File history Click on a date/time to view the file as it appeared at that time. You cannot overwrite this file. File usage The following 3 pages use this file (also see what links to it): Global file usage The following other wikis use this file: Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/File:Bad_Omen_JE3_BE3.png] | [TOKENS: 92]
File:Bad Omen JE3 BE3.png Summary Bad Omen icon from 24w13a, upscaled from 18x18 to 180x180. Licensing File history Click on a date/time to view the file as it appeared at that time. You cannot overwrite this file. File usage The following 23 pages use this file (also see what links to it): Global file usage The following other wikis use this file: Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/19w45a] | [TOKENS: 161]
Java Edition 19w45a Java Edition November 7, 2019 Snapshot 1.15 Client (.json)Server ClientServer 561 2214 4 4 Java SE 8 ◄ 19w44a 19w45b ► 19w45a is the twelfth snapshot for Java Edition 1.15, released on November 7, 2019. Contents Additions Tags Changes Composters End stone bricks Bees Parrots Trees Advancements Recipe book Trading Textures Fixes 82 issues fixed From released versions before 1.15 From the 1.15 development versions From the previous development version Private issues Videos Trivia References Navigation * indicates a reupload | † indicates a lost version | ‡ indicates a version with a variant Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/Structure?action=edit&section=14] | [TOKENS: 222]
Editing Structure (section) Please note that all contributions to Minecraft Wiki are considered to be released under the CC BY-NC-SA 3.0 license, except for pages imported from wiki.vg or pages derived from such pages, which are considered to be released under the CC BY-SA 3.0 license. See Minecraft Wiki:Copyrights for details. If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission! You may also post content obtained from Mojang, its websites, manuals and guides, concept art and renderings, press and fansite kits, and other such copyrighted material that Mojang has made available to the general public, to the Minecraft Wiki. All rights, title and interest in and to such content shall remain with Mojang, as applicable, and such content is not licensed pursuant to the Terms of Use. This page is a member of a hidden category: Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/Map_Marker] | [TOKENS: 101]
Map Marker ? Map markers are entities exclusive to the Bedrock Editor. Contents Spawning Map markers do not spawn naturally. Found only in Bedrock Editor, spawn eggs exist in the spawn egg group in the Creative inventory. They can also be summoned using the /summon command. Behavior Usage In Bedrock Editor, it is used as a marker when using tools. Official server In the official Capture the Flag test server, map markers can be seen without using Bedrock Editor. Data values History Navigation Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/RakNet] | [TOKENS: 873]
RakNet RakNet is a networking library used by Bedrock Edition. This documentation is based on the old Pocket Edition protocol and may be incomplete or outdated. The source code for the RakNet Library can be found here. RakNet uses UDP as its networking protocol. The key differences from TCP are that not all packets are guaranteed to reach the destination at all or in order (it isn't reliable) and it uses messages with a specified length instead of streams of data. RakNet compensates for the out-of-order delivery and makes it reliable. Contents Libraries NOTE: You may want to use an existing library if one exists for your language of choice. Here is an incomplete list. Not all of these are maintained or complete. If these are outdated you may need to change the protocol version to 11 before it can work. The protocol doesn't seem to have had any significant changes since the official implementation was discontinued in 2014, so as long as you bump the protocol version older libraries are likely to still work. Data types Handshake sequence From here on, the RakNet connection is established and all RakNet messages are contained in a Frame Set Packet. Next packets should be Game Packet Packets This is the first RakNet message sent by the client to a RakNet server. 0x01 is sent almost every second if the client is on the server list menu and every 4-5 seconds if the client is in-game. 0x02 is only replied to if there are open connections to the server. Note: as of 0.15.6 it seems that the game refreshes it's LAN world list every 4-5 seconds, however it seems the game will still ping in 1 second intervals. This packet should be responded to with unconnected Pong. Unconnected Pong message is sent by the server to the client in response to the Unconnected Ping message. It contains various data that is sent to the client such as MOTD, number of players, max player count, etc. The format is given below: Server ID string format For Minecraft Bedrock this is separated by semicolons and uses the following format: Edition (MCPE or MCEE for Education Edition);MOTD line 1;Protocol Version;Version Name;Player Count;Max Player Count;Server Unique ID;MOTD line 2;Game mode;Game mode (numeric);Port (IPv4);Port (IPv6); Example: MCPE;Dedicated Server;390;1.14.60;0;10;13253860892328930865;Bedrock level;Survival;1;19132;19133; Result: The Game mode and Game mode (numeric) values seem to not be used by the client. This is the first packet sent in the Encapsulated Frame Set Packet by the client to the server. It is sent with the reliability type Unreliable so it can be handled immediately by the server. It is used for calculating the average ping between the client and the server. Connected Pong message is sent in response to the Connected Ping message with reliability type set to Unreliable so it can be handled immediately by the client. The client sends these to the target server with ever decreasing MTU until the server responds. This is used to discover the MTU size for the connection. According to the official docs, "The MTU size is the maximum size of a packet RakNet will generate", and "if you set the MTU size larger than your or any router along the network path takes, then the network will split the packet at best, or drop it at worst", so this process of sending decreasingly padded packets (compensating for the size of the packet itself and UDP overhead, which together make 46 bytes) seem to be used to discover the maximum packet size the network can handle. See the official documentation page for more info about the MTU size. If the RakNet protocol does not match your own, respond with the Incompatible protocol packet. You should always respond to the first of these packets that you receive with Open Connection Reply 1, containing an MTU size of the amount of padding you received in bytes plus 46. The reliability types are as follows: Sequenced implies ordered. References Navigation Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/File:Dark_Oak_Shelf_JE1_BE2.png] | [TOKENS: 95]
File:Dark Oak Shelf JE1 BE2.png Summary No information available. Please correct this! No information available. Please correct this! See below. Licensing File history Click on a date/time to view the file as it appeared at that time. You cannot overwrite this file. File usage The following 48 pages use this file (also see what links to it): Global file usage The following other wikis use this file: View more global usage of this file. Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/File:Noor_vs._zoglin.jpg] | [TOKENS: 90]
File:Noor vs. zoglin.jpg Summary Source: https://www.minecraft.net/en-us/article/test-the-first-features-from-mounts-of-mayhem Licensing File history Click on a date/time to view the file as it appeared at that time. You cannot overwrite this file. File usage The following 2 pages use this file (also see what links to it): Global file usage The following other wikis use this file: Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/Ominous_bottle] | [TOKENS: 442]
Ominous Bottle Uncommon Bad Omen Yes Yes (64) An ominous bottle is an item that gives a player the Bad Omen effect for 100 minutes when drunk, which can cause an ominous event to start. Contents Obtaining A pillager always drops 1 ominous bottle of level I-V upon death as long as it is a raid captain that is not currently participating in a raid. Java Edition: Bedrock Edition: Usage Consuming an ominous bottle gives a player the Bad Omen effect and destroys the bottle, rather than leaving an empty glass bottle in the player's inventory. If the player already has the Bad Omen effect, then drinking another ominous bottle resets the effect duration, unless the level of the ominous bottle consumed is lower than the current level of Bad Omen. Consuming an ominous bottle with a higher level than the current effect also increases the level of Bad Omen applied. The Bad Omen effect can be "used" immediately after an ominous bottle is consumed. Immediately means 1 game tick in Java Edition, and a few game ticks in Bedrock Edition (the exact number of game ticks is unknown). When a player with Bad Omen enters a village, the Bad Omen transforms into Raid Omen, which starts a raid if it is not removed in time. The level of Bad Omen affects the difficulty of the raid, with Bad Omen level II or higher adding an additional wave with the same strength as the final wave. In addition, higher Bad Omen levels increase the chance of raiders spawning with enchanted items. When a trial spawner sees a player with Bad Omen, the Bad Omen transforms into Trial Omen, which causes all nearby trial spawners to become ominous. The level of Bad Omen does not affect the difficulty of the ominous trial, but higher levels do increase the duration of the Trial Omen effect. Sounds Java Edition Bedrock Edition: Data values Java Edition: Bedrock Edition: Java Edition: Bedrock Edition: Achievements Advancements History Issues Issues relating to "Ominous Bottle" are maintained on the bug tracker. Issues should be reported and viewed there. Trivia Gallery References External links Navigation Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/Dark_Oak_Pressure_Plate] | [TOKENS: 889]
Wooden Pressure Plate Yes Yes (64) 0.5 0.5 No Yes JE: NoBE: Yes No A wooden pressure plate is a wooden variant of the pressure plate. It can detect all entities, producing the maximum signal strength of 15. Wooden pressure plates come in all variants of wood. Contents Obtaining A wooden pressure plate can be mined using any tool, or without a tool, and drops itself as an item. However, axes are the fastest way to break one. A pressure plate is removed and drops itself as an item if: Oak pressure plates can generate in some plains village houses and in trial chambers (some dispenser traps and a hidden chamber in the "Intersection 2" room). Acacia pressure plates can generate in some savanna village houses. Spruce pressure plates can generate in some snowy tundra, taiga, and snowy taiga village houses. Usage A pressure plate can be used to detect entities on top of it (players, mobs, items, etc.). To place a pressure plate, use it while aiming at the face of a block adjacent to the destination space. A pressure plate can be attached to: A pressure plate cannot be attached to the side or bottom of any block, but attempting to make such an attachment may cause the plate to attach to the top of a block under the destination space. For example, if a fence is on the ground, attempting to attach a plate to the side of the fence causes the plate to be attached to the top of the ground next to the fence instead. More information regarding placement on transparent blocks can be found at Opacity/Placement. A pressure plate activates when an entity is on top of it (specifically, when the entity's collision mask intersects the bottom quarter-block of the pressure plate's space, which may include entities flying close to the ground), with a minimum activation time of 1 second (20 game ticks). A wooden pressure plate is activated by all entities (including players, mobs, items, arrows, experience orbs, fishing bobs, etc.) besides snowballs. Once activated, a pressure plate checks if entities are still present at regular intervals. Wooden pressure plates check every 10 redstone ticks (1 second), starting 10 redstone ticks after activation, so they deactivate up to 10 redstone ticks after no entities are on top of them. A minecart traveling on rails activates a pressure plate next to a diagonal track but not one next to a straight track. While active, a pressure plate: The power level is always 15. Water and lava flow around a pressure plate without affecting it. A pressure plate is not solid (it is not a barrier to entity movement). A block under a pressure plate can provide a solid barrier underneath it (for mobs to walk across, items to fall on, etc.), but when a pressure plate is placed on a block with a small collision mask, such as a fence or nether brick fence, it is possible for entities to move through the pressure plate while still activating it (walking through it horizontally, or falling through it vertically). Thus, a pressure plate on a fence can be used to detect entities without stopping them (more compactly than a tripwire circuit). Pressure plates are 0.0625 blocks high (1⁄16 of a block) when inactive and 0.03125 blocks high (1⁄32 of a block) when active, but because they are not solid they do not affect the position of entities "on top" of them, so a player on top of a pressure plate is actually standing on the block beneath it. Pressure plates can also open doors, activate TNT, and power command blocks. Overworld wooden pressure plates can be used as a fuel in furnaces, smelting 1.5 items per pressure plate. Nether wood pressure plates (crimson and warped), cannot be used as fuel in a furnace. Wooden pressure plates can be placed under note blocks to produce "bass" sounds. Sounds Java Edition: Bedrock Edition: Java Edition: Bedrock Edition: Java Edition: Bedrock Edition: Java Edition: Bedrock Edition: Java Edition Bedrock Edition: Data values Java Edition: Bedrock Edition: Java Edition: Bedrock Edition: Videos History Issues Issues relating to "Pressure Plate" are maintained on the bug tracker. Issues should be reported and viewed there. References Navigation Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/Biome?action=edit&section=10] | [TOKENS: 224]
Editing Biome (section) Please note that all contributions to Minecraft Wiki are considered to be released under the CC BY-NC-SA 3.0 license, except for pages imported from wiki.vg or pages derived from such pages, which are considered to be released under the CC BY-SA 3.0 license. See Minecraft Wiki:Copyrights for details. If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission! You may also post content obtained from Mojang, its websites, manuals and guides, concept art and renderings, press and fansite kits, and other such copyrighted material that Mojang has made available to the general public, to the Minecraft Wiki. All rights, title and interest in and to such content shall remain with Mojang, as applicable, and such content is not licensed pursuant to the Terms of Use. This page is a member of 4 hidden categories: Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/Dual_wield] | [TOKENS: 898]
Dual wield Dual wielding is a gameplay mechanic that allows players (and mobs) to hold two items or blocks‌[Java Edition only] simultaneously. Contents Usage Players can equip an item to the off-hand slot from the inventory, similarly to armor. Players can also select an item and press F by default to automatically equip it. The off-hand slot then appears beside the HUD opposite from the main hand. If the player is in first-person view, then the off-hand appears in the screen along with the held item. Whichever hand should be the main hand is configurable in the Skin Customization menu. The off-hand can use the item it holds when there are no items with a use function in the main hand (e.g. tridents, which can be thrown), or the item held on the main hand cannot be used directly (e.g. axe while not looking at a log, wood, or an oxidized/waxed copper block). Otherwise, the main hand takes priority over the off-hand. Players also cannot break blocks or attack with the off-hand, even if nothing is held in the main hand. A player can equip a bow, crossbow, spear, or trident in their off-hand. So far, these are the only weapons that can be used in the off-hand slot or in conjunction with another weapon. This allows for higher damage output, as players no longer have to switch between weapons; however, it disables the use of a shield. Players can left-click to attack with the equipped main-hand weapon (namely a sword or mace) and right click to attack with the off-hand weapon. However, if a player collides with an entity or another player while using a Riptide-enchanted trident, damage is dealt with the item in the player's main hand. Shields can be held in the off-hand as defense. They do not take priority over the main hand, and cannot be used if the main hand item has a use functionality (such as a bow or spear). Arrows held in the off-hand are prioritized over other arrows in the hotbar and the inventory. Players can equip a specific arrow in their off-hand slot to fire it with a bow. If the bow is held in the off-hand, then the arrow selected on the hotbar (with the main hand) is prioritized. When a tool with a right-click function is held in the off-hand with another tool or weapon selected in the hotbar, right-clicking on a block that is relevant to the off-hand tool uses that off-hand tool unless the selected tool in the hotbar can also be used on the same block, in which case the hotbar tool has priority. When a firework is in the off-hand slot and is being used with a crossbow, right-click and hold to charge and when ready, right click again to fire a firework. Fireworks can be fired from crossbows only when in the off-hand slot. In Bedrock Edition, only a select few items can be placed in the off-hand slot and be dual-wielded. Some are related to combat, like shields, arrows, tipped arrows, firework rockets or a totem of undying, while others are for exploring, like filled maps or explorer maps, and for aesthetic such as sparklers‌[Minecraft Education only] and nautilus shells. Other items can be placed into the off-hand slot by using the /replaceitem command, but most items are unusable. Some mobs are also able to dual-wield, albeit to a more limited degree. For mobs that cannot pick up items, commands must be used in order for them to dual-wield. The following mobs can dual-wield items: Mobs do not actively use/consume most items or blocks in their off-hand, with a few exepctions: When a mob picks up a shield, they place it in their offhand if the slot is available. Drowned are the only mob that can naturally spawn dual-wielding items, those being a trident/fishing rod in the main hand and a nautilus shell in the off-hand. Piglins temporarily dual-wield when bartering/inspecting a gold-related item while holding a weapon. History Issues Issues relating to "Dual wield", "Dual wielding", or "Off-hand" are maintained on the bug tracker. Issues should be reported and viewed there. Gallery See also References Navigation More More Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/File:Dark_Oak_Slab_JE3_BE2.png] | [TOKENS: 87]
File:Dark Oak Slab JE3 BE2.png Summary Render of a Dark Oak Slab. Minecraft's textures No information available. Please correct this! File history Click on a date/time to view the file as it appeared at that time. You cannot overwrite this file. File usage The following 51 pages use this file (also see what links to it): Global file usage The following other wikis use this file: Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/Spear?action=edit&section=37] | [TOKENS: 223]
Editing Spear (section) Please note that all contributions to Minecraft Wiki are considered to be released under the CC BY-NC-SA 3.0 license, except for pages imported from wiki.vg or pages derived from such pages, which are considered to be released under the CC BY-SA 3.0 license. See Minecraft Wiki:Copyrights for details. If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission! You may also post content obtained from Mojang, its websites, manuals and guides, concept art and renderings, press and fansite kits, and other such copyrighted material that Mojang has made available to the general public, to the Minecraft Wiki. All rights, title and interest in and to such content shall remain with Mojang, as applicable, and such content is not licensed pursuant to the Terms of Use. This page is a member of 12 hidden categories: Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/File:Trial_Omen_JE1_BE1.png] | [TOKENS: 68]
File:Trial Omen JE1 BE1.png Summary Licensing File history Click on a date/time to view the file as it appeared at that time. You cannot overwrite this file. File usage The following 25 pages use this file (also see what links to it): Global file usage The following other wikis use this file: Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/Spear?action=edit&section=38] | [TOKENS: 223]
Editing Spear (section) Please note that all contributions to Minecraft Wiki are considered to be released under the CC BY-NC-SA 3.0 license, except for pages imported from wiki.vg or pages derived from such pages, which are considered to be released under the CC BY-SA 3.0 license. See Minecraft Wiki:Copyrights for details. If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission! You may also post content obtained from Mojang, its websites, manuals and guides, concept art and renderings, press and fansite kits, and other such copyrighted material that Mojang has made available to the general public, to the Minecraft Wiki. All rights, title and interest in and to such content shall remain with Mojang, as applicable, and such content is not licensed pursuant to the Terms of Use. This page is a member of 12 hidden categories: Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/File:MCD_Spear.png] | [TOKENS: 62]
File:MCD Spear.png Licensing File history Click on a date/time to view the file as it appeared at that time. You cannot overwrite this file. File usage The following 9 pages use this file (also see what links to it): Global file usage The following other wikis use this file: Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/File:Spear.png] | [TOKENS: 81]
File:Spear.png Summary No information available. Please correct this! No information available. Please correct this! See below. Licensing File history Click on a date/time to view the file as it appeared at that time. You cannot overwrite this file. File usage The following 4 pages use this file (also see what links to it): Global file usage The following other wikis use this file: Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/Dark_Oak_Shelf] | [TOKENS: 627]
Shelf Yes Yes (64) 3 2 No Yes Yes A shelf is a block that can store and display up to three stacks of items. A shelf can be used to swap its slots with the slots in the player's hotbar. It swaps 1 slot normally, and 3 slots at a time when powered with redstone. Contents Obtaining Shelves can be broken by hand, but using an axe is the fastest. Usage In Java Edition, shelves cannot be moved by pistons. A shelf can store up to 3 item stacks. Each slot of the shelf can store a full stack of any stackable item, or just one of a non-stackable item. The number of items in the stack is not displayed. The shelf displays all items it contains in front of it, similar to an item frame. Interacting with any of the 3 slots swaps the player's main hand item with the content of that slot if it is not powered by redstone. While a shelf is powered by redstone, its front texture changes to show its powered state; when placed next to each other, up to three powered shelves can connect together. Powered shelves prioritize connecting to other shelves on the left. Powered shelves can be used to quickly swap the contents of a player's hotbar, similar to the Saved Hotbars‌[JE only] function in Creative mode. It does not matter which of the connected shelves the player interacts with. in Bedrock Edition, the shelf only activates on the Input/Consume redstone tick (C-tick). Shelves can also act as power sources for redstone comparators depending on what slots contain an item. If multiple slots contain an item, the comparator will output the total, up to a maximum power of 7 if all slots are filled. Shelves can be filled automatically by using either hoppers or droppers. Hoppers can also remove items from a shelf when placed underneath. Items from a shelf are added and removed from left to right and will stack stackable items into one slot until that slot is full. Overworld shelves can be used as a fuel in furnaces, smelting 1.5 items per shelf. Nether shelves cannot be used as a fuel in furnaces. Shelves can be placed under note blocks to produce "bass" sounds. Sounds Java Edition: Bedrock Edition: Despite shelves using the chiseled_bookshelf sound type for its generic sounds, in Java Edition, the following resource locations also exist: block.shelf.break, block.shelf.place, block.shelf.hit, block.shelf.fall, and block.shelf.step. Java Edition: Bedrock Edition: Data values Java Edition: Bedrock Edition: Java Edition: Bedrock Edition: Shelves have block entities associated with them that hold additional data about the block. Java Edition: Bedrock Edition: History Issues Issues relating to "Shelf" are maintained on the bug tracker. Issues should be reported and viewed there. Gallery Spruce Birch Jungle Acacia Dark Oak Mangrove Cherry Pale Oak Bamboo Crimson Warped See also Navigation Navigation menu
========================================
[SOURCE: https://minecraft.wiki/w/Spear?section=37&veaction=edit] | [TOKENS: 1522]
Spear Held Item Held Item Held Item Held Item Held Item Held Item Held Item Common Jab attack: Charge attack: 1.54 (0.65 seconds) 1.33 (0.75 seconds) 1.18 (0.85 seconds) 1.05 (0.95 seconds) 0.95 (1.05 seconds) 0.87 (1.15 seconds) 13 game ticks (0.65 seconds) 15 game ticks (0.75 seconds) 17 game ticks (0.85 seconds) 19 game ticks (0.95 seconds) 21 game ticks (1.05 seconds) 23 game ticks (1.15 seconds) 0.125 Java Edition: Bedrock Edition: Yes No (except via vault) No No A spear is a tiered melee weapon that can be used to perform slow jab attacks or held forward to do charge attacks which deal damage based on the velocity of the user and the target. Spears have especially long reach, but cannot hit targets that are too close. Contents Variants There are seven spear variants: Obtaining Zombies, husks, zombie horsemen, and camel husk jockey riders can spawn wielding iron spears, while piglins and zombified piglins can spawn wielding golden spears. These spears have an 8.5% chance of dropping upon death, increased to a maximum of 11.5% with the Looting III enchantment. It is also possible to get the golden spear from a piglin by dropping a crossbow or sword nearby, which the piglin will swap its spear for. It then requires precise timing to pick it up before the piglin does. Usage Spears have a longer attack range than other weapons, at 4.5 blocks rather than 3 blocks. However, they also have a minimum attack range value that prevents attacking entities that are within 2 blocks of the user.[note 1] Unlike all other weapons, including a bare hand, spears cannot do critical hits or sprint-knockback attacks. Spears can damage multiple entities with a single attack. Spears inflate the hitboxes of targets by 0.125 when calculating hit registration, giving them more effective area. It is not possible to break blocks while holding a spear, and instead an attack is performed. Spears also have a unique ability to attack through non-solid blocks like cobwebs and tall grass. In Java Edition, spear attacks (both jab and charge attacks) are also uniquely capable of causing horizontal knockback to primed TNT. Spears have two methods of attacking: A spear can be used with the attack button to perform a jab attack, dealing damage at an amount dependent on the tier of the spear. Jab attacks have a unique type of cooldown that cannot be bypassed: A spear can still perform a charge attack while the jab attack is on cooldown, and thus by alternating between jab attacks and charge attacks the rate of attacks can be effectively doubled. Jab attacks do one additional damage in Bedrock Edition compared to Java Edition. The jab attack of copper spears is strictly worse than stone spears, due to having a lower attack speed‌[JE only] / longer use cooldown‌[BE only] with identical attack damage. Switching to a spear in Bedrock Edition does not cause the use cooldown to need to charge, unlike the attack cooldown in Java Edition. The spear can alternatively be lowered into an attack position by holding the use button, where colliding with a target deals damage depending on the velocity of the user and the velocity of the target. Charged attacks require a movement speed difference of 5.1 blocks per second between the attacker and the target in order to deal damage. Because of this, mobs like skeletons that strafe backwards will often only take knockback from charge attacks. Charge attacks can hit multiple entities, and in Bedrock Edition there is a 0.5 second (10 tick) delay between charge attack connections. A charge attack can be dealt even when the jab attack is on cooldown. Charge attacks go through three stages when held out: Charge attacks can still deal damage while the user is standing still, if the target is moving towards the user. The damage done by the charge attack is its damage multiplier multiplied by the velocity of the attacker relative to the target in blocks per second. Charge attacks are not influenced by the Strength or Weakness effects. In Bedrock Edition, spear charge attacks produce critical hit particles when striking targets, but they aren't actually critical hits. A charge attack can be canceled at any time, regardless of the stage it's in. When doing a charge attack directly after a jab attack, the spear will perform the jab animation and then flourish into the charge attack position in two rotations.‌[JE only] The tier of a given spear slightly alters the behavior of jab and charge attacks: Spear attacks cannot be critical hits. In Java Edition, spears have differing attack speeds, and have the following statistics: Calculate spear charge attack damage In Bedrock Edition, spears have differing use cooldowns, and have the following statistics: Zombies, husks, zombified piglins, zombie villagers‌[Java Edition only], and piglins wielding spears have unique attacking behavior. When attacking, they use the spear's charge attack while moving towards their target. They hold the charge through its full duration, using all 3 stages. Once the charge attack has ended, they walk away to increase the distance between them and their target before turning around to begin another charge. When wielded by any other mob, such as skeletons, they instead use the spear's jab attack when in melee range. Like players, the 2-4.5 blocks attacking range applies to these mobs as well. The Lunge enchantment will also take effect for these mobs. A spear can be repaired in an anvil by adding units of the tiers' repair material, with each repair material restoring 25% the spear's maximum durability, rounded down. Two spears of the same tier can also be combined in an anvil with an extra 12% durability, in Bedrock Edition the extra durability is approximately 6% for this item.[note 7] Both methods preserve the spear's enchantments. A spear can receive the following enchantments: Spears enchanted with Lunge propel the player forward when a jab attack is performed, at the cost of consuming saturation and hunger points at an amount dependent on the enchantment level, as well as consuming 1 durability. Saturation points are consumed first, and then hunger points are consumed after. Lunge does not trigger when the player has less than 6 hunger points, is riding a mount, is gliding with an elytra, or if the user is in water. Level I consumes 1 saturation/hunger points, level II takes 2 saturation/hunger points, and level III takes 3 saturation/hunger points. By initiating a charge attack directly after a jab attack, the charge attack can be connected using the velocity gained with Lunge. There must be significant distance between the user and the target to give time for the charge attack's activation delay to fully finish after jabbing. Sounds Java Edition: Bedrock Edition: Java Edition: Bedrock Edition: Data values Java Edition: Bedrock Edition: Achievements Advancements Videos History Issues Issues relating to "Spear" are maintained on the bug tracker. Issues should be reported and viewed there. Trivia Gallery See also Notes References Navigation Navigation menu
========================================