#how can i make the entire world invisible for a player and make him only able to see what i render?

1 messages · Page 1 of 1 (latest)

remote raft
#

how can i make the entire world invisible for a player and make him only able to see what i render? because i want to add something like ready player one to my modpack

gray nightBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

sinful bone
#

why not simply cover the screen with a big black rectangleraha

ItemEvents.rightClicked(e => {
    e.player.paint(
        {
            blackout: {
                type: 'rectangle',
                w: 9999,
                h: 9999,
                draw: 'always',
                visible: true,
                color: 'black'
            }
        }
    )
    e.server.scheduleInTicks(20, () => e.player.paint({blackout: {visible: false}}))    
})
remote raft
#

no i want to use

Minecraft.getInstance().getItemRenderer().renderStatic()
magic fractal
#

what Rad is saying is rather than making the world invisible you just render a black rectangle to blot out teh world

#

then render what you want on top

zinc sealBOT
remote raft
#

well it makes everything black and i cant see my inventory or the blocks that i want to render

sinful bone
#

draw: 'ingame',

remote raft
#

how can i now render with

Minecraft.getInstance().getItemRenderer().renderStatic(

over it?

#

so the custom render is visible?