Skip to content

Commit 5c2d66a

Browse files
committed
add getter for machinerecipetype recipes
1 parent 02431a1 commit 5c2d66a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>io.github.mooy1</groupId>
88
<artifactId>InfinityLib</artifactId>
9-
<version>1.3.5</version>
9+
<version>1.3.6</version>
1010

1111
<properties>
1212
<maven.compiler.source>1.8</maven.compiler.source>

src/main/java/io/github/mooy1/infinitylib/machines/MachineRecipeType.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@
66
import java.util.Map;
77
import java.util.function.BiConsumer;
88

9+
import lombok.Getter;
10+
911
import org.bukkit.inventory.ItemStack;
1012

1113
import io.github.mooy1.infinitylib.core.AbstractAddon;
1214
import io.github.thebusybiscuit.slimefun4.api.recipes.RecipeType;
1315

1416
public final class MachineRecipeType extends RecipeType {
1517

18+
@Getter
1619
private final Map<ItemStack[], ItemStack> recipes = new LinkedHashMap<>();
1720
private final List<BiConsumer<ItemStack[], ItemStack>> callbacks = new ArrayList<>();
1821

0 commit comments

Comments
 (0)