`getFirst` -> `build` (#1946)

As an optimization, this method returns the first model if there was only one model added. In the general case, this returns a `new WeightedBakedModel`
This commit is contained in:
yyny 2021-01-03 21:52:02 +01:00 committed by GitHub
parent 7a3b5e7c30
commit 98fbc1b636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ CLASS net/minecraft/class_1097 net/minecraft/client/render/model/WeightedBakedMo
ARG 1 models
CLASS class_1098 Builder
FIELD field_5436 models Ljava/util/List;
METHOD method_4751 getFirst ()Lnet/minecraft/class_1087;
METHOD method_4751 build ()Lnet/minecraft/class_1087;
METHOD method_4752 add (Lnet/minecraft/class_1087;I)Lnet/minecraft/class_1097$class_1098;
ARG 1 model
ARG 2 weight