How do I make an End Gateway/Portal looking block?

Started by IHonestlyDon't… on

Topic category: Advanced modding

How do I make an End Gateway/Portal looking block?

Hello and...

I'm stumped, I checked how the RenderType works, BlockEntities and blah blah blah, I even got too deep on the source code references that I started to lose hope cuz I really can't figure it out. I also kept searching and even found this - https://github.com/Asek3/Oculus/issues/359 - I got even more curious, but even with that, I still couldn't get it to work. All that happened was it only turned my block invisible just like what happened to this one user - https://mcreator.net/forum/102276/trying-make-custom-portalsimilar-appeareance-end-portal-end-gateways - Some other topics related to this lead me to nothing.

It's fine even if it is some complicated codes, custom elements, shader coding. All I want is to end this long ago question.

And also, is it possible to just make a code that grabs the information (like the texture, models, shader) about a vanilla block/entity/or even the player skin (but let's prioritize the end gateway block first) and then make your custom block get those info?

Additional Info:

  • I'm using MCreator 2025.1 | neoforged
  • Not a beginner, yet not a java intermediate (advanced beginner?)
  • English is not my native language (I'm really sorry if I confuse you with my grammar)
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I found this code in a json…
Sat, 06/28/2025 - 13:11

I found this code in a json file called rendertype_end_portal.json. it might help you I guess :

{
   "blend": {
       "func": "add",
       "srcrgb": "srcalpha",
       "dstrgb": "1-srcalpha"
   },
   "vertex": "rendertype_end_portal",
   "fragment": "rendertype_end_portal",
   "attributes": [],
   "samplers": [
       { "name": "Sampler0" },
       { "name": "Sampler1" }
   ],
   "uniforms": [
       { "name": "ModelViewMat", "type": "matrix4x4", "count": 16, "values": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ] },
       { "name": "ProjMat", "type": "matrix4x4", "count": 16, "values": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ] },
       { "name": "GameTime", "type": "float", "count": 1, "values": [ 0.0 ] },
       { "name": "EndPortalLayers", "type": "int", "count": 1, "values": [ 15 ] }
   ]
}

Sorry but I'm kind of a beginner in this stuff so. I just tried to help. I don't understand anything from the code. Hope it helps you

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Forgot to say that I found…
Sat, 06/28/2025 - 13:12

Forgot to say that I found that file inside Minecraft assets.