Added shulker shell recipe
parent
eb36394232
commit
a1ae4a3d6b
|
@ -20,6 +20,7 @@ Currently included:
|
|||
- 3 glass + 1 popped chorus fruit -> 3 dragons breath
|
||||
- 8 kelp + 1 yellow dye -> 1 sponge
|
||||
- 1 dropper + 3 sticks + 3 string -> 1 dispenser
|
||||
- 3 purpur slabs + 2 chorus fruit -> 1 shulker shell
|
||||
|
||||
### Dropped seed planting
|
||||
Automatically plants seed dropped on tilled soil.
|
||||
|
@ -43,8 +44,4 @@ When breaking crops with a hoe you break a range around them. This drastically s
|
|||
### Lily pad growing
|
||||
When right-clicking a lily pad with bone meal it wil grow new lily pads around the one that was clicked.
|
||||
|
||||
## Planned tweaks
|
||||
- Dynamite
|
||||
- Sign editing
|
||||
|
||||
|
||||
|
|
|
@ -73,6 +73,13 @@ public class CraftingTweaks {
|
|||
dispenserRecipe.setIngredient('D', Material.DROPPER);
|
||||
dispenserRecipe.setIngredient('S', Material.STRING);
|
||||
|
||||
// Shulker Shell
|
||||
NamespacedKey shulkerShellKey = new NamespacedKey(plugin, "shulker_shell");
|
||||
ShapedRecipe shulkerShellRecipe = new ShapedRecipe(shulkerShellKey, new ItemStack(Material.SHULKER_SHELL));
|
||||
shulkerShellRecipe.shape("BBB","F F");
|
||||
shulkerShellRecipe.setIngredient('B', Material.PURPUR_SLAB);
|
||||
shulkerShellRecipe.setIngredient('F', Material.POPPED_CHORUS_FRUIT);
|
||||
|
||||
|
||||
|
||||
// Add recipes
|
||||
|
@ -85,5 +92,6 @@ public class CraftingTweaks {
|
|||
if (config.CRAFTING_TWEAKS_DRAGONS_BREATH) plugin.getServer().addRecipe(dragonBreathRecipe);
|
||||
if (config.CRAFTING_TWEAKS_SPONGE) plugin.getServer().addRecipe(spongeRecipe);
|
||||
if (config.CRAFTING_TWEAKS_DISPENSER) plugin.getServer().addRecipe(dispenserRecipe);
|
||||
if (config.CRAFTING_TWEAKS_SHULKER_SHELL) plugin.getServer().addRecipe(shulkerShellRecipe)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@ public class config {
|
|||
public static boolean CRAFTING_TWEAKS_DRAGONS_BREATH;
|
||||
public static boolean CRAFTING_TWEAKS_SPONGE;
|
||||
public static boolean CRAFTING_TWEAKS_DISPENSER;
|
||||
public static boolean CRAFTING_TWEAKS_SHULKER_SHELL;
|
||||
|
||||
public static boolean SEED_DROP_PLANTING_ENABLED;
|
||||
|
||||
|
@ -57,6 +58,7 @@ public class config {
|
|||
CRAFTING_TWEAKS_DRAGONS_BREATH = config.getBoolean("crafting-tweaks.dragons-breath");
|
||||
CRAFTING_TWEAKS_SPONGE = config.getBoolean("crafting-tweaks.sponge");
|
||||
CRAFTING_TWEAKS_DISPENSER = config.getBoolean("crafting-tweaks.dispenser");
|
||||
CRAFTING_TWEAKS_SHULKER_SHELL = config.getBoolean("çrafting-tweaks.shulker-shell")
|
||||
|
||||
SEED_DROP_PLANTING_ENABLED = config.getBoolean("seed-drop-planting.enabled");
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ crafting-tweaks:
|
|||
dragons-breath: true
|
||||
sponge: true
|
||||
dispenser: true
|
||||
shulker-shell: true
|
||||
|
||||
seed-drop-planting:
|
||||
enabled: true
|
||||
|
|
Reference in New Issue