#Pass through terrain with ForestAura

22 messages · Page 1 of 1 (latest)

steep hedge
#

I'm updating lightwithin to 1.2.0, and i'm adding two new powers: ForestAura and ThunderAura. This a showcase of the first one, where you can pass through natural blocks and see the outline of allied/enemy entities around you. I find it pretty cool. Ah and also you are transparent-green!

Technically you could even make blocks non opaque, but you would be rendering too many faces since you would also need to render the inside of the blocks

ebon copper
#

also maybe typo in mod name?

#

lightwithin not ligthwithin

steep hedge
#

Yep sorry always manage to invert them without noticing lol

late gate
#

Will this update re-randomize powers? Or will I still have an earth light that makes a massive spike?

lament rivet
#

But not see forever because you have blindness

steep hedge
steep hedge
#

(i did experiment with that but I would have needed to edit all the block models)

#

Oh wait spectator mode exists, did you mean that?

lament rivet
#

Face culling is done regardless of whether youre inside or outside of a block

steep hedge
#

Uh. I'll look into it thanks!

steep hedge
lament rivet
#

PlayerEntity#tick first line

#

from a rudamentary look thats all you need

#

tbf if you just set block collision shapes to be empty then you'll fall through anyway and the camera should handle that fine

#

the rest is handled by mc already rendering the other sides of blocks when your camera is inside them

#

@ModifyReturnValue getCollisisonShape inside AbstractBlockState to return an emtpy voxel shape if the block is in the player or the player is sneaking and the block is below the player or the block is around the player

#

and give blindness