public class RenderShapeOutline extends RenderShape
color, texturewrappedBOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER| Constructor and Description |
|---|
RenderShapeOutline(Shape wrapped,
ColorCache color,
float lineWidth) |
| Modifier and Type | Method and Description |
|---|---|
RenderShapeOutline |
copy() |
void |
draw(RenderContext ctx,
Vector3 center) |
static RenderShapeOutline |
of(RenderShape shape) |
static RenderShapeOutline |
of(RenderShape shape,
float width) |
from, from, from, from, from, getCenterForGroup, getDepth, getHeight, getWidth, onResolutionUpdate, setColor, setHeight, setTexture, setTexture, setTexture, setWidth, setWrappedasOptional, equals, getWrapped, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIfNotNull, getIfNotNullOrDefault, getIfNotNullOrDefault, getWrappedClass, isNull, isNullGetter, notNull, notNullGetter, supplyIfNull, unwrap, wrapIfNotNull, wrapIfNotNullOrDefault, wrapIfNotNullOrDefaultpublic RenderShapeOutline(Shape wrapped, ColorCache color, float lineWidth)
public static RenderShapeOutline of(RenderShape shape)
public static RenderShapeOutline of(RenderShape shape, float width)
public RenderShapeOutline copy()
copy in class RenderShapepublic void draw(RenderContext ctx, Vector3 center)
draw in class RenderShape