14 lines
305 B
Java
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;
|
|
}
|
|
}
|
|
|