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.

ProspectPyxis

Members
  • Joined

  • Last visited

Everything posted by ProspectPyxis

  1. https://github.com/ProspectPyxis/GlowingLights Here's the github, feel free to take a look at it.
  2. Any help with this? I even tried copying the code over from another block that works fine and only changing the light value and collision box, but not even that worked.
  3. That didn't do it either. Now I'm wondering if the problem is with the model itself...
  4. I added this line to my code: @SideOnly(Side.CLIENT) public BlockRenderLayer getBlockLayer() { return BlockRenderLayer.CUTOUT; } But it looks like that line didn't do anything? It's still darkening the block below.
  5. The image in the first spoiler should say it all, I think, but the problem is that the block below the one this block is placed on is inexplicably dark.
  6. I have a block with a custom model that also emits some light, but when I place it on the world this happens: Here's the code for this block: I have another light-emitting block with a custom model with very similar code to this but that works fine, so I really don't know what's wrong here...
  7. Dang, feels like it's just staring me in the face now that I've seen it. Added an ObjectHolder for my item in the block class and replaced all instances of new ItemGlowstoneBowl with it, works like a charm. Thank you!
  8. I've been trying to make my block drop a modded item when broken, either manually or when a block is broken from under it (the block can only be placed on the ground). However, upon trying to break the block, it just spawns a big untextured block item that immediately crashes the game when picked up. Crash log: BlockGlowstoneBowl (the block in question, ItemGlowstoneBowl just extends ItemBlockSpecial and works fine on its own): From what I've seen (and I'm not even 100% sure about this), the error happens because blocks are registered before items and therefore the block is actually dropping a null item, but I haven't found a working solution for this myself. Any help?

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.