2025-11-24 22:52:51 +03:00

14 lines
305 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.client.model;
import net.minecraft.client.model.Model;
public record AdultAndBabyModelPair<T extends Model>(T adultModel, T babyModel) {
public T getModel(boolean isBaby) {
return isBaby ? this.babyModel : this.adultModel;
}
}