#Prevent block at specific location from rendering?

8 messages · Page 1 of 1 (latest)

fossil mango
#

I've been trying for hours now, and I just can't seem to manage to stop a block at a specific location from rendering. The location can change multiple times per second, and this is client side 1.21.4.

polar kayak
#

what is the use-case?

fossil mango
# polar kayak what is the use-case?

I'm rendering a preview of the block I'm holding, but if I for example hold a stair, and point towards a grass, they will get rendered inside of each other.

So I kinda want to stop the actual block at targetPos from being rendered.

polar kayak
#

it makes more sense to render the block "on top" of the existing renderings, no?

#

the issue you will run into is that you will need to handle modifying the culling that is done which could cause some optimization issues since you would be telling it to rebuild the chunk multiple times a second

fossil mango
polar kayak
#

yes

fossil mango
#

That's what I want to prevent