Class WorldMaterial
java.lang.Object
com.render.api.world.WorldMaterial
Immutable material state shared by retained and immediate commands.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic WorldMaterial.Builderbuilder()cullMode()booleanlighting()floatopacity()paint()Returns the selected graph's portable surface.intExplicit priority inside an opaque/translucent phase; lower values render first, equal values use distance.net.minecraft.resources.Identifiertexture()booleanvfx()
-
Field Details
-
DEFAULT
-
-
Method Details
-
builder
-
toBuilder
-
paint
-
texture
public net.minecraft.resources.Identifier texture() -
depthMode
-
blendMode
-
cullMode
-
lighting
-
opacity
public float opacity() -
doubleSided
public boolean doubleSided() -
vfx
-
renderOrder
public int renderOrder()Explicit priority inside an opaque/translucent phase; lower values render first, equal values use distance. -
portableFallback
Returns the selected graph's portable surface. Extracted model commands retain the nonwinning model layers, owner animation and instance color on this surface as well as on the direct surface; shared graph bindings and the authored fallback remain immutable. -
translucent
public boolean translucent()
-