ShadowUI 使用文档

模型格式数据:公开签名参考

状态待核对Minecraft 1.21.10 · Forge / Bukkit
本页目录

本文对应 1.21.10 现代框架。文档中的接口与配置按当前文档快照核对;完整框架仍在开发验收。接口可编译、配置可解析与游戏内效果验证分别记录。

先读开发入门,再按下方类型查阅精确签名。

本章收录声明为 public 的类型和配对编译产物中的公开成员。公开可见性不自动代表稳定扩展点;平台服务应通过既有注册入口获取,底层类型仅供明确契约的扩展使用。构造器、record 访问器与枚举生成方法均保留。没有注解承诺的成员状态为未分类。

BBModelFormat

com.heartlion.shadowui.bbmodel.loader.BBModelFormat

Native Blockbench project revisions plus exported Bedrock geometry.

JAVA
public final class com.heartlion.shadowui.bbmodel.loader.BBModelFormat extends java.lang.Enum<com.heartlion.shadowui.bbmodel.loader.BBModelFormat> {
    public static final com.heartlion.shadowui.bbmodel.loader.BBModelFormat BLOCKBENCH_LEGACY;
    public static final com.heartlion.shadowui.bbmodel.loader.BBModelFormat BLOCKBENCH_3_2;
    public static final com.heartlion.shadowui.bbmodel.loader.BBModelFormat BLOCKBENCH_4_5;
    public static final com.heartlion.shadowui.bbmodel.loader.BBModelFormat BLOCKBENCH_4_10;
    public static final com.heartlion.shadowui.bbmodel.loader.BBModelFormat BLOCKBENCH_5;
    public static final com.heartlion.shadowui.bbmodel.loader.BBModelFormat BEDROCK;
    public static com.heartlion.shadowui.bbmodel.loader.BBModelFormat[] values();
    public static com.heartlion.shadowui.bbmodel.loader.BBModelFormat valueOf(java.lang.String);
    public static com.heartlion.shadowui.bbmodel.loader.BBModelFormat detect(com.google.gson.JsonObject);
    public boolean isBedrock();
    public boolean usesSeparateGroups();
    public boolean needsLegacyOutlinerZFix();
    public boolean needsLegacyBoxUvMirrorFix();
    public boolean needsLegacyAnimationAxisFix();
    public static boolean usesBedrockProjectCoordinates(com.google.gson.JsonObject);
    public static java.lang.String blockbenchVersion(com.google.gson.JsonObject);
}

usesBedrockProjectCoordinates

public static boolean usesBedrockProjectCoordinates(JsonObject json)

Native Bedrock projects already use model-centred X/Z coordinates.

BlockbenchCompatibilityIssue

com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue

A deterministic diagnostic emitted while adapting a Blockbench resource.

JAVA
public final class com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue {
    public com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue(com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue$Severity, java.lang.String, java.lang.String);
    public com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue$Severity getSeverity();
    public java.lang.String getCode();
    public java.lang.String getMessage();
    public java.lang.String toString();
}

BlockbenchCompatibilityIssue.Severity

com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue.Severity

JAVA
public final class com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue$Severity extends java.lang.Enum<com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue$Severity> {
    public static final com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue$Severity INFO;
    public static final com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue$Severity WARNING;
    public static final com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue$Severity LOSS;
    public static final com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue$Severity ERROR;
    public static com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue$Severity[] values();
    public static com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue$Severity valueOf(java.lang.String);
}

BlockbenchSourceProfile

com.heartlion.shadowui.gecko.BlockbenchSourceProfile

Describes the input independently from the renderer target. In particular, a native Blockbench Bedrock project is not the same thing as a Bedrock geo export: the former still has an editor revision and native outliner layout.

JAVA
public final class com.heartlion.shadowui.gecko.BlockbenchSourceProfile {
    public static com.heartlion.shadowui.gecko.BlockbenchSourceProfile detect(com.google.gson.JsonObject);
    public com.heartlion.shadowui.gecko.BlockbenchSourceProfile$Container getContainer();
    public java.lang.String getBlockbenchVersion();
    public java.lang.String getModelFormat();
    public java.lang.String getSchemaVersion();
    public boolean usesBedrockProjectCoordinates();
    public boolean usesSeparateGroups();
    public boolean hasRotatedFaces();
    public boolean hasMultipleTextures();
    public boolean isUnknownFutureEditor();
}

BlockbenchSourceProfile.Container

com.heartlion.shadowui.gecko.BlockbenchSourceProfile.Container

JAVA
public final class com.heartlion.shadowui.gecko.BlockbenchSourceProfile$Container extends java.lang.Enum<com.heartlion.shadowui.gecko.BlockbenchSourceProfile$Container> {
    public static final com.heartlion.shadowui.gecko.BlockbenchSourceProfile$Container NATIVE_BLOCKBENCH;
    public static final com.heartlion.shadowui.gecko.BlockbenchSourceProfile$Container JAVA_ITEM;
    public static final com.heartlion.shadowui.gecko.BlockbenchSourceProfile$Container BEDROCK_MODERN;
    public static final com.heartlion.shadowui.gecko.BlockbenchSourceProfile$Container BEDROCK_LEGACY;
    public static final com.heartlion.shadowui.gecko.BlockbenchSourceProfile$Container ANIMATION;
    public static final com.heartlion.shadowui.gecko.BlockbenchSourceProfile$Container UNKNOWN;
    public static com.heartlion.shadowui.gecko.BlockbenchSourceProfile$Container[] values();
    public static com.heartlion.shadowui.gecko.BlockbenchSourceProfile$Container valueOf(java.lang.String);
}

ConvertedGeckoResources

com.heartlion.shadowui.gecko.ConvertedGeckoResources

V1 detached data: compatibility output plus original documents for precise backend sampling.

JAVA
public final class com.heartlion.shadowui.gecko.ConvertedGeckoResources {
    public static final int SCHEMA_VERSION;
    public int getSchemaVersion();
    public java.lang.String getId();
    public com.google.gson.JsonObject getGeometry();
    public com.google.gson.JsonObject getAnimations();
    public com.google.gson.JsonObject getOriginalModel();
    public com.google.gson.JsonObject getOriginalAnimations();
    public java.lang.String getSuggestedTexture();
    public java.lang.String getRequiredTexture();
    public java.util.Map<java.lang.String, byte[]> getVirtualTextures();
    public com.heartlion.shadowui.gecko.BlockbenchSourceProfile getSourceProfile();
    public java.util.List<com.heartlion.shadowui.gecko.BlockbenchCompatibilityIssue> getCompatibilityIssues();
}

getAnimations

public JsonObject getAnimations()

Legacy compatibility animations; numeric pre/post edges retain the established epsilon conversion.

getOriginalModel

public JsonObject getOriginalModel()

The complete unmodified model document, including native groups, UUIDs and authored keyframes.

getOriginalAnimations

public JsonObject getOriginalAnimations()

The complete selected animation document, before epsilon conversion or consumer track removal.

getRequiredTexture

public String getRequiredTexture()

Multi-slot atlases must be used; a single generated texture remains only a suggestion.

LegacyModelNormalizer

com.heartlion.shadowui.gecko.LegacyModelNormalizer

V1 pure-data normalization of historical Blockbench and Bedrock inputs. Geometry/compatibility animations retain the established Gecko 3 JSON shape; original source documents are retained separately for precise backend sampling. This provider owns no renderer, player policy, query state or lifecycle.

JAVA
public final class com.heartlion.shadowui.gecko.LegacyModelNormalizer {
    public static final int SCHEMA_VERSION;
    public com.heartlion.shadowui.gecko.LegacyModelNormalizer();
    public com.heartlion.shadowui.gecko.LegacyModelNormalizer(com.heartlion.shadowui.gecko.LegacyNormalizationOptions);
    public com.heartlion.shadowui.gecko.ConvertedGeckoResources convert(java.lang.String, java.io.InputStream, java.io.InputStream) throws java.lang.Exception;
    public com.heartlion.shadowui.gecko.ConvertedGeckoResources convert(java.lang.String, com.google.gson.JsonObject, com.google.gson.JsonObject);
    public com.google.gson.JsonObject normalizeGeometry(java.lang.String, com.google.gson.JsonObject);
    public com.google.gson.JsonObject normalizeAnimations(com.google.gson.JsonObject, com.google.gson.JsonObject);
    public static com.google.gson.JsonObject readDocument(java.io.InputStream) throws java.lang.Exception;
}

normalizeGeometry

public JsonObject normalizeGeometry(String sourceName, JsonObject model)

Normalizes either a Bedrock/Gecko geo file or a native Blockbench project before it reaches GeckoLib's unmodified loaders. This is also used for already-canonical geo files discovered during resource-pack enumeration.

readDocument

public static JsonObject readDocument(InputStream input) throws Exception

Reads and closes a JSON resource stream, retaining the legacy stream ownership contract.

LegacyNormalizationOptions

com.heartlion.shadowui.gecko.LegacyNormalizationOptions

V1 caller-owned identity/naming and optional pure-data cube decoration.

JAVA
public final class com.heartlion.shadowui.gecko.LegacyNormalizationOptions {
    public com.heartlion.shadowui.gecko.LegacyNormalizationOptions(java.lang.String, java.lang.String, com.heartlion.shadowui.gecko.LegacyNormalizationOptions$CubeDecorator);
    public com.heartlion.shadowui.gecko.LegacyNormalizationOptions(java.lang.String, java.lang.String, com.heartlion.shadowui.gecko.LegacyNormalizationOptions$CubeDecorator, int, long, int);
    public static com.heartlion.shadowui.gecko.LegacyNormalizationOptions defaults();
    public java.lang.String textureNamespace();
    public java.lang.String identifierOverride();
    public int maximumTextureDimension();
    public long maximumTexturePixels();
    public int maximumEncodedTextureBytes();
}

LegacyNormalizationOptions

public LegacyNormalizationOptions(String textureNamespace, String identifierOverride, CubeDecorator decorator, int maximumTextureDimension, long maximumTexturePixels, int maximumEncodedTextureBytes)

Optional generic image limits, checked before decoding pixels or allocating an atlas.

LegacyNormalizationOptions.CubeDecorator

com.heartlion.shadowui.gecko.LegacyNormalizationOptions.CubeDecorator

