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
  • Minecraft Forge
  • Suggestions
  • Add deltaTime
The update for 1.13 is being worked on - please be patient. (Updated 02/14/19)
Sign in to follow this  
Followers 0
Oen44

Add deltaTime

Started by Oen44, August 15, 2018

2 posts in this topic

Oen44    4

Oen44

Oen44    4

  • Tree Puncher
  • Oen44
  • Members
  • 4
  • 38 posts
  • Report post
Posted August 15, 2018

Hi,

There should be method that returns deltaTime for client.

As I was saying here about that.

That helped me a lot to create own deltaTime. Why not make it build-in?

Share this post


Link to post
Share on other sites

diesieben07    6101

diesieben07

diesieben07    6101

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6101
  • 40179 posts
  • Report post
Posted August 15, 2018

Minecraft already does this via the partialTickTime.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0
Go To Topic Listing Suggestions

  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • DaemonUmbra
      Game crashing (crash report) (Botania?)

      By DaemonUmbra · Posted just now

      From the looks a Botania Mana Pool used to be there and didn't get cleaned up properly by the code It looks like a TileEntity got left behind and it thinks an air block is still a Mana pool, so it crashes trying to treat it like one.
    • SorenCabral
      Custom PlayerRender/ModelBiped/ArmorLayers - 1.12.2

      By SorenCabral · Posted 10 minutes ago

      After have build all, I are receiving these two errors in this RenderPlayer copy: If I comment this part and run the game, this crash when I try 3º person vision
    • Draco18s
      (Newbie question) How do I add a basic texture?

      By Draco18s · Posted 19 minutes ago

      A ResourceLocation is a location for a resource (i.e. a model.json, a texture, etc). It's a convenient way for you as a modder to say "go look here" without having to understand where "here" actually is (because resource packs will override the default assets you ship and you shouldn't know or even care that this has been done!)   A ModelResourceLocation is specifically a ResourceLocation that points to a model file. As far as you're concerned, its just a resource location that points to a file in a slightly different place (you still need to supply the target file and that file will be in a subfolder named "model" or "models,"1 but otherwise it doesn't change how you use it in the code.   The two pieces of information a resource location needs in order to find an asset are two things: 1. Domain 2. File name   The domain is the same as your mod ID. This tells the game "don't look in the vanilla assets folder, look in the a folder named <modid>. You can specify domains that aren't your mod ID, as well. For example, if you want to create an item that looks like an apple, you can specify the domain "minecraft" and you can use vanilla texture files even if a custom resource pack has been installed that only alters vanilla textures.   The file name is essentially which asset to load. e.g. "apple". Typically you'll name your asset files for the block or item that they are for, but you don't have to (it just makes everyone's life easier). This file then must exist in the domain that was specified, if it doesn't, you'll get a MissingVariantException of one form or another.   And I say "one form or another" because it's an error caused by another error. If the game goes to load the asset you told it to and it isn't there, the FileNotFoundException will be thrown. But because the game is trying to build models, the model fails to get built, and that throws another error. If you told the game that your block has several states and then don't list one of them in your blockstate.json file, well, that's a MissingVariantException. If you included it in the blockstate file, but pointed to a model that fails to load because it existed, but had an error in it, that's a MissingVariantException Caused By MalformedJSONException.   And so on.   Any time you see "MissingVariantException" and a stack trace, keep scrolling down to the next error, it'll almost always start with "Caused By" and another error type. That error is the one you need to fix.   For example, lets take the log in your original post:     The three highlighted sections tell us everything: 1) the problem item or block, 2) the underlying error and 3) what file the game was trying to read.   These will vary slightly depending on exactly what error is the one that needs to get fixed, but this is what to look for.   1. I believe that it was originally "models" and that Mojang removed all the lingering s's, so this will vary slightly by MC version.
    • Zorm
      Game crashing (crash report) (Botania?)

      By Zorm · Posted 20 minutes ago

      i've tried to tell him that he should have downloaded all the mods on curseforge, but we're not gonna do that... maybe when I have time... The thing is that the game suddenly started to crash on this location, and it does that only for me, so there's got to be an explanation other than "the mods are bad" Also the crash report says ticking block entity but there's no botania:pool on the mentioned location and that was my initial problem
    • daruskiy
      [1.13.2] Project is missing required library, Forge 1.13.2 mapping

      By daruskiy · Posted 23 minutes ago

      delete caches and try again. also I found its easier to restart from scratch, i.e. extract the mdk then run gradlew eclipse on it, then import it into either eclipse or intellij  
  • Topics

    • Zorm
      9
      Game crashing (crash report) (Botania?)

      By Zorm
      Started 1 hour ago

    • SorenCabral
      24
      Custom PlayerRender/ModelBiped/ArmorLayers - 1.12.2

      By SorenCabral
      Started Yesterday at 03:28 AM

    • T-Dark
      26
      (Newbie question) How do I add a basic texture?

      By T-Dark
      Started Thursday at 11:47 AM

    • MCrafterzz
      1
      [1.13.2] Project is missing required library, Forge 1.13.2 mapping

      By MCrafterzz
      Started 2 hours ago

    • Daring Do
      3
      [1.13.2] Where do I find the csv files?

      By Daring Do
      Started 2 hours ago

  • Who's Online (See full list)

    • diesieben07
    • катя
    • Kzitold
    • V0idWa1k3r
    • loordgek
    • FloppyGaming
    • Toma™
    • Cobiy
    • Drachenbauer
    • DaemonUmbra
    • matezz
    • semgeorge000
    • Bram_Borch
    • SorenCabral
    • Flemmli97
    • sunsigne
    • crackedEgg
    • daruskiy
    • chimericdream
    • MoreThanHidden
    • Draco18s
    • tylastrog
    • Konlii
  • All Activity
  • Home
  • Minecraft Forge
  • Suggestions
  • Add deltaTime
  • Theme
  • Contact Us

Copyright © 2017 ForgeDevelopment LLC Powered by Invision Community