Merge fix-ups

This commit is contained in:
simibubi 2023-06-27 03:47:44 +02:00
parent d40476ea87
commit 659f4db5ce
2 changed files with 1 additions and 6 deletions

View file

@ -32,7 +32,7 @@ public class ModelSwapper {
return customItemModels;
}
public void onModelBake(ModelEvent.BakingCompleted event) {
public void onModelBake(ModelEvent.ModifyBakingResult event) {
Map<ResourceLocation, BakedModel> modelRegistry = event.getModels();
customBlockModels.forEach((block, modelFunc) -> swapModels(modelRegistry, getAllBlockStateModelLocations(block), modelFunc));
customItemModels.forEach((item, modelFunc) -> swapModels(modelRegistry, getItemModelLocation(item), modelFunc));

View file

@ -1,5 +0,0 @@
{
"textures": [
"minecraft:flame"
]
}