Skip to content

Commit

Permalink
v1.9 - initial 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
DakotaPride committed Jul 25, 2024
1 parent 701a300 commit 852f0b7
Show file tree
Hide file tree
Showing 3,050 changed files with 51,090 additions and 1,591 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx2G
# Mod Info
maven_group = net.dakotapride
archives_base_name = garnished
mod_version = 1.8.8
mod_version = 1.9

minecraft_version = 1.19.2

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package net.dakotapride.garnished.block;

import net.dakotapride.garnished.registry.GarnishedBlocks;
import net.minecraft.world.level.block.StairBlock;

public class ZultaniteStairsBlock extends StairBlock {
public ZultaniteStairsBlock(Properties properties) {
super(GarnishedBlocks.ZULTANITE.getDefaultState(), properties);
}
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package net.dakotapride.garnished.recipe;

import javax.annotation.ParametersAreNonnullByDefault;

import com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder;

import net.dakotapride.garnished.registry.GarnishedRecipeTypes;

@ParametersAreNonnullByDefault
public class BlackDyeBlowingFanRecipe extends DyeBlowingFanRecipe {
public BlackDyeBlowingFanRecipe(ProcessingRecipeBuilder.ProcessingRecipeParams params) {
super(GarnishedRecipeTypes.BLACK_DYE_BLOWING, params);
}


}
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,15 @@

import javax.annotation.ParametersAreNonnullByDefault;

import com.simibubi.create.content.processing.recipe.ProcessingRecipe;
import com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder;

import io.github.fabricators_of_create.porting_lib.transfer.item.ItemStackHandler;
import io.github.fabricators_of_create.porting_lib.transfer.item.RecipeWrapper;
import net.dakotapride.garnished.registry.GarnishedRecipeTypes;
import net.minecraft.world.level.Level;

@ParametersAreNonnullByDefault
public class BlueDyeBlowingFanRecipe extends ProcessingRecipe<BlueDyeBlowingFanRecipe.BlueDyeBlowingWrapper> {

public class BlueDyeBlowingFanRecipe extends DyeBlowingFanRecipe {
public BlueDyeBlowingFanRecipe(ProcessingRecipeBuilder.ProcessingRecipeParams params) {
super(GarnishedRecipeTypes.BLUE_DYE_BLOWING, params);
}

@Override
public boolean matches(BlueDyeBlowingWrapper inv, Level worldIn) {
if (inv.isEmpty())
return false;
return ingredients.get(0)
.test(inv.getItem(0));
}

@Override
protected int getMaxInputCount() {
return 1;
}

@Override
protected int getMaxOutputCount() {
return 12;
}

public static class BlueDyeBlowingWrapper extends RecipeWrapper {
public BlueDyeBlowingWrapper() {
super(new ItemStackHandler(1));
}
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package net.dakotapride.garnished.recipe;

import javax.annotation.ParametersAreNonnullByDefault;

import com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder;

import net.dakotapride.garnished.registry.GarnishedRecipeTypes;

@ParametersAreNonnullByDefault
public class BrownDyeBlowingFanRecipe extends DyeBlowingFanRecipe {
public BrownDyeBlowingFanRecipe(ProcessingRecipeBuilder.ProcessingRecipeParams params) {
super(GarnishedRecipeTypes.BROWN_DYE_BLOWING, params);
}


}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package net.dakotapride.garnished.recipe;

import javax.annotation.ParametersAreNonnullByDefault;

import com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder;

import net.dakotapride.garnished.registry.GarnishedRecipeTypes;

@ParametersAreNonnullByDefault
public class CyanDyeBlowingFanRecipe extends DyeBlowingFanRecipe {
public CyanDyeBlowingFanRecipe(ProcessingRecipeBuilder.ProcessingRecipeParams params) {
super(GarnishedRecipeTypes.CYAN_DYE_BLOWING, params);
}


}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
package net.dakotapride.garnished.recipe;

import javax.annotation.ParametersAreNonnullByDefault;

import com.simibubi.create.content.processing.recipe.ProcessingRecipe;
import com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder;

import com.simibubi.create.foundation.recipe.IRecipeTypeInfo;

import io.github.fabricators_of_create.porting_lib.transfer.item.ItemStackHandler;
import io.github.fabricators_of_create.porting_lib.transfer.item.RecipeWrapper;
import net.dakotapride.garnished.registry.GarnishedRecipeTypes;
import net.minecraft.world.level.Level;

@ParametersAreNonnullByDefault
public class DyeBlowingFanRecipe extends ProcessingRecipe<DyeBlowingFanRecipe.DyeBlowingWrapper> {

public DyeBlowingFanRecipe(IRecipeTypeInfo info, ProcessingRecipeBuilder.ProcessingRecipeParams params) {
super(info, params);
}

@Override
public boolean matches(DyeBlowingWrapper inv, Level worldIn) {
if (inv.isEmpty())
return false;
return ingredients.get(0)
.test(inv.getItem(0));
}

@Override
protected int getMaxInputCount() {
return 1;
}

@Override
protected int getMaxOutputCount() {
return 12;
}

public static class DyeBlowingWrapper extends RecipeWrapper {
public DyeBlowingWrapper() {
super(new ItemStackHandler(1));
}
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,40 @@
import com.simibubi.create.content.processing.recipe.ProcessingRecipe;
import com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder;

import io.github.fabricators_of_create.porting_lib.transfer.item.ItemStackHandler;
import io.github.fabricators_of_create.porting_lib.transfer.item.RecipeWrapper;
import net.dakotapride.garnished.registry.GarnishedRecipeTypes;
import net.minecraft.world.level.Level;
import io.github.fabricators_of_create.porting_lib.transfer.item.ItemStackHandler;
import io.github.fabricators_of_create.porting_lib.transfer.item.RecipeWrapper;

@ParametersAreNonnullByDefault
public class FreezingFanRecipe extends ProcessingRecipe<FreezingFanRecipe.FreezingWrapper> {

public FreezingFanRecipe(ProcessingRecipeBuilder.ProcessingRecipeParams params) {
super(GarnishedRecipeTypes.FREEZING, params);
}

@Override
public boolean matches(FreezingWrapper inv, Level worldIn) {
if (inv.isEmpty())
return false;
return ingredients.get(0)
.test(inv.getItem(0));
}

@Override
protected int getMaxInputCount() {
return 1;
}

@Override
protected int getMaxOutputCount() {
return 12;
}

public static class FreezingWrapper extends RecipeWrapper {
public FreezingWrapper() {
super(new ItemStackHandler(1));
}
}
public FreezingFanRecipe(ProcessingRecipeBuilder.ProcessingRecipeParams params) {
super(GarnishedRecipeTypes.FREEZING, params);
}

@Override
public boolean matches(FreezingWrapper inv, Level worldIn) {
if (inv.isEmpty())
return false;
return ingredients.get(0)
.test(inv.getItem(0));
}

@Override
protected int getMaxInputCount() {
return 1;
}

@Override
protected int getMaxOutputCount() {
return 12;
}

public static class FreezingWrapper extends RecipeWrapper {
public FreezingWrapper() {
super(new ItemStackHandler(1));
}
}

}
Loading

0 comments on commit 852f0b7

Please sign in to comment.