-
Recently Browsing
No registered users viewing this page.
-
Posts
-
By BobbyLikesCake · Posted
Maybe...Is this world still gonna be fine if I delete every single config file? -
By diesieben07 · Posted
Did something happen to your save? All the server configs in it are coming up invalid: -
Note that it counts up towards ItemStack#getMaxDamage, so an undamaged item will return 0 out of X and a fully damaged item will be X out of X (next use breaks it).
-
By BobbyLikesCake · Posted
Its still not working, Here is the latest debug log. Link -
By ChampionAsh5357 · Posted
From what I understand, this is not the correct way to use DistExecutor. For the case where you can't supply a runnable or supplier, DistExecutor#unsafe* should be used instead. This will supply a runnable of what you want to execute (e.g. () -> () -> //Do things). This does not verify nor guarantee that the code is completely safe to access; however, if the runnable executes another method that is isolated in a different class, it is 'safe' since classloading will not occur. So, the proper way to implement the code above is DistExecutor.unsafeRunWhenOn(Dist.CLIENT, () -> () -> ClientScreenManager#openScreen).
-
-
Topics
-
Who's Online (See full list)