-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jabba performance adjust #5
Conversation
4M is far too low for a new default. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above.
Changed to distance of 100 as default |
1 similar comment
Changed to distance of 100 as default |
@@ -129,7 +129,7 @@ public void preInit(FMLPreInitializationEvent event) { | |||
|
|||
allowOreDictUnification = config.getBoolean("allowOreDictUnification", Configuration.CATEGORY_GENERAL, true, "If true, Jabba will try unificate 'ingot' 'ore' 'dust' and 'nugget' using oredict"); | |||
|
|||
renderDistance = config.getFloat("renderDistance", Configuration.CATEGORY_GENERAL, 16f, 0f, 10000f, "Render Distance (square) for stack and text on barrel."); | |||
renderDistance = config.getFloat("renderDistance", Configuration.CATEGORY_GENERAL, 10000f, 0f, 10000f, "Render Distance (square) for stack and text on barrel."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change the text for the config to describe that it is actually cubed (not squared) distance.
Please disregard, thankfully Glease corrected my wrong interpretation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. Check the code again. It is indeed squared.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies in that case. Please disregard my initial comment and thanks for correcting me Glease
@TataTawa @draknyte1 @hazzal can we merge it ? |
Yes. |
5% fps increase if you have 50 jabba barrels in your render distance. This change actually makes the item and text on the barrel not rendering when the player is far (4m default). and this could be configurable.