generated from srnyx/plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
RefShapelessRecipe.java
30 lines (23 loc) · 1.02 KB
/
RefShapelessRecipe.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package xyz.srnyx.annoyingapi.reflection.org.bukkit.inventory;
import org.bukkit.inventory.ItemStack;
import org.jetbrains.annotations.Nullable;
import xyz.srnyx.annoyingapi.reflection.org.bukkit.RefNamespacedKey;
import xyz.srnyx.annoyingapi.utility.ReflectionUtility;
import java.lang.reflect.Constructor;
/**
* org.bukkit.inventory.ShapelessRecipe
*/
public class RefShapelessRecipe {
/**
* 1.12+ org.bukkit.inventory.ShapelessRecipe(org.bukkit.NamespacedKey, ItemStack)
*/
@Nullable public static final Constructor<org.bukkit.inventory.ShapelessRecipe> SHAPELESS_RECIPE_CONSTRUCTOR = ReflectionUtility.getConstructor(10120, org.bukkit.inventory.ShapelessRecipe.class, RefNamespacedKey.NAMESPACED_KEY_CLASS, ItemStack.class);
/**
* This class cannot be instantiated
*
* @throws UnsupportedOperationException if this class is instantiated
*/
private RefShapelessRecipe() {
throw new UnsupportedOperationException("This is a reflected class and cannot be instantiated");
}
}