-
-
Notifications
You must be signed in to change notification settings - Fork 731
Preferences system and api #3958
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
base: master
Are you sure you want to change the base?
Conversation
@@ -95,4 +98,12 @@ public interface GeyserConnection extends Connection, CommandSource { | |||
*/ | |||
@NonNull | |||
Set<String> fogEffects(); | |||
|
|||
<T> void storePreference(@NonNull PreferenceKey<T> key, @NonNull Preference<T> preference); |
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.
Javadocs here please. We should emphasize this system is Geyser and not Bedrock.
|
||
import java.util.Objects; | ||
|
||
public abstract class Preference<T> { |
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.
Javadoc
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.
after the structure is finalized :p
Uh oh!
There was an error while loading. Please reload this page.