@ApiStatus.NonExtendable public interface TextureMeta extends MetadataPart
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_BLUR |
static boolean |
DEFAULT_CLAMP |
| Modifier and Type | Method and Description |
|---|---|
boolean |
blur()
Determines whether the texture will be
blur-ed when viewed from close up
|
boolean |
clamp()
Determines whether the texture should be stretched
instead of tiled in cases where it otherwise would,
such as on the shadow
|
static @NotNull TextureMeta |
of(boolean blur,
boolean clamp)
Deprecated.
Use
texture(boolean, boolean) instead |
static @NotNull TextureMeta |
texture(boolean blur,
boolean clamp)
Creates a new
TextureMeta instance to
be applied to a texture |
typestatic final boolean DEFAULT_BLUR
static final boolean DEFAULT_CLAMP
@Contract(value="_, _ -> new") @NotNull static @NotNull TextureMeta texture(boolean blur, boolean clamp)
TextureMeta instance to
be applied to a textureblur - To make the texture blurclamp - To stretch the texture@Deprecated @ApiStatus.ScheduledForRemoval(inVersion="2.0.0") @Contract(value="_, _ -> new") @NotNull static @NotNull TextureMeta of(boolean blur, boolean clamp)
texture(boolean, boolean) insteadTextureMeta instance to
be applied to a textureblur - To make the texture blurclamp - To stretch the textureboolean blur()
boolean clamp()