item texture upgrade, jei fixes, machine fixes, and datagen fixes/additions
This commit is contained in:
@@ -34,6 +34,11 @@ public record DNAAnalyzerRecipe(
|
||||
java.util.Map<ResourceLocation, Integer> weights
|
||||
) implements Recipe<DNAAnalyzerRecipeInput> {
|
||||
|
||||
@Override
|
||||
public NonNullList<Ingredient> getIngredients() {
|
||||
return inputs;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matches(DNAAnalyzerRecipeInput input, Level level) {
|
||||
if (level.isClientSide) return false;
|
||||
|
||||
@@ -37,6 +37,11 @@ public record DNAExtractorRecipe(
|
||||
java.util.Map<ResourceLocation, Integer> weights
|
||||
) implements Recipe<DNAExtractorRecipeInput> {
|
||||
|
||||
@Override
|
||||
public NonNullList<Ingredient> getIngredients() {
|
||||
return inputs;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matches(DNAExtractorRecipeInput input, Level level) {
|
||||
if (level.isClientSide) return false;
|
||||
|
||||
@@ -30,6 +30,11 @@ import net.minecraft.core.RegistryAccess;
|
||||
|
||||
public record DNAHybridizerRecipe(NonNullList<Ingredient> inputs, ItemStack output) implements Recipe<DNAHybridizerRecipeInput> {
|
||||
|
||||
@Override
|
||||
public NonNullList<Ingredient> getIngredients() {
|
||||
return inputs;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matches(DNAHybridizerRecipeInput recipeInput, Level level) {
|
||||
if (level.isClientSide) return false;
|
||||
|
||||
+5
@@ -28,6 +28,11 @@ import net.minecraft.core.RegistryAccess;
|
||||
public record EmbryoCalcificationMachineRecipe(NonNullList<Ingredient> inputs, ItemStack output)
|
||||
implements Recipe<EmbryoCalcificationMachineRecipeInput> {
|
||||
|
||||
@Override
|
||||
public NonNullList<Ingredient> getIngredients() {
|
||||
return inputs;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matches(EmbryoCalcificationMachineRecipeInput recipeInput, Level level) {
|
||||
if (level.isClientSide) return false;
|
||||
|
||||
@@ -52,6 +52,8 @@ public class FossilCleanerRecipe implements Recipe<FossilCleanerRecipeInput> {
|
||||
}
|
||||
//?}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public boolean matches(@NotNull FossilCleanerRecipeInput input, Level level) {
|
||||
if (level.isClientSide()) return false;
|
||||
|
||||
Reference in New Issue
Block a user