#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)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
why not simply cover the screen with a big black rectangle
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}}))
})
no i want to use
Minecraft.getInstance().getItemRenderer().renderStatic()
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
whoud this still render?
well it makes everything black and i cant see my inventory or the blocks that i want to render
draw: 'ingame',