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.

lawl281

Members
  • Joined

  • Last visited

  1. Schematica is on 1.10 I've been using it in my world plenty
  2. Hello, I will start off with the fact that I am new to the modding world and well aware of the fact that I have alot to learn. With that out of the way I am trying to register an enum so I don't have to have a class for each color. public ColoredGlowstone(Material materialIn) { super(materialIn, MapColor.SILVER); for (int i = 0; i < 16; i++) { setUnlocalizedName(EnumDyeColor.byMetadata(i) + "Glowstone"); setRegistryName(EnumDyeColor.byMetadata(i) + "Glowstone"); } setCreativeTab(MoarGlowstone.glowstoneTab); setSoundType(SoundType.GLASS); setHardness(0.3f); setResistance(1.5f); setLightOpacity(16); setLightLevel(0.9375f); } When trying to use setRegistryName with an ENUM it throws: java.lang.IllegalStateException: Attempted to set registry name with existing registry name! New: orangeGlowstone Old: moarglowstone:whiteGlowstone Now I am aware people have used similiar methods but I can't find any way to register with the new method and ENUMs. Any help is greatly appreciated.

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.