mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-27 07:27:15 +01:00
Fix normals on Crushing Wheel model
This commit is contained in:
parent
e32239299a
commit
982fd502e8
2 changed files with 424 additions and 928 deletions
|
@ -39,7 +39,6 @@ import net.minecraft.world.item.crafting.ShapedRecipe;
|
|||
import net.minecraft.world.item.crafting.SimpleRecipeSerializer;
|
||||
import net.minecraft.world.level.Level;
|
||||
import net.minecraftforge.eventbus.api.IEventBus;
|
||||
import net.minecraftforge.items.wrapper.RecipeWrapper;
|
||||
import net.minecraftforge.registries.DeferredRegister;
|
||||
import net.minecraftforge.registries.ForgeRegistries;
|
||||
import net.minecraftforge.registries.RegistryObject;
|
||||
|
@ -139,14 +138,12 @@ public enum AllRecipeTypes implements IRecipeTypeInfo {
|
|||
return world.getRecipeManager()
|
||||
.getRecipeFor(getType(), inv, world);
|
||||
}
|
||||
|
||||
|
||||
public static boolean shouldIgnoreInAutomation(Recipe<?> recipe) {
|
||||
RecipeSerializer<?> serializer = recipe.getSerializer();
|
||||
if (serializer != null && AllTags.AllRecipeSerializerTags.AUTOMATION_IGNORE.matches(serializer))
|
||||
return true;
|
||||
return recipe.getId()
|
||||
.getPath()
|
||||
.endsWith("_manual_only");
|
||||
return !CAN_BE_AUTOMATED.test(recipe);
|
||||
}
|
||||
|
||||
private static class Registers {
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue