package com.hypixel.hytale.assetstore.codec; import com.hypixel.hytale.assetstore.AssetExtraInfo; import com.hypixel.hytale.assetstore.JsonAsset; import com.hypixel.hytale.codec.InheritCodec; import com.hypixel.hytale.codec.KeyedCodec; import com.hypixel.hytale.codec.util.RawJsonReader; import com.hypixel.hytale.codec.validation.ValidatableCodec; import java.io.IOException; import javax.annotation.Nullable; public interface AssetCodec> extends InheritCodec, ValidatableCodec { KeyedCodec getKeyCodec(); KeyedCodec getParentCodec(); @Nullable AssetExtraInfo.Data getData(T var1); T decodeJsonAsset(RawJsonReader var1, AssetExtraInfo var2) throws IOException; T decodeAndInheritJsonAsset(RawJsonReader var1, T var2, AssetExtraInfo var3) throws IOException; }