Class AnimationResourceMetadataReader
java.lang.Object
net.minecraft.client.resource.metadata.AnimationResourceMetadataReader
- All Implemented Interfaces:
ResourceMetadataReader<AnimationResourceMetadata>
@Environment(CLIENT) public class AnimationResourceMetadataReader extends Object implements ResourceMetadataReader<AnimationResourceMetadata>
-
Constructor Summary
Constructors Constructor Description AnimationResourceMetadataReader()
-
Method Summary
Modifier and Type Method Description AnimationResourceMetadata
fromJson(JsonObject jsonObject)
String
getKey()
private AnimationFrameResourceMetadata
readFrameMetadata(int frame, JsonElement json)
-
Constructor Details
-
AnimationResourceMetadataReader
public AnimationResourceMetadataReader()
-
-
Method Details
-
fromJson
- Specified by:
fromJson
in interfaceResourceMetadataReader<AnimationResourceMetadata>
-
readFrameMetadata
-
getKey
- Specified by:
getKey
in interfaceResourceMetadataReader<AnimationResourceMetadata>
-