Posted June 4, 20205 yr I am programming a block which should use the energy of a lightning bolt, but I am unable to detect such impacts. All entity detection methods from Block class aren't able to detect them, but I can detect every other kind of Entity. Is there any possibility for that? Thanks for answers!
June 4, 20205 yr Howdy I think a Lightning bolt doesn't really behave like other entities do, it's more a placeholder and doesn't perform collision detection in the same way. I think the best you can probably do is to detect when it's spawned using (eg) EntityConstructing event, then look at its x,y,z to find the block that it is spawning at. -TGG
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.