Minecraft wiki entry for End_Gateway_(block), associated text: The end gateway block cannot be obtained as an item and can be placed in Java Edition only by using block placement commands such as /setblock or /fill.