声明注解:@FunctionalInterface。

JAVA
public interface com.heartlion.shadowui.gecko.LegacyNormalizationOptions$CubeDecorator {
    public abstract void decorate(com.google.gson.JsonObject, com.google.gson.JsonObject);
}

decorate

public void decorate(JsonObject sourceElement, JsonObject cube)

Both trees are detached scratch copies; only edits to the cube are retained.

Aw20AnimationData

com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData

Complete ANIM outer wire records for inspected file versions20-25, before compile/link/evaluation. Instructions and referenced audio/particle blobs are retained as source data, never executed. Encoded static pivot wraps rotation only; a native linked AnimationTransform wraps rotation AND scale. Neither native runtime transform nor affected-part policy is inferred by this decoder.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData {
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Limits DEFAULT_LIMITS;
    public com.heartlion.shadowui.legacyformat.aw.Aw20Envelope sourceEnvelope();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Animation> animations();
    public boolean hasEncodedSection();
    public static com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData read(com.heartlion.shadowui.legacyformat.aw.Aw20Envelope, com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog, com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog) throws java.io.IOException;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData read(com.heartlion.shadowui.legacyformat.aw.Aw20Envelope, com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog, com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog, com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Limits) throws java.io.IOException;
}

Aw20AnimationData.Loop

com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData.Loop

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Loop extends java.lang.Enum<com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Loop> {
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Loop NONE;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Loop LOOP;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Loop LAST_FRAME;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Loop[] values();
    public static com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Loop valueOf(java.lang.String);
}

Aw20AnimationData.Scalar

com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData.Scalar

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Scalar {
    public boolean isExpression();
    public java.util.Optional<java.lang.String> expression();
    public int floatBits();
    public float floatValue();
    public java.util.Optional<java.lang.Integer> legacyFlags();
}

Aw20AnimationData.Interpolation

com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData.Interpolation

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Interpolation {
    public int rawTag();
    public int[] bezierFloatBits();
}

rawTag

public int rawTag()

Unknown tags stay readable, not evaluatable. Only tag3 has twelve encoded float words.

Aw20AnimationData.FileReference

com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData.FileReference

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$FileReference {
    public boolean isInlineLegacy();
    public java.util.Optional<java.lang.Integer> fileId();
    public java.util.Optional<com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$File> file();
    public com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$Blob blob();
}

Aw20AnimationData.Point

com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData.Point

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Point {
    public int wireTag();
    public java.util.List<java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Scalar>> boneTriplets();
    public java.util.Optional<java.lang.String> text();
    public java.util.Optional<java.lang.String> locator();
    public java.util.Optional<java.lang.String> script();
    public java.util.Optional<com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Compound> soundProperties();
    public java.util.Optional<com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$FileReference> fileReference();
}

wireTag

public int wireTag()

3/6 are legacy one/two triplet blocks;8 bone;9 instruction;10 sound;11 particle.

soundProperties

public Optional<Aw20Properties.Compound> soundProperties()

Absent before version23, distinct from an encoded empty compound at23+.

Aw20AnimationData.Keyframe

com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData.Keyframe

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Keyframe {
    public int timeBits();
    public float time();
    public com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Interpolation interpolation();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Point> points();
    public int encodedPointCount();
}

encodedPointCount

public int encodedPointCount()

Modern plus-one count, or -1 for legacy point/block termination.

Aw20AnimationData.Track

com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData.Track

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Track {
    public java.lang.String bone();
    public java.lang.String channel();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Keyframe> keyframes();
}

Aw20AnimationData.ChannelGroup

com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData.ChannelGroup

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$ChannelGroup {
    public java.lang.String channel();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Track> tracks();
}

Aw20AnimationData.Animation

com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData.Animation

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Animation {
    public java.lang.String name();
    public int durationBits();
    public float duration();
    public com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Loop loop();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Track> tracks();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$ChannelGroup> channelGroups();
}

channelGroups

public List<ChannelGroup> channelGroups()

Modern wire channel grouping, including encoded groups with no bones. Empty for legacy20/21.

Aw20AnimationData.Limits

com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData.Limits

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Limits {
    public final int maxAnimations;
    public final int maxTracks;
    public final int maxKeyframes;
    public final int maxPoints;
    public final com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$Limits storage;
    public com.heartlion.shadowui.legacyformat.aw.Aw20AnimationData$Limits(int, int, int, int, com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$Limits);
}

Aw20Envelope

com.heartlion.shadowui.legacyformat.aw.Aw20Envelope

Immutable family20 wire envelope. Chunk payloads have not been interpreted as geometry or game policy.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20Envelope {
    public int fileVersion();
    public int reserved1();
    public int reserved2();
    public java.lang.String skinType();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20Envelope$Chunk> chunks();
    public int checksumField();
    public byte[] encodedBytes();
    public boolean hasInterpretedGeometry();
}

checksumField

public int checksumField()

Upstream currently writes zero, and its reader does not verify a checksum. No CRC proof is claimed.

hasInterpretedGeometry

public boolean hasInterpretedGeometry()

Complete semantic decoding is a separate, explicit contract; opaque bytes are never drawable assets.

Aw20Envelope.Chunk

com.heartlion.shadowui.legacyformat.aw.Aw20Envelope.Chunk

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20Envelope$Chunk {
    public java.lang.String name();
    public int flags();
    public int encodedLength();
    public boolean encrypted();
    public boolean gzip();
    public byte[] encodedPayload();
}

encodedLength

public int encodedLength()

Includes the length word, four-byte name and two-byte flags.

encodedPayload

public byte[] encodedPayload()

Original encoded body. Encrypted/compressed payloads are not silently decrypted/decompressed.

Aw20EnvelopeCodec

com.heartlion.shadowui.legacyformat.aw.Aw20EnvelopeCodec

Bounded inspection of the SKIN/container layer only, independent of the old raw v12/v13 codec. Based on wire facts at upstream f79d70dd; no upstream implementation or game object is included.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20EnvelopeCodec {
    public static final int MAGIC;
    public static final int MIN_VERSION;
    public static final int LAST_INSPECTED_WRITER_VERSION;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20EnvelopeCodec$Limits DEFAULT_LIMITS;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20Envelope inspect(byte[]) throws java.io.IOException;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20Envelope inspect(java.io.InputStream) throws java.io.IOException;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20Envelope inspect(java.io.InputStream, com.heartlion.shadowui.legacyformat.aw.Aw20EnvelopeCodec$Limits) throws java.io.IOException;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20Envelope inspect(byte[], com.heartlion.shadowui.legacyformat.aw.Aw20EnvelopeCodec$Limits) throws java.io.IOException;
    public static byte[] encode(com.heartlion.shadowui.legacyformat.aw.Aw20Envelope);
}

inspect

public static Aw20Envelope inspect(InputStream stream, Limits limits) throws IOException

Caller owns the stream. At most one byte beyond the file limit is probed to distinguish EOF.

encode

public static byte[] encode(Aw20Envelope envelope)

Exact stored-wire roundtrip; this does not author or normalize modern AW geometry.

Aw20EnvelopeCodec.Limits

com.heartlion.shadowui.legacyformat.aw.Aw20EnvelopeCodec.Limits

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20EnvelopeCodec$Limits {
    public final int maxFileBytes;
    public final int maxChunks;
    public final int maxStringBytes;
    public final long maxAllocationBytes;
    public com.heartlion.shadowui.legacyformat.aw.Aw20EnvelopeCodec$Limits(int, int, int, long);
}

Aw20FileCatalog

com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog

Immutable FILE outer records. Blob contents are source facts, not loaded images/sounds/particles. References and blob windows retain exactly one source identity; no registry or filename resolution.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog {
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$Limits DEFAULT_LIMITS;
    public com.heartlion.shadowui.legacyformat.aw.Aw20Envelope sourceEnvelope();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$File> files();
    public boolean hasEncodedSection();
    public com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$File file(int);
    public static com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog read(com.heartlion.shadowui.legacyformat.aw.Aw20Envelope, com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog) throws java.io.IOException;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog read(com.heartlion.shadowui.legacyformat.aw.Aw20Envelope, com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog, com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$Limits) throws java.io.IOException;
}

Aw20FileCatalog.Limits

com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog.Limits

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$Limits {
    public final int maxFiles;
    public final int maxBlobBytes;
    public final int maxPayloadBytes;
    public final int maxPropertyEntries;
    public final int maxPropertyValues;
    public final int maxDepth;
    public final int maxStringBytes;
    public final long maxAllocationBytes;
    public com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$Limits(int, int, int, int, int, int, int, long);
}

Aw20FileCatalog.Blob

com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog.Blob

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$Blob {
    public com.heartlion.shadowui.legacyformat.aw.Aw20Envelope sourceEnvelope();
    public int length();
    public byte[] copyBytes(long);
}

copyBytes

public byte[] copyBytes(long maxCopyBytes)

Admit the caller's copy before allocating it. Repeated copies remain caller-owned.

Aw20FileCatalog.File

com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog.File

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$File {
    public int id();
    public int type();
    public java.util.Optional<java.lang.String> name();
    public com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Compound properties();
    public com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$Blob blob();
}

Aw20Markers

com.heartlion.shadowui.legacyformat.aw.Aw20Markers

Grouped PRMK wire facts. A marker does not imply a player attachment or a evaluated wing pose.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20Markers {
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20Markers$Limits DEFAULT_LIMITS;
    public com.heartlion.shadowui.legacyformat.aw.Aw20Envelope sourceEnvelope();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20Markers$Section> sections();
    public static com.heartlion.shadowui.legacyformat.aw.Aw20Markers read(com.heartlion.shadowui.legacyformat.aw.Aw20Envelope, com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog) throws java.io.IOException;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20Markers read(com.heartlion.shadowui.legacyformat.aw.Aw20Envelope, com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog, com.heartlion.shadowui.legacyformat.aw.Aw20Markers$Limits) throws java.io.IOException;
}

Aw20Markers.Marker

com.heartlion.shadowui.legacyformat.aw.Aw20Markers.Marker

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20Markers$Marker {
    public int x();
    public int y();
    public int z();
    public int rawMetaByte();
    public int signedMeta();
    public java.util.Optional<com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face> sourceDirection();
}

sourceDirection

public Optional<Aw20VoxelData.Face> sourceDirection()

