Java Edition.png

Java Edition:End Portal Frame (Item)

From Minecraft Discontinued Features Wiki
Jump to navigation Jump to search
End Portal Frame.png

The end portal frame can be obtained as an item from various methods. In Beta 1.9 Prerelease 3, the newly added end portal frame took the appearance of a blue box instead of the current texture. This item is highly valuable as it allows the player to create end portals anywhere in their world.

Obtaining

Debug Inventory

Barrier.png
Warning: Game Crash 
This feature can crash your game, perform at your own risk.
The debug inventory from Beta 1.9 Prerelease 3-1

This method only works in Beta 1.9 Prerelease 3-1, before the reupload of this version. Every time a player dies or starts a new world in Beta 1.9 Prerelease 3-1, they spawn with a debug inventory that Mojang accidentally didn't remove. This inventory includes 64 enchanting tables, 64 bookshelves, 64 end portal frames and 64 end portals. The End Portal items and End Portal Frames may have a texture unfamiliar to some.
Warning
Do not hover over the end portal item in the player's inventory, from Beta 1.9 Prerelease 3 to Beta 1.9 Prerelease 3-1 it will crash the game. Once updated to Beta 1.9 Prerelease 3-2 or later the game no longer crashes when hovering over the end portal item.


Exploding

The appearance of the end portal frame room in strongholds in Beta 1.9 Prerelease 3

This method works in Beta 1.9 Prerelease3, the player cannot mine the portal frames but can explode them. The easiest explosion is just to get TNT and place it in the middle of the portal. Each portal has a 30% chance of dropping from the explosion. There is a 1.38% chance that after exploding the entire portal the player will get no portal frames, so it is recommended to back up the world before attempting this method.

Stronghold Generation

For the explosion method to work, the location of all three strongholds cannot have been loaded in an earlier version. To test where the strongholds will generate you can get your world's seed, open up Beta 1.9 Prerelease 3 and make a world with the same seed in creative mode. Fly around and find the glass pillars that generate above strongholds in this version. Press F3, note the location of the stronghold and then make sure you never enter that location until this version. If you have accidentally generated the area, you can cheat in MCEdit to delete the chunks where it should spawn if you wish.

Silk Touch Instant-Mine

This method exploits an oversight in block breaking code that was introduced in 15w31a (1.9 snapshot).

The block breaking code stores the blockstate of the block position being mined. This is then used in the calculations of the block breaking percentage. Next, the fire extinguish code is called. Updates chained from the removal of a fire block may be used to update blocks in an invalid state (such as BUD powered rails), and these updates can cause the population of a chunk by loading a 2x2 square of chunks. This can result in the original block being mined to be modified. Then, the game uses the cached blockstate to check how much mining progress was made to break the block. If it could be instant mined, the code to break the block is called. Otherwise, the game increments the block breaking percentage. The code to actually break the block will use the newly modified block state, allowing one to call the code on any block in the game.

If an instant mineable block (e.g. a slime block) is replaced with world population from the updates chained off of a fire being extinguished such that it places an end portal frame into the original location, and the player is holding a silk touch pickaxe, the end portal frame item will be dropped. Silk Touch is required, as silk touch bypasses the default air drop for the end portal frame block.

This was fixed in 15w46a with changes to the end portal frame block to not drop anything, even when silk touch was used.

The main difficulty in this method is getting a player to break blocks close enough to unloaded chunks to allow the population code to be called when the fire is extinguished. This requires using a precise pearl cannon to teleport the player to the edge of loaded chunks, thousands of TNT to lag the game in the right tick phase, and a separate TNT cannon to apply momentum to the player to bypass the vanilla movement anticheat.

Earthcomputer's video going over the concepts of this method with the bedrock item here.

Xcom6000's video going more in-depth on how to achieve this in survival with bedrock here.

Word Tearing and Any Falling Block via Asynchronous Threads

From 14w32a (1.8 snapshot) to 17w46a (1.13 snapshot), asynchronous block updates allow for block palette corruption, and this corruption, when combined with the registry palette type, can allow for the creation of any block that can exist, such as end portal frames. Asynchronous block updates also allow for usage of the "generic method" to create a falling block entity of any existing block in your world.

These falling blocks may also be used to obtain their respective item, if it exists in item form, such as end portal frames. Blocks such as end gateways cannot be obtained as items with this method, as they have no corresponding item. Falling blocks also allow for the placement of both blocks that cannot normally be placed, either due to operator restrictions (e.g. command blocks) or not having an item form (e.g. end gateways).


22w13oneBlockAtATime Endermen Spawning

Pink Wither.png
Warning: April Fools' 
This feature requires the usage of April Fools' versions, often requiring file renaming or file deletion to load. See the help page for information on loading these versions.

Endermen in the April Fools' version 22w13oneBlockAtATime spawn carrying random blocks. One of these blocks they can spawn with is end portal frame. There are 902 different blocks that are equally likely for them to spawn with and so there is a 1/902 = 0.11% chance of the enderman spawning with this block specifically. If the enderman spawns holding a generic_item_block (1/902) there's also a 1/1105 chance it will be this block as its block state, but there's only a 0.0001% chance of this occurring.[1]

In the version, the block can be received from the enderman by angering it then letting it attack the player with an open hand. This will cause the block to transfer into the player's hand. Also, if the enderman dies and the falling block launches from the enderman, this can be picked up by the player. The items can be stored in 22w13oneBlockAtATime by switching the block from carrying to the offhand, shift right-clicking onto a donkey/mule with a chest, and then swapping the item into a slot. Additionally, the enderman carrying the block can be updated and then killed in a later version to obtain the item.


Mining in 22w13oBAAT

In the April Fools snapshot 22w13oBAAT, the player can directly mine end portal frames with no restrictions. Once mined, they can then be either turned into falling blocks, or stored in the inventories of donkeys, mules, or llamas. This can be done by moving the item into the offhand by pressing F, opening the inventory, hovering over a slot, and pressing F again.

22w13oneBlockAtATime Any Falling Block

Pink Wither.png
Warning: April Fools' 
This feature requires the usage of April Fools' versions, often requiring file renaming or file deletion to load. See the help page for information on loading these versions.

Any block can be made a falling block in 22w13oneBlockAtATime using several methods. The end portal frame item, if it exists, can be obtained by dropping its falling block onto certain blocks or by picking it up.

The end portal frame can even be obtained as a falling block by finding it in the nether fortress loot.

23w13a_or_b Votes

Pink Wither.png
Warning: April Fools' 
This feature requires the usage of April Fools' versions, often requiring file renaming or file deletion to load. See the help page for information on loading these versions.

The April Fool's snapshot 23w13a_or_b introduces a plethora of ways to obtain every block and item in the game, including end portal frames. These include:

  1. The egg_free vote, when applied, will allow chickens to lay any block or item in the game (without NBT)
  2. The fish_anything vote, when applied, will allow any item from the creative menu (not the operator tab, with NBT) to be fished (combine with the buff_fishing vote to greatly increase fishing speed)
  3. The give_item vote, when applied, will give every online player a random amount of any block or item in the game (without NBT)
  4. The replace_items vote, when applied, will replace all items in online players' inventories with any block or item in the game (NBT is preserved)
  5. The replace_loot_drop vote, when applied, will replace all loot drops of a random block or item with any block or item in the game (NBT is preserved)
  6. The replace_recipe_output vote, when applied, will replace all recipes for the given item with any block or item in the game (NBT is preserved)
  7. The villager_gem vote, when applied, will replace all emeralds in all loaded villager's trades with any block or item in the game (without NBT)
  8. The vote natural_spawn_replacement can be used to replace the natural spawning of any mob with any other mob in the game, including. Once approved, all mobs as specified by the vote, when spawning from natural spawns, will be replaced with a mob as specified by the vote.
  9. The basalt_gen_replace, cobblestone_gen_replace, obsidian_gen_replace, and stone_gen_replace votes, when applied, replace the block of their respective fluid interaction with any block in the game


Creating Portals in the Nether/End from Beta 1.9 Prerelease 4 to 14w27b

Due to some code in the placement of end portals from Beta 1.9 Prerelease 4 to 14w27b (1.8 snapshot), end portals normally will not be created in the nether or end. However, one can use update suppression to allow the placement of a portal block.

Normally when the game lights an end portal, it will call the onRemoved() method on any block it replaces, which can run functions for special blocks. Then, the game will place the portal into the world, and call the onAdded() method. This is where the dimension check for the end portal occurs, where if it is placed in any dimension besides the overworld, it immediately removes itself. By calling the onRemoved() method on a repeater, block updates can be sent before reaching the onAdded() method. If these updates result in a StackOverflowError, the code is never called to remove the portal, allowing it to be placed.

See also

References

  1. 1/902 * 1/1105 ≈ 0.0001%