I based the beam colours on the Energizing Rod Gems, but I think you'll probably want to adjust the colours to your liking.
This PR allows the Energizing Orb to be placed in all 6 directions and adds colour to the Energizing Rod Beams (which depends on the Lollipop PR but is optional, it just doesn't have colour without it).
Also needed to make the beam from the rod to the orb respect the different rotations of the orb (since it is slightly upwards).
Also changed places that retrieved the tile entity of the orb from the rod to be consistent and also check if the block is present (chunk is loaded) before retrieving it, except for linking with the wrench which will force-load temporarily like currently.
Also tested loading an existing world from before this PR and it properly defaults the orb to be facing "down" which is really upwards. I used the energizing rods for reference which also used the facing in the same way and because the code for placement was common I decided to follow the same convention.
Depends optionally on https://github.com/owmii/Lollipop/pull/17
Closes https://github.com/owmii/Powah/issues/21
Partially addresses https://github.com/owmii/Powah/issues/88
I based the beam colours on the Energizing Rod Gems, but I think you'll probably want to adjust the colours to your liking.
This PR allows the Energizing Orb to be placed in all 6 directions and adds colour to the Energizing Rod Beams (which depends on the Lollipop PR but is optional, it just doesn't have colour without it).
Also needed to make the beam from the rod to the orb respect the different rotations of the orb (since it is slightly upwards).
Also changed places that retrieved the tile entity of the orb from the rod to be consistent and also check if the block is present (chunk is loaded) before retrieving it, except for linking with the wrench which will force-load temporarily like currently.
Also tested loading an existing world from before this PR and it properly defaults the orb to be facing "down" which is really upwards. I used the energizing rods for reference which also used the facing in the same way and because the code for placement was common I decided to follow the same convention.
Screenshots