Exact fixed-native direction ID, not a coordinate conversion. Empty is encoded meta=0.

Aw20Markers.Section

com.heartlion.shadowui.legacyformat.aw.Aw20Markers.Section

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20Markers$Section {
    public int partId();
    public int sourceIndex();
    public int flags();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20Markers$Marker> markers();
}

Aw20Markers.Limits

com.heartlion.shadowui.legacyformat.aw.Aw20Markers.Limits

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20Markers$Limits {
    public final int maxMarkers;
    public final com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$Limits storage;
    public com.heartlion.shadowui.legacyformat.aw.Aw20Markers$Limits(int, com.heartlion.shadowui.legacyformat.aw.Aw20FileCatalog$Limits);
}

Aw20PartCatalog

com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog

Bounded source part hierarchy/transform/reference catalog, before any geometry or appearance policy. Grouped subchunks remain opaque. No biped offsets, type registry fallback or pose are inferred.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog {
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$Limits DEFAULT_LIMITS;
    public com.heartlion.shadowui.legacyformat.aw.Aw20Envelope sourceEnvelope();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$Part> parts();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$PartChunk> groupedChunks();
    public boolean hasResolvedGeometry();
    public static com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog read(com.heartlion.shadowui.legacyformat.aw.Aw20Envelope) throws java.io.IOException;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog read(com.heartlion.shadowui.legacyformat.aw.Aw20Envelope, com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$Limits) throws java.io.IOException;
}

sourceEnvelope

public Aw20Envelope sourceEnvelope()

Source identity is the immutable inspected envelope, never a second mutable model authority.

Aw20PartCatalog.TransformKind

com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog.TransformKind

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$TransformKind extends java.lang.Enum<com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$TransformKind> {
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$TransformKind IDENTITY;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$TransformKind VECTORS;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$TransformKind MATRIX;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$TransformKind[] values();
    public static com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$TransformKind valueOf(java.lang.String);
}

Aw20PartCatalog.Transform

com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog.Transform

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$Transform {
    public com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$TransformKind kind();
    public float[] values();
}

Aw20PartCatalog.Selector

com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog.Selector

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$Selector {
    public int first();
    public int count();
}

Aw20PartCatalog.Part

com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog.Part

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$Part {
    public int id();
    public int parentId();
    public java.lang.String name();
    public java.lang.String type();
    public com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$Transform transform();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$Selector> selectors();
}

Aw20PartCatalog.PartChunk

com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog.PartChunk

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$PartChunk {
    public java.lang.String name();
    public int flags();
    public int partId();
    public byte[] encodedPayload();
    public int encodedPayloadLength();
}

encodedPayloadLength

public int encodedPayloadLength()

Length before a caller admits the defensive payload copy. Excludes the grouped header.

Aw20PartCatalog.Limits

com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog.Limits

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$Limits {
    public final int maxParts;
    public final int maxSelectors;
    public final int maxPayloadBytes;
    public final int maxDepth;
    public final long maxAllocationBytes;
    public com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$Limits(int, int, int, int, long);
}

Aw20Properties

com.heartlion.shadowui.legacyformat.aw.Aw20Properties

Immutable family20 PPTS wire facts, before Skin.Builder normalization or registry/default policy. Eight tags match fixed f79d70dd OpenProperties.DataTypes. Ordered duplicate entries and exact numeric/boolean bits remain available; floats need not be finite as source metadata. Only PPTS is consumed here. Settings, other grouped chunks, materials and animation remain separate.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20Properties {
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Limits DEFAULT_LIMITS;
    public com.heartlion.shadowui.legacyformat.aw.Aw20Envelope sourceEnvelope();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Section> sections();
    public static com.heartlion.shadowui.legacyformat.aw.Aw20Properties read(com.heartlion.shadowui.legacyformat.aw.Aw20Envelope, com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog) throws java.io.IOException;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20Properties read(com.heartlion.shadowui.legacyformat.aw.Aw20Envelope, com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog, com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Limits) throws java.io.IOException;
}

sections

public List<Section> sections()

Top-level PPTS in chunk order, then grouped PPTS in catalog chunk order. Missing sections stay missing.

Aw20Properties.Type

com.heartlion.shadowui.legacyformat.aw.Aw20Properties.Type

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Type extends java.lang.Enum<com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Type> {
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Type STRING;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Type INT;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Type DOUBLE;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Type BOOLEAN;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Type LIST;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Type COMPOUND;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Type FLOAT;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Type LONG;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Type[] values();
    public static com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Type valueOf(java.lang.String);
}

Aw20Properties.Entry

com.heartlion.shadowui.legacyformat.aw.Aw20Properties.Entry

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Entry {
    public java.lang.String key();
    public com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Value value();
}

Aw20Properties.Compound

com.heartlion.shadowui.legacyformat.aw.Aw20Properties.Compound

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Compound {
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Entry> entries();
    public java.util.Optional<com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Value> last(java.lang.String);
}

last

public Optional<Value> last(String key)

Explicit last-key lookup matches the official map's overwrite rule, without dropping wire entries.

Aw20Properties.Value

