mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-27 23:47:38 +01:00
PartialModel gets called from the right place
This commit is contained in:
parent
352f213429
commit
2eb9c7b6eb
1 changed files with 0 additions and 3 deletions
|
@ -127,8 +127,6 @@ public class CreateClient {
|
|||
}
|
||||
|
||||
public static void onModelRegistry(ModelRegistryEvent event) {
|
||||
PartialModel.onModelRegistry(event);
|
||||
|
||||
getCustomRenderedItems().foreach((item, modelFunc) -> modelFunc.apply(null)
|
||||
.getModelLocations()
|
||||
.forEach(ModelLoader::addSpecialModel));
|
||||
|
@ -136,7 +134,6 @@ public class CreateClient {
|
|||
|
||||
public static void onModelBake(ModelBakeEvent event) {
|
||||
Map<ResourceLocation, IBakedModel> modelRegistry = event.getModelRegistry();
|
||||
PartialModel.onModelBake(event);
|
||||
|
||||
getCustomBlockModels()
|
||||
.foreach((block, modelFunc) -> swapModels(modelRegistry, getAllBlockStateModelLocations(block), modelFunc));
|
||||
|
|
Loading…
Reference in a new issue