Jump to content

Szernex

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Szernex's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Disclaimer: So far I've only written small utility mods so I have 0 experience in working with entities, blocks and such, so please bear with me... Basically my goal is to make something like Glowing Orbs that can be thrown like snowballs (that part is already working) and on impact they drop a block or something that has the following properties: - It emits light once it sits still; achieved by just giving it a lightLevel - It's affected by gravity like sand or gravel is; achieved by making the block extend BlockFalling - Now here's the catch: I want to make it so you can walk through it (done by overriding getCollisionBoundingBoxFromPool and returning null) but at the same time that other blocks that fall on it (be it my block or sand, gravel etc) don't get destroyed. I've looked at EntityFallingBlock and BlockFalling and all that but I just can't wrap my head around how I would solve that issue. So any help as to where to begin would be appreciated. Or if you have a different idea on how to approach this I'm all ears. I first tried to fiddle around with just entities that get dropped when the thrown Glowing Orb hits something but from what I understand you need blocks in order to emit light so...
×
×
  • Create New...

Important Information

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