Added shulker shell recipe

master
LuukFTF 2019-10-16 23:32:11 +02:00
parent eb36394232
commit a1ae4a3d6b
4 changed files with 12 additions and 4 deletions

View File

@ -20,6 +20,7 @@ Currently included:
- 3 glass + 1 popped chorus fruit -> 3 dragons breath - 3 glass + 1 popped chorus fruit -> 3 dragons breath
- 8 kelp + 1 yellow dye -> 1 sponge - 8 kelp + 1 yellow dye -> 1 sponge
- 1 dropper + 3 sticks + 3 string -> 1 dispenser - 1 dropper + 3 sticks + 3 string -> 1 dispenser
- 3 purpur slabs + 2 chorus fruit -> 1 shulker shell
### Dropped seed planting ### Dropped seed planting
Automatically plants seed dropped on tilled soil. 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 ### Lily pad growing
When right-clicking a lily pad with bone meal it wil grow new lily pads around the one that was clicked. 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

View File

@ -73,6 +73,13 @@ public class CraftingTweaks {
dispenserRecipe.setIngredient('D', Material.DROPPER); dispenserRecipe.setIngredient('D', Material.DROPPER);
dispenserRecipe.setIngredient('S', Material.STRING); 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 // Add recipes
@ -85,5 +92,6 @@ public class CraftingTweaks {
if (config.CRAFTING_TWEAKS_DRAGONS_BREATH) plugin.getServer().addRecipe(dragonBreathRecipe); if (config.CRAFTING_TWEAKS_DRAGONS_BREATH) plugin.getServer().addRecipe(dragonBreathRecipe);
if (config.CRAFTING_TWEAKS_SPONGE) plugin.getServer().addRecipe(spongeRecipe); if (config.CRAFTING_TWEAKS_SPONGE) plugin.getServer().addRecipe(spongeRecipe);
if (config.CRAFTING_TWEAKS_DISPENSER) plugin.getServer().addRecipe(dispenserRecipe); if (config.CRAFTING_TWEAKS_DISPENSER) plugin.getServer().addRecipe(dispenserRecipe);
if (config.CRAFTING_TWEAKS_SHULKER_SHELL) plugin.getServer().addRecipe(shulkerShellRecipe)
} }
} }

View File

@ -21,6 +21,7 @@ public class config {
public static boolean CRAFTING_TWEAKS_DRAGONS_BREATH; public static boolean CRAFTING_TWEAKS_DRAGONS_BREATH;
public static boolean CRAFTING_TWEAKS_SPONGE; public static boolean CRAFTING_TWEAKS_SPONGE;
public static boolean CRAFTING_TWEAKS_DISPENSER; public static boolean CRAFTING_TWEAKS_DISPENSER;
public static boolean CRAFTING_TWEAKS_SHULKER_SHELL;
public static boolean SEED_DROP_PLANTING_ENABLED; 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_DRAGONS_BREATH = config.getBoolean("crafting-tweaks.dragons-breath");
CRAFTING_TWEAKS_SPONGE = config.getBoolean("crafting-tweaks.sponge"); CRAFTING_TWEAKS_SPONGE = config.getBoolean("crafting-tweaks.sponge");
CRAFTING_TWEAKS_DISPENSER = config.getBoolean("crafting-tweaks.dispenser"); 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"); SEED_DROP_PLANTING_ENABLED = config.getBoolean("seed-drop-planting.enabled");

View File

@ -12,6 +12,7 @@ crafting-tweaks:
dragons-breath: true dragons-breath: true
sponge: true sponge: true
dispenser: true dispenser: true
shulker-shell: true
seed-drop-planting: seed-drop-planting:
enabled: true enabled: true