com.heartlion.shadowui.legacyformat.aw.Aw20Properties.Value

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Value {
    public com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Type type();
    public java.util.Optional<com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Type> elementType();
    public java.lang.String stringValue();
    public int intValue();
    public long longValue();
    public float floatValue();
    public double doubleValue();
    public boolean booleanValue();
    public long rawBits();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Value> listValue();
    public com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Compound compoundValue();
}

elementType

public Optional<Type> elementType()

Empty lists encode no element type, so this is empty rather than an invented STRING tag.

rawBits

public long rawBits()

INT/FLOAT retain unsigned 32-bit words; LONG/DOUBLE retain all 64 bits; BOOLEAN retains its byte.

Aw20Properties.Section

com.heartlion.shadowui.legacyformat.aw.Aw20Properties.Section

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Section {
    public int partId();
    public int sourceIndex();
    public int flags();
    public com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Compound value();
}

partId

public int partId()

Zero is top-level; grouped part IDs are the unchanged source catalog IDs.

Aw20Properties.Limits

com.heartlion.shadowui.legacyformat.aw.Aw20Properties.Limits

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Limits {
    public final int maxEntries;
    public final int maxValues;
    public final int maxDepth;
    public final int maxPayloadBytes;
    public final long maxAllocationBytes;
    public com.heartlion.shadowui.legacyformat.aw.Aw20Properties$Limits(int, int, int, int, long);
}

Aw20SourceMath

com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath

Mathematical source stage for family20 geometry V1, independent of any rendering platform. Source coordinates keep their encoded units and axes. No target basis, unit scale, attachment, visibility, material, dye or animation is inferred. Double intermediates express the mathematical transform; they are not a claim of bit-identical upstream float rendering.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath {
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Limits DEFAULT_LIMITS;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Matrix local(com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$Transform);
    public static com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Scene scene(com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog, com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData);
    public static com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Scene scene(com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog, com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData, com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Limits);
}

local

public static Matrix local(Aw20PartCatalog.Transform transform)

Exact source order T * Tpivot * Rz * Ry * Rx * T(-pivot) * S * Tafter. Encoded rotation is in degrees; pivot encloses rotation only, never scale.

Aw20SourceMath.Matrix

com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath.Matrix

Finite column-major matrix operating on column vectors. Inputs and outputs are owned copies. A source MATRIX may be non-affine, including the official compressed default with M44=0. Such values remain inspectable; affinePoint's rejection is this interface's admission rule, not a declaration that the official file or its renderer is invalid.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Matrix {
    public static com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Matrix columnMajor(double[]);
    public static com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Matrix identity();
    public double[] values();
    public boolean isAffine();
    public com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Matrix multiply(com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Matrix);
    public double[] homogeneousPoint(double, double, double);
    public double[] affinePoint(double, double, double);
    public double determinant3();
}

multiply

public Matrix multiply(Matrix right)

this * right, with no perspective divide or repair of homogeneous components.

homogeneousPoint

public double[] homogeneousPoint(double x, double y, double z)

Mathematical xyzw. Upstream OpenMatrix4f's array operation consumes input w but only overwrites xyz; neither operation performs a perspective divide.

Aw20SourceMath.Limits

com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath.Limits

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Limits {
    public final int maxParts;
    public final long maxAllocationBytes;
    public com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Limits(int, long);
}

Aw20SourceMath.Frame

com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath.Frame

A static encoded part frame. This does not include registry, animation or player transforms.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Frame {
    public com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$Part part();
    public com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Matrix localMatrix();
    public com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Matrix sourceGlobalMatrix();
}

Aw20SourceMath.Quad

com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath.Quad

One encoded face, with source identity and palette facts retained. Positions use the caller's explicit target matrix. Normals are geometric outward unit normals, not the official renderer's separate flat shading-matrix policy. Indices correct a negative combined determinant so both triangle cross products point to that normal's outward side. Admission also checks finite, nonzero triangle cross products after coordinate rounding. Unit face UVs retain SkinCubeFace's corner order; they are not resolved palette/texture coordinates.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Quad {
    public com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$Part part();
    public com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Voxel voxel();
    public com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face face();
    public com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Colour colour();
    public int selectorIndex();
    public int selectorOffset();
    public int geometryIndex();
    public int paletteIndex();
    public double[] positions();
    public double[] normal();
    public double[] unitFaceUvs();
    public int[] indices();
    public boolean mirrored();
}

Aw20SourceMath.Scene

com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath.Scene

Immutable mathematical frames derived from exactly one immutable inspected envelope. The retained source objects are identities/facts, not copies or another mutable authority.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Scene {
    public com.heartlion.shadowui.legacyformat.aw.Aw20Envelope sourceEnvelope();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Frame> frames();
    public com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Frame frame(int);
    public java.util.Optional<com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Quad> quad(int, int, int, com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face, com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Matrix);
    public java.util.Optional<com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Quad> localQuad(int, int, int, com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face, com.heartlion.shadowui.legacyformat.aw.Aw20SourceMath$Matrix);
}

quad

public Optional<Quad> quad(int partId, int selectorIndex, int selectorOffset, Aw20VoxelData.Face face, Matrix sourceToTarget)

Maps only the selected encoded face. Empty means no palette reference was encoded; it is not a visibility, NONE-paint, culling, material or appearance decision. No default basis/scale exists. Non-affine/singular mappings are outside this interface's admission, even though raw source matrices remain readable via frame().

