always load recipes later to improve mod compat
This commit is contained in:
parent
1f239baeb9
commit
23b372252b
2 changed files with 33 additions and 40 deletions
|
@ -29,11 +29,6 @@ public abstract class RecipeManagerMixin {
|
|||
@Shadow
|
||||
private Map<RecipeType<?>, Map<ResourceLocation, Recipe<?>>> recipes;
|
||||
|
||||
@Inject(method = "apply", at = @At(value = "RETURN"))
|
||||
private void be_apply(Map<ResourceLocation, JsonElement> map, ResourceManager resourceManager, ProfilerFiller profiler, CallbackInfo info) {
|
||||
recipes = BCLRecipeManager.getMap(recipes);
|
||||
}
|
||||
|
||||
@Shadow
|
||||
private <C extends Container, T extends Recipe<C>> Map<ResourceLocation, Recipe<C>> byType(RecipeType<T> type) {
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue