FrameSize .java

net.minecraft.client.resources.metadata.animation.FrameSize (record, 9 lines): record with 2 components. members: width, height. imports: EnvType.

net.minecraft.client.resources.metadata.animationrecord9 linesclient211 B

API Surface (1)

record FrameSize(int width, int height)

Full Source

FrameSize.java9 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.resources.metadata.animation;
2
3
import net.fabricmc.api.EnvType;
4
import net.fabricmc.api.Environment;
5
6
@Environment(EnvType.CLIENT)
7
public record FrameSize(int width, int height) {
8
}
9

Decompiled Minecraft 26.3 source of FrameSize (net/minecraft/client/resources/metadata/animation/FrameSize.java) with Mojang official mappings, stored verbatim on the site.