Jump to content

ProspectPyxis

Members
  • Posts

    33
  • 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?
×
×
  • Create New...

Important Information

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