Minecraft:Technical blocks: Difference between revisions
More actions
imported>User-12316399 |
Sync: updated from Minecraft |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
'''Technical blocks''' are blocks that can be used for some purposes when events in the game are happening, or blocks that use independent ID namespaces prevent | '''Technical blocks''' are blocks that can be used for some purposes when events in the game are happening, or blocks that use independent ID namespaces to prevent unnecessary combinations of [[Minecraft:block states]]. Technical blocks can't normally be obtained in the game, but in older ''Java Edition'' versions and current ''Bedrock Edition'' versions, different technical blocks can be obtained using glitches or NBT editing. | ||
== ''Java Edition'' == | == ''Java Edition'' == | ||
| Line 67: | Line 67: | ||
|- | |- | ||
|[[File:Cocoa.png|30px]]||{{code|cocoa}}||[[Minecraft:Cocoa]]||cocoa_beans | |[[File:Cocoa.png|30px]]||{{code|cocoa}}||[[Minecraft:Cocoa]]||cocoa_beans | ||
|- | |||
|[[File:Copper Wall Torch.png|30px]]||{{code|copper_wall_torch}}||[[Minecraft:Copper Wall Torch]]||copper_torch | |||
|- | |- | ||
|[[File:Creeper Wall Head.png|30px]]||{{code|creeper_wall_head}}||[[Minecraft:Creeper Wall Head]]||creeper_head | |[[File:Creeper Wall Head.png|30px]]||{{code|creeper_wall_head}}||[[Minecraft:Creeper Wall Head]]||creeper_head | ||
| Line 73: | Line 75: | ||
|- | |- | ||
|[[File:Crimson Wall Sign.png|30px]]||{{code|crimson_wall_sign}}||[[Minecraft:Crimson Wall Sign]]||crimson_sign | |[[File:Crimson Wall Sign.png|30px]]||{{code|crimson_wall_sign}}||[[Minecraft:Crimson Wall Sign]]||crimson_sign | ||
|- | |- | ||
|[[File:Cake with Cyan Candle.png|30px]]||{{code|cyan_candle_cake}}||[[Minecraft:Cake with Cyan Candle]]||cake | |[[File:Cake with Cyan Candle.png|30px]]||{{code|cyan_candle_cake}}||[[Minecraft:Cake with Cyan Candle]]||cake | ||
| Line 117: | Line 117: | ||
|- | |- | ||
|[[File:Jungle Wall Hanging Sign.png|30px]]||{{code|jungle_wall_hanging_sign}}||[[Minecraft:Jungle Wall Hanging Sign]]||jungle_hanging_sign | |[[File:Jungle Wall Hanging Sign.png|30px]]||{{code|jungle_wall_hanging_sign}}||[[Minecraft:Jungle Wall Hanging Sign]]||jungle_hanging_sign | ||
|- | |||
|[[File:Jungle Wall Sign.png|30px]]||{{code|jungle_wall_sign}}||[[Minecraft:Jungle Wall Sign]]||jungle_sign | |||
|- | |- | ||
|[[File:Kelp Plant.png|30px]]||{{code|kelp_plant}}||[[Minecraft:Kelp Plant]]||kelp | |[[File:Kelp Plant.png|30px]]||{{code|kelp_plant}}||[[Minecraft:Kelp Plant]]||kelp | ||
| Line 148: | Line 150: | ||
|[[File:Moving Piston.png|30px]]||{{code|moving_piston}}||[[Minecraft:Moving Piston]]||None | |[[File:Moving Piston.png|30px]]||{{code|moving_piston}}||[[Minecraft:Moving Piston]]||None | ||
|- | |- | ||
|[[File:Nether Portal.png|30px]]||{{code|nether_portal}}||[[Minecraft:Nether Portal]]||None | |[[File:Nether Portal.png|30px]]||{{code|nether_portal}}||[[Minecraft:Nether Portal (block)|Nether Portal]]||None | ||
|- | |- | ||
|[[File:Oak Wall Hanging Sign.png|30px]]||{{code|oak_wall_hanging_sign}}||[[Minecraft:Oak Wall Hanging Sign]]||oak_hanging_sign | |[[File:Oak Wall Hanging Sign.png|30px]]||{{code|oak_wall_hanging_sign}}||[[Minecraft:Oak Wall Hanging Sign]]||oak_hanging_sign | ||
| Line 500: | Line 502: | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |1.7.2 (13w38c) | | style="border-width: 0; padding: 0.2em 0.5em;" |1.7.2 (13w38c) | ||
|- | |- | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |[[File:Water (inventory) | | style="border-width: 0; padding: 0.2em 0.5em;" |[[File:Water (inventory) JE13.png|24px]] Flowing [[Minecraft:Water]] | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |flowing_water | | style="border-width: 0; padding: 0.2em 0.5em;" |flowing_water | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |8 | | style="border-width: 0; padding: 0.2em 0.5em;" |8 | ||
| Line 506: | Line 508: | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |1.8 (14w25a) | | style="border-width: 0; padding: 0.2em 0.5em;" |1.8 (14w25a) | ||
|- | |- | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |[[File:Water (inventory) | | style="border-width: 0; padding: 0.2em 0.5em;" |[[File:Water (inventory) JE13.png|24px]] Still [[Minecraft:Water]] | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |water | | style="border-width: 0; padding: 0.2em 0.5em;" |water | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |9 | | style="border-width: 0; padding: 0.2em 0.5em;" |9 | ||
| Line 512: | Line 514: | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |1.8 (14w25a) | | style="border-width: 0; padding: 0.2em 0.5em;" |1.8 (14w25a) | ||
|- | |- | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |[[File:Lava (inventory) | | style="border-width: 0; padding: 0.2em 0.5em;" |[[File:Lava (inventory) JE13.gif|24px]] Flowing [[Minecraft:Lava]] | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |flowing_lava | | style="border-width: 0; padding: 0.2em 0.5em;" |flowing_lava | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |10 | | style="border-width: 0; padding: 0.2em 0.5em;" |10 | ||
| Line 518: | Line 520: | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |1.8 (14w25a) | | style="border-width: 0; padding: 0.2em 0.5em;" |1.8 (14w25a) | ||
|- | |- | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |[[File:Lava (inventory) | | style="border-width: 0; padding: 0.2em 0.5em;" |[[File:Lava (inventory) JE13.gif|24px]] Still [[Minecraft:Lava]] | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |lava | | style="border-width: 0; padding: 0.2em 0.5em;" |lava | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |11 | | style="border-width: 0; padding: 0.2em 0.5em;" |11 | ||
| Line 524: | Line 526: | ||
| style="border-width: 0; padding: 0.2em 0.5em;" | 1.8 (14w25a) | | style="border-width: 0; padding: 0.2em 0.5em;" | 1.8 (14w25a) | ||
|- | |- | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |[[File:Double Smooth Stone Slab (inventory) | | style="border-width: 0; padding: 0.2em 0.5em;" |[[File:Double Smooth Stone Slab (inventory) JE13.png|24px]] [[Minecraft:Double Stone Slab]] | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |double_stone_slab | | style="border-width: 0; padding: 0.2em 0.5em;" |double_stone_slab | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |43 | | style="border-width: 0; padding: 0.2em 0.5em;" |43 | ||
| Line 745: | Line 747: | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |127 | | style="border-width: 0; padding: 0.2em 0.5em;" |127 | ||
|- | |- | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |[[File:Tripwire (texture) | | style="border-width: 0; padding: 0.2em 0.5em;" |[[File:Tripwire (texture) BE3.png|24px]] [[Minecraft:Tripwire]] | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |trip_wire | | style="border-width: 0; padding: 0.2em 0.5em;" |trip_wire | ||
| style="border-width: 0; padding: 0.2em 0.5em;" |132 | | style="border-width: 0; padding: 0.2em 0.5em;" |132 | ||
| Line 1,519: | Line 1,521: | ||
{{Navbox blocks|all}} | {{Navbox blocks|all}} | ||
[[Minecraft:fr:Blocs techniques]] | |||
[[Minecraft:ru:Технические блоки]] | [[Minecraft:ru:Технические блоки]] | ||
Latest revision as of 11:10, 24 July 2026
Technical blocks are blocks that can be used for some purposes when events in the game are happening, or blocks that use independent ID namespaces to prevent unnecessary combinations of Minecraft:block states. Technical blocks can't normally be obtained in the game, but in older Java Edition versions and current Bedrock Edition versions, different technical blocks can be obtained using glitches or NBT editing.
Java Edition
The game prevents certain Minecraft:blocks from being obtained through normal gameplay methods, such as Minecraft:crafting, the Minecraft:Creative inventory, the Minecraft:pick block key, and the Minecraft:Silk Touch enchantment. It also prevents such blocks from being given through less conventional methods, such as inventory editing, Minecraft:mods, and Minecraft:commands. Until 1.7.2 and 1.8, there had been a wide variety of blocks that could be edited into the inventory; over time, however, the game was updated so that these blocks became entirely unavailable, even though one utilized inventory editing. From Minecraft:Java Edition 1.13 onwards, blocks and items are completely different concepts, and numerical IDs no longer exist at all.
Currently, the game only accepts Minecraft:resource locations (such as minecraft:dirt) in most commands, and uses these resource locations when assigning blocks to the inventory and save files. The old method of obtaining a block via numerical IDs is no longer an option because the numerical id method getItemById(Integer.parseInt(id)) is no longer used in command /give. In addition, the game automatically removes blocks with illegitimate resource locations from the inventory, so using inventory editors is also no longer an option. Furthermore, certain blocks with both block and Minecraft:item forms, such as minecraft:cake, cannot be obtained in their block form in the inventory; however, since the game has a corresponding item named minecraft:cake, the item form is given instead. The only option is modifying game's class where registered items and ItemBlocks (direct item forms of blocks) in order to register and obtain them.
List
Removals
Template:Removed feature Template:See also All of the following block items were removed at one point, as clarified in the following paragraphs.
In snapshot 13w37a for 1.7.2, the Template:Cmd command was modified so that it would display the name of the item in chat. In fact, this change could not remove ItemBlocks, another change was necessary. Due to this, Sets.newHashSet(Block[], {blocks here}) was added which removes the item forms of blocks in the list of its list. Due to this, 26 blocks were made unavailable.
In snapshot 14w25a for 1.8, changes were made to the way the icons of items were rendered, and the way block data was internally represented. Similar to 13w37a, this change could not remove ItemBlocks, another change was necessary. Due to this, registerItemBlock(block) method was added, which adds the item form of respective block. Due to this, 12 blocks were made unavailable.
Bedrock Edition
Template:IN, some of the items can only be obtained from inventory editing or add-ons.
Minecraft:fr:Blocs techniques Minecraft:ru:Технические блоки