Merge 1.20 into 1.20.2
This commit is contained in:
commit
546a362d9c
|
|
@ -96,11 +96,11 @@ public class DynamicBakedModelProvider implements Map<ResourceLocation, BakedMod
|
||||||
|
|
||||||
public void setMissingModel(BakedModel model) {
|
public void setMissingModel(BakedModel model) {
|
||||||
this.missingModel = model;
|
this.missingModel = model;
|
||||||
this.permanentOverrides.put(ModelBakery.MISSING_MODEL_LOCATION, this.missingModel);
|
this.put(ModelBakery.MISSING_MODEL_LOCATION, this.missingModel);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Triple<ResourceLocation, Transformation, Boolean> vanillaKey(Object o) {
|
private static ModelBakery.BakedCacheKey vanillaKey(Object o) {
|
||||||
return Triple.of((ResourceLocation)o, BlockModelRotation.X0_Y0.getRotation(), false);
|
return new ModelBakery.BakedCacheKey((ResourceLocation)o, BlockModelRotation.X0_Y0.getRotation(), false);
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public int size() {
|
public int size() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user