Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OxygenRequired

Members
  • Joined

  • Last visited

  1. So I've been making blockstate properties with an enum, but ran into trouble with the naming conventions. I followed vanilla code, i.e. all-caps for enum names and then all lowercase for the string values. However, I soon realized that the all-caps naming of the enum was causing the error, so I guess I'm asking as to why... For example, when I was looking through vanilla code to see how they did Enum properties, so in driptsone's case: public enum DripstoneThickness implements StringRepresentable { TIP_MERGE("tip_merge"), TIP("tip"), FRUSTUM("frustum"), MIDDLE("middle"), BASE("base"); private final String name; private DripstoneThickness(String p_156018_) { this.name = p_156018_; } public String toString() { return this.name; } public String getSerializedName() { return this.name; } } the enums are named in all capitals, but if I do the same format, it would throw an error. Am I missing something obvious or is there a reason it this? Thanks! [EDIT] I somehow figured it out, please ignore !

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.