Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.7.2]Rendering Screen IN White Event help?
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
Heltrato

[1.7.2]Rendering Screen IN White Event help?

By Heltrato, June 28, 2014 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

Heltrato    1

Heltrato

Heltrato    1

  • Diamond Finder
  • Heltrato
  • Members
  • 1
  • 259 posts
Posted June 28, 2014

I need help how to start rendering screen in white.

 

I looked at RenderGameOverlayEvent and was gonna ask if im doing the right thing to use this as the event.

 

Also how do i make a white screen on the event do i need to setup some particles or Tesselators or GL11 stuff?

  • Quote

Share this post


Link to post
Share on other sites

Heltrato    1

Heltrato

Heltrato    1

  • Diamond Finder
  • Heltrato
  • Members
  • 1
  • 259 posts
Posted June 28, 2014

bump any handy help or tip ?

  • Quote

Share this post


Link to post
Share on other sites

Kwibble    35

Kwibble

Kwibble    35

  • Diamond Finder
  • Kwibble
  • Forge Modder
  • 35
  • 340 posts
Posted June 28, 2014

You just want a white screen. That's all? You could make a class that extends Gui, then have a method in it that is the @SubscribeEvent method to RenderGameOveralyEvent.PRE then call the drawRect method that is inside GUI. Draw a white rectangle that fills the screen. Done.

  • Quote

We all stuff up sometimes... But I seem to be at the bottom of that pot.

Share this post


Link to post
Share on other sites

Heltrato    1

Heltrato

Heltrato    1

  • Diamond Finder
  • Heltrato
  • Members
  • 1
  • 259 posts
Posted June 28, 2014

Ok nice nice i make a progress now .

 

What if i want it to apply as a potion effect ?

 

Should i just make a custom potion effect file then put a

 

private GuiRenderWhitescreen screen;

 

then do it in the method of performEffect?

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Rollng
      Game crashes while loading world

      By Rollng · Posted 7 minutes ago

      Whenever i try to enter my world game closes itself. Heres crash report and log : Log, Crash
    • Linky132
      [SOLVED] [1.16.5 ] Dust Block Texture Glitch

      By Linky132 · Posted 30 minutes ago

      I figured it out. I had the render type set to translucent, when what it should have been on was cutout. Thanks for the help.
    • Klarks
      [1.16.4] How i can open a container by clicking on my mob

      By Klarks · Posted 55 minutes ago

      So what needs to be implemented? My Entity?  
    • Linky132
      (1.16.2) Making a new capability (3)

      By Linky132 · Posted 1 hour ago

      I could be wrong, but I think you might need to add this code in the constructor: FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup); And you may need to change the setup method to non-static.
    • Linky132
      [SOLVED] [1.16.5 ] Dust Block Texture Glitch

      By Linky132 · Posted 1 hour ago

      Also, the texture doesn't glitch when the dust is in a straight line, or when it's in its dot form (not the '+' shape).
  • Topics

    • Rollng
      0
      Game crashes while loading world

      By Rollng
      Started 8 minutes ago

    • Linky132
      4
      [SOLVED] [1.16.5 ] Dust Block Texture Glitch

      By Linky132
      Started 18 hours ago

    • Klarks
      12
      [1.16.4] How i can open a container by clicking on my mob

      By Klarks
      Started 18 hours ago

    • e2rifia
      13
      (1.16.2) Making a new capability (3)

      By e2rifia
      Started 6 hours ago

    • Somonestolemyusername
      18
      [1.15.2] How Would I make a custom bow?

      By Somonestolemyusername
      Started Tuesday at 09:30 PM

  • Who's Online (See full list)

    • Cheesepotato?
    • Rollng
    • metword
    • RedBobKid
    • Somonestolemyusername
    • SixSix
    • Edrax
    • Klarks
    • Linky132
    • scorpin1
    • Sensenmann
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.7.2]Rendering Screen IN White Event help?
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community