localQuad

public Optional<Quad> localQuad(int partId, int selectorIndex, int selectorOffset, Aw20VoxelData.Face face, Matrix sourceToTarget)

Maps only encoded part-local geometry, without applying a part or parent transform. A consumer preserving source hierarchy can map local vertices once and retain the full source matrix chain separately. Non-affine source frames remain readable and do not invalidate this local face; final posed geometry admission still belongs to its consumer. Target mapping is explicit; no default axes, units, registry offset or appearance exists.

Aw20VoxelData

com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData

Immutable source palette and geometry-V1 voxel data. Face indexes use modern DOWN,UP,NORTH,SOUTH,WEST,EAST. Dye/material/attachment decisions and voxel-to-platform normalization are not performed here.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData {
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Limits DEFAULT_LIMITS;
    public com.heartlion.shadowui.legacyformat.aw.Aw20Envelope sourceEnvelope();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Colour> colours();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Voxel> voxels();
    public int paletteFlags();
    public int paletteReserved();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Voxel> select(com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog$Selector);
    public static com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData read(com.heartlion.shadowui.legacyformat.aw.Aw20Envelope, com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog) throws java.io.IOException;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData read(com.heartlion.shadowui.legacyformat.aw.Aw20Envelope, com.heartlion.shadowui.legacyformat.aw.Aw20PartCatalog, com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Limits) throws java.io.IOException;
}

sourceEnvelope

public Aw20Envelope sourceEnvelope()

Immutable source identity only; palette/geometry remain the original decoded facts.

select

public List<Voxel> select(Aw20PartCatalog.Selector selector)

Immutable selection of source voxels; indexes are source-global across ordered geometry sections.

Aw20VoxelData.Face

com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData.Face

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face extends java.lang.Enum<com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face> {
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face DOWN;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face UP;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face NORTH;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face SOUTH;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face WEST;
    public static final com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face EAST;
    public static com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face[] values();
    public static com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face valueOf(java.lang.String);
}

Aw20VoxelData.Colour

com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData.Colour

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Colour {
    public int paintType();
    public int rawValue();
    public int rgb();
    public int usedBytes();
}

Aw20VoxelData.Voxel

com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData.Voxel

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Voxel {
    public int geometryType();
    public int x();
    public int y();
    public int z();
    public int paletteIndex(com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Face);
    public int[] paletteIndices();
}

Aw20VoxelData.Limits

com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData.Limits

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Limits {
    public final int maxColours;
    public final int maxVoxels;
    public final int maxPayloadBytes;
    public final long maxAllocationBytes;
    public com.heartlion.shadowui.legacyformat.aw.Aw20VoxelData$Limits(int, int, int, long);
}

AwDocument

com.heartlion.shadowui.legacyformat.aw.AwDocument

Immutable, uncompressed AW v12/v13 data. Registry resolution and appearance policy belong to consumers.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.AwDocument {
    public static final int PAINT_WIDTH;
    public static final int PAINT_HEIGHT;
    public static final int PAINT_PIXELS;
    public static final int FACE_COUNT;
    public com.heartlion.shadowui.legacyformat.aw.AwDocument(int, java.lang.String, java.util.List<com.heartlion.shadowui.legacyformat.aw.AwDocument$Property>, int[], java.util.List<com.heartlion.shadowui.legacyformat.aw.AwDocument$Part>);
    public int fileVersion();
    public java.lang.String skinType();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.AwDocument$Property> properties();
    public boolean hasPaintData();
    public int[] paintData();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.AwDocument$Part> parts();
}

properties

public List<Property> properties()

The serialized order is retained, including repeated keys. Consumers may apply their own lookup policy.

AwDocument.PropertyType

com.heartlion.shadowui.legacyformat.aw.AwDocument.PropertyType

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.AwDocument$PropertyType extends java.lang.Enum<com.heartlion.shadowui.legacyformat.aw.AwDocument$PropertyType> {
    public static final com.heartlion.shadowui.legacyformat.aw.AwDocument$PropertyType STRING;
    public static final com.heartlion.shadowui.legacyformat.aw.AwDocument$PropertyType INT;
    public static final com.heartlion.shadowui.legacyformat.aw.AwDocument$PropertyType DOUBLE;
    public static final com.heartlion.shadowui.legacyformat.aw.AwDocument$PropertyType BOOLEAN;
    public static com.heartlion.shadowui.legacyformat.aw.AwDocument$PropertyType[] values();
    public static com.heartlion.shadowui.legacyformat.aw.AwDocument$PropertyType valueOf(java.lang.String);
}

AwDocument.Property

com.heartlion.shadowui.legacyformat.aw.AwDocument.Property

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.AwDocument$Property {
    public com.heartlion.shadowui.legacyformat.aw.AwDocument$Property(java.lang.String, com.heartlion.shadowui.legacyformat.aw.AwDocument$PropertyType, java.lang.Object);
    public static com.heartlion.shadowui.legacyformat.aw.AwDocument$Property ofString(java.lang.String, java.lang.String);
    public static com.heartlion.shadowui.legacyformat.aw.AwDocument$Property ofInt(java.lang.String, int);
    public static com.heartlion.shadowui.legacyformat.aw.AwDocument$Property ofDouble(java.lang.String, double);
    public static com.heartlion.shadowui.legacyformat.aw.AwDocument$Property ofBoolean(java.lang.String, boolean);
    public java.lang.String key();
    public com.heartlion.shadowui.legacyformat.aw.AwDocument$PropertyType type();
    public java.lang.Object value();
}

AwDocument.Part

com.heartlion.shadowui.legacyformat.aw.AwDocument.Part

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.AwDocument$Part {
    public com.heartlion.shadowui.legacyformat.aw.AwDocument$Part(java.lang.String, java.util.List<com.heartlion.shadowui.legacyformat.aw.AwDocument$Cube>, java.util.List<com.heartlion.shadowui.legacyformat.aw.AwDocument$Marker>);
    public java.lang.String type();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.AwDocument$Cube> cubes();
    public java.util.List<com.heartlion.shadowui.legacyformat.aw.AwDocument$Marker> markers();
}

AwDocument.Cube

com.heartlion.shadowui.legacyformat.aw.AwDocument.Cube

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.AwDocument$Cube {
    public com.heartlion.shadowui.legacyformat.aw.AwDocument$Cube(int, int, int, int, int[], int[]);
    public int id();
    public int x();
    public int y();
    public int z();
    public int red(int);
    public int green(int);
    public int blue(int);
    public int paintType(int);
    public int[] faceRgb();
    public int[] paintTypes();
}

Cube

public Cube(int id, int x, int y, int z, int[] faceRgb, int[] paintTypes)

faceRgb is six interleaved RGB triples; paintTypes contains the six unsigned paint IDs.

AwDocument.Marker

com.heartlion.shadowui.legacyformat.aw.AwDocument.Marker

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.AwDocument$Marker {
    public com.heartlion.shadowui.legacyformat.aw.AwDocument$Marker(int, int, int, int);
    public int x();
    public int y();
    public int z();
    public int meta();
}

Marker

public Marker(int x, int y, int z, int meta)

Positions are signed bytes; meta retains the raw unsigned byte without interpreting a direction.

AwSkinCodec

com.heartlion.shadowui.legacyformat.aw.AwSkinCodec

Bounded codec for the raw, big-endian v12/v13 AW layout. This format is flat: no hierarchy, compression, registry lookup, appearance migration, or game lifecycle is inferred. Strings retain their original values, properties retain order and repeated keys, and double bits are preserved. Accepted strings use strict UTF-8 or canonical DataOutput modified UTF; boolean bytes are exactly 0 or 1. Noncanonical legacy encodings are rejected, rather than silently normalized on re-encoding.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.AwSkinCodec {
    public static final com.heartlion.shadowui.legacyformat.aw.AwSkinCodec$Limits DEFAULT_LIMITS;
    public static com.heartlion.shadowui.legacyformat.aw.AwDocument decode(byte[]) throws java.io.IOException;
    public static com.heartlion.shadowui.legacyformat.aw.AwDocument decode(java.io.InputStream) throws java.io.IOException;
    public static com.heartlion.shadowui.legacyformat.aw.AwDocument decode(java.io.InputStream, com.heartlion.shadowui.legacyformat.aw.AwSkinCodec$Limits) throws java.io.IOException;
    public static com.heartlion.shadowui.legacyformat.aw.AwDocument decode(byte[], com.heartlion.shadowui.legacyformat.aw.AwSkinCodec$Limits) throws java.io.IOException;
    public static byte[] encode(com.heartlion.shadowui.legacyformat.aw.AwDocument) throws java.io.IOException;
    public static byte[] encode(com.heartlion.shadowui.legacyformat.aw.AwDocument, com.heartlion.shadowui.legacyformat.aw.AwSkinCodec$Limits) throws java.io.IOException;
    public static void encode(com.heartlion.shadowui.legacyformat.aw.AwDocument, java.io.OutputStream) throws java.io.IOException;
    public static void encode(com.heartlion.shadowui.legacyformat.aw.AwDocument, java.io.OutputStream, com.heartlion.shadowui.legacyformat.aw.AwSkinCodec$Limits) throws java.io.IOException;
}

decode

public static AwDocument decode(InputStream source, Limits limits) throws IOException

Reads one complete raw file. The caller owns the stream; it is neither closed nor reset.

encode

public static void encode(AwDocument document, OutputStream target) throws IOException

Validation finishes in an internal bounded buffer before any bytes are written to the caller's stream.

AwSkinCodec.Limits

com.heartlion.shadowui.legacyformat.aw.AwSkinCodec.Limits

Counts for cubes and markers are totals over every part, not per-part limits.

JAVA
public final class com.heartlion.shadowui.legacyformat.aw.AwSkinCodec$Limits {
    public final int maxFileBytes;
    public final int maxProperties;
    public final int maxParts;
    public final int maxCubes;
    public final int maxMarkers;
    public final int maxStringBytes;
    public final long maxDecodedBytes;
    public com.heartlion.shadowui.legacyformat.aw.AwSkinCodec$Limits(int, int, int, int, int, int, long);
}

maxDecodedBytes

public final long maxDecodedBytes

Conservative allocation estimate, including temporary and defensive copies; not a JVM heap measurement.