{{about|the block|the structure|End portal}}
{{Block
| image = <gallery>
End Portal Frame (S) JE6 BE3.png|Empty
Filled End Portal Frame (S) JE6 BE3.png|Full
</gallery>
| transparent = Partial <small>(does not block light)</small>
| light = Yes (1)
| renewable = No
| tool = None
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
An '''end portal frame''' is a block that resembles [[end stone]] with a decorative bluish-green top, with sides decorated in hollow rounded rectangles with the same color as the top.

== Obtaining ==
End portal frames, like [[bedrock]], are indestructible in Survival or Adventure mode. It can be obtained only by accessing the [[Creative]] inventory or [[commands]].

=== Natural generation ===
{{FakeImage|align=left|{{BlockGrid|e=End Portal Frame|s=End Portal Frame+sideways| eee |s   s|s   s|s   s| eee }}|End Portal generation design}}

12 end portal frames generate naturally to form the [[end portal]] in each [[stronghold]] end portal room, over a pool of [[lava]] with a staircase containing a [[silverfish]] monster spawner. The frames generate in a 5×5 square formation, with 3 frames on each side, without the corners. Each end portal frame generates facing inward, with a 10% chance of containing an [[eye of ender]].

Each stronghold contains an end portal {{in|java}}, while {{in|Bedrock}} only some strongholds have a portal.<ref>{{bug|MCPE-19426}}</ref>{{info needed|What is the chance of generating a portal?}} {{IN|java}}, each world contains exactly 128 strongholds, so a total of 1,536 end portal frames are generated. {{IN|bedrock}}, there is an unlimited amount of strongholds in each world, so the amount of end portal frames that may generate is unlimited. {{IN|console}}, there was only one end portal per world, so 12 end portal frames were generated.
{{-|left}}

There is an extremely low chance (10<sup>-12</sup> or 10<sup>-10</sup>% or one in a trillion) for all twelve end portal frames to be filled in strongholds.

The chart below shows the probability of having each number of eyes of ender filled in (some values may be rounded). 
{| class="wikitable"
|+End Portal Frame Generation
!Frames filled
! colspan="2" | Probability
! colspan="2" | Probability ≥
|-
|0
|28.24 %
|1 : 3.54
|100 %
|1 : 1
|-
|1
|37.66 %
|1 : 2.66
|71.76 %
|1 : 1.39
|-
|2
|23.01 %
|1 : 4.35
|34.10 %
|1 : 2.93
|-
|3
|8.52 %
|1 : 11.7
|11.09 %
|1 : 9.02
|-
|4
|2.13 %
|1 : 46.9
|2.56 %
|1 : 39
|-
|5
|0.38 %
|1 : 264
|0.43 %
|1 : 231
|-
|6
|4.91⨯10<sup>-4</sup>
|1 : 2,036
|5.41⨯10<sup>-4</sup>
|1 : 1,848
|-
|7
|4.68⨯10<sup>-5</sup>
|1 : 21,383
|5.02⨯10<sup>-5</sup>
|1 : 19,928
|-
|8
|3.25⨯10<sup>-6</sup>
|1 : 307,911
|3.41⨯10<sup>-6</sup>
|1 : 292,952
|-
|9
|1.60⨯10<sup>-7</sup>
|1 : 6,235,191
|1.66⨯10<sup>-7</sup>
|1 : 6,030,090
|-
|10
|5.35⨯10<sup>-9</sup>
|1 : 187,055,743
|5.45⨯10<sup>-9</sup>
|1 : 183,318,064
|-
|11
|1.08⨯10<sup>-10</sup>
|1 : 9,259,259,259
|1.09⨯10<sup>-10</sup>
|1 : 9,174,327,988
|-
|12
|10<sup>-12</sup>
|1 : 1,000,000,000,000
|10<sup>-12</sup>
|1 : 1,000,000,000,000
|}

== Usage ==
{{control|use|text=Using}} [[eyes of ender]] on end portal frames inserts them to the top of the frame if it is not inserted previously.

An end portal frame has a front face that faces the player when placed. Although the facing is almost invisible (one can distinguish only 2 rotations of end portal frames), all end portal frames must be placed correctly and face inward in order to be able to activate the end portal, and if all of the frames have [[eyes of ender]] inserted, the portal activates, replacing the inner 3×3 space with [[end portal block]]s.

If an end portal is built in [[the End]], entities are teleported back to the world spawn point in the Overworld, similar to the [[exit portal]].

=== Redstone ===
End portal frames output a [[redstone comparator]] signal of 15 when an eye is present. If there is no eye in the frame, it outputs a signal of 0.

=== Light source ===
End portals frames emit a light level of 1.

=== Note Blocks ===
End portals frames can be placed under [[note block]]s to produce "bass drum" sound.

=== Piston interactivity ===
End portal frames cannot be pushed by [[piston]]s. They also cannot be pushed nor pulled by [[sticky piston]]s.

== Sounds ==
=== Generic ===
{{Sound table/Block/Glass}}

=== Unique ===
{{edition|java}}:
{{Sound table
|sound=End portal eye place1.ogg
|sound2=End portal eye place2.ogg
|sound3=End portal eye place3.ogg
|subtitle=Eye of Ender attaches
|source=block
|description=When an eye of ender is placed in an end portal frame
|id=block.end_portal_frame.fill
|translationkey=subtitles.block.end_portal_frame.fill
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=End portal eye place1.ogg
|sound2=End portal eye place2.ogg
|sound3=End portal eye place3.ogg
|source=block
|description=When an eye of ender is placed in an end portal frame
|id=block.end_portal_frame.fill
|volume=0.3
|pitch=''varies'' <ref group="sound">Can be 1.0, 0.9, or 1.1</ref>
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=End Portal Frame
|spritetype=block
|nameid=end_portal_frame
|blocktags=dragon_immune, wither_immune
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=End Portal Frame
|spritetype=block
|nameid=end_portal_frame
|id=120
|foot=1}}

=== Block states ===
{{see also|Block states}}
{{/BS}}

== History ==
''For a more in-depth breakdown of changes to textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|[[File:End Portal Frame JE1.png|32px]] [[File:Filled End Portal Frame JE1.png|32px]] Added end portal frames. Frames has cross model and filled end portal frames has cube model; both have a full cube hitbox.
|The block emits a [[light]] at level 15. 
|It can drop as an item due to [[explosion]]s.
|[[File:End Portal Frame (texture) JE1.png|32px]] The item form of the End Portal is a flat texture of the filled frame, and has an empty tooltip.
|This item is one of four given to all players upon world creation or respawning in the pre-reupload.}}
{{History|||snap=Beta 1.9 Prerelease 4|[[File:End Portal Frame (S) JE2.png|32px]] [[File:Filled End Portal Frame (S) JE2.png|32px]] The End Portal now has a dark green and yellow texture. The unrepaired version is visually {{frac|13|16}} of a block high, and the repaired version sits a full block high with the addition of a {{frac|3|16}}-block-high eye of ender in its middle.
|The End Portal now emits its light of level 1.
|The End Portal can no longer be broken by explosions.
|[[File:End Portal Frame (texture) JE2 BE1.png|32px]] The texture of the End Portal item has been changed.}}
{{History||1.3.1|snap=12w23a|The End Portal is now available in the [[creative]] [[inventory]] and with the pick block option, with the tooltip 'End Portal'.
|[[File:End Portal Frame (item) JE3.png|32px]] The End Portal now renders correctly as an item.}}
{{History||1.6.1|snap=13w18a|The End Portal now gives off a [[redstone]] signal based on whether there is an eye of ender in it.}}
{{History||1.8|snap=14w10a|[[File:End Portal Frame (N) JE3.png|32px]] [[File:End Portal Frame (E) JE2.png|32px]] [[File:End Portal Frame (S) JE2.png|32px]] [[File:End Portal Frame (W) JE3.png|32px]] [[File:Filled End Portal Frame (N) JE3.png|32px]] [[File:Filled End Portal Frame (E) JE3.png|32px]] [[File:Filled End Portal Frame (S) JE3.png|32px]] [[File:Filled End Portal Frame (W) JE3.png|32px]] End portal frames now appear to use the incorrect textures in several places.}}
{{History|||snap=14w10c|[[File:End Portal Frame (N) JE2.png|32px]] [[File:End Portal Frame (E) JE2.png|32px]] [[File:End Portal Frame (S) JE2.png|32px]] [[File:End Portal Frame (W) JE2.png|32px]] [[File:Filled End Portal Frame (N) JE2.png|32px]] [[File:Filled End Portal Frame (E) JE2.png|32px]] [[File:Filled End Portal Frame (S) JE2.png|32px]] [[File:Filled End Portal Frame (W) JE2.png|32px]] End portals now use the right textures again.<ref>{{bug|MC-50235}}</ref>}}
{{History||1.12|snap=17w17a|Putting an eye of ender in an End Portal now plays a dinging sound.}}
{{History||1.13|snap=17w47a|"End Portal" has now been renamed to "End Portal Frame".
|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 120.}}
{{History||1.14|snap=18w43a|[[File:End Portal Frame (S) JE5.png|32px]] [[File:Filled End Portal Frame (S) JE5.png|32px]] The textures of end portal frames have now been changed.}}
{{History|||snap=19w03c|End portal frames now use correct cullface arguments.}}
{{History||1.19|snap=22w11a|[[File:End Portal Frame (S) JE6 BE3.png|32px]] [[File:Filled End Portal Frame (S) JE6 BE3.png|32px]] The side texture of an end portal frame has been slightly changed, to make better transition with the [[end stone]] texture.}}

{{History|pocket alpha}}
{{History||v0.9.0|snap=build 1|[[File:End Portal Frame (S) JE2.png|32px]] [[File:Filled End Portal Frame (S) JE2.png|32px]] Added end portal frames.
|End portal frames have no collision box, allowing entities to move through them. They are considered a [[solid block]] in all other aspects.
|[[File:End Portal Frame (texture) JE2 BE1.png|32px]] The item form of the end portal frame is a flat texture of an unfilled frame, with the tooltip ".name<".}}
{{History|||snap=build 4|Filled and unfilled end portal frames are now available in the [[creative]] [[inventory]], both with the tooltip "End Portal".
|End portal frames now have a collision box.
|End portal frames now render correctly as an item.}}
{{History|||snap=build 7|The filled end portal frame has been removed from the creative inventory.}}
{{History||v0.12.1|snap=build 11|End portals now rotate based on the direction they are placed.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Added [[the End]], with some [[eye of ender]]s filling it up.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:End Portal Frame (S) JE5.png|32px]] [[File:Filled End Portal Frame (S) JE5.png|32px]] The textures of end portals have now been changed.}}
{{History||1.19.0|snap=beta 1.19.0.20|[[File:End Portal Frame (S) JE6 BE3.png|32px]] [[File:Filled End Portal Frame (S) JE6 BE3.png|32px]] The side texture of end portal has been changed.}}
{{History||1.19.20|snap=beta 1.19.20.20|Renamed "End Portal" to "End Portal Frame".}}
{{History||1.20.30|snap=beta 1.20.30.20|End portal frames now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>facing_direction</code>.}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:End Portal Frame (S) JE2.png|32px]] [[File:Filled End Portal Frame (S) JE2.png|32px]] {{verify|Were these the actual models used?}} Added end portal frames.}}
{{History||xbox=TU9|End portal frames can now be used to access [[the End]].}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|End portal frames have been added to the custom superflat block selection menu, alongside all types of logs.{{verify|Which update between TU28 and TU31?}}}}
{{History||xbox=?|xbone=?|ps=?|wiiu=?|Removed end portal frames from the custom superflat block selection menu.{{info needed|Happened sometime between TU34 and TU46, which update exactly?}}}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:End Portal Frame (S) JE5.png|32px]] [[File:Filled End Portal Frame (S) JE5.png|32px]] {{verify|Were these the actual models used?}} The textures of end portal frames have now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:End Portal Frame (S) JE2.png|32px]] [[File:Filled End Portal Frame (S) JE2.png|32px]] Added end portal frames.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
File:Beam Goes Through End Portal.png|Beacon beam going through an end portal frame block.
File:Minecartportal.png|[[Minecart with Chest]] generated on Top of End Portal Frame, because there is [[Mineshaft]] behind the Wall.
File:Inactive.png|Inactive end portal.
File:Activated.png|End portal, which had been activated by a player.
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/block-week--end-portal-frame Block of the Week: End Portal Frame] – Minecraft.net on December 2, 2021

{{Blocks|Utility}}

[[Category:End blocks]]
[[Category:Generated structure blocks]]
[[Category:Utility blocks]]
[[Category:Light sources]]

[[de:Endportalrahmen]]
[[es:Marco del portal del End]]
[[fr:Cadre de portail de l'End]]
[[it:Telaio del portale dell'End]]
[[ja:エンドポータルフレーム]]
[[ko:엔드 차원문 틀]]
[[nl:Endportaalframe]]
[[pl:Rama portalu Endu]]
[[pt:Moldura do portal do End]]
[[ru:Рамка портала Края]]
[[uk:Рамка порталу в Енд]]
[[zh:末地传送门框架]]
