mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-26 15:06:42 +01:00
Merge fix-ups
This commit is contained in:
parent
d40476ea87
commit
659f4db5ce
2 changed files with 1 additions and 6 deletions
|
@ -32,7 +32,7 @@ public class ModelSwapper {
|
||||||
return customItemModels;
|
return customItemModels;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onModelBake(ModelEvent.BakingCompleted event) {
|
public void onModelBake(ModelEvent.ModifyBakingResult event) {
|
||||||
Map<ResourceLocation, BakedModel> modelRegistry = event.getModels();
|
Map<ResourceLocation, BakedModel> modelRegistry = event.getModels();
|
||||||
customBlockModels.forEach((block, modelFunc) -> swapModels(modelRegistry, getAllBlockStateModelLocations(block), modelFunc));
|
customBlockModels.forEach((block, modelFunc) -> swapModels(modelRegistry, getAllBlockStateModelLocations(block), modelFunc));
|
||||||
customItemModels.forEach((item, modelFunc) -> swapModels(modelRegistry, getItemModelLocation(item), modelFunc));
|
customItemModels.forEach((item, modelFunc) -> swapModels(modelRegistry, getItemModelLocation(item), modelFunc));
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"textures": [
|
|
||||||
"minecraft:flame"
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
Reference in a new issue