#How to draw quads in minecraft 1.16.5? VertexFormat.DrawMode.QUADS - doesn't exist :/

1 messages · Page 1 of 1 (latest)

native narwhal
dapper cedar
#

Maybe look at what the method takes as first parameter

native narwhal
native narwhal
#

idk where i can get that fucking drawmode

dapper cedar
#

Is there no DrawMode popping out when using autocomplete

native narwhal
#

compilator says that drawmode doesn't exist

dapper cedar
#

Yeah because maybe it is relocated

#

Ur using newer tutorial

native narwhal
#

nowhere

timber cedar
#

you look at the existing minecraft code and figure things out

#

you shouldn't assume everything will be documented because it never will

native narwhal
#

opengl crashes the game

#

and nothing more

timber cedar
#

i don't have anything to add to that

#

your best best is the existing code

native narwhal
#

code doesn't work

timber cedar
#

there are other places where VertexFormat is used

#

check those

native narwhal
#

no forums, no examples, no sources

timber cedar
#

then 1.16.5 doesn't use DrawMode

#

minecraft's entire source is available for you to read

native narwhal
#

i didn't found minecraft source

#

could you give me link?

craggy cobalt
#

in your project

#

did you run genSources?

native narwhal
#

YAAAAAAAAAAAAAY

craggy cobalt
#

a gradle task

native narwhal
#

second draw mod

#

is quads

#

third is lines

native narwhal
#

no i didn't

craggy cobalt
#

no

#

genSources

native narwhal
#

i didn't

craggy cobalt
#

run it to generate minecraft source

craggy cobalt
#

actually looks like the draw mode is set to a magic number everywhere