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
  • Show stats on screen, client-side only
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
MasterComlud

Show stats on screen, client-side only

By MasterComlud, June 20, 2018 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

MasterComlud    0

MasterComlud

MasterComlud    0

  • Tree Puncher
  • MasterComlud
  • Members
  • 0
  • 16 posts
Posted June 20, 2018

How do I show for example my current FPS on screen, you know, without pressing F3?

  • Quote

Share this post


Link to post
Share on other sites

cubicoder    2

cubicoder

cubicoder    2

  • Tree Puncher
  • cubicoder
  • Members
  • 2
  • 13 posts
Posted June 20, 2018

You can get the current FPS by calling Minecraft.getDebugFPS().

  • Quote

Check out my tutorials at https://cubicoder.github.io/.

Share this post


Link to post
Share on other sites

MasterComlud    0

MasterComlud

MasterComlud    0

  • Tree Puncher
  • MasterComlud
  • Members
  • 0
  • 16 posts
Posted June 21, 2018

But to actually show it, do I need a custom gui or something?

  • Quote

Share this post


Link to post
Share on other sites

Animefan8888    741

Animefan8888

Animefan8888    741

  • Reality Controller
  • Animefan8888
  • Forge Modder
  • 741
  • 6157 posts
Posted June 21, 2018
3 minutes ago, MasterComlud said:

But to actually show it, do I need a custom gui or something?

Subscribe to the RenderGameOverlayEvent and render the text. You can look at how to render text in the vanilla Minecraft code.

  • Thanks 1
  • Quote

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Share this post


Link to post
Share on other sites

MasterComlud    0

MasterComlud

MasterComlud    0

  • Tree Puncher
  • MasterComlud
  • Members
  • 0
  • 16 posts
Posted June 21, 2018

Ah, thanks!

  • 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

    • Ronshark
      Bug logs Minecraft Code sortie 0

      By Ronshark · Posted just now

      je vous remercie énormement
    • Sr_endi
      [1.16.4]How to set the light value of an block

      By Sr_endi · Posted 15 minutes ago

      Thank you! I will try that.
    • Ironhead_
      Failure message: Missing License Information in file Mod File

      By Ironhead_ · Posted 56 minutes ago

      I'm playing on 1.14.4 and am only using the create mod, however I'm having to resort to adding JEI to see some recipes I'm stuck on. it doesn't let me use JEI without a licence
    • diesieben07
      (1.16.2) How do I use onPlayerTick?

      By diesieben07 · Posted 1 hour ago

      This will immediately crash the game, there are not just server side entities. The fact that it doesn't mean your event handler is not even running. It is not running, because @EventBusSubscriber only works with static event handler methods.
    • diesieben07
      7 FPS with a GT 1030 + i5-4690 (1.16.3)

      By diesieben07 · Posted 1 hour ago

      "Forge fix your terrible performance! this is horrible!" "Oh, I was using a mod that hugely increases render and world simulation load. sorry!"   Gotta love it how people jump to conclusions that with "just" 90 mods installed it must surely be Forge at fault.
  • Topics

    • Ronshark
      2
      Bug logs Minecraft Code sortie 0

      By Ronshark
      Started 16 hours ago

    • Sr_endi
      2
      [1.16.4]How to set the light value of an block

      By Sr_endi
      Started 19 hours ago

    • arkeN
      48
      Failure message: Missing License Information in file Mod File

      By arkeN
      Started October 11, 2020

    • e2rifia
      1
      (1.16.2) How do I use onPlayerTick?

      By e2rifia
      Started 1 hour ago

    • PotatoEz1
      4
      7 FPS with a GT 1030 + i5-4690 (1.16.3)

      By PotatoEz1
      Started 3 hours ago

  • Who's Online (See full list)

    • Master_Fenix01
    • Choonster
    • Ronshark
    • alexropi00
    • FreshMod
    • Angercraft
    • GreenBerry
    • MrLoop95
    • XenoPyax
    • Sr_endi
    • Aecht_Rob
    • kiou.23
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Show stats on screen, client-side only
  • Theme

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