From a3ecc84a4c9f8293915508a345c3ff16896ff78c Mon Sep 17 00:00:00 2001 From: mcchampions <1309635304@qq.com> Date: Thu, 19 Dec 2024 22:45:52 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=BB=BC=E5=90=88=E6=80=A7=E8=83=BD?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 减少内存使用量 --- .../autocrafter/CrafterSmartPort.java | 5 +- .../storage/adapter/sqlcommon/SqlUtils.java | 2 +- .../slimefun4/storage/common/DataScope.java | 3 +- .../controller/BlockDataController.java | 8 +- .../controller/ProfileDataController.java | 4 +- .../api/events/SlimefunBlockBreakEvent.java | 1 - .../api/events/SlimefunBlockPlaceEvent.java | 1 - .../api/gps/TeleportationManager.java | 2 +- .../slimefun4/api/recipes/RecipeType.java | 2 +- .../core/multiblocks/MultiBlockMachine.java | 5 +- .../core/services/MinecraftRecipeService.java | 8 +- .../slimefun4/implementation/Slimefun.java | 1 - .../guide/SurvivalSlimefunGuide.java | 5 +- .../items/androids/ProgrammableAndroid.java | 5 +- .../implementation/items/androids/Script.java | 3 +- .../items/armor/RainbowArmorPiece.java | 3 +- .../items/armor/SlimefunArmorPiece.java | 3 +- .../items/cargo/AbstractCargoNode.java | 3 +- .../implementation/items/cargo/TrashCan.java | 3 +- .../electric/AbstractEnergyProvider.java | 2 +- .../machines/ElectricIngotPulverizer.java | 2 +- .../electric/machines/ElectricSmeltery.java | 5 +- .../items/electric/machines/Freezer.java | 2 +- .../machines/HeatedPressureChamber.java | 3 +- .../AbstractGrowthAccelerator.java | 3 +- .../entities/AbstractEntityAssembler.java | 5 +- .../machines/entities/AutoBreeder.java | 3 +- .../machines/entities/ExpCollector.java | 3 +- .../items/electric/reactors/Reactor.java | 5 +- .../implementation/items/geo/GEOMiner.java | 3 +- .../magical/talismans/MagicianTalisman.java | 3 +- .../items/magical/talismans/Talisman.java | 3 +- .../implementation/items/tools/GoldPan.java | 3 +- .../implementation/items/weapons/IcyBow.java | 4 +- .../listeners/ButcherAndroidListener.java | 3 +- .../listeners/TalismanListener.java | 4 +- .../implementation/setup/PostSetup.java | 3 +- .../implementation/setup/ResearchSetup.java | 3 +- .../setup/SlimefunItemSetup.java | 12148 ++++++++-------- .../slimefun4/utils/FireworkUtils.java | 4 +- .../slimefun4/utils/tags/SlimefunTag.java | 4 +- .../abstractItems/AContainer.java | 2 +- .../abstractItems/MachineFuel.java | 4 +- .../abstractItems/MachineRecipe.java | 2 +- .../me/qscbm/slimefun4/utils/Base64Utils.java | 2 +- .../me/qscbm/slimefun4/utils/NBTUtils.java | 2 +- .../me/qscbm/slimefun4/utils/QsConstants.java | 32 + 47 files changed, 6193 insertions(+), 6136 deletions(-) create mode 100644 src/main/java/me/qscbm/slimefun4/utils/QsConstants.java diff --git a/src/main/java/com/xzavier0722/mc/plugin/slimefun4/autocrafter/CrafterSmartPort.java b/src/main/java/com/xzavier0722/mc/plugin/slimefun4/autocrafter/CrafterSmartPort.java index 07edbe39a4..dae2b7a83a 100644 --- a/src/main/java/com/xzavier0722/mc/plugin/slimefun4/autocrafter/CrafterSmartPort.java +++ b/src/main/java/com/xzavier0722/mc/plugin/slimefun4/autocrafter/CrafterSmartPort.java @@ -17,6 +17,7 @@ import me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset; import me.mrCookieSlime.Slimefun.api.inventory.DirtyChestMenu; import me.mrCookieSlime.Slimefun.api.item_transport.ItemTransportFlow; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.block.Block; @@ -79,7 +80,7 @@ public void newInstance(BlockMenu menu, Block b) { @Override public int[] getSlotsAccessedByItemTransport(ItemTransportFlow flow) { - return new int[0]; + return QsConstants.EMPTY_INTS; } @Override @@ -96,7 +97,7 @@ public int[] getSlotsAccessedByItemTransport(DirtyChestMenu menu, ItemTransportF if (SlimefunUtils.isItemSimilar(itemInSlot, wrapper, true, false) && (itemAmount += itemInSlot.getAmount()) > amountLimit) { // Amount has reached the limited, just return. - return new int[0]; + return QsConstants.EMPTY_INTS; } } diff --git a/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/adapter/sqlcommon/SqlUtils.java b/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/adapter/sqlcommon/SqlUtils.java index afa9b3f2fd..5e58237365 100644 --- a/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/adapter/sqlcommon/SqlUtils.java +++ b/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/adapter/sqlcommon/SqlUtils.java @@ -166,6 +166,6 @@ public static int execUpdate(Connection conn, String sql) throws SQLException { } private static boolean isWildcardsMatching(String val) { - return val.endsWith("%") || val.contains("%"); + return val.charAt(val.length() - 1) == '%' || val.contains("%"); } } diff --git a/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/common/DataScope.java b/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/common/DataScope.java index 820eeefc51..d0e36d066f 100644 --- a/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/common/DataScope.java +++ b/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/common/DataScope.java @@ -1,6 +1,7 @@ package com.xzavier0722.mc.plugin.slimefun4.storage.common; import lombok.Getter; +import me.qscbm.slimefun4.utils.QsConstants; @Getter public enum DataScope { @@ -20,7 +21,7 @@ public enum DataScope { private final FieldKey[] primaryKeys; DataScope() { - primaryKeys = new FieldKey[0]; + primaryKeys = QsConstants.EMPTY_FIELD_KEYS; } DataScope(FieldKey[] primaryKeys) { diff --git a/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/controller/BlockDataController.java b/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/controller/BlockDataController.java index 433da3a76d..52b0b3897a 100644 --- a/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/controller/BlockDataController.java +++ b/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/controller/BlockDataController.java @@ -297,11 +297,9 @@ void saveUniversalData(UUID uuid, String sfId, Set traits) { public void removeBlock(Location l) { SlimefunBlockData removed = getChunkDataCache(l.getChunk(), true).removeBlockData(l); if (removed == null) { getUniversalBlockDataFromCache(l) - .ifPresentOrElse(data -> removeUniversalBlockData(data.getUUID(), l), () -> { - Slimefun.getBlockDataService() - .getUniversalDataUUID(l.getBlock()) - .ifPresent(uuid -> removeUniversalBlockData(uuid, l)); - }); + .ifPresentOrElse(data -> removeUniversalBlockData(data.getUUID(), l), () -> Slimefun.getBlockDataService() + .getUniversalDataUUID(l.getBlock()) + .ifPresent(uuid -> removeUniversalBlockData(uuid, l))); return; } diff --git a/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/controller/ProfileDataController.java b/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/controller/ProfileDataController.java index 6334f91ca5..0ceebdf10a 100644 --- a/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/controller/ProfileDataController.java +++ b/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/controller/ProfileDataController.java @@ -57,7 +57,7 @@ public class ProfileDataController extends ADataController { int bNum = result.get(0).getInt(FieldKey.BACKPACK_NUMBER); - Set researches = new HashSet(); + Set researches = new HashSet<>(); getUnlockedResearchKeys(uuid).forEach(rKey -> Research.getResearch(rKey).ifPresent(researches::add)); re = new PlayerProfile(p, bNum, researches); @@ -187,7 +187,7 @@ public Set getBackpacks(String pUuid) { return Collections.emptySet(); } - Set re = new HashSet(); + Set re = new HashSet<>(); result.forEach(bUuid -> re.add(getBackpack(bUuid.get(FieldKey.BACKPACK_ID)))); return re; } diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/api/events/SlimefunBlockBreakEvent.java b/src/main/java/io/github/thebusybiscuit/slimefun4/api/events/SlimefunBlockBreakEvent.java index 23dfd51eb4..3234a022cf 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/api/events/SlimefunBlockBreakEvent.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/api/events/SlimefunBlockBreakEvent.java @@ -37,7 +37,6 @@ public class SlimefunBlockBreakEvent extends Event implements Cancellable { * @param slimefunItem The {@link SlimefunItem} within the {@link ItemStack} */ public SlimefunBlockBreakEvent(Player player, ItemStack heldItem, Block blockBroken, SlimefunItem slimefunItem) { - super(); this.player = player; this.heldItem = heldItem; diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/api/events/SlimefunBlockPlaceEvent.java b/src/main/java/io/github/thebusybiscuit/slimefun4/api/events/SlimefunBlockPlaceEvent.java index f54e575659..a066e576be 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/api/events/SlimefunBlockPlaceEvent.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/api/events/SlimefunBlockPlaceEvent.java @@ -36,7 +36,6 @@ public class SlimefunBlockPlaceEvent extends Event implements Cancellable { * @param slimefunItem The {@link SlimefunItem} within the {@link ItemStack} */ public SlimefunBlockPlaceEvent(Player player, ItemStack placedItem, Block blockPlaced, SlimefunItem slimefunItem) { - super(); this.player = player; this.placedItem = placedItem; diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/TeleportationManager.java b/src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/TeleportationManager.java index 7183d71ea9..5bdedc6773 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/TeleportationManager.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/api/gps/TeleportationManager.java @@ -224,7 +224,7 @@ private void updateProgress( 60, 0); - source.getWorld().spawnParticle(Particle.PORTAL, source, progress * 2, 0.2F, 0.8F, 0.2F); + source.getWorld().spawnParticle(Particle.PORTAL, source, progress << 1, 0.2F, 0.8F, 0.2F); SoundEffect.TELEPORT_UPDATE_SOUND.playFor(p); Slimefun.runSync( () -> updateProgress(uuid, speed, progress + speed, source, destination, resistance), 10L); diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/api/recipes/RecipeType.java b/src/main/java/io/github/thebusybiscuit/slimefun4/api/recipes/RecipeType.java index ccf5ffeb59..31299be8de 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/api/recipes/RecipeType.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/api/recipes/RecipeType.java @@ -317,7 +317,7 @@ public static List getRecipeInputList(MultiBlockMachine machine) { public static ItemStack getRecipeOutput(MultiBlockMachine machine, ItemStack input) { List recipes = machine.getRecipes(); - return recipes.get(((getRecipeInputs(machine).indexOf(input) * 2) + 1))[0].clone(); + return recipes.get(((getRecipeInputs(machine).indexOf(input) << 1) + 1))[0].clone(); } public static ItemStack getRecipeOutputList(MultiBlockMachine machine, ItemStack[] input) { diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/core/multiblocks/MultiBlockMachine.java b/src/main/java/io/github/thebusybiscuit/slimefun4/core/multiblocks/MultiBlockMachine.java index 3a1dc8d629..3329f8b512 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/core/multiblocks/MultiBlockMachine.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/core/multiblocks/MultiBlockMachine.java @@ -22,6 +22,7 @@ import javax.annotation.Nullable; import lombok.Getter; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Material; import org.bukkit.World; import org.bukkit.block.Block; @@ -63,7 +64,7 @@ protected MultiBlockMachine( } protected MultiBlockMachine(ItemGroup itemGroup, SlimefunItemStack item, ItemStack[] recipe, BlockFace trigger) { - this(itemGroup, item, recipe, new ItemStack[0], trigger); + this(itemGroup, item, recipe, QsConstants.EMPTY_ITEM_STACKS, trigger); } protected void registerDefaultRecipes(List recipes) { @@ -215,6 +216,6 @@ private static Material[] convertItemStacksToMaterial(ItemStack[] items) { } } - return materials.toArray(new Material[0]); + return materials.toArray(QsConstants.EMPTY_MATERIALS); } } diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/core/services/MinecraftRecipeService.java b/src/main/java/io/github/thebusybiscuit/slimefun4/core/services/MinecraftRecipeService.java index 5ba8d38ddd..03fb44bbe0 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/core/services/MinecraftRecipeService.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/core/services/MinecraftRecipeService.java @@ -10,6 +10,8 @@ import java.util.Optional; import java.util.function.Consumer; import javax.annotation.Nullable; + +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Bukkit; import org.bukkit.Keyed; import org.bukkit.NamespacedKey; @@ -141,7 +143,7 @@ public static RecipeChoice[] getRecipeShape(Recipe recipe) { } } - return choices.toArray(new RecipeChoice[0]); + return choices.toArray(QsConstants.EMPTY_RECIPE_CHOICES); } else { return RecipeSnapshot.getRecipeInput(recipe); } @@ -158,9 +160,9 @@ public static RecipeChoice[] getRecipeShape(Recipe recipe) { */ public Recipe[] getRecipesFor(@Nullable ItemStack item) { if (snapshot == null || item == null) { - return new Recipe[0]; + return QsConstants.EMPTY_RECIPES; } else { - return snapshot.getRecipesFor(item).toArray(new Recipe[0]); + return snapshot.getRecipesFor(item).toArray(QsConstants.EMPTY_RECIPES); } } diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java index 366fdc4976..8ba259dc89 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java @@ -159,7 +159,6 @@ public final class Slimefun extends JavaPlugin implements SlimefunAddon, ICompat * Our default constructor for {@link Slimefun}. */ public Slimefun() { - super(); } private boolean initialized; diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/guide/SurvivalSlimefunGuide.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/guide/SurvivalSlimefunGuide.java index 684819d24e..2cf12fb369 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/guide/SurvivalSlimefunGuide.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/guide/SurvivalSlimefunGuide.java @@ -40,6 +40,7 @@ import me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu; import me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu.MenuClickHandler; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.Tag; @@ -217,7 +218,7 @@ private void showItemGroup(ChestMenu menu, Player p, PlayerProfile profile, Item + Slimefun.getLocalization().getMessage(p, "guide.locked") + " &7- &f" + group.getItem(p).getItemMeta().getDisplayName(), - lore.toArray(new String[0]))); + lore.toArray(QsConstants.EMPTY_STRINGS))); menu.addMenuClickHandler(index, ChestMenuUtils.getEmptyClickHandler()); } } @@ -306,7 +307,7 @@ private void displaySlimefunItem( new CustomItemStack( ChestMenuUtils.getNoPermissionItem(), sfitem.getItemName(), - message.toArray(new String[0]))); + message.toArray(QsConstants.EMPTY_STRINGS))); menu.addMenuClickHandler(index, ChestMenuUtils.getEmptyClickHandler()); } else if (isSurvivalMode() && research != null && !profile.hasUnlocked(research)) { String lore; diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ProgrammableAndroid.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ProgrammableAndroid.java index 9b305df85d..e0b892e68b 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ProgrammableAndroid.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/ProgrammableAndroid.java @@ -47,6 +47,7 @@ import me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock; import me.mrCookieSlime.Slimefun.Objects.handlers.BlockTicker; import me.mrCookieSlime.Slimefun.api.item_transport.ItemTransportFlow; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material; @@ -162,7 +163,7 @@ public void newInstance(UniversalMenu menu, Block b) { @Override public int[] getSlotsAccessedByItemTransport(ItemTransportFlow flow) { - return new int[0]; + return QsConstants.EMPTY_INTS; } }; @@ -721,7 +722,7 @@ public List getDisplayRecipes() { @Override public int[] getInputSlots() { - return new int[0]; + return QsConstants.EMPTY_INTS; } @Override diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Script.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Script.java index 7ece531c58..c147631564 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Script.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/androids/Script.java @@ -6,6 +6,7 @@ import io.github.thebusybiscuit.slimefun4.utils.ChatUtils; import io.github.thebusybiscuit.slimefun4.utils.NumberUtils; import lombok.Getter; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.OfflinePlayer; @@ -121,7 +122,7 @@ ItemStack getAsItemStack(ProgrammableAndroid android, Player p) { lore.add("&eShift + 右键 &f差评"); } - return new CustomItemStack(android.getItem(), "&b" + name, lore.toArray(new String[0])); + return new CustomItemStack(android.getItem(), "&b" + name, lore.toArray(QsConstants.EMPTY_STRINGS)); } private String getScriptRatingPercentage() { diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/armor/RainbowArmorPiece.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/armor/RainbowArmorPiece.java index 529d71683e..dd3b309f1a 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/armor/RainbowArmorPiece.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/armor/RainbowArmorPiece.java @@ -7,6 +7,7 @@ import java.util.Arrays; import lombok.Getter; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Color; import org.bukkit.DyeColor; import org.bukkit.inventory.ItemStack; @@ -43,7 +44,7 @@ public RainbowArmorPiece( RecipeType recipeType, ItemStack[] recipe, DyeColor[] dyeColors) { - super(itemGroup, item, recipeType, recipe, new PotionEffect[0]); + super(itemGroup, item, recipeType, recipe, QsConstants.EMPTY_POTION_EFFECTS); // TODO Change this validation over to our custom validation blocked by // https://github.com/baked-libs/dough/pull/184 diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/armor/SlimefunArmorPiece.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/armor/SlimefunArmorPiece.java index f7e213ee84..e98a603820 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/armor/SlimefunArmorPiece.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/armor/SlimefunArmorPiece.java @@ -6,6 +6,7 @@ import io.github.thebusybiscuit.slimefun4.api.recipes.RecipeType; import javax.annotation.Nullable; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import org.bukkit.potion.PotionEffect; @@ -21,7 +22,7 @@ public SlimefunArmorPiece( @Nullable PotionEffect[] effects) { super(itemGroup, item, recipeType, recipe); - this.effects = effects == null ? new PotionEffect[0] : effects; + this.effects = effects == null ? QsConstants.EMPTY_POTION_EFFECTS : effects; } /** diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/cargo/AbstractCargoNode.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/cargo/AbstractCargoNode.java index 66aae7da70..2bc04171f3 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/cargo/AbstractCargoNode.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/cargo/AbstractCargoNode.java @@ -19,6 +19,7 @@ import me.mrCookieSlime.Slimefun.api.inventory.BlockMenu; import me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset; import me.mrCookieSlime.Slimefun.api.item_transport.ItemTransportFlow; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Location; import org.bukkit.block.Block; import org.bukkit.entity.Player; @@ -64,7 +65,7 @@ public boolean canOpen(Block b, Player p) { @Override public int[] getSlotsAccessedByItemTransport(ItemTransportFlow flow) { - return new int[0]; + return QsConstants.EMPTY_INTS; } }; } diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/cargo/TrashCan.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/cargo/TrashCan.java index 155f7ff15d..620fe76e4c 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/cargo/TrashCan.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/cargo/TrashCan.java @@ -12,6 +12,7 @@ import me.mrCookieSlime.Slimefun.Objects.handlers.BlockTicker; import me.mrCookieSlime.Slimefun.api.inventory.BlockMenu; import me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.inventory.ItemStack; @@ -45,7 +46,7 @@ public int[] getInputSlots() { @Override public int[] getOutputSlots() { - return new int[0]; + return QsConstants.EMPTY_INTS; } @Override diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/AbstractEnergyProvider.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/AbstractEnergyProvider.java index 8eb31105ac..66035b7a10 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/AbstractEnergyProvider.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/AbstractEnergyProvider.java @@ -99,7 +99,7 @@ public List getDisplayRecipes() { ItemMeta im = item.getItemMeta(); List lore = new ArrayList<>(); lore.add("§8\u21E8 §7持续时间 " + NumberUtils.getTimeLeft(fuel.getTicks() / 2)); - lore.add("§8\u21E8 §e\u26A1 §7" + getEnergyProduction() * 2 + " J/s"); + lore.add("§8\u21E8 §e\u26A1 §7" + (getEnergyProduction() << 1) + " J/s"); lore.add("§8\u21E8 §e\u26A1 §7最大储存量: " + NumberUtils.getCompactDouble((double) fuel.getTicks() * getEnergyProduction()) + " J"); diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricIngotPulverizer.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricIngotPulverizer.java index ec993a9faf..d4aa3f2567 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricIngotPulverizer.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricIngotPulverizer.java @@ -36,7 +36,7 @@ public ItemStack getProgressBar() { @Override public List getDisplayRecipes() { - List displayRecipes = new ArrayList<>(recipes.size() * 2); + List displayRecipes = new ArrayList<>(recipes.size() << 1); for (MachineRecipe recipe : recipes) { displayRecipes.add(recipe.getInput()[0]); diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricSmeltery.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricSmeltery.java index a834c0bd5a..cf9cb788d6 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricSmeltery.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricSmeltery.java @@ -16,6 +16,7 @@ import me.mrCookieSlime.Slimefun.api.inventory.DirtyChestMenu; import me.mrCookieSlime.Slimefun.api.item_transport.ItemTransportFlow; import me.qscbm.slimefun4.items.machines.ASpeedableContainer; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.entity.Player; @@ -54,7 +55,7 @@ public boolean canOpen(Block b, Player p) { @Override public int[] getSlotsAccessedByItemTransport(ItemTransportFlow flow) { - return new int[0]; + return QsConstants.EMPTY_INTS; } @Override @@ -81,7 +82,7 @@ public int[] getSlotsAccessedByItemTransport(DirtyChestMenu menu, ItemTransportF return getInputSlots(); } else if (fullSlots == slots.size()) { // All slots with that item are already full - return new int[0]; + return QsConstants.EMPTY_INTS; } else { slots.sort(compareSlots(menu)); int[] array = new int[slots.size()]; diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/Freezer.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/Freezer.java index 935367b857..ac7602064f 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/Freezer.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/Freezer.java @@ -70,7 +70,7 @@ protected void registerDefaultRecipes() { @Override public List getDisplayRecipes() { - List displayRecipes = new ArrayList<>(recipes.size() * 2); + List displayRecipes = new ArrayList<>(recipes.size() << 1); for (MachineRecipe recipe : recipes) { displayRecipes.add(recipe.getInput()[0]); diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/HeatedPressureChamber.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/HeatedPressureChamber.java index 0f2a320360..f64f3f2c9f 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/HeatedPressureChamber.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/HeatedPressureChamber.java @@ -12,6 +12,7 @@ import me.mrCookieSlime.Slimefun.api.inventory.DirtyChestMenu; import me.mrCookieSlime.Slimefun.api.item_transport.ItemTransportFlow; import me.qscbm.slimefun4.items.machines.ASpeedableContainer; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.entity.Player; @@ -41,7 +42,7 @@ public boolean canOpen(Block b, Player p) { @Override public int[] getSlotsAccessedByItemTransport(ItemTransportFlow flow) { - return new int[0]; + return QsConstants.EMPTY_INTS; } @Override diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/accelerators/AbstractGrowthAccelerator.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/accelerators/AbstractGrowthAccelerator.java index b7d9d650b5..9345bd8e5e 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/accelerators/AbstractGrowthAccelerator.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/accelerators/AbstractGrowthAccelerator.java @@ -16,6 +16,7 @@ import me.mrCookieSlime.Slimefun.Objects.handlers.BlockTicker; import me.mrCookieSlime.Slimefun.api.inventory.BlockMenu; import me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.inventory.ItemStack; @@ -65,7 +66,7 @@ public int[] getInputSlots() { @Override public int[] getOutputSlots() { - return new int[0]; + return QsConstants.EMPTY_INTS; } @Override diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/AbstractEntityAssembler.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/AbstractEntityAssembler.java index 76d68a20b2..0aebbdd769 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/AbstractEntityAssembler.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/AbstractEntityAssembler.java @@ -25,6 +25,7 @@ import me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset; import me.mrCookieSlime.Slimefun.api.inventory.DirtyChestMenu; import me.mrCookieSlime.Slimefun.api.item_transport.ItemTransportFlow; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Effect; import org.bukkit.Location; import org.bukkit.Material; @@ -90,7 +91,7 @@ public int[] getSlotsAccessedByItemTransport(ItemTransportFlow flow) { if (flow == ItemTransportFlow.INSERT) { return inputSlots; } else { - return new int[0]; + return QsConstants.EMPTY_INTS; } } @@ -106,7 +107,7 @@ public int[] getSlotsAccessedByItemTransport(DirtyChestMenu menu, ItemTransportF } } - return new int[0]; + return QsConstants.EMPTY_INTS; } }; diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/AutoBreeder.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/AutoBreeder.java index bbba1c4313..9484e7e472 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/AutoBreeder.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/AutoBreeder.java @@ -18,6 +18,7 @@ import me.mrCookieSlime.Slimefun.Objects.handlers.BlockTicker; import me.mrCookieSlime.Slimefun.api.inventory.BlockMenu; import me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Material; import org.bukkit.Particle; import org.bukkit.block.Block; @@ -70,7 +71,7 @@ public int[] getInputSlots() { @Override public int[] getOutputSlots() { - return new int[0]; + return QsConstants.EMPTY_INTS; } @Override diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/ExpCollector.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/ExpCollector.java index b37f7392b4..fedcd6027f 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/ExpCollector.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/ExpCollector.java @@ -22,6 +22,7 @@ import me.mrCookieSlime.Slimefun.Objects.handlers.BlockTicker; import me.mrCookieSlime.Slimefun.api.inventory.BlockMenu; import me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.Block; @@ -77,7 +78,7 @@ public void onBlockBreak(Block b) { @Override public int[] getInputSlots() { - return new int[0]; + return QsConstants.EMPTY_INTS; } @Override diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/reactors/Reactor.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/reactors/Reactor.java index fbed54160e..88824261b1 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/reactors/Reactor.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/reactors/Reactor.java @@ -33,6 +33,7 @@ import me.mrCookieSlime.Slimefun.api.inventory.BlockMenu; import me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset; import me.mrCookieSlime.Slimefun.api.item_transport.ItemTransportFlow; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.Material; @@ -112,7 +113,7 @@ public boolean canOpen(Block b, Player p) { @Override public int[] getSlotsAccessedByItemTransport(ItemTransportFlow flow) { - return new int[0]; + return QsConstants.EMPTY_INTS; } }; @@ -321,7 +322,7 @@ public static int[] getFuelSlots() { } public int[] getCoolantSlots() { - return needsCooling() ? new int[] {25, 34, 43} : new int[0]; + return needsCooling() ? new int[] {25, 34, 43} : QsConstants.EMPTY_INTS; } @Override diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/geo/GEOMiner.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/geo/GEOMiner.java index 6763725ff1..20afbc26e3 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/geo/GEOMiner.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/geo/GEOMiner.java @@ -34,6 +34,7 @@ import me.mrCookieSlime.Slimefun.Objects.handlers.BlockTicker; import me.mrCookieSlime.Slimefun.api.inventory.BlockMenu; import me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.block.Block; @@ -204,7 +205,7 @@ public void onBlockBreak(Block b) { @Override public int[] getInputSlots() { - return new int[0]; + return QsConstants.EMPTY_INTS; } @Override diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/MagicianTalisman.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/MagicianTalisman.java index b2de35e3b4..e6783433c4 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/MagicianTalisman.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/MagicianTalisman.java @@ -4,6 +4,7 @@ import io.github.thebusybiscuit.slimefun4.api.items.SlimefunItemStack; import io.github.thebusybiscuit.slimefun4.implementation.Slimefun; import io.github.thebusybiscuit.slimefun4.implementation.settings.TalismanEnchantment; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Material; import org.bukkit.enchantments.Enchantment; import org.bukkit.entity.Player; @@ -52,7 +53,7 @@ public MagicianTalisman(SlimefunItemStack item, ItemStack[] recipe) { try { if (!enchantments.isEmpty()) { // Fixes #3007 - This is a Set, so every Enchantment should only be contained in here once. - addItemSetting(enchantments.toArray(new ItemSetting[0])); + addItemSetting(enchantments.toArray(QsConstants.EMPTY_ITEM_SETTINGS)); } } catch (RuntimeException x) { Slimefun.logger() diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java index bc4817eb6f..21cb045375 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/magical/talismans/Talisman.java @@ -18,6 +18,7 @@ import javax.annotation.Nullable; import lombok.Getter; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.NamespacedKey; @@ -126,7 +127,7 @@ protected Talisman( } enderTalisman = - new SlimefunItemStack("ENDER_" + getId(), getItem().getType(), name, lore.toArray(new String[0])); + new SlimefunItemStack("ENDER_" + getId(), getItem().getType(), name, lore.toArray(QsConstants.EMPTY_STRINGS)); } else { enderTalisman = null; } diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/GoldPan.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/GoldPan.java index d2fe1b1eca..f880ed9c0f 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/GoldPan.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/GoldPan.java @@ -22,6 +22,7 @@ import javax.annotation.Nullable; import lombok.Getter; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Effect; import org.bukkit.Material; import org.bukkit.block.Block; @@ -50,7 +51,7 @@ public GoldPan(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeTyp super(itemGroup, item, recipeType, recipe); drops.addAll(getGoldPanDrops()); - addItemSetting(drops.toArray(new GoldPanDrop[0])); + addItemSetting(drops.toArray(QsConstants.EMPTY_GOLD_PAN_DROPS)); addItemHandler(onEntityInteract()); } diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/weapons/IcyBow.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/weapons/IcyBow.java index e34756ce48..14eeaa6798 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/weapons/IcyBow.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/weapons/IcyBow.java @@ -38,8 +38,8 @@ public BowShootHandler onShoot() { } n.getWorld().playEffect(n.getLocation(), Effect.STEP_SOUND, Material.ICE); n.getWorld().playEffect(n.getEyeLocation(), Effect.STEP_SOUND, Material.ICE); - n.addPotionEffect(new PotionEffect(VersionedPotionEffectType.SLOWNESS, 20 * 2, 10)); - n.addPotionEffect(new PotionEffect(VersionedPotionEffectType.JUMP_BOOST, 20 * 2, -10)); + n.addPotionEffect(new PotionEffect(VersionedPotionEffectType.SLOWNESS, 20 << 1, 10)); + n.addPotionEffect(new PotionEffect(VersionedPotionEffectType.JUMP_BOOST, 20 << 1, -10)); }; } } diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/ButcherAndroidListener.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/ButcherAndroidListener.java index 47f59f3b0d..bbe7111c0f 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/ButcherAndroidListener.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/ButcherAndroidListener.java @@ -9,6 +9,7 @@ import java.util.Random; import java.util.concurrent.ThreadLocalRandom; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Material; import org.bukkit.entity.Entity; import org.bukkit.entity.EntityType; @@ -54,7 +55,7 @@ public void onDeath(EntityDeathEvent e) { addExtraDrops(items, e.getEntityType()); - obj.getAndroid().addItems(obj.getBlock(), items.toArray(new ItemStack[0])); + obj.getAndroid().addItems(obj.getBlock(), items.toArray(QsConstants.EMPTY_ITEM_STACKS)); ExperienceOrb exp = (ExperienceOrb) e.getEntity() .getWorld() .spawnEntity(e.getEntity().getLocation(), EntityType.EXPERIENCE_ORB); diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TalismanListener.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TalismanListener.java index 19294aef8a..7ac13a26a5 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TalismanListener.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/TalismanListener.java @@ -331,7 +331,7 @@ public void onExperienceReceive(PlayerExpChangeEvent e) { // Check if the experience change was positive. if (e.getAmount() > 0 && Talisman.trigger(e, SlimefunItems.TALISMAN_WISE)) { // Double-XP - e.setAmount(e.getAmount() * 2); + e.setAmount(e.getAmount() << 1); } } @@ -375,7 +375,7 @@ private void doubleTalismanDrops( // We do not want to dupe blocks if (!droppedItem.getType().isBlock()) { - int amount = Math.max(1, (dropAmount * 2) - droppedItem.getAmount()); + int amount = Math.max(1, (dropAmount << 1) - droppedItem.getAmount()); e.getBlock() .getWorld() .dropItemNaturally( diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/PostSetup.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/PostSetup.java index 186ca285da..d4530abd15 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/PostSetup.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/PostSetup.java @@ -18,6 +18,7 @@ import io.github.thebusybiscuit.slimefun4.utils.SlimefunUtils; import me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer; import me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.MachineRecipe; +import me.qscbm.slimefun4.utils.QsConstants; import net.guizhanss.slimefun4.utils.WikiUtils; import org.bukkit.Bukkit; import org.bukkit.ChatColor; @@ -201,7 +202,7 @@ private static void addSmelteryRecipe(ItemStack[] input, ItemStack[] output, Mak "ELECTRIC_INGOT_PULVERIZER", 3, new ItemStack[] {output[0]}, new ItemStack[] {ingredients.get(0)}); } else { registerMachineRecipe( - "ELECTRIC_SMELTERY", 12, ingredients.toArray(new ItemStack[0]), new ItemStack[] {output[0]}); + "ELECTRIC_SMELTERY", 12, ingredients.toArray(QsConstants.EMPTY_ITEM_STACKS), new ItemStack[] {output[0]}); } } diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/ResearchSetup.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/ResearchSetup.java index 8b93de67d8..8d2d42eaee 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/ResearchSetup.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/ResearchSetup.java @@ -4,6 +4,7 @@ import io.github.thebusybiscuit.slimefun4.api.researches.Research; import io.github.thebusybiscuit.slimefun4.implementation.Slimefun; import io.github.thebusybiscuit.slimefun4.implementation.SlimefunItems; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.NamespacedKey; import org.bukkit.inventory.ItemStack; @@ -381,7 +382,7 @@ public static void setupResearches() { register("crucible", 107, "Crucible", 13, SlimefunItems.CRUCIBLE); register("gilded_backpack", 108, "Gilded Backpack", 22, SlimefunItems.GILDED_BACKPACK); register("armored_jetpack", 111, "Armored Jetpack", 27, SlimefunItems.ARMORED_JETPACK); - register("ender_talismans", 112, "Ender Talismans", 28, new String[0]); + register("ender_talismans", 112, "Ender Talismans", 28, QsConstants.EMPTY_STRINGS); register( "nickel_and_cobalt", 115, "Even more Ores", 10, SlimefunItems.NICKEL_INGOT, SlimefunItems.COBALT_INGOT); register("magnet", 116, "Magnetic Metals", 16, SlimefunItems.MAGNET); diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/SlimefunItemSetup.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/SlimefunItemSetup.java index ba4867eb12..73ca52fbeb 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/SlimefunItemSetup.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/setup/SlimefunItemSetup.java @@ -202,10 +202,12 @@ import io.github.thebusybiscuit.slimefun4.utils.HeadTexture; import io.github.thebusybiscuit.slimefun4.utils.SlimefunUtils; import io.github.thebusybiscuit.slimefun4.utils.compatibility.VersionedPotionEffectType; + import java.util.ArrayList; import java.util.List; import me.qscbm.slimefun4.items.tools.OverclockModule; +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.DyeColor; import org.bukkit.Material; import org.bukkit.NamespacedKey; @@ -219,12 +221,12 @@ /** * This class holds the recipes of all items. * This is the place where all items from Slimefun are registered. - * */ public final class SlimefunItemSetup { private static boolean registeredItems; - private SlimefunItemSetup() {} + private SlimefunItemSetup() { + } public static void setup(Slimefun plugin) { if (registeredItems) { @@ -235,180 +237,180 @@ public static void setup(Slimefun plugin) { DefaultItemGroups itemGroups = new DefaultItemGroups(); new SlimefunItem( - itemGroups.weapons, - SlimefunItems.GRANDMAS_WALKING_STICK, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.OAK_LOG), - null, - null, - new ItemStack(Material.OAK_LOG), - null, - null, - new ItemStack(Material.OAK_LOG), - null - }) + itemGroups.weapons, + SlimefunItems.GRANDMAS_WALKING_STICK, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.OAK_LOG), + null, + null, + new ItemStack(Material.OAK_LOG), + null, + null, + new ItemStack(Material.OAK_LOG), + null + }) .register(plugin); new SlimefunItem( - itemGroups.weapons, - SlimefunItems.GRANDPAS_WALKING_STICK, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.LEATHER), - new ItemStack(Material.OAK_LOG), - new ItemStack(Material.LEATHER), - null, - new ItemStack(Material.OAK_LOG), - null, - null, - new ItemStack(Material.OAK_LOG), - null - }) + itemGroups.weapons, + SlimefunItems.GRANDPAS_WALKING_STICK, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.LEATHER), + new ItemStack(Material.OAK_LOG), + new ItemStack(Material.LEATHER), + null, + new ItemStack(Material.OAK_LOG), + null, + null, + new ItemStack(Material.OAK_LOG), + null + }) .register(plugin); new PortableCrafter( - itemGroups.usefulItems, - SlimefunItems.PORTABLE_CRAFTER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.BOOK), - new ItemStack(Material.CRAFTING_TABLE), - null, - null, - null, - null, - null, - null, - null - }) + itemGroups.usefulItems, + SlimefunItems.PORTABLE_CRAFTER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.BOOK), + new ItemStack(Material.CRAFTING_TABLE), + null, + null, + null, + null, + null, + null, + null + }) .register(plugin); new FortuneCookie( - itemGroups.food, - SlimefunItems.FORTUNE_COOKIE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.COOKIE), - new ItemStack(Material.PAPER), - null, - null, - null, - null, - null, - null, - null - }) + itemGroups.food, + SlimefunItems.FORTUNE_COOKIE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.COOKIE), + new ItemStack(Material.PAPER), + null, + null, + null, + null, + null, + null, + null + }) .register(plugin); - new DietCookie(itemGroups.food, SlimefunItems.DIET_COOKIE, RecipeType.MAGIC_WORKBENCH, new ItemStack[] { - new ItemStack(Material.COOKIE), SlimefunItems.ELYTRA_SCALE, null, null, null, null, null, null, null - }) + new DietCookie(itemGroups.food, SlimefunItems.DIET_COOKIE, RecipeType.MAGIC_WORKBENCH, new ItemStack[]{ + new ItemStack(Material.COOKIE), SlimefunItems.ELYTRA_SCALE, null, null, null, null, null, null, null + }) .register(plugin); new OutputChest( - itemGroups.basicMachines, - SlimefunItems.OUTPUT_CHEST, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.LEAD_INGOT, - new ItemStack(Material.HOPPER), - SlimefunItems.LEAD_INGOT, - SlimefunItems.LEAD_INGOT, - new ItemStack(Material.CHEST), - SlimefunItems.LEAD_INGOT, - null, - SlimefunItems.LEAD_INGOT, - null - }) + itemGroups.basicMachines, + SlimefunItems.OUTPUT_CHEST, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.LEAD_INGOT, + new ItemStack(Material.HOPPER), + SlimefunItems.LEAD_INGOT, + SlimefunItems.LEAD_INGOT, + new ItemStack(Material.CHEST), + SlimefunItems.LEAD_INGOT, + null, + SlimefunItems.LEAD_INGOT, + null + }) .register(plugin); new EnhancedCraftingTable(itemGroups.basicMachines, SlimefunItems.ENHANCED_CRAFTING_TABLE).register(plugin); new PortableDustbin( - itemGroups.usefulItems, - SlimefunItems.PORTABLE_DUSTBIN, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.IRON_INGOT), - new ItemStack(Material.IRON_INGOT), - new ItemStack(Material.IRON_INGOT), - new ItemStack(Material.IRON_INGOT), - null, - new ItemStack(Material.IRON_INGOT), - new ItemStack(Material.IRON_INGOT), - new ItemStack(Material.IRON_INGOT), - new ItemStack(Material.IRON_INGOT) - }) + itemGroups.usefulItems, + SlimefunItems.PORTABLE_DUSTBIN, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.IRON_INGOT), + new ItemStack(Material.IRON_INGOT), + new ItemStack(Material.IRON_INGOT), + new ItemStack(Material.IRON_INGOT), + null, + new ItemStack(Material.IRON_INGOT), + new ItemStack(Material.IRON_INGOT), + new ItemStack(Material.IRON_INGOT), + new ItemStack(Material.IRON_INGOT) + }) .register(plugin); - new MeatJerky(itemGroups.food, SlimefunItems.BEEF_JERKY, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - SlimefunItems.SALT, new ItemStack(Material.COOKED_BEEF), null, null, null, null, null, null, null - }) + new MeatJerky(itemGroups.food, SlimefunItems.BEEF_JERKY, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + SlimefunItems.SALT, new ItemStack(Material.COOKED_BEEF), null, null, null, null, null, null, null + }) .register(plugin); - new MeatJerky(itemGroups.food, SlimefunItems.PORK_JERKY, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - SlimefunItems.SALT, - new ItemStack(Material.COOKED_PORKCHOP), - null, - null, - null, - null, - null, - null, - null - }) + new MeatJerky(itemGroups.food, SlimefunItems.PORK_JERKY, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + SlimefunItems.SALT, + new ItemStack(Material.COOKED_PORKCHOP), + null, + null, + null, + null, + null, + null, + null + }) .register(plugin); new MeatJerky( - itemGroups.food, - SlimefunItems.CHICKEN_JERKY, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.SALT, - new ItemStack(Material.COOKED_CHICKEN), - null, - null, - null, - null, - null, - null, - null - }) + itemGroups.food, + SlimefunItems.CHICKEN_JERKY, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.SALT, + new ItemStack(Material.COOKED_CHICKEN), + null, + null, + null, + null, + null, + null, + null + }) .register(plugin); - new MeatJerky(itemGroups.food, SlimefunItems.MUTTON_JERKY, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - SlimefunItems.SALT, new ItemStack(Material.COOKED_MUTTON), null, null, null, null, null, null, null - }) + new MeatJerky(itemGroups.food, SlimefunItems.MUTTON_JERKY, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + SlimefunItems.SALT, new ItemStack(Material.COOKED_MUTTON), null, null, null, null, null, null, null + }) .register(plugin); - new MeatJerky(itemGroups.food, SlimefunItems.RABBIT_JERKY, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - SlimefunItems.SALT, new ItemStack(Material.COOKED_RABBIT), null, null, null, null, null, null, null - }) + new MeatJerky(itemGroups.food, SlimefunItems.RABBIT_JERKY, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + SlimefunItems.SALT, new ItemStack(Material.COOKED_RABBIT), null, null, null, null, null, null, null + }) .register(plugin); - new MeatJerky(itemGroups.food, SlimefunItems.FISH_JERKY, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - SlimefunItems.SALT, new ItemStack(Material.COOKED_COD), null, null, null, null, null, null, null - }) + new MeatJerky(itemGroups.food, SlimefunItems.FISH_JERKY, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + SlimefunItems.SALT, new ItemStack(Material.COOKED_COD), null, null, null, null, null, null, null + }) .register(plugin); new SlimefunItem( - itemGroups.food, - SlimefunItems.KELP_COOKIE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.DRIED_KELP), - null, - new ItemStack(Material.DRIED_KELP), - new ItemStack(Material.SUGAR), - new ItemStack(Material.DRIED_KELP), - null, - new ItemStack(Material.DRIED_KELP), - null - }, - new SlimefunItemStack(SlimefunItems.KELP_COOKIE, 2)) + itemGroups.food, + SlimefunItems.KELP_COOKIE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.DRIED_KELP), + null, + new ItemStack(Material.DRIED_KELP), + new ItemStack(Material.SUGAR), + new ItemStack(Material.DRIED_KELP), + null, + new ItemStack(Material.DRIED_KELP), + null + }, + new SlimefunItemStack(SlimefunItems.KELP_COOKIE, 2)) .register(plugin); new GrindStone(itemGroups.basicMachines, SlimefunItems.GRIND_STONE).register(plugin); @@ -420,556 +422,556 @@ SlimefunItems.SALT, new ItemStack(Material.COOKED_COD), null, null, null, null, new Compressor(itemGroups.basicMachines, SlimefunItems.COMPRESSOR).register(plugin); new SlimefunItem( - itemGroups.magicalResources, + itemGroups.magicalResources, + SlimefunItems.MAGIC_LUMP_1, + RecipeType.GRIND_STONE, + new ItemStack[]{ + new ItemStack(Material.NETHER_WART), null, null, null, null, null, null, null, null + }, + new SlimefunItemStack(SlimefunItems.MAGIC_LUMP_1, 2)) + .register(plugin); + + new SlimefunItem( + itemGroups.magicalResources, + SlimefunItems.MAGIC_LUMP_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_1, + SlimefunItems.MAGIC_LUMP_1, + null, + SlimefunItems.MAGIC_LUMP_1, SlimefunItems.MAGIC_LUMP_1, - RecipeType.GRIND_STONE, - new ItemStack[] { - new ItemStack(Material.NETHER_WART), null, null, null, null, null, null, null, null - }, - new SlimefunItemStack(SlimefunItems.MAGIC_LUMP_1, 2)) + null, + null, + null, + null + }) .register(plugin); new SlimefunItem( - itemGroups.magicalResources, + itemGroups.magicalResources, + SlimefunItems.MAGIC_LUMP_3, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ SlimefunItems.MAGIC_LUMP_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_1, - SlimefunItems.MAGIC_LUMP_1, - null, - SlimefunItems.MAGIC_LUMP_1, - SlimefunItems.MAGIC_LUMP_1, - null, - null, - null, - null - }) + SlimefunItems.MAGIC_LUMP_2, + null, + SlimefunItems.MAGIC_LUMP_2, + SlimefunItems.MAGIC_LUMP_2, + null, + null, + null, + null + }) .register(plugin); new SlimefunItem( - itemGroups.magicalResources, - SlimefunItems.MAGIC_LUMP_3, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_2, - SlimefunItems.MAGIC_LUMP_2, - null, - SlimefunItems.MAGIC_LUMP_2, - SlimefunItems.MAGIC_LUMP_2, - null, - null, - null, - null - }) + itemGroups.magicalResources, + SlimefunItems.ENDER_LUMP_1, + RecipeType.GRIND_STONE, + new ItemStack[]{ + new ItemStack(Material.ENDER_EYE), null, null, null, null, null, null, null, null + }, + new SlimefunItemStack(SlimefunItems.ENDER_LUMP_1, 2)) .register(plugin); new SlimefunItem( - itemGroups.magicalResources, + itemGroups.magicalResources, + SlimefunItems.ENDER_LUMP_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.ENDER_LUMP_1, + SlimefunItems.ENDER_LUMP_1, + null, SlimefunItems.ENDER_LUMP_1, - RecipeType.GRIND_STONE, - new ItemStack[] { - new ItemStack(Material.ENDER_EYE), null, null, null, null, null, null, null, null - }, - new SlimefunItemStack(SlimefunItems.ENDER_LUMP_1, 2)) + SlimefunItems.ENDER_LUMP_1, + null, + null, + null, + null + }) .register(plugin); new SlimefunItem( - itemGroups.magicalResources, + itemGroups.magicalResources, + SlimefunItems.ENDER_LUMP_3, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ SlimefunItems.ENDER_LUMP_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.ENDER_LUMP_1, - SlimefunItems.ENDER_LUMP_1, - null, - SlimefunItems.ENDER_LUMP_1, - SlimefunItems.ENDER_LUMP_1, - null, - null, - null, - null - }) - .register(plugin); - - new SlimefunItem( - itemGroups.magicalResources, - SlimefunItems.ENDER_LUMP_3, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.ENDER_LUMP_2, - SlimefunItems.ENDER_LUMP_2, - null, - SlimefunItems.ENDER_LUMP_2, - SlimefunItems.ENDER_LUMP_2, - null, - null, - null, - null - }) + SlimefunItems.ENDER_LUMP_2, + null, + SlimefunItems.ENDER_LUMP_2, + SlimefunItems.ENDER_LUMP_2, + null, + null, + null, + null + }) .register(plugin); new EnderBackpack( - itemGroups.magicalGadgets, - SlimefunItems.ENDER_BACKPACK, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - SlimefunItems.ENDER_LUMP_2, - new ItemStack(Material.LEATHER), - SlimefunItems.ENDER_LUMP_2, - new ItemStack(Material.LEATHER), - new ItemStack(Material.CHEST), - new ItemStack(Material.LEATHER), - SlimefunItems.ENDER_LUMP_2, - new ItemStack(Material.LEATHER), - SlimefunItems.ENDER_LUMP_2 - }) - .register(plugin); - - new SlimefunItem(itemGroups.magicalArmor, SlimefunItems.ENDER_HELMET, RecipeType.ARMOR_FORGE, new ItemStack[] { - SlimefunItems.ENDER_LUMP_1, - new ItemStack(Material.ENDER_EYE), - SlimefunItems.ENDER_LUMP_1, - new ItemStack(Material.OBSIDIAN), - null, - new ItemStack(Material.OBSIDIAN), - null, - null, - null + itemGroups.magicalGadgets, + SlimefunItems.ENDER_BACKPACK, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + SlimefunItems.ENDER_LUMP_2, + new ItemStack(Material.LEATHER), + SlimefunItems.ENDER_LUMP_2, + new ItemStack(Material.LEATHER), + new ItemStack(Material.CHEST), + new ItemStack(Material.LEATHER), + SlimefunItems.ENDER_LUMP_2, + new ItemStack(Material.LEATHER), + SlimefunItems.ENDER_LUMP_2 }) .register(plugin); - new SlimefunItem( - itemGroups.magicalArmor, - SlimefunItems.ENDER_CHESTPLATE, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - SlimefunItems.ENDER_LUMP_1, - null, - SlimefunItems.ENDER_LUMP_1, - new ItemStack(Material.OBSIDIAN), - new ItemStack(Material.ENDER_EYE), - new ItemStack(Material.OBSIDIAN), - new ItemStack(Material.OBSIDIAN), - new ItemStack(Material.OBSIDIAN), - new ItemStack(Material.OBSIDIAN) - }) + new SlimefunItem(itemGroups.magicalArmor, SlimefunItems.ENDER_HELMET, RecipeType.ARMOR_FORGE, new ItemStack[]{ + SlimefunItems.ENDER_LUMP_1, + new ItemStack(Material.ENDER_EYE), + SlimefunItems.ENDER_LUMP_1, + new ItemStack(Material.OBSIDIAN), + null, + new ItemStack(Material.OBSIDIAN), + null, + null, + null + }) .register(plugin); new SlimefunItem( - itemGroups.magicalArmor, SlimefunItems.ENDER_LEGGINGS, RecipeType.ARMOR_FORGE, new ItemStack[] { - SlimefunItems.ENDER_LUMP_1, - new ItemStack(Material.ENDER_EYE), - SlimefunItems.ENDER_LUMP_1, - new ItemStack(Material.OBSIDIAN), - null, - new ItemStack(Material.OBSIDIAN), - new ItemStack(Material.OBSIDIAN), - null, - new ItemStack(Material.OBSIDIAN) - }) - .register(plugin); - - new EnderBoots(itemGroups.magicalArmor, SlimefunItems.ENDER_BOOTS, RecipeType.ARMOR_FORGE, new ItemStack[] { - null, - null, - null, - SlimefunItems.ENDER_LUMP_1, - null, - SlimefunItems.ENDER_LUMP_1, - new ItemStack(Material.OBSIDIAN), - null, - new ItemStack(Material.OBSIDIAN) + itemGroups.magicalArmor, + SlimefunItems.ENDER_CHESTPLATE, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + SlimefunItems.ENDER_LUMP_1, + null, + SlimefunItems.ENDER_LUMP_1, + new ItemStack(Material.OBSIDIAN), + new ItemStack(Material.ENDER_EYE), + new ItemStack(Material.OBSIDIAN), + new ItemStack(Material.OBSIDIAN), + new ItemStack(Material.OBSIDIAN), + new ItemStack(Material.OBSIDIAN) }) .register(plugin); + new SlimefunItem( + itemGroups.magicalArmor, SlimefunItems.ENDER_LEGGINGS, RecipeType.ARMOR_FORGE, new ItemStack[]{ + SlimefunItems.ENDER_LUMP_1, + new ItemStack(Material.ENDER_EYE), + SlimefunItems.ENDER_LUMP_1, + new ItemStack(Material.OBSIDIAN), + null, + new ItemStack(Material.OBSIDIAN), + new ItemStack(Material.OBSIDIAN), + null, + new ItemStack(Material.OBSIDIAN) + }) + .register(plugin); + + new EnderBoots(itemGroups.magicalArmor, SlimefunItems.ENDER_BOOTS, RecipeType.ARMOR_FORGE, new ItemStack[]{ + null, + null, + null, + SlimefunItems.ENDER_LUMP_1, + null, + SlimefunItems.ENDER_LUMP_1, + new ItemStack(Material.OBSIDIAN), + null, + new ItemStack(Material.OBSIDIAN) + }) + .register(plugin); + new MagicEyeOfEnder( - itemGroups.magicalGadgets, - SlimefunItems.MAGIC_EYE_OF_ENDER, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - SlimefunItems.ENDER_LUMP_2, - new ItemStack(Material.ENDER_PEARL), - SlimefunItems.ENDER_LUMP_2, - new ItemStack(Material.ENDER_PEARL), - new ItemStack(Material.ENDER_EYE), - new ItemStack(Material.ENDER_PEARL), - SlimefunItems.ENDER_LUMP_2, - new ItemStack(Material.ENDER_PEARL), - SlimefunItems.ENDER_LUMP_2 - }) - .register(plugin); - - new MagicSugar(itemGroups.food, SlimefunItems.MAGIC_SUGAR, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - new ItemStack(Material.SUGAR), - new ItemStack(Material.REDSTONE), - new ItemStack(Material.GLOWSTONE_DUST), - null, - null, - null, - null, - null, - null + itemGroups.magicalGadgets, + SlimefunItems.MAGIC_EYE_OF_ENDER, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + SlimefunItems.ENDER_LUMP_2, + new ItemStack(Material.ENDER_PEARL), + SlimefunItems.ENDER_LUMP_2, + new ItemStack(Material.ENDER_PEARL), + new ItemStack(Material.ENDER_EYE), + new ItemStack(Material.ENDER_PEARL), + SlimefunItems.ENDER_LUMP_2, + new ItemStack(Material.ENDER_PEARL), + SlimefunItems.ENDER_LUMP_2 }) .register(plugin); + new MagicSugar(itemGroups.food, SlimefunItems.MAGIC_SUGAR, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + new ItemStack(Material.SUGAR), + new ItemStack(Material.REDSTONE), + new ItemStack(Material.GLOWSTONE_DUST), + null, + null, + null, + null, + null, + null + }) + .register(plugin); + new MonsterJerky( - itemGroups.food, - SlimefunItems.MONSTER_JERKY, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.SALT, - new ItemStack(Material.ROTTEN_FLESH), - null, - null, - null, - null, - null, - null, - null - }) + itemGroups.food, + SlimefunItems.MONSTER_JERKY, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.SALT, + new ItemStack(Material.ROTTEN_FLESH), + null, + null, + null, + null, + null, + null, + null + }) .register(plugin); new SlimefunArmorPiece( - itemGroups.magicalArmor, - SlimefunItems.SLIME_HELMET, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.IRON_INGOT), - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.IRON_INGOT), - null, - new ItemStack(Material.IRON_INGOT), - null, - null, - null - }, - null) + itemGroups.magicalArmor, + SlimefunItems.SLIME_HELMET, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.IRON_INGOT), + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.IRON_INGOT), + null, + new ItemStack(Material.IRON_INGOT), + null, + null, + null + }, + null) .register(plugin); new SlimefunArmorPiece( - itemGroups.magicalArmor, - SlimefunItems.SLIME_CHESTPLATE, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - new ItemStack(Material.SLIME_BALL), - null, - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.IRON_INGOT), - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.IRON_INGOT), - new ItemStack(Material.IRON_INGOT), - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.IRON_INGOT) - }, - null) + itemGroups.magicalArmor, + SlimefunItems.SLIME_CHESTPLATE, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + new ItemStack(Material.SLIME_BALL), + null, + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.IRON_INGOT), + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.IRON_INGOT), + new ItemStack(Material.IRON_INGOT), + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.IRON_INGOT) + }, + null) .register(plugin); new SlimefunArmorPiece( - itemGroups.magicalArmor, - SlimefunItems.SLIME_LEGGINGS, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.IRON_INGOT), - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.IRON_INGOT), - null, - new ItemStack(Material.IRON_INGOT), - new ItemStack(Material.IRON_INGOT), - null, - new ItemStack(Material.IRON_INGOT) - }, - new PotionEffect[] {new PotionEffect(PotionEffectType.SPEED, 300, 2)}) + itemGroups.magicalArmor, + SlimefunItems.SLIME_LEGGINGS, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.IRON_INGOT), + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.IRON_INGOT), + null, + new ItemStack(Material.IRON_INGOT), + new ItemStack(Material.IRON_INGOT), + null, + new ItemStack(Material.IRON_INGOT) + }, + new PotionEffect[]{new PotionEffect(PotionEffectType.SPEED, 300, 2)}) .register(plugin); new LongFallBoots( - itemGroups.magicalArmor, - SlimefunItems.SLIME_BOOTS, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - null, - null, - null, - new ItemStack(Material.SLIME_BALL), - null, - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.IRON_INGOT), - null, - new ItemStack(Material.IRON_INGOT) - }, - new PotionEffect[] {new PotionEffect(VersionedPotionEffectType.JUMP_BOOST, 300, 5)}, - SoundEffect.SLIME_BOOTS_FALL_SOUND) + itemGroups.magicalArmor, + SlimefunItems.SLIME_BOOTS, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + null, + null, + null, + new ItemStack(Material.SLIME_BALL), + null, + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.IRON_INGOT), + null, + new ItemStack(Material.IRON_INGOT) + }, + new PotionEffect[]{new PotionEffect(VersionedPotionEffectType.JUMP_BOOST, 300, 5)}, + SoundEffect.SLIME_BOOTS_FALL_SOUND) .register(plugin); new SwordOfBeheading( - itemGroups.weapons, - SlimefunItems.SWORD_OF_BEHEADING, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.EMERALD), - null, - SlimefunItems.MAGIC_LUMP_2, - new ItemStack(Material.EMERALD), - SlimefunItems.MAGIC_LUMP_2, - null, - new ItemStack(Material.BLAZE_ROD), - null - }) + itemGroups.weapons, + SlimefunItems.SWORD_OF_BEHEADING, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.EMERALD), + null, + SlimefunItems.MAGIC_LUMP_2, + new ItemStack(Material.EMERALD), + SlimefunItems.MAGIC_LUMP_2, + null, + new ItemStack(Material.BLAZE_ROD), + null + }) .register(plugin); new SlimefunItem( - itemGroups.magicalResources, - SlimefunItems.MAGICAL_BOOK_COVER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.MAGIC_LUMP_2, - null, - SlimefunItems.MAGIC_LUMP_2, - new ItemStack(Material.BOOK), - SlimefunItems.MAGIC_LUMP_2, - null, - SlimefunItems.MAGIC_LUMP_2, - null - }) + itemGroups.magicalResources, + SlimefunItems.MAGICAL_BOOK_COVER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.MAGIC_LUMP_2, + null, + SlimefunItems.MAGIC_LUMP_2, + new ItemStack(Material.BOOK), + SlimefunItems.MAGIC_LUMP_2, + null, + SlimefunItems.MAGIC_LUMP_2, + null + }) .register(plugin); new UnplaceableBlock( - itemGroups.magicalResources, - SlimefunItems.MAGICAL_GLASS, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_2, - SlimefunItems.GOLD_DUST, - SlimefunItems.MAGIC_LUMP_2, - SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, - new ItemStack(Material.GLASS_PANE), - SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, - SlimefunItems.MAGIC_LUMP_2, - SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, - SlimefunItems.MAGIC_LUMP_2 - }) + itemGroups.magicalResources, + SlimefunItems.MAGICAL_GLASS, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_2, + SlimefunItems.GOLD_DUST, + SlimefunItems.MAGIC_LUMP_2, + SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, + new ItemStack(Material.GLASS_PANE), + SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, + SlimefunItems.MAGIC_LUMP_2, + SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, + SlimefunItems.MAGIC_LUMP_2 + }) .register(plugin); new BasicCircuitBoard( - itemGroups.technicalComponents, - SlimefunItems.BASIC_CIRCUIT_BOARD, - RecipeType.MOB_DROP, - new ItemStack[] { - null, - null, - null, - null, - new CustomItemStack( - SlimefunUtils.getCustomHead(HeadTexture.IRON_GOLEM.getTexture()), "&aIron Golem"), - null, - null, - null, - null - }) + itemGroups.technicalComponents, + SlimefunItems.BASIC_CIRCUIT_BOARD, + RecipeType.MOB_DROP, + new ItemStack[]{ + null, + null, + null, + null, + new CustomItemStack( + SlimefunUtils.getCustomHead(HeadTexture.IRON_GOLEM.getTexture()), "&aIron Golem"), + null, + null, + null, + null + }) .register(plugin); new UnplaceableBlock( - itemGroups.technicalComponents, - SlimefunItems.ADVANCED_CIRCUIT_BOARD, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.LAPIS_BLOCK), - new ItemStack(Material.LAPIS_BLOCK), - new ItemStack(Material.LAPIS_BLOCK), - new ItemStack(Material.REDSTONE_BLOCK), - SlimefunItems.BASIC_CIRCUIT_BOARD, - new ItemStack(Material.REDSTONE_BLOCK), - new ItemStack(Material.LAPIS_BLOCK), - new ItemStack(Material.LAPIS_BLOCK), - new ItemStack(Material.LAPIS_BLOCK) - }) - .register(plugin); - - new GoldPan(itemGroups.tools, SlimefunItems.GOLD_PAN, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - null, - null, - null, - new ItemStack(Material.STONE), - new ItemStack(Material.BOWL), - new ItemStack(Material.STONE), - new ItemStack(Material.STONE), - new ItemStack(Material.STONE), - new ItemStack(Material.STONE) + itemGroups.technicalComponents, + SlimefunItems.ADVANCED_CIRCUIT_BOARD, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.LAPIS_BLOCK), + new ItemStack(Material.LAPIS_BLOCK), + new ItemStack(Material.LAPIS_BLOCK), + new ItemStack(Material.REDSTONE_BLOCK), + SlimefunItems.BASIC_CIRCUIT_BOARD, + new ItemStack(Material.REDSTONE_BLOCK), + new ItemStack(Material.LAPIS_BLOCK), + new ItemStack(Material.LAPIS_BLOCK), + new ItemStack(Material.LAPIS_BLOCK) }) .register(plugin); - new NetherGoldPan( - itemGroups.tools, - SlimefunItems.NETHER_GOLD_PAN, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - null, - null, - new ItemStack(Material.NETHER_BRICK), - SlimefunItems.GOLD_PAN, - new ItemStack(Material.NETHER_BRICK), - new ItemStack(Material.NETHER_BRICK), - new ItemStack(Material.NETHER_BRICK), - new ItemStack(Material.NETHER_BRICK) - }) + new GoldPan(itemGroups.tools, SlimefunItems.GOLD_PAN, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + null, + null, + null, + new ItemStack(Material.STONE), + new ItemStack(Material.BOWL), + new ItemStack(Material.STONE), + new ItemStack(Material.STONE), + new ItemStack(Material.STONE), + new ItemStack(Material.STONE) + }) .register(plugin); - new SlimefunItem(itemGroups.misc, SlimefunItems.SIFTED_ORE, RecipeType.GOLD_PAN, new ItemStack[] { - new ItemStack(Material.GRAVEL), null, null, null, null, null, null, null, null + new NetherGoldPan( + itemGroups.tools, + SlimefunItems.NETHER_GOLD_PAN, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + null, + null, + new ItemStack(Material.NETHER_BRICK), + SlimefunItems.GOLD_PAN, + new ItemStack(Material.NETHER_BRICK), + new ItemStack(Material.NETHER_BRICK), + new ItemStack(Material.NETHER_BRICK), + new ItemStack(Material.NETHER_BRICK) }) .register(plugin); + new SlimefunItem(itemGroups.misc, SlimefunItems.SIFTED_ORE, RecipeType.GOLD_PAN, new ItemStack[]{ + new ItemStack(Material.GRAVEL), null, null, null, null, null, null, null, null + }) + .register(plugin); + new MakeshiftSmeltery(itemGroups.basicMachines, SlimefunItems.MAKESHIFT_SMELTERY).register(plugin); new Smeltery(itemGroups.basicMachines, SlimefunItems.SMELTERY).register(plugin); new IgnitionChamber( - itemGroups.basicMachines, - SlimefunItems.IGNITION_CHAMBER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.IRON_INGOT), - new ItemStack(Material.FLINT_AND_STEEL), - new ItemStack(Material.IRON_INGOT), - new ItemStack(Material.IRON_INGOT), - SlimefunItems.BASIC_CIRCUIT_BOARD, - new ItemStack(Material.IRON_INGOT), - null, - new ItemStack(Material.OBSERVER), - null - }) + itemGroups.basicMachines, + SlimefunItems.IGNITION_CHAMBER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.IRON_INGOT), + new ItemStack(Material.FLINT_AND_STEEL), + new ItemStack(Material.IRON_INGOT), + new ItemStack(Material.IRON_INGOT), + SlimefunItems.BASIC_CIRCUIT_BOARD, + new ItemStack(Material.IRON_INGOT), + null, + new ItemStack(Material.OBSERVER), + null + }) .register(plugin); new PressureChamber(itemGroups.basicMachines, SlimefunItems.PRESSURE_CHAMBER).register(plugin); new UnplaceableBlock( - itemGroups.technicalComponents, - SlimefunItems.BATTERY, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.REDSTONE), - null, - SlimefunItems.ZINC_INGOT, - SlimefunItems.SULFATE, - SlimefunItems.COPPER_INGOT, - SlimefunItems.ZINC_INGOT, - SlimefunItems.SULFATE, - SlimefunItems.COPPER_INGOT - }) + itemGroups.technicalComponents, + SlimefunItems.BATTERY, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.REDSTONE), + null, + SlimefunItems.ZINC_INGOT, + SlimefunItems.SULFATE, + SlimefunItems.COPPER_INGOT, + SlimefunItems.ZINC_INGOT, + SlimefunItems.SULFATE, + SlimefunItems.COPPER_INGOT + }) .register(plugin); registerArmorSet( itemGroups.magicalArmor, new ItemStack(Material.GLOWSTONE), - new ItemStack[] { - SlimefunItems.GLOWSTONE_HELMET, - SlimefunItems.GLOWSTONE_CHESTPLATE, - SlimefunItems.GLOWSTONE_LEGGINGS, - SlimefunItems.GLOWSTONE_BOOTS + new ItemStack[]{ + SlimefunItems.GLOWSTONE_HELMET, + SlimefunItems.GLOWSTONE_CHESTPLATE, + SlimefunItems.GLOWSTONE_LEGGINGS, + SlimefunItems.GLOWSTONE_BOOTS }, "GLOWSTONE", false, - new PotionEffect[][] { - new PotionEffect[] {new PotionEffect(PotionEffectType.NIGHT_VISION, 600, 0)}, - new PotionEffect[] {new PotionEffect(PotionEffectType.NIGHT_VISION, 600, 0)}, - new PotionEffect[] {new PotionEffect(PotionEffectType.NIGHT_VISION, 600, 0)}, - new PotionEffect[] {new PotionEffect(PotionEffectType.NIGHT_VISION, 600, 0)} + new PotionEffect[][]{ + new PotionEffect[]{new PotionEffect(PotionEffectType.NIGHT_VISION, 600, 0)}, + new PotionEffect[]{new PotionEffect(PotionEffectType.NIGHT_VISION, 600, 0)}, + new PotionEffect[]{new PotionEffect(PotionEffectType.NIGHT_VISION, 600, 0)}, + new PotionEffect[]{new PotionEffect(PotionEffectType.NIGHT_VISION, 600, 0)} }, plugin); DyeColor[] rainbowArmorColors = { - DyeColor.RED, - DyeColor.ORANGE, - DyeColor.YELLOW, - DyeColor.LIME, - DyeColor.LIGHT_BLUE, - DyeColor.PURPLE, - DyeColor.MAGENTA + DyeColor.RED, + DyeColor.ORANGE, + DyeColor.YELLOW, + DyeColor.LIME, + DyeColor.LIGHT_BLUE, + DyeColor.PURPLE, + DyeColor.MAGENTA }; new RainbowArmorPiece( - itemGroups.magicalArmor, - SlimefunItems.RAINBOW_HELMET, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - SlimefunItems.RAINBOW_LEATHER, - SlimefunItems.RAINBOW_LEATHER, - SlimefunItems.RAINBOW_LEATHER, - SlimefunItems.RAINBOW_LEATHER, - null, - SlimefunItems.RAINBOW_LEATHER, - null, - null, - null - }, - rainbowArmorColors) - .register(plugin); - - new RainbowArmorPiece( - itemGroups.magicalArmor, - SlimefunItems.RAINBOW_CHESTPLATE, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - SlimefunItems.RAINBOW_LEATHER, - null, - SlimefunItems.RAINBOW_LEATHER, - SlimefunItems.RAINBOW_LEATHER, - SlimefunItems.RAINBOW_LEATHER, - SlimefunItems.RAINBOW_LEATHER, - SlimefunItems.RAINBOW_LEATHER, - SlimefunItems.RAINBOW_LEATHER, - SlimefunItems.RAINBOW_LEATHER - }, - rainbowArmorColors) + itemGroups.magicalArmor, + SlimefunItems.RAINBOW_HELMET, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + SlimefunItems.RAINBOW_LEATHER, + SlimefunItems.RAINBOW_LEATHER, + SlimefunItems.RAINBOW_LEATHER, + SlimefunItems.RAINBOW_LEATHER, + null, + SlimefunItems.RAINBOW_LEATHER, + null, + null, + null + }, + rainbowArmorColors) .register(plugin); new RainbowArmorPiece( - itemGroups.magicalArmor, - SlimefunItems.RAINBOW_LEGGINGS, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - SlimefunItems.RAINBOW_LEATHER, - SlimefunItems.RAINBOW_LEATHER, - SlimefunItems.RAINBOW_LEATHER, - SlimefunItems.RAINBOW_LEATHER, - null, - SlimefunItems.RAINBOW_LEATHER, - SlimefunItems.RAINBOW_LEATHER, - null, - SlimefunItems.RAINBOW_LEATHER - }, - rainbowArmorColors) + itemGroups.magicalArmor, + SlimefunItems.RAINBOW_CHESTPLATE, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + SlimefunItems.RAINBOW_LEATHER, + null, + SlimefunItems.RAINBOW_LEATHER, + SlimefunItems.RAINBOW_LEATHER, + SlimefunItems.RAINBOW_LEATHER, + SlimefunItems.RAINBOW_LEATHER, + SlimefunItems.RAINBOW_LEATHER, + SlimefunItems.RAINBOW_LEATHER, + SlimefunItems.RAINBOW_LEATHER + }, + rainbowArmorColors) .register(plugin); new RainbowArmorPiece( - itemGroups.magicalArmor, - SlimefunItems.RAINBOW_BOOTS, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - null, - null, - null, - SlimefunItems.RAINBOW_LEATHER, - null, - SlimefunItems.RAINBOW_LEATHER, - SlimefunItems.RAINBOW_LEATHER, - null, - SlimefunItems.RAINBOW_LEATHER - }, - rainbowArmorColors) + itemGroups.magicalArmor, + SlimefunItems.RAINBOW_LEGGINGS, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + SlimefunItems.RAINBOW_LEATHER, + SlimefunItems.RAINBOW_LEATHER, + SlimefunItems.RAINBOW_LEATHER, + SlimefunItems.RAINBOW_LEATHER, + null, + SlimefunItems.RAINBOW_LEATHER, + SlimefunItems.RAINBOW_LEATHER, + null, + SlimefunItems.RAINBOW_LEATHER + }, + rainbowArmorColors) + .register(plugin); + + new RainbowArmorPiece( + itemGroups.magicalArmor, + SlimefunItems.RAINBOW_BOOTS, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + null, + null, + null, + SlimefunItems.RAINBOW_LEATHER, + null, + SlimefunItems.RAINBOW_LEATHER, + SlimefunItems.RAINBOW_LEATHER, + null, + SlimefunItems.RAINBOW_LEATHER + }, + rainbowArmorColors) .register(plugin); registerArmorSet( itemGroups.armor, SlimefunItems.DAMASCUS_STEEL_INGOT, - new ItemStack[] { - SlimefunItems.DAMASCUS_STEEL_HELMET, - SlimefunItems.DAMASCUS_STEEL_CHESTPLATE, - SlimefunItems.DAMASCUS_STEEL_LEGGINGS, - SlimefunItems.DAMASCUS_STEEL_BOOTS + new ItemStack[]{ + SlimefunItems.DAMASCUS_STEEL_HELMET, + SlimefunItems.DAMASCUS_STEEL_CHESTPLATE, + SlimefunItems.DAMASCUS_STEEL_LEGGINGS, + SlimefunItems.DAMASCUS_STEEL_BOOTS }, "DAMASCUS_STEEL", false, @@ -979,11 +981,11 @@ SlimefunItems.SALT, new ItemStack(Material.COOKED_COD), null, null, null, null, registerArmorSet( itemGroups.armor, SlimefunItems.REINFORCED_ALLOY_INGOT, - new ItemStack[] { - SlimefunItems.REINFORCED_ALLOY_HELMET, - SlimefunItems.REINFORCED_ALLOY_CHESTPLATE, - SlimefunItems.REINFORCED_ALLOY_LEGGINGS, - SlimefunItems.REINFORCED_ALLOY_BOOTS + new ItemStack[]{ + SlimefunItems.REINFORCED_ALLOY_HELMET, + SlimefunItems.REINFORCED_ALLOY_CHESTPLATE, + SlimefunItems.REINFORCED_ALLOY_LEGGINGS, + SlimefunItems.REINFORCED_ALLOY_BOOTS }, "REINFORCED_ALLOY", false, @@ -993,1338 +995,1338 @@ SlimefunItems.SALT, new ItemStack(Material.COOKED_COD), null, null, null, null, registerArmorSet( itemGroups.armor, new ItemStack(Material.CACTUS), - new ItemStack[] { - SlimefunItems.CACTUS_HELMET, - SlimefunItems.CACTUS_CHESTPLATE, - SlimefunItems.CACTUS_LEGGINGS, - SlimefunItems.CACTUS_BOOTS + new ItemStack[]{ + SlimefunItems.CACTUS_HELMET, + SlimefunItems.CACTUS_CHESTPLATE, + SlimefunItems.CACTUS_LEGGINGS, + SlimefunItems.CACTUS_BOOTS }, "CACTUS", false, new PotionEffect[0][0], plugin); - new AlloyIngot(itemGroups.resources, SlimefunItems.REINFORCED_ALLOY_INGOT, new ItemStack[] { - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.HARDENED_METAL_INGOT, - SlimefunItems.CORINTHIAN_BRONZE_INGOT, - SlimefunItems.SOLDER_INGOT, - SlimefunItems.BILLON_INGOT, - SlimefunItems.GOLD_24K, - null, - null, - null - }) - .register(plugin); - - new AlloyIngot(itemGroups.resources, SlimefunItems.HARDENED_METAL_INGOT, new ItemStack[] { - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.DURALUMIN_INGOT, - SlimefunItems.COMPRESSED_CARBON, - SlimefunItems.ALUMINUM_BRONZE_INGOT, - null, - null, - null, - null, - null - }) - .register(plugin); - - new AlloyIngot(itemGroups.resources, SlimefunItems.DAMASCUS_STEEL_INGOT, new ItemStack[] { - SlimefunItems.STEEL_INGOT, - SlimefunItems.IRON_DUST, - SlimefunItems.CARBON, - new ItemStack(Material.IRON_INGOT), - null, - null, - null, - null, - null - }) - .register(plugin); - - new AlloyIngot(itemGroups.resources, SlimefunItems.STEEL_INGOT, new ItemStack[] { - SlimefunItems.IRON_DUST, - SlimefunItems.CARBON, - new ItemStack(Material.IRON_INGOT), - null, - null, - null, - null, - null, - null - }) - .register(plugin); - - new AlloyIngot(itemGroups.resources, SlimefunItems.BRONZE_INGOT, new ItemStack[] { - SlimefunItems.COPPER_DUST, - SlimefunItems.TIN_DUST, - SlimefunItems.COPPER_INGOT, - null, - null, - null, - null, - null, - null - }) - .register(plugin); - - new AlloyIngot(itemGroups.resources, SlimefunItems.DURALUMIN_INGOT, new ItemStack[] { - SlimefunItems.ALUMINUM_DUST, - SlimefunItems.COPPER_DUST, - SlimefunItems.ALUMINUM_INGOT, - null, - null, - null, - null, - null, - null - }) - .register(plugin); - - new AlloyIngot(itemGroups.resources, SlimefunItems.BILLON_INGOT, new ItemStack[] { - SlimefunItems.SILVER_DUST, - SlimefunItems.COPPER_DUST, - SlimefunItems.SILVER_INGOT, - null, - null, - null, - null, - null, - null - }) - .register(plugin); - - new AlloyIngot(itemGroups.resources, SlimefunItems.BRASS_INGOT, new ItemStack[] { - SlimefunItems.COPPER_DUST, - SlimefunItems.ZINC_DUST, - SlimefunItems.COPPER_INGOT, - null, - null, - null, - null, - null, - null - }) - .register(plugin); - - new AlloyIngot(itemGroups.resources, SlimefunItems.ALUMINUM_BRASS_INGOT, new ItemStack[] { - SlimefunItems.ALUMINUM_DUST, - SlimefunItems.BRASS_INGOT, - SlimefunItems.ALUMINUM_INGOT, - null, - null, - null, - null, - null, - null - }) - .register(plugin); - - new AlloyIngot(itemGroups.resources, SlimefunItems.ALUMINUM_BRONZE_INGOT, new ItemStack[] { - SlimefunItems.ALUMINUM_DUST, - SlimefunItems.BRONZE_INGOT, - SlimefunItems.ALUMINUM_INGOT, - null, - null, - null, - null, - null, - null - }) - .register(plugin); - - new AlloyIngot(itemGroups.resources, SlimefunItems.CORINTHIAN_BRONZE_INGOT, new ItemStack[] { - SlimefunItems.SILVER_DUST, - SlimefunItems.GOLD_DUST, - SlimefunItems.COPPER_DUST, - SlimefunItems.BRONZE_INGOT, - null, - null, - null, - null, - null - }) - .register(plugin); - - new AlloyIngot(itemGroups.resources, SlimefunItems.SOLDER_INGOT, new ItemStack[] { - SlimefunItems.LEAD_DUST, - SlimefunItems.TIN_DUST, - SlimefunItems.LEAD_INGOT, - null, - null, - null, - null, - null, - null - }) - .register(plugin); - - new SlimefunItem(itemGroups.resources, SlimefunItems.SYNTHETIC_SAPPHIRE, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.ALUMINUM_DUST, - new ItemStack(Material.GLASS), - new ItemStack(Material.GLASS_PANE), - SlimefunItems.ALUMINUM_INGOT, - new ItemStack(Material.LAPIS_LAZULI), - null, - null, - null, - null - }) + new AlloyIngot(itemGroups.resources, SlimefunItems.REINFORCED_ALLOY_INGOT, new ItemStack[]{ + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.HARDENED_METAL_INGOT, + SlimefunItems.CORINTHIAN_BRONZE_INGOT, + SlimefunItems.SOLDER_INGOT, + SlimefunItems.BILLON_INGOT, + SlimefunItems.GOLD_24K, + null, + null, + null + }) + .register(plugin); + + new AlloyIngot(itemGroups.resources, SlimefunItems.HARDENED_METAL_INGOT, new ItemStack[]{ + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.DURALUMIN_INGOT, + SlimefunItems.COMPRESSED_CARBON, + SlimefunItems.ALUMINUM_BRONZE_INGOT, + null, + null, + null, + null, + null + }) + .register(plugin); + + new AlloyIngot(itemGroups.resources, SlimefunItems.DAMASCUS_STEEL_INGOT, new ItemStack[]{ + SlimefunItems.STEEL_INGOT, + SlimefunItems.IRON_DUST, + SlimefunItems.CARBON, + new ItemStack(Material.IRON_INGOT), + null, + null, + null, + null, + null + }) + .register(plugin); + + new AlloyIngot(itemGroups.resources, SlimefunItems.STEEL_INGOT, new ItemStack[]{ + SlimefunItems.IRON_DUST, + SlimefunItems.CARBON, + new ItemStack(Material.IRON_INGOT), + null, + null, + null, + null, + null, + null + }) + .register(plugin); + + new AlloyIngot(itemGroups.resources, SlimefunItems.BRONZE_INGOT, new ItemStack[]{ + SlimefunItems.COPPER_DUST, + SlimefunItems.TIN_DUST, + SlimefunItems.COPPER_INGOT, + null, + null, + null, + null, + null, + null + }) + .register(plugin); + + new AlloyIngot(itemGroups.resources, SlimefunItems.DURALUMIN_INGOT, new ItemStack[]{ + SlimefunItems.ALUMINUM_DUST, + SlimefunItems.COPPER_DUST, + SlimefunItems.ALUMINUM_INGOT, + null, + null, + null, + null, + null, + null + }) + .register(plugin); + + new AlloyIngot(itemGroups.resources, SlimefunItems.BILLON_INGOT, new ItemStack[]{ + SlimefunItems.SILVER_DUST, + SlimefunItems.COPPER_DUST, + SlimefunItems.SILVER_INGOT, + null, + null, + null, + null, + null, + null + }) + .register(plugin); + + new AlloyIngot(itemGroups.resources, SlimefunItems.BRASS_INGOT, new ItemStack[]{ + SlimefunItems.COPPER_DUST, + SlimefunItems.ZINC_DUST, + SlimefunItems.COPPER_INGOT, + null, + null, + null, + null, + null, + null + }) + .register(plugin); + + new AlloyIngot(itemGroups.resources, SlimefunItems.ALUMINUM_BRASS_INGOT, new ItemStack[]{ + SlimefunItems.ALUMINUM_DUST, + SlimefunItems.BRASS_INGOT, + SlimefunItems.ALUMINUM_INGOT, + null, + null, + null, + null, + null, + null + }) + .register(plugin); + + new AlloyIngot(itemGroups.resources, SlimefunItems.ALUMINUM_BRONZE_INGOT, new ItemStack[]{ + SlimefunItems.ALUMINUM_DUST, + SlimefunItems.BRONZE_INGOT, + SlimefunItems.ALUMINUM_INGOT, + null, + null, + null, + null, + null, + null + }) + .register(plugin); + + new AlloyIngot(itemGroups.resources, SlimefunItems.CORINTHIAN_BRONZE_INGOT, new ItemStack[]{ + SlimefunItems.SILVER_DUST, + SlimefunItems.GOLD_DUST, + SlimefunItems.COPPER_DUST, + SlimefunItems.BRONZE_INGOT, + null, + null, + null, + null, + null + }) + .register(plugin); + + new AlloyIngot(itemGroups.resources, SlimefunItems.SOLDER_INGOT, new ItemStack[]{ + SlimefunItems.LEAD_DUST, + SlimefunItems.TIN_DUST, + SlimefunItems.LEAD_INGOT, + null, + null, + null, + null, + null, + null + }) + .register(plugin); + + new SlimefunItem(itemGroups.resources, SlimefunItems.SYNTHETIC_SAPPHIRE, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.ALUMINUM_DUST, + new ItemStack(Material.GLASS), + new ItemStack(Material.GLASS_PANE), + SlimefunItems.ALUMINUM_INGOT, + new ItemStack(Material.LAPIS_LAZULI), + null, + null, + null, + null + }) .setUseableInWorkbench(true) .register(plugin); new SlimefunItem( - itemGroups.resources, - SlimefunItems.SYNTHETIC_DIAMOND, - RecipeType.PRESSURE_CHAMBER, - new ItemStack[] {SlimefunItems.CARBON_CHUNK, null, null, null, null, null, null, null, null}) + itemGroups.resources, + SlimefunItems.SYNTHETIC_DIAMOND, + RecipeType.PRESSURE_CHAMBER, + new ItemStack[]{SlimefunItems.CARBON_CHUNK, null, null, null, null, null, null, null, null}) .setUseableInWorkbench(true) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.RAW_CARBONADO, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.SYNTHETIC_DIAMOND, - SlimefunItems.CARBON_CHUNK, - new ItemStack(Material.GLASS_PANE), - null, - null, - null, - null, - null, - null - }) - .register(plugin); - - new AlloyIngot(itemGroups.resources, SlimefunItems.NICKEL_INGOT, new ItemStack[] { - SlimefunItems.IRON_DUST, - new ItemStack(Material.IRON_INGOT), - SlimefunItems.COPPER_DUST, - null, - null, - null, - null, - null, - null - }) - .register(plugin); - - new AlloyIngot(itemGroups.resources, SlimefunItems.COBALT_INGOT, new ItemStack[] { - SlimefunItems.IRON_DUST, - SlimefunItems.COPPER_DUST, - SlimefunItems.NICKEL_INGOT, - null, - null, - null, - null, - null, - null - }) - .register(plugin); - - new SlimefunItem(itemGroups.resources, SlimefunItems.CARBONADO, RecipeType.PRESSURE_CHAMBER, new ItemStack[] { - SlimefunItems.RAW_CARBONADO, null, null, null, null, null, null, null, null - }) - .register(plugin); - - new SlimefunItem(itemGroups.resources, SlimefunItems.FERROSILICON, RecipeType.SMELTERY, new ItemStack[] { - new ItemStack(Material.IRON_INGOT), - SlimefunItems.IRON_DUST, - SlimefunItems.SILICON, - null, - null, - null, - null, - null, - null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.RAW_CARBONADO, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.SYNTHETIC_DIAMOND, + SlimefunItems.CARBON_CHUNK, + new ItemStack(Material.GLASS_PANE), + null, + null, + null, + null, + null, + null + }) + .register(plugin); + + new AlloyIngot(itemGroups.resources, SlimefunItems.NICKEL_INGOT, new ItemStack[]{ + SlimefunItems.IRON_DUST, + new ItemStack(Material.IRON_INGOT), + SlimefunItems.COPPER_DUST, + null, + null, + null, + null, + null, + null + }) + .register(plugin); + + new AlloyIngot(itemGroups.resources, SlimefunItems.COBALT_INGOT, new ItemStack[]{ + SlimefunItems.IRON_DUST, + SlimefunItems.COPPER_DUST, + SlimefunItems.NICKEL_INGOT, + null, + null, + null, + null, + null, + null + }) + .register(plugin); + + new SlimefunItem(itemGroups.resources, SlimefunItems.CARBONADO, RecipeType.PRESSURE_CHAMBER, new ItemStack[]{ + SlimefunItems.RAW_CARBONADO, null, null, null, null, null, null, null, null + }) + .register(plugin); + + new SlimefunItem(itemGroups.resources, SlimefunItems.FERROSILICON, RecipeType.SMELTERY, new ItemStack[]{ + new ItemStack(Material.IRON_INGOT), + SlimefunItems.IRON_DUST, + SlimefunItems.SILICON, + null, + null, + null, + null, + null, + null + }) .register(plugin); new SlimefunItem( - itemGroups.resources, - SlimefunItems.IRON_DUST, - RecipeType.ORE_CRUSHER, - new ItemStack[] { - new ItemStack(Material.IRON_ORE), null, null, null, null, null, null, null, null - }, - new SlimefunItemStack(SlimefunItems.IRON_DUST, oreCrusher.isOreDoublingEnabled() ? 2 : 1)) + itemGroups.resources, + SlimefunItems.IRON_DUST, + RecipeType.ORE_CRUSHER, + new ItemStack[]{ + new ItemStack(Material.IRON_ORE), null, null, null, null, null, null, null, null + }, + new SlimefunItemStack(SlimefunItems.IRON_DUST, oreCrusher.isOreDoublingEnabled() ? 2 : 1)) .register(plugin); new SlimefunItem( - itemGroups.resources, - SlimefunItems.GOLD_DUST, - RecipeType.ORE_CRUSHER, - new ItemStack[] { - new ItemStack(Material.GOLD_ORE), null, null, null, null, null, null, null, null - }, - new SlimefunItemStack(SlimefunItems.GOLD_DUST, oreCrusher.isOreDoublingEnabled() ? 2 : 1)) + itemGroups.resources, + SlimefunItems.GOLD_DUST, + RecipeType.ORE_CRUSHER, + new ItemStack[]{ + new ItemStack(Material.GOLD_ORE), null, null, null, null, null, null, null, null + }, + new SlimefunItemStack(SlimefunItems.GOLD_DUST, oreCrusher.isOreDoublingEnabled() ? 2 : 1)) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.COPPER_DUST, RecipeType.ORE_WASHER, new ItemStack[] { - SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.COPPER_DUST, RecipeType.ORE_WASHER, new ItemStack[]{ + SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.TIN_DUST, RecipeType.ORE_WASHER, new ItemStack[] { - SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.TIN_DUST, RecipeType.ORE_WASHER, new ItemStack[]{ + SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.SILVER_DUST, RecipeType.ORE_WASHER, new ItemStack[] { - SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.SILVER_DUST, RecipeType.ORE_WASHER, new ItemStack[]{ + SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.LEAD_DUST, RecipeType.ORE_WASHER, new ItemStack[] { - SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.LEAD_DUST, RecipeType.ORE_WASHER, new ItemStack[]{ + SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.ALUMINUM_DUST, RecipeType.ORE_WASHER, new ItemStack[] { - SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.ALUMINUM_DUST, RecipeType.ORE_WASHER, new ItemStack[]{ + SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.ZINC_DUST, RecipeType.ORE_WASHER, new ItemStack[] { - SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.ZINC_DUST, RecipeType.ORE_WASHER, new ItemStack[]{ + SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.MAGNESIUM_DUST, RecipeType.ORE_WASHER, new ItemStack[] { - SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.MAGNESIUM_DUST, RecipeType.ORE_WASHER, new ItemStack[]{ + SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.COPPER_INGOT, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.COPPER_DUST, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.COPPER_INGOT, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.COPPER_DUST, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.TIN_INGOT, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.TIN_DUST, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.TIN_INGOT, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.TIN_DUST, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.SILVER_INGOT, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.SILVER_DUST, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.SILVER_INGOT, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.SILVER_DUST, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.LEAD_INGOT, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.LEAD_DUST, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.LEAD_INGOT, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.LEAD_DUST, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.ALUMINUM_INGOT, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.ALUMINUM_DUST, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.ALUMINUM_INGOT, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.ALUMINUM_DUST, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.ZINC_INGOT, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.ZINC_DUST, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.ZINC_INGOT, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.ZINC_DUST, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.MAGNESIUM_INGOT, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.MAGNESIUM_DUST, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.MAGNESIUM_INGOT, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.MAGNESIUM_DUST, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.SULFATE, RecipeType.ORE_CRUSHER, new ItemStack[] { - new ItemStack(Material.NETHERRACK, 16), null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.SULFATE, RecipeType.ORE_CRUSHER, new ItemStack[]{ + new ItemStack(Material.NETHERRACK, 16), null, null, null, null, null, null, null, null + }) .register(plugin); - new UnplaceableBlock(itemGroups.resources, SlimefunItems.CARBON, RecipeType.COMPRESSOR, new ItemStack[] { - new ItemStack(Material.COAL, 8), null, null, null, null, null, null, null, null - }) + new UnplaceableBlock(itemGroups.resources, SlimefunItems.CARBON, RecipeType.COMPRESSOR, new ItemStack[]{ + new ItemStack(Material.COAL, 8), null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.misc, SlimefunItems.WHEAT_FLOUR, RecipeType.GRIND_STONE, new ItemStack[] { - new ItemStack(Material.WHEAT), null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.misc, SlimefunItems.WHEAT_FLOUR, RecipeType.GRIND_STONE, new ItemStack[]{ + new ItemStack(Material.WHEAT), null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.misc, SlimefunItems.STEEL_PLATE, RecipeType.COMPRESSOR, new ItemStack[] { - new SlimefunItemStack(SlimefunItems.STEEL_INGOT, 8), null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.misc, SlimefunItems.STEEL_PLATE, RecipeType.COMPRESSOR, new ItemStack[]{ + new SlimefunItemStack(SlimefunItems.STEEL_INGOT, 8), null, null, null, null, null, null, null, null + }) .register(plugin); new UnplaceableBlock( - itemGroups.resources, SlimefunItems.COMPRESSED_CARBON, RecipeType.COMPRESSOR, new ItemStack[] { - new SlimefunItemStack(SlimefunItems.CARBON, 4), - null, - null, - null, - null, - null, - null, - null, - null - }) + itemGroups.resources, SlimefunItems.COMPRESSED_CARBON, RecipeType.COMPRESSOR, new ItemStack[]{ + new SlimefunItemStack(SlimefunItems.CARBON, 4), + null, + null, + null, + null, + null, + null, + null, + null + }) .register(plugin); new UnplaceableBlock( - itemGroups.resources, - SlimefunItems.CARBON_CHUNK, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.COMPRESSED_CARBON, - SlimefunItems.COMPRESSED_CARBON, - SlimefunItems.COMPRESSED_CARBON, - SlimefunItems.COMPRESSED_CARBON, - new ItemStack(Material.FLINT), - SlimefunItems.COMPRESSED_CARBON, - SlimefunItems.COMPRESSED_CARBON, - SlimefunItems.COMPRESSED_CARBON, - SlimefunItems.COMPRESSED_CARBON - }) + itemGroups.resources, + SlimefunItems.CARBON_CHUNK, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.COMPRESSED_CARBON, + SlimefunItems.COMPRESSED_CARBON, + SlimefunItems.COMPRESSED_CARBON, + SlimefunItems.COMPRESSED_CARBON, + new ItemStack(Material.FLINT), + SlimefunItems.COMPRESSED_CARBON, + SlimefunItems.COMPRESSED_CARBON, + SlimefunItems.COMPRESSED_CARBON, + SlimefunItems.COMPRESSED_CARBON + }) .register(plugin); new SteelThruster( - itemGroups.technicalComponents, - SlimefunItems.STEEL_THRUSTER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.REDSTONE), - null, - SlimefunItems.ALUMINUM_BRONZE_INGOT, - SlimefunItems.ALUMINUM_BRONZE_INGOT, - SlimefunItems.ALUMINUM_BRONZE_INGOT, - SlimefunItems.STEEL_PLATE, - new ItemStack(Material.FIRE_CHARGE), - SlimefunItems.STEEL_PLATE - }) + itemGroups.technicalComponents, + SlimefunItems.STEEL_THRUSTER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.REDSTONE), + null, + SlimefunItems.ALUMINUM_BRONZE_INGOT, + SlimefunItems.ALUMINUM_BRONZE_INGOT, + SlimefunItems.ALUMINUM_BRONZE_INGOT, + SlimefunItems.STEEL_PLATE, + new ItemStack(Material.FIRE_CHARGE), + SlimefunItems.STEEL_PLATE + }) .register(plugin); new SlimefunItem( - itemGroups.technicalComponents, - SlimefunItems.POWER_CRYSTAL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.REDSTONE), - SlimefunItems.SYNTHETIC_SAPPHIRE, - new ItemStack(Material.REDSTONE), - SlimefunItems.SYNTHETIC_SAPPHIRE, - SlimefunItems.SYNTHETIC_DIAMOND, - SlimefunItems.SYNTHETIC_SAPPHIRE, - new ItemStack(Material.REDSTONE), - SlimefunItems.SYNTHETIC_SAPPHIRE, - new ItemStack(Material.REDSTONE) - }) + itemGroups.technicalComponents, + SlimefunItems.POWER_CRYSTAL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.REDSTONE), + SlimefunItems.SYNTHETIC_SAPPHIRE, + new ItemStack(Material.REDSTONE), + SlimefunItems.SYNTHETIC_SAPPHIRE, + SlimefunItems.SYNTHETIC_DIAMOND, + SlimefunItems.SYNTHETIC_SAPPHIRE, + new ItemStack(Material.REDSTONE), + SlimefunItems.SYNTHETIC_SAPPHIRE, + new ItemStack(Material.REDSTONE) + }) .register(plugin); new Jetpack( - itemGroups.technicalGadgets, - SlimefunItems.DURALUMIN_JETPACK, - new ItemStack[] { - SlimefunItems.DURALUMIN_INGOT, - null, - SlimefunItems.DURALUMIN_INGOT, - SlimefunItems.DURALUMIN_INGOT, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.DURALUMIN_INGOT, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.35, - 20) + itemGroups.technicalGadgets, + SlimefunItems.DURALUMIN_JETPACK, + new ItemStack[]{ + SlimefunItems.DURALUMIN_INGOT, + null, + SlimefunItems.DURALUMIN_INGOT, + SlimefunItems.DURALUMIN_INGOT, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.DURALUMIN_INGOT, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.35, + 20) .register(plugin); new Jetpack( - itemGroups.technicalGadgets, - SlimefunItems.SOLDER_JETPACK, - new ItemStack[] { - SlimefunItems.SOLDER_INGOT, - null, - SlimefunItems.SOLDER_INGOT, - SlimefunItems.SOLDER_INGOT, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.SOLDER_INGOT, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.4, - 30) + itemGroups.technicalGadgets, + SlimefunItems.SOLDER_JETPACK, + new ItemStack[]{ + SlimefunItems.SOLDER_INGOT, + null, + SlimefunItems.SOLDER_INGOT, + SlimefunItems.SOLDER_INGOT, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.SOLDER_INGOT, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.4, + 30) .register(plugin); new Jetpack( - itemGroups.technicalGadgets, - SlimefunItems.BILLON_JETPACK, - new ItemStack[] { - SlimefunItems.BILLON_INGOT, - null, - SlimefunItems.BILLON_INGOT, - SlimefunItems.BILLON_INGOT, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.BILLON_INGOT, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.45, - 45) + itemGroups.technicalGadgets, + SlimefunItems.BILLON_JETPACK, + new ItemStack[]{ + SlimefunItems.BILLON_INGOT, + null, + SlimefunItems.BILLON_INGOT, + SlimefunItems.BILLON_INGOT, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.BILLON_INGOT, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.45, + 45) .register(plugin); new Jetpack( - itemGroups.technicalGadgets, - SlimefunItems.STEEL_JETPACK, - new ItemStack[] { - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.STEEL_INGOT, - SlimefunItems.STEEL_INGOT, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.STEEL_INGOT, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.5, - 60) + itemGroups.technicalGadgets, + SlimefunItems.STEEL_JETPACK, + new ItemStack[]{ + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.STEEL_INGOT, + SlimefunItems.STEEL_INGOT, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.STEEL_INGOT, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.5, + 60) .register(plugin); new Jetpack( - itemGroups.technicalGadgets, - SlimefunItems.DAMASCUS_STEEL_JETPACK, - new ItemStack[] { - SlimefunItems.DAMASCUS_STEEL_INGOT, - null, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.55, - 75) + itemGroups.technicalGadgets, + SlimefunItems.DAMASCUS_STEEL_JETPACK, + new ItemStack[]{ + SlimefunItems.DAMASCUS_STEEL_INGOT, + null, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.55, + 75) .register(plugin); new Jetpack( - itemGroups.technicalGadgets, - SlimefunItems.REINFORCED_ALLOY_JETPACK, - new ItemStack[] { - SlimefunItems.REINFORCED_ALLOY_INGOT, - null, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.MEDIUM_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.6, - 100) + itemGroups.technicalGadgets, + SlimefunItems.REINFORCED_ALLOY_JETPACK, + new ItemStack[]{ + SlimefunItems.REINFORCED_ALLOY_INGOT, + null, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.MEDIUM_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.6, + 100) .register(plugin); new Jetpack( - itemGroups.technicalGadgets, - SlimefunItems.CARBONADO_JETPACK, - new ItemStack[] { - SlimefunItems.CARBON_CHUNK, - null, - SlimefunItems.CARBON_CHUNK, - SlimefunItems.CARBONADO, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.CARBONADO, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.LARGE_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.7, - 150) + itemGroups.technicalGadgets, + SlimefunItems.CARBONADO_JETPACK, + new ItemStack[]{ + SlimefunItems.CARBON_CHUNK, + null, + SlimefunItems.CARBON_CHUNK, + SlimefunItems.CARBONADO, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.CARBONADO, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.LARGE_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.7, + 150) .register(plugin); new Jetpack( - itemGroups.technicalGadgets, - SlimefunItems.ARMORED_JETPACK, - new ItemStack[] { - SlimefunItems.STEEL_PLATE, - null, - SlimefunItems.STEEL_PLATE, - SlimefunItems.STEEL_PLATE, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.STEEL_PLATE, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.MEDIUM_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.5, - 50) + itemGroups.technicalGadgets, + SlimefunItems.ARMORED_JETPACK, + new ItemStack[]{ + SlimefunItems.STEEL_PLATE, + null, + SlimefunItems.STEEL_PLATE, + SlimefunItems.STEEL_PLATE, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.STEEL_PLATE, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.MEDIUM_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.5, + 50) .register(plugin); new Parachute( - itemGroups.technicalGadgets, - SlimefunItems.PARACHUTE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CLOTH, - SlimefunItems.CLOTH, - SlimefunItems.CLOTH, - SlimefunItems.CHAIN, - null, - SlimefunItems.CHAIN, - null, - null, - null - }) + itemGroups.technicalGadgets, + SlimefunItems.PARACHUTE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CLOTH, + SlimefunItems.CLOTH, + SlimefunItems.CLOTH, + SlimefunItems.CHAIN, + null, + SlimefunItems.CHAIN, + null, + null, + null + }) .register(plugin); new HologramProjector( - itemGroups.technicalGadgets, - SlimefunItems.HOLOGRAM_PROJECTOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.POWER_CRYSTAL, - null, - SlimefunItems.ALUMINUM_BRASS_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.ALUMINUM_BRASS_INGOT, - null, - SlimefunItems.ALUMINUM_BRASS_INGOT, - null - }, - new SlimefunItemStack(SlimefunItems.HOLOGRAM_PROJECTOR, 3)) + itemGroups.technicalGadgets, + SlimefunItems.HOLOGRAM_PROJECTOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.POWER_CRYSTAL, + null, + SlimefunItems.ALUMINUM_BRASS_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.ALUMINUM_BRASS_INGOT, + null, + SlimefunItems.ALUMINUM_BRASS_INGOT, + null + }, + new SlimefunItemStack(SlimefunItems.HOLOGRAM_PROJECTOR, 3)) .register(plugin); new UnplaceableBlock( - itemGroups.misc, - SlimefunItems.CHAIN, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.STEEL_INGOT, - null, - null - }, - new SlimefunItemStack(SlimefunItems.CHAIN, 8)) - .register(plugin); - - new SlimefunItem(itemGroups.misc, SlimefunItems.HOOK, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.STEEL_INGOT, - null, - null, - null - }) + itemGroups.misc, + SlimefunItems.CHAIN, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.STEEL_INGOT, + null, + null + }, + new SlimefunItemStack(SlimefunItems.CHAIN, 8)) + .register(plugin); + + new SlimefunItem(itemGroups.misc, SlimefunItems.HOOK, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.STEEL_INGOT, + null, + null, + null + }) .register(plugin); new GrapplingHook( - itemGroups.tools, - SlimefunItems.GRAPPLING_HOOK, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - null, - SlimefunItems.HOOK, - null, - SlimefunItems.CHAIN, - null, - SlimefunItems.CHAIN, - null, - null - }) + itemGroups.tools, + SlimefunItems.GRAPPLING_HOOK, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + null, + SlimefunItems.HOOK, + null, + SlimefunItems.CHAIN, + null, + SlimefunItems.CHAIN, + null, + null + }) .register(plugin); new MagicWorkbench(itemGroups.basicMachines, SlimefunItems.MAGIC_WORKBENCH).register(plugin); new SlimefunItem( - itemGroups.magicalGadgets, - SlimefunItems.STAFF_ELEMENTAL, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - null, - SlimefunItems.MAGICAL_BOOK_COVER, - SlimefunItems.MAGIC_LUMP_3, - null, - new ItemStack(Material.STICK), - SlimefunItems.MAGICAL_BOOK_COVER, - SlimefunItems.MAGIC_LUMP_3, - null, - null - }) - .register(plugin); - - new WindStaff(itemGroups.magicalGadgets, SlimefunItems.STAFF_WIND, RecipeType.MAGIC_WORKBENCH, new ItemStack[] { - null, - new ItemStack(Material.FEATHER), - SlimefunItems.ENDER_LUMP_3, - null, - SlimefunItems.STAFF_ELEMENTAL, - new ItemStack(Material.FEATHER), - SlimefunItems.STAFF_ELEMENTAL, - null, - null + itemGroups.magicalGadgets, + SlimefunItems.STAFF_ELEMENTAL, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + null, + SlimefunItems.MAGICAL_BOOK_COVER, + SlimefunItems.MAGIC_LUMP_3, + null, + new ItemStack(Material.STICK), + SlimefunItems.MAGICAL_BOOK_COVER, + SlimefunItems.MAGIC_LUMP_3, + null, + null }) .register(plugin); + new WindStaff(itemGroups.magicalGadgets, SlimefunItems.STAFF_WIND, RecipeType.MAGIC_WORKBENCH, new ItemStack[]{ + null, + new ItemStack(Material.FEATHER), + SlimefunItems.ENDER_LUMP_3, + null, + SlimefunItems.STAFF_ELEMENTAL, + new ItemStack(Material.FEATHER), + SlimefunItems.STAFF_ELEMENTAL, + null, + null + }) + .register(plugin); + new WaterStaff( - itemGroups.magicalGadgets, - SlimefunItems.STAFF_WATER, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - null, - new ItemStack(Material.LILY_PAD), - SlimefunItems.MAGIC_LUMP_2, - null, - SlimefunItems.STAFF_ELEMENTAL, - new ItemStack(Material.LILY_PAD), - SlimefunItems.STAFF_ELEMENTAL, - null, - null - }) + itemGroups.magicalGadgets, + SlimefunItems.STAFF_WATER, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + null, + new ItemStack(Material.LILY_PAD), + SlimefunItems.MAGIC_LUMP_2, + null, + SlimefunItems.STAFF_ELEMENTAL, + new ItemStack(Material.LILY_PAD), + SlimefunItems.STAFF_ELEMENTAL, + null, + null + }) .register(plugin); new EnchantedItem( - itemGroups.magicalGadgets, - SlimefunItems.STAFF_FIRE, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - null, - null, - SlimefunItems.LAVA_CRYSTAL, - null, - SlimefunItems.STAFF_ELEMENTAL, - null, - SlimefunItems.STAFF_ELEMENTAL, - null, - null - }) + itemGroups.magicalGadgets, + SlimefunItems.STAFF_FIRE, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + null, + null, + SlimefunItems.LAVA_CRYSTAL, + null, + SlimefunItems.STAFF_ELEMENTAL, + null, + SlimefunItems.STAFF_ELEMENTAL, + null, + null + }) .register(plugin); String[] multiToolItems = - new String[] {"PORTABLE_CRAFTER", "MAGIC_EYE_OF_ENDER", "STAFF_ELEMENTAL_WIND", "GRAPPLING_HOOK"}; + new String[]{"PORTABLE_CRAFTER", "MAGIC_EYE_OF_ENDER", "STAFF_ELEMENTAL_WIND", "GRAPPLING_HOOK"}; new MultiTool( - itemGroups.technicalGadgets, - SlimefunItems.DURALUMIN_MULTI_TOOL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.DURALUMIN_INGOT, - null, - SlimefunItems.DURALUMIN_INGOT, - SlimefunItems.DURALUMIN_INGOT, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.DURALUMIN_INGOT, - null, - SlimefunItems.DURALUMIN_INGOT, - null - }, - 20, - multiToolItems) + itemGroups.technicalGadgets, + SlimefunItems.DURALUMIN_MULTI_TOOL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.DURALUMIN_INGOT, + null, + SlimefunItems.DURALUMIN_INGOT, + SlimefunItems.DURALUMIN_INGOT, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.DURALUMIN_INGOT, + null, + SlimefunItems.DURALUMIN_INGOT, + null + }, + 20, + multiToolItems) .register(plugin); new MultiTool( - itemGroups.technicalGadgets, - SlimefunItems.SOLDER_MULTI_TOOL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.SOLDER_INGOT, - null, - SlimefunItems.SOLDER_INGOT, - SlimefunItems.SOLDER_INGOT, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.SOLDER_INGOT, - null, - SlimefunItems.SOLDER_INGOT, - null - }, - 30, - multiToolItems) + itemGroups.technicalGadgets, + SlimefunItems.SOLDER_MULTI_TOOL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.SOLDER_INGOT, + null, + SlimefunItems.SOLDER_INGOT, + SlimefunItems.SOLDER_INGOT, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.SOLDER_INGOT, + null, + SlimefunItems.SOLDER_INGOT, + null + }, + 30, + multiToolItems) .register(plugin); new MultiTool( - itemGroups.technicalGadgets, - SlimefunItems.BILLON_MULTI_TOOL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.BILLON_INGOT, - null, - SlimefunItems.BILLON_INGOT, - SlimefunItems.BILLON_INGOT, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.BILLON_INGOT, - null, - SlimefunItems.BILLON_INGOT, - null - }, - 40, - multiToolItems) + itemGroups.technicalGadgets, + SlimefunItems.BILLON_MULTI_TOOL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.BILLON_INGOT, + null, + SlimefunItems.BILLON_INGOT, + SlimefunItems.BILLON_INGOT, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.BILLON_INGOT, + null, + SlimefunItems.BILLON_INGOT, + null + }, + 40, + multiToolItems) .register(plugin); new MultiTool( - itemGroups.technicalGadgets, - SlimefunItems.STEEL_MULTI_TOOL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.STEEL_INGOT, - SlimefunItems.STEEL_INGOT, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.STEEL_INGOT, - null - }, - 50, - multiToolItems) + itemGroups.technicalGadgets, + SlimefunItems.STEEL_MULTI_TOOL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.STEEL_INGOT, + SlimefunItems.STEEL_INGOT, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.STEEL_INGOT, + null + }, + 50, + multiToolItems) .register(plugin); new MultiTool( - itemGroups.technicalGadgets, - SlimefunItems.DAMASCUS_STEEL_MULTI_TOOL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.DAMASCUS_STEEL_INGOT, - null, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.DAMASCUS_STEEL_INGOT, - null, - SlimefunItems.DAMASCUS_STEEL_INGOT, - null - }, - 60, - multiToolItems) + itemGroups.technicalGadgets, + SlimefunItems.DAMASCUS_STEEL_MULTI_TOOL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.DAMASCUS_STEEL_INGOT, + null, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.DAMASCUS_STEEL_INGOT, + null, + SlimefunItems.DAMASCUS_STEEL_INGOT, + null + }, + 60, + multiToolItems) .register(plugin); new MultiTool( - itemGroups.technicalGadgets, - SlimefunItems.REINFORCED_ALLOY_MULTI_TOOL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.REINFORCED_ALLOY_INGOT, - null, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.MEDIUM_CAPACITOR, - SlimefunItems.REINFORCED_ALLOY_INGOT, - null, - SlimefunItems.REINFORCED_ALLOY_INGOT, - null - }, - 75, - multiToolItems) + itemGroups.technicalGadgets, + SlimefunItems.REINFORCED_ALLOY_MULTI_TOOL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.REINFORCED_ALLOY_INGOT, + null, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.MEDIUM_CAPACITOR, + SlimefunItems.REINFORCED_ALLOY_INGOT, + null, + SlimefunItems.REINFORCED_ALLOY_INGOT, + null + }, + 75, + multiToolItems) .register(plugin); new MultiTool( - itemGroups.technicalGadgets, - SlimefunItems.CARBONADO_MULTI_TOOL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CARBONADO, - null, - SlimefunItems.CARBONADO, - SlimefunItems.CARBONADO, - SlimefunItems.LARGE_CAPACITOR, - SlimefunItems.CARBONADO, - null, - SlimefunItems.CARBONADO, - null - }, - 100, - "PORTABLE_CRAFTER", - "MAGIC_EYE_OF_ENDER", - "STAFF_ELEMENTAL_WIND", - "GRAPPLING_HOOK", - "GOLD_PAN", - "NETHER_GOLD_PAN") + itemGroups.technicalGadgets, + SlimefunItems.CARBONADO_MULTI_TOOL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CARBONADO, + null, + SlimefunItems.CARBONADO, + SlimefunItems.CARBONADO, + SlimefunItems.LARGE_CAPACITOR, + SlimefunItems.CARBONADO, + null, + SlimefunItems.CARBONADO, + null + }, + 100, + "PORTABLE_CRAFTER", + "MAGIC_EYE_OF_ENDER", + "STAFF_ELEMENTAL_WIND", + "GRAPPLING_HOOK", + "GOLD_PAN", + "NETHER_GOLD_PAN") .register(plugin); new OreWasher(itemGroups.basicMachines, SlimefunItems.ORE_WASHER).register(plugin); - new GoldIngot(itemGroups.resources, 24, SlimefunItems.GOLD_24K, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_22K, null, null, null, null, null, null, null - }) + new GoldIngot(itemGroups.resources, 24, SlimefunItems.GOLD_24K, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_22K, null, null, null, null, null, null, null + }) .register(plugin); - new GoldIngot(itemGroups.resources, 22, SlimefunItems.GOLD_22K, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_20K, null, null, null, null, null, null, null - }) + new GoldIngot(itemGroups.resources, 22, SlimefunItems.GOLD_22K, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_20K, null, null, null, null, null, null, null + }) .register(plugin); - new GoldIngot(itemGroups.resources, 20, SlimefunItems.GOLD_20K, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_18K, null, null, null, null, null, null, null - }) + new GoldIngot(itemGroups.resources, 20, SlimefunItems.GOLD_20K, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_18K, null, null, null, null, null, null, null + }) .register(plugin); - new GoldIngot(itemGroups.resources, 18, SlimefunItems.GOLD_18K, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_16K, null, null, null, null, null, null, null - }) + new GoldIngot(itemGroups.resources, 18, SlimefunItems.GOLD_18K, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_16K, null, null, null, null, null, null, null + }) .register(plugin); - new GoldIngot(itemGroups.resources, 16, SlimefunItems.GOLD_16K, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_14K, null, null, null, null, null, null, null - }) + new GoldIngot(itemGroups.resources, 16, SlimefunItems.GOLD_16K, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_14K, null, null, null, null, null, null, null + }) .register(plugin); - new GoldIngot(itemGroups.resources, 14, SlimefunItems.GOLD_14K, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_12K, null, null, null, null, null, null, null - }) + new GoldIngot(itemGroups.resources, 14, SlimefunItems.GOLD_14K, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_12K, null, null, null, null, null, null, null + }) .register(plugin); - new GoldIngot(itemGroups.resources, 12, SlimefunItems.GOLD_12K, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_10K, null, null, null, null, null, null, null - }) + new GoldIngot(itemGroups.resources, 12, SlimefunItems.GOLD_12K, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_10K, null, null, null, null, null, null, null + }) .register(plugin); - new GoldIngot(itemGroups.resources, 10, SlimefunItems.GOLD_10K, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_8K, null, null, null, null, null, null, null - }) + new GoldIngot(itemGroups.resources, 10, SlimefunItems.GOLD_10K, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_8K, null, null, null, null, null, null, null + }) .register(plugin); - new GoldIngot(itemGroups.resources, 8, SlimefunItems.GOLD_8K, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_6K, null, null, null, null, null, null, null - }) + new GoldIngot(itemGroups.resources, 8, SlimefunItems.GOLD_8K, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_6K, null, null, null, null, null, null, null + }) .register(plugin); - new GoldIngot(itemGroups.resources, 6, SlimefunItems.GOLD_6K, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_4K, null, null, null, null, null, null, null - }) + new GoldIngot(itemGroups.resources, 6, SlimefunItems.GOLD_6K, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.GOLD_DUST, SlimefunItems.GOLD_4K, null, null, null, null, null, null, null + }) .register(plugin); - new GoldIngot(itemGroups.resources, 4, SlimefunItems.GOLD_4K, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.GOLD_DUST, null, null, null, null, null, null, null, null - }) + new GoldIngot(itemGroups.resources, 4, SlimefunItems.GOLD_4K, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.GOLD_DUST, null, null, null, null, null, null, null, null + }) .setUseableInWorkbench(true) .register(plugin); - new SlimefunItem(itemGroups.misc, SlimefunItems.STONE_CHUNK, RecipeType.ORE_WASHER, new ItemStack[] { - SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.misc, SlimefunItems.STONE_CHUNK, RecipeType.ORE_WASHER, new ItemStack[]{ + SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.SILICON, RecipeType.SMELTERY, new ItemStack[] { - new ItemStack(Material.QUARTZ_BLOCK), null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.SILICON, RecipeType.SMELTERY, new ItemStack[]{ + new ItemStack(Material.QUARTZ_BLOCK), null, null, null, null, null, null, null, null + }) .register(plugin); new UnplaceableBlock( - itemGroups.technicalComponents, - SlimefunItems.SOLAR_PANEL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.GLASS), - new ItemStack(Material.GLASS), - new ItemStack(Material.GLASS), - SlimefunItems.SILICON, - SlimefunItems.SILICON, - SlimefunItems.SILICON, - SlimefunItems.FERROSILICON, - SlimefunItems.FERROSILICON, - SlimefunItems.FERROSILICON - }) + itemGroups.technicalComponents, + SlimefunItems.SOLAR_PANEL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.GLASS), + new ItemStack(Material.GLASS), + new ItemStack(Material.GLASS), + SlimefunItems.SILICON, + SlimefunItems.SILICON, + SlimefunItems.SILICON, + SlimefunItems.FERROSILICON, + SlimefunItems.FERROSILICON, + SlimefunItems.FERROSILICON + }) .register(plugin); new SolarHelmet( - itemGroups.technicalGadgets, - SlimefunItems.SOLAR_HELMET, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.SOLAR_PANEL, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.REINFORCED_ALLOY_INGOT, - null, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.MEDIUM_CAPACITOR, - null, - SlimefunItems.MEDIUM_CAPACITOR - }, - 0.1) + itemGroups.technicalGadgets, + SlimefunItems.SOLAR_HELMET, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.SOLAR_PANEL, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.REINFORCED_ALLOY_INGOT, + null, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.MEDIUM_CAPACITOR, + null, + SlimefunItems.MEDIUM_CAPACITOR + }, + 0.1) .register(plugin); new UnplaceableBlock( - itemGroups.magicalResources, - SlimefunItems.LAVA_CRYSTAL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_1, - new ItemStack(Material.BLAZE_POWDER), - SlimefunItems.MAGIC_LUMP_1, - new ItemStack(Material.BLAZE_POWDER), - SlimefunItems.FIRE_RUNE, - new ItemStack(Material.BLAZE_POWDER), - SlimefunItems.MAGIC_LUMP_1, - new ItemStack(Material.BLAZE_POWDER), - SlimefunItems.MAGIC_LUMP_1 - }) - .register(plugin); - - new StormStaff(itemGroups.magicalGadgets, SlimefunItems.STAFF_STORM, RecipeType.ANCIENT_ALTAR, new ItemStack[] { - SlimefunItems.LIGHTNING_RUNE, - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.LIGHTNING_RUNE, - SlimefunItems.STAFF_WATER, - SlimefunItems.MAGIC_SUGAR, - SlimefunItems.STAFF_WIND, - SlimefunItems.LIGHTNING_RUNE, - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.LIGHTNING_RUNE + itemGroups.magicalResources, + SlimefunItems.LAVA_CRYSTAL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_1, + new ItemStack(Material.BLAZE_POWDER), + SlimefunItems.MAGIC_LUMP_1, + new ItemStack(Material.BLAZE_POWDER), + SlimefunItems.FIRE_RUNE, + new ItemStack(Material.BLAZE_POWDER), + SlimefunItems.MAGIC_LUMP_1, + new ItemStack(Material.BLAZE_POWDER), + SlimefunItems.MAGIC_LUMP_1 }) .register(plugin); + new StormStaff(itemGroups.magicalGadgets, SlimefunItems.STAFF_STORM, RecipeType.ANCIENT_ALTAR, new ItemStack[]{ + SlimefunItems.LIGHTNING_RUNE, + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.LIGHTNING_RUNE, + SlimefunItems.STAFF_WATER, + SlimefunItems.MAGIC_SUGAR, + SlimefunItems.STAFF_WIND, + SlimefunItems.LIGHTNING_RUNE, + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.LIGHTNING_RUNE + }) + .register(plugin); + ItemStack weaknessPotion = new ItemStack(Material.POTION); PotionMeta meta = (PotionMeta) weaknessPotion.getItemMeta(); meta.setBasePotionData(new PotionData(PotionType.WEAKNESS, false, false)); weaknessPotion.setItemMeta(meta); new MagicalZombiePills( - itemGroups.magicalGadgets, - SlimefunItems.MAGICAL_ZOMBIE_PILLS, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - new ItemStack(Material.GOLD_INGOT), - SlimefunItems.MAGIC_LUMP_2, - new ItemStack(Material.GOLD_INGOT), - new ItemStack(Material.APPLE), - weaknessPotion, - new ItemStack(Material.APPLE), - new ItemStack(Material.GOLD_INGOT), - SlimefunItems.MAGIC_LUMP_2, - new ItemStack(Material.GOLD_INGOT) - }, - new SlimefunItemStack(SlimefunItems.MAGICAL_ZOMBIE_PILLS, 2)) + itemGroups.magicalGadgets, + SlimefunItems.MAGICAL_ZOMBIE_PILLS, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + new ItemStack(Material.GOLD_INGOT), + SlimefunItems.MAGIC_LUMP_2, + new ItemStack(Material.GOLD_INGOT), + new ItemStack(Material.APPLE), + weaknessPotion, + new ItemStack(Material.APPLE), + new ItemStack(Material.GOLD_INGOT), + SlimefunItems.MAGIC_LUMP_2, + new ItemStack(Material.GOLD_INGOT) + }, + new SlimefunItemStack(SlimefunItems.MAGICAL_ZOMBIE_PILLS, 2)) .register(plugin); new SmeltersPickaxe( - itemGroups.tools, - SlimefunItems.SMELTERS_PICKAXE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.LAVA_CRYSTAL, - SlimefunItems.LAVA_CRYSTAL, - SlimefunItems.LAVA_CRYSTAL, - null, - SlimefunItems.FERROSILICON, - null, - null, - SlimefunItems.FERROSILICON, - null - }) + itemGroups.tools, + SlimefunItems.SMELTERS_PICKAXE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.LAVA_CRYSTAL, + SlimefunItems.LAVA_CRYSTAL, + SlimefunItems.LAVA_CRYSTAL, + null, + SlimefunItems.FERROSILICON, + null, + null, + SlimefunItems.FERROSILICON, + null + }) .register(plugin); new SlimefunItem( - itemGroups.magicalResources, - SlimefunItems.COMMON_TALISMAN, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_2, - SlimefunItems.GOLD_8K, - SlimefunItems.MAGIC_LUMP_2, - null, - new ItemStack(Material.EMERALD), - null, - SlimefunItems.MAGIC_LUMP_2, - SlimefunItems.GOLD_8K, - SlimefunItems.MAGIC_LUMP_2 - }) + itemGroups.magicalResources, + SlimefunItems.COMMON_TALISMAN, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_2, + SlimefunItems.GOLD_8K, + SlimefunItems.MAGIC_LUMP_2, + null, + new ItemStack(Material.EMERALD), + null, + SlimefunItems.MAGIC_LUMP_2, + SlimefunItems.GOLD_8K, + SlimefunItems.MAGIC_LUMP_2 + }) .register(plugin); new Talisman( - SlimefunItems.TALISMAN_ANVIL, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - new ItemStack(Material.ANVIL), - SlimefunItems.COMMON_TALISMAN, - new ItemStack(Material.ANVIL), - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }, - true, - false, - "anvil") + SlimefunItems.TALISMAN_ANVIL, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + new ItemStack(Material.ANVIL), + SlimefunItems.COMMON_TALISMAN, + new ItemStack(Material.ANVIL), + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }, + true, + false, + "anvil") .register(plugin); new Talisman( - SlimefunItems.TALISMAN_MINER, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.SYNTHETIC_SAPPHIRE, - SlimefunItems.COMMON_TALISMAN, - SlimefunItems.SIFTED_ORE, - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }, - false, - false, - "miner", - 20) + SlimefunItems.TALISMAN_MINER, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.SYNTHETIC_SAPPHIRE, + SlimefunItems.COMMON_TALISMAN, + SlimefunItems.SIFTED_ORE, + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }, + false, + false, + "miner", + 20) .register(plugin); new Talisman( - SlimefunItems.TALISMAN_FARMER, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - new ItemStack(Material.DIAMOND_HOE), - SlimefunItems.COMMON_TALISMAN, - new ItemStack(Material.DIAMOND_HOE), - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }, - false, - false, - "farmer", - 20) + SlimefunItems.TALISMAN_FARMER, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + new ItemStack(Material.DIAMOND_HOE), + SlimefunItems.COMMON_TALISMAN, + new ItemStack(Material.DIAMOND_HOE), + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }, + false, + false, + "farmer", + 20) .register(plugin); new Talisman( - SlimefunItems.TALISMAN_HUNTER, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.SYNTHETIC_SAPPHIRE, - SlimefunItems.COMMON_TALISMAN, - SlimefunItems.MONSTER_JERKY, - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }, - false, - false, - "hunter", - 20) + SlimefunItems.TALISMAN_HUNTER, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.SYNTHETIC_SAPPHIRE, + SlimefunItems.COMMON_TALISMAN, + SlimefunItems.MONSTER_JERKY, + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }, + false, + false, + "hunter", + 20) .register(plugin); new Talisman( - SlimefunItems.TALISMAN_LAVA, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.LAVA_CRYSTAL, - SlimefunItems.COMMON_TALISMAN, - new ItemStack(Material.LAVA_BUCKET), - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }, - true, - true, - "lava", - new PotionEffect(PotionEffectType.FIRE_RESISTANCE, 3600, 4)) + SlimefunItems.TALISMAN_LAVA, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.LAVA_CRYSTAL, + SlimefunItems.COMMON_TALISMAN, + new ItemStack(Material.LAVA_BUCKET), + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }, + true, + true, + "lava", + new PotionEffect(PotionEffectType.FIRE_RESISTANCE, 3600, 4)) .register(plugin); new Talisman( - SlimefunItems.TALISMAN_WATER, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - new ItemStack(Material.WATER_BUCKET), - SlimefunItems.COMMON_TALISMAN, - new ItemStack(Material.FISHING_ROD), - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }, - true, - true, - "water", - new PotionEffect(PotionEffectType.WATER_BREATHING, 3600, 4)) + SlimefunItems.TALISMAN_WATER, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + new ItemStack(Material.WATER_BUCKET), + SlimefunItems.COMMON_TALISMAN, + new ItemStack(Material.FISHING_ROD), + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }, + true, + true, + "water", + new PotionEffect(PotionEffectType.WATER_BREATHING, 3600, 4)) .register(plugin); new Talisman( - SlimefunItems.TALISMAN_ANGEL, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - new ItemStack(Material.FEATHER), - SlimefunItems.COMMON_TALISMAN, - new ItemStack(Material.FEATHER), - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }, - false, - true, - "angel", - 75) + SlimefunItems.TALISMAN_ANGEL, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + new ItemStack(Material.FEATHER), + SlimefunItems.COMMON_TALISMAN, + new ItemStack(Material.FEATHER), + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }, + false, + true, + "angel", + 75) .register(plugin); new Talisman( - SlimefunItems.TALISMAN_FIRE, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.LAVA_CRYSTAL, - SlimefunItems.COMMON_TALISMAN, - SlimefunItems.LAVA_CRYSTAL, - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }, - true, - true, - "fire", - new PotionEffect(PotionEffectType.FIRE_RESISTANCE, 3600, 4)) - .register(plugin); - - new MagicianTalisman(SlimefunItems.TALISMAN_MAGICIAN, new ItemStack[] { - SlimefunItems.ENDER_LUMP_3, - null, - SlimefunItems.ENDER_LUMP_3, - new ItemStack(Material.ENCHANTING_TABLE), - SlimefunItems.COMMON_TALISMAN, - new ItemStack(Material.ENCHANTING_TABLE), - SlimefunItems.ENDER_LUMP_3, - null, - SlimefunItems.ENDER_LUMP_3 - }) + SlimefunItems.TALISMAN_FIRE, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.LAVA_CRYSTAL, + SlimefunItems.COMMON_TALISMAN, + SlimefunItems.LAVA_CRYSTAL, + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }, + true, + true, + "fire", + new PotionEffect(PotionEffectType.FIRE_RESISTANCE, 3600, 4)) + .register(plugin); + + new MagicianTalisman(SlimefunItems.TALISMAN_MAGICIAN, new ItemStack[]{ + SlimefunItems.ENDER_LUMP_3, + null, + SlimefunItems.ENDER_LUMP_3, + new ItemStack(Material.ENCHANTING_TABLE), + SlimefunItems.COMMON_TALISMAN, + new ItemStack(Material.ENCHANTING_TABLE), + SlimefunItems.ENDER_LUMP_3, + null, + SlimefunItems.ENDER_LUMP_3 + }) .register(plugin); new Talisman( - SlimefunItems.TALISMAN_TRAVELLER, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.STAFF_WIND, - SlimefunItems.TALISMAN_ANGEL, - SlimefunItems.STAFF_WIND, - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }, - false, - false, - "traveller", - 60, - new PotionEffect(PotionEffectType.SPEED, 3600, 2)) + SlimefunItems.TALISMAN_TRAVELLER, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.STAFF_WIND, + SlimefunItems.TALISMAN_ANGEL, + SlimefunItems.STAFF_WIND, + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }, + false, + false, + "traveller", + 60, + new PotionEffect(PotionEffectType.SPEED, 3600, 2)) .register(plugin); new Talisman( - SlimefunItems.TALISMAN_WARRIOR, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.COMMON_TALISMAN, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }, - true, - true, - "warrior", - new PotionEffect(VersionedPotionEffectType.STRENGTH, 3600, 2)) + SlimefunItems.TALISMAN_WARRIOR, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.COMMON_TALISMAN, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }, + true, + true, + "warrior", + new PotionEffect(VersionedPotionEffectType.STRENGTH, 3600, 2)) .register(plugin); new Talisman( - SlimefunItems.TALISMAN_KNIGHT, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.GILDED_IRON, - SlimefunItems.TALISMAN_WARRIOR, - SlimefunItems.GILDED_IRON, - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }, - "knight", - 30, - new PotionEffect(PotionEffectType.REGENERATION, 100, 3)) + SlimefunItems.TALISMAN_KNIGHT, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.GILDED_IRON, + SlimefunItems.TALISMAN_WARRIOR, + SlimefunItems.GILDED_IRON, + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }, + "knight", + 30, + new PotionEffect(PotionEffectType.REGENERATION, 100, 3)) .register(plugin); new Talisman( - SlimefunItems.TALISMAN_CAVEMAN, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - new ItemStack(Material.GOLDEN_PICKAXE), - SlimefunItems.TALISMAN_MINER, - SlimefunItems.EARTH_RUNE, - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }, - false, - false, - "caveman", - 50, - new PotionEffect(VersionedPotionEffectType.HASTE, 800, 2)) + SlimefunItems.TALISMAN_CAVEMAN, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + new ItemStack(Material.GOLDEN_PICKAXE), + SlimefunItems.TALISMAN_MINER, + SlimefunItems.EARTH_RUNE, + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }, + false, + false, + "caveman", + 50, + new PotionEffect(VersionedPotionEffectType.HASTE, 800, 2)) .register(plugin); new Talisman( - SlimefunItems.TALISMAN_WISE, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.MAGICAL_GLASS, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, - SlimefunItems.TALISMAN_MAGICIAN, - SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.MAGICAL_GLASS, - SlimefunItems.MAGIC_LUMP_3 - }, - false, - false, - "wise", - 20) + SlimefunItems.TALISMAN_WISE, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.MAGICAL_GLASS, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, + SlimefunItems.TALISMAN_MAGICIAN, + SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.MAGICAL_GLASS, + SlimefunItems.MAGIC_LUMP_3 + }, + false, + false, + "wise", + 20) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.GILDED_IRON, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.GOLD_24K, SlimefunItems.IRON_DUST, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.GILDED_IRON, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.GOLD_24K, SlimefunItems.IRON_DUST, null, null, null, null, null, null, null + }) .register(plugin); new SyntheticEmerald( - itemGroups.resources, SlimefunItems.SYNTHETIC_EMERALD, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.SYNTHETIC_SAPPHIRE, - SlimefunItems.ALUMINUM_DUST, - SlimefunItems.ALUMINUM_INGOT, - new ItemStack(Material.GLASS_PANE), - null, - null, - null, - null, - null - }) + itemGroups.resources, SlimefunItems.SYNTHETIC_EMERALD, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.SYNTHETIC_SAPPHIRE, + SlimefunItems.ALUMINUM_DUST, + SlimefunItems.ALUMINUM_INGOT, + new ItemStack(Material.GLASS_PANE), + null, + null, + null, + null, + null + }) .register(plugin); registerArmorSet( itemGroups.armor, SlimefunItems.CHAIN, - new ItemStack[] { - new ItemStack(Material.CHAINMAIL_HELMET), - new ItemStack(Material.CHAINMAIL_CHESTPLATE), - new ItemStack(Material.CHAINMAIL_LEGGINGS), - new ItemStack(Material.CHAINMAIL_BOOTS) + new ItemStack[]{ + new ItemStack(Material.CHAINMAIL_HELMET), + new ItemStack(Material.CHAINMAIL_CHESTPLATE), + new ItemStack(Material.CHAINMAIL_LEGGINGS), + new ItemStack(Material.CHAINMAIL_BOOTS) }, "CHAIN", true, @@ -2332,89 +2334,89 @@ SlimefunItems.SALT, new ItemStack(Material.COOKED_COD), null, null, null, null, plugin); new Talisman( - SlimefunItems.TALISMAN_WHIRLWIND, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.STAFF_WIND, - SlimefunItems.TALISMAN_TRAVELLER, - SlimefunItems.STAFF_WIND, - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }, - false, - true, - "whirlwind", - 60) + SlimefunItems.TALISMAN_WHIRLWIND, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.STAFF_WIND, + SlimefunItems.TALISMAN_TRAVELLER, + SlimefunItems.STAFF_WIND, + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }, + false, + true, + "whirlwind", + 60) .register(plugin); new Talisman( - SlimefunItems.TALISMAN_WIZARD, - new ItemStack[] { - SlimefunItems.ENDER_LUMP_3, - null, - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.MAGIC_EYE_OF_ENDER, - SlimefunItems.TALISMAN_MAGICIAN, - SlimefunItems.MAGIC_EYE_OF_ENDER, - SlimefunItems.ENDER_LUMP_3, - null, - SlimefunItems.ENDER_LUMP_3 - }, - false, - false, - "wizard", - 60) - .register(plugin); - - new LumberAxe(itemGroups.tools, SlimefunItems.LUMBER_AXE, RecipeType.MAGIC_WORKBENCH, new ItemStack[] { - SlimefunItems.SYNTHETIC_DIAMOND, - SlimefunItems.SYNTHETIC_DIAMOND, - null, - SlimefunItems.SYNTHETIC_EMERALD, - SlimefunItems.GILDED_IRON, - null, - null, - SlimefunItems.GILDED_IRON, - null - }) - .register(plugin); - - new SlimefunItem(itemGroups.misc, SlimefunItems.SALT, RecipeType.ORE_WASHER, new ItemStack[] { - new ItemStack(Material.SAND, 2), null, null, null, null, null, null, null, null - }) + SlimefunItems.TALISMAN_WIZARD, + new ItemStack[]{ + SlimefunItems.ENDER_LUMP_3, + null, + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.MAGIC_EYE_OF_ENDER, + SlimefunItems.TALISMAN_MAGICIAN, + SlimefunItems.MAGIC_EYE_OF_ENDER, + SlimefunItems.ENDER_LUMP_3, + null, + SlimefunItems.ENDER_LUMP_3 + }, + false, + false, + "wizard", + 60) + .register(plugin); + + new LumberAxe(itemGroups.tools, SlimefunItems.LUMBER_AXE, RecipeType.MAGIC_WORKBENCH, new ItemStack[]{ + SlimefunItems.SYNTHETIC_DIAMOND, + SlimefunItems.SYNTHETIC_DIAMOND, + null, + SlimefunItems.SYNTHETIC_EMERALD, + SlimefunItems.GILDED_IRON, + null, + null, + SlimefunItems.GILDED_IRON, + null + }) + .register(plugin); + + new SlimefunItem(itemGroups.misc, SlimefunItems.SALT, RecipeType.ORE_WASHER, new ItemStack[]{ + new ItemStack(Material.SAND, 2), null, null, null, null, null, null, null, null + }) .register(plugin); new HeavyCream( - itemGroups.misc, - SlimefunItems.HEAVY_CREAM, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.MILK_BUCKET), null, null, null, null, null, null, null, null - }, - new SlimefunItemStack(SlimefunItems.HEAVY_CREAM, 2)) + itemGroups.misc, + SlimefunItems.HEAVY_CREAM, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.MILK_BUCKET), null, null, null, null, null, null, null, null + }, + new SlimefunItemStack(SlimefunItems.HEAVY_CREAM, 2)) .register(plugin); - new SlimefunItem(itemGroups.misc, SlimefunItems.CHEESE, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - new ItemStack(Material.MILK_BUCKET), SlimefunItems.SALT, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.misc, SlimefunItems.CHEESE, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + new ItemStack(Material.MILK_BUCKET), SlimefunItems.SALT, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.misc, SlimefunItems.BUTTER, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - SlimefunItems.HEAVY_CREAM, SlimefunItems.SALT, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.misc, SlimefunItems.BUTTER, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + SlimefunItems.HEAVY_CREAM, SlimefunItems.SALT, null, null, null, null, null, null, null + }) .register(plugin); registerArmorSet( itemGroups.armor, SlimefunItems.GILDED_IRON, - new ItemStack[] { - SlimefunItems.GILDED_IRON_HELMET, - SlimefunItems.GILDED_IRON_CHESTPLATE, - SlimefunItems.GILDED_IRON_LEGGINGS, - SlimefunItems.GILDED_IRON_BOOTS + new ItemStack[]{ + SlimefunItems.GILDED_IRON_HELMET, + SlimefunItems.GILDED_IRON_CHESTPLATE, + SlimefunItems.GILDED_IRON_LEGGINGS, + SlimefunItems.GILDED_IRON_BOOTS }, "GILDED_IRON", false, @@ -2422,176 +2424,176 @@ SlimefunItems.SALT, new ItemStack(Material.COOKED_COD), null, null, null, null, plugin); new SlimefunItem( - itemGroups.technicalComponents, - SlimefunItems.REINFORCED_CLOTH, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.CLOTH, - null, - SlimefunItems.CLOTH, - SlimefunItems.LEAD_INGOT, - SlimefunItems.CLOTH, - null, - SlimefunItems.CLOTH, - null - }, - new SlimefunItemStack(SlimefunItems.REINFORCED_CLOTH, 2)) + itemGroups.technicalComponents, + SlimefunItems.REINFORCED_CLOTH, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.CLOTH, + null, + SlimefunItems.CLOTH, + SlimefunItems.LEAD_INGOT, + SlimefunItems.CLOTH, + null, + SlimefunItems.CLOTH, + null + }, + new SlimefunItemStack(SlimefunItems.REINFORCED_CLOTH, 2)) .register(plugin); new HazmatArmorPiece( - itemGroups.armor, - SlimefunItems.SCUBA_HELMET, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - new ItemStack(Material.ORANGE_WOOL), - SlimefunItems.REINFORCED_CLOTH, - new ItemStack(Material.ORANGE_WOOL), - SlimefunItems.REINFORCED_CLOTH, - new ItemStack(Material.GLASS_PANE), - SlimefunItems.REINFORCED_CLOTH, - null, - null, - null - }, - new PotionEffect[] {new PotionEffect(PotionEffectType.WATER_BREATHING, 300, 1)}) + itemGroups.armor, + SlimefunItems.SCUBA_HELMET, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + new ItemStack(Material.ORANGE_WOOL), + SlimefunItems.REINFORCED_CLOTH, + new ItemStack(Material.ORANGE_WOOL), + SlimefunItems.REINFORCED_CLOTH, + new ItemStack(Material.GLASS_PANE), + SlimefunItems.REINFORCED_CLOTH, + null, + null, + null + }, + new PotionEffect[]{new PotionEffect(PotionEffectType.WATER_BREATHING, 300, 1)}) .register(plugin); new HazmatArmorPiece( - itemGroups.armor, - SlimefunItems.HAZMAT_CHESTPLATE, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - new ItemStack(Material.ORANGE_WOOL), - null, - new ItemStack(Material.ORANGE_WOOL), - SlimefunItems.REINFORCED_CLOTH, - SlimefunItems.REINFORCED_CLOTH, - SlimefunItems.REINFORCED_CLOTH, - new ItemStack(Material.BLACK_WOOL), - SlimefunItems.REINFORCED_CLOTH, - new ItemStack(Material.BLACK_WOOL) - }, - new PotionEffect[] {new PotionEffect(PotionEffectType.FIRE_RESISTANCE, 300, 1)}) + itemGroups.armor, + SlimefunItems.HAZMAT_CHESTPLATE, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + new ItemStack(Material.ORANGE_WOOL), + null, + new ItemStack(Material.ORANGE_WOOL), + SlimefunItems.REINFORCED_CLOTH, + SlimefunItems.REINFORCED_CLOTH, + SlimefunItems.REINFORCED_CLOTH, + new ItemStack(Material.BLACK_WOOL), + SlimefunItems.REINFORCED_CLOTH, + new ItemStack(Material.BLACK_WOOL) + }, + new PotionEffect[]{new PotionEffect(PotionEffectType.FIRE_RESISTANCE, 300, 1)}) .register(plugin); new HazmatArmorPiece( - itemGroups.armor, - SlimefunItems.HAZMAT_LEGGINGS, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - new ItemStack(Material.BLACK_WOOL), - SlimefunItems.REINFORCED_CLOTH, - new ItemStack(Material.BLACK_WOOL), - SlimefunItems.REINFORCED_CLOTH, - null, - SlimefunItems.REINFORCED_CLOTH, - SlimefunItems.REINFORCED_CLOTH, - null, - SlimefunItems.REINFORCED_CLOTH - }, - new PotionEffect[0]) + itemGroups.armor, + SlimefunItems.HAZMAT_LEGGINGS, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + new ItemStack(Material.BLACK_WOOL), + SlimefunItems.REINFORCED_CLOTH, + new ItemStack(Material.BLACK_WOOL), + SlimefunItems.REINFORCED_CLOTH, + null, + SlimefunItems.REINFORCED_CLOTH, + SlimefunItems.REINFORCED_CLOTH, + null, + SlimefunItems.REINFORCED_CLOTH + }, + QsConstants.EMPTY_POTION_EFFECTS) .register(plugin); new HazmatArmorPiece( - itemGroups.armor, - SlimefunItems.HAZMAT_BOOTS, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - SlimefunItems.REINFORCED_CLOTH, - null, - SlimefunItems.REINFORCED_CLOTH, - SlimefunItems.REINFORCED_CLOTH, - null, - SlimefunItems.REINFORCED_CLOTH, - new ItemStack(Material.BLACK_WOOL), - null, - new ItemStack(Material.BLACK_WOOL) - }, - new PotionEffect[0]) + itemGroups.armor, + SlimefunItems.HAZMAT_BOOTS, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + SlimefunItems.REINFORCED_CLOTH, + null, + SlimefunItems.REINFORCED_CLOTH, + SlimefunItems.REINFORCED_CLOTH, + null, + SlimefunItems.REINFORCED_CLOTH, + new ItemStack(Material.BLACK_WOOL), + null, + new ItemStack(Material.BLACK_WOOL) + }, + QsConstants.EMPTY_POTION_EFFECTS) .register(plugin); - new SlimefunItem(itemGroups.misc, SlimefunItems.CRUSHED_ORE, RecipeType.ORE_CRUSHER, new ItemStack[] { - SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.misc, SlimefunItems.CRUSHED_ORE, RecipeType.ORE_CRUSHER, new ItemStack[]{ + SlimefunItems.SIFTED_ORE, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.misc, SlimefunItems.PULVERIZED_ORE, RecipeType.ORE_CRUSHER, new ItemStack[] { - SlimefunItems.CRUSHED_ORE, null, null, null, null, null, null, null, null - }) + new SlimefunItem(itemGroups.misc, SlimefunItems.PULVERIZED_ORE, RecipeType.ORE_CRUSHER, new ItemStack[]{ + SlimefunItems.CRUSHED_ORE, null, null, null, null, null, null, null, null + }) + .register(plugin); + + new SlimefunItem(itemGroups.misc, SlimefunItems.PURE_ORE_CLUSTER, RecipeType.ORE_WASHER, new ItemStack[]{ + SlimefunItems.PULVERIZED_ORE, null, null, null, null, null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.misc, SlimefunItems.PURE_ORE_CLUSTER, RecipeType.ORE_WASHER, new ItemStack[] { - SlimefunItems.PULVERIZED_ORE, null, null, null, null, null, null, null, null + new RadioactiveItem( + itemGroups.misc, + Radioactivity.LOW, + SlimefunItems.TINY_URANIUM, + RecipeType.ORE_CRUSHER, + new ItemStack[]{SlimefunItems.PURE_ORE_CLUSTER, null, null, null, null, null, null, null, null }) .register(plugin); new RadioactiveItem( - itemGroups.misc, - Radioactivity.LOW, + itemGroups.misc, + Radioactivity.MODERATE, + SlimefunItems.SMALL_URANIUM, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ SlimefunItems.TINY_URANIUM, - RecipeType.ORE_CRUSHER, - new ItemStack[] {SlimefunItems.PURE_ORE_CLUSTER, null, null, null, null, null, null, null, null - }) + SlimefunItems.TINY_URANIUM, + SlimefunItems.TINY_URANIUM, + SlimefunItems.TINY_URANIUM, + SlimefunItems.TINY_URANIUM, + SlimefunItems.TINY_URANIUM, + SlimefunItems.TINY_URANIUM, + SlimefunItems.TINY_URANIUM, + SlimefunItems.TINY_URANIUM + }) .register(plugin); new RadioactiveItem( - itemGroups.misc, - Radioactivity.MODERATE, + itemGroups.resources, + Radioactivity.HIGH, + SlimefunItems.URANIUM, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.SMALL_URANIUM, + SlimefunItems.SMALL_URANIUM, + null, + SlimefunItems.SMALL_URANIUM, SlimefunItems.SMALL_URANIUM, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.TINY_URANIUM, - SlimefunItems.TINY_URANIUM, - SlimefunItems.TINY_URANIUM, - SlimefunItems.TINY_URANIUM, - SlimefunItems.TINY_URANIUM, - SlimefunItems.TINY_URANIUM, - SlimefunItems.TINY_URANIUM, - SlimefunItems.TINY_URANIUM, - SlimefunItems.TINY_URANIUM - }) + null, + null, + null, + null + }) .register(plugin); - new RadioactiveItem( - itemGroups.resources, - Radioactivity.HIGH, - SlimefunItems.URANIUM, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.SMALL_URANIUM, - SlimefunItems.SMALL_URANIUM, - null, - SlimefunItems.SMALL_URANIUM, - SlimefunItems.SMALL_URANIUM, - null, - null, - null, - null - }) - .register(plugin); - - new SlimefunItem(itemGroups.resources, SlimefunItems.REDSTONE_ALLOY, RecipeType.SMELTERY, new ItemStack[] { - new ItemStack(Material.REDSTONE), - new ItemStack(Material.REDSTONE_BLOCK), - SlimefunItems.FERROSILICON, - SlimefunItems.HARDENED_METAL_INGOT, - null, - null, - null, - null, - null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.REDSTONE_ALLOY, RecipeType.SMELTERY, new ItemStack[]{ + new ItemStack(Material.REDSTONE), + new ItemStack(Material.REDSTONE_BLOCK), + SlimefunItems.FERROSILICON, + SlimefunItems.HARDENED_METAL_INGOT, + null, + null, + null, + null, + null + }) .register(plugin); registerArmorSet( itemGroups.armor, SlimefunItems.GOLD_12K, - new ItemStack[] { - SlimefunItems.GOLDEN_HELMET_12K, - SlimefunItems.GOLDEN_CHESTPLATE_12K, - SlimefunItems.GOLDEN_LEGGINGS_12K, - SlimefunItems.GOLDEN_BOOTS_12K + new ItemStack[]{ + SlimefunItems.GOLDEN_HELMET_12K, + SlimefunItems.GOLDEN_CHESTPLATE_12K, + SlimefunItems.GOLDEN_LEGGINGS_12K, + SlimefunItems.GOLDEN_BOOTS_12K }, "GOLD_12K", false, @@ -2599,323 +2601,323 @@ SlimefunItems.SALT, new ItemStack(Material.COOKED_COD), null, null, null, null, plugin); new SlimefunItem( - itemGroups.misc, - SlimefunItems.CLOTH, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.WHITE_WOOL), null, null, null, null, null, null, null, null - }, - new SlimefunItemStack(SlimefunItems.CLOTH, 8)) + itemGroups.misc, + SlimefunItems.CLOTH, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.WHITE_WOOL), null, null, null, null, null, null, null, null + }, + new SlimefunItemStack(SlimefunItems.CLOTH, 8)) .register(plugin); new Bandage( - itemGroups.usefulItems, - SlimefunItems.RAG, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CLOTH, - SlimefunItems.CLOTH, - SlimefunItems.CLOTH, - new ItemStack(Material.STRING), - null, - new ItemStack(Material.STRING), - SlimefunItems.CLOTH, - SlimefunItems.CLOTH, - SlimefunItems.CLOTH - }, - new SlimefunItemStack(SlimefunItems.RAG, 2), - 0) + itemGroups.usefulItems, + SlimefunItems.RAG, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CLOTH, + SlimefunItems.CLOTH, + SlimefunItems.CLOTH, + new ItemStack(Material.STRING), + null, + new ItemStack(Material.STRING), + SlimefunItems.CLOTH, + SlimefunItems.CLOTH, + SlimefunItems.CLOTH + }, + new SlimefunItemStack(SlimefunItems.RAG, 2), + 0) .register(plugin); new Bandage( - itemGroups.usefulItems, - SlimefunItems.BANDAGE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.RAG, - new ItemStack(Material.STRING), - SlimefunItems.RAG, - null, - null, - null, - null, - null, - null - }, - new SlimefunItemStack(SlimefunItems.BANDAGE, 4), - 1) + itemGroups.usefulItems, + SlimefunItems.BANDAGE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.RAG, + new ItemStack(Material.STRING), + SlimefunItems.RAG, + null, + null, + null, + null, + null, + null + }, + new SlimefunItemStack(SlimefunItems.BANDAGE, 4), + 1) .register(plugin); new Splint( - itemGroups.usefulItems, - SlimefunItems.SPLINT, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.IRON_INGOT), - null, - new ItemStack(Material.STICK), - new ItemStack(Material.STICK), - new ItemStack(Material.STICK), - null, - new ItemStack(Material.IRON_INGOT), - null - }, - new SlimefunItemStack(SlimefunItems.SPLINT, 4)) + itemGroups.usefulItems, + SlimefunItems.SPLINT, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.IRON_INGOT), + null, + new ItemStack(Material.STICK), + new ItemStack(Material.STICK), + new ItemStack(Material.STICK), + null, + new ItemStack(Material.IRON_INGOT), + null + }, + new SlimefunItemStack(SlimefunItems.SPLINT, 4)) .register(plugin); new UnplaceableBlock( - itemGroups.misc, - SlimefunItems.TIN_CAN, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.TIN_INGOT, - SlimefunItems.TIN_INGOT, - SlimefunItems.TIN_INGOT, - SlimefunItems.TIN_INGOT, - null, - SlimefunItems.TIN_INGOT, - SlimefunItems.TIN_INGOT, - SlimefunItems.TIN_INGOT, - SlimefunItems.TIN_INGOT - }, - new SlimefunItemStack(SlimefunItems.TIN_CAN, 8)) + itemGroups.misc, + SlimefunItems.TIN_CAN, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.TIN_INGOT, + SlimefunItems.TIN_INGOT, + SlimefunItems.TIN_INGOT, + SlimefunItems.TIN_INGOT, + null, + SlimefunItems.TIN_INGOT, + SlimefunItems.TIN_INGOT, + SlimefunItems.TIN_INGOT, + SlimefunItems.TIN_INGOT + }, + new SlimefunItemStack(SlimefunItems.TIN_CAN, 8)) .register(plugin); new Vitamins( - itemGroups.usefulItems, - SlimefunItems.VITAMINS, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.TIN_CAN, - new ItemStack(Material.APPLE), - new ItemStack(Material.RED_MUSHROOM), - new ItemStack(Material.SUGAR), - null, - null, - null, - null, - null - }) + itemGroups.usefulItems, + SlimefunItems.VITAMINS, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.TIN_CAN, + new ItemStack(Material.APPLE), + new ItemStack(Material.RED_MUSHROOM), + new ItemStack(Material.SUGAR), + null, + null, + null, + null, + null + }) .register(plugin); new Medicine( - itemGroups.usefulItems, - SlimefunItems.MEDICINE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.VITAMINS, - new ItemStack(Material.GLASS_BOTTLE), - SlimefunItems.HEAVY_CREAM, - null, - null, - null, - null, - null, - null - }) + itemGroups.usefulItems, + SlimefunItems.MEDICINE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.VITAMINS, + new ItemStack(Material.GLASS_BOTTLE), + SlimefunItems.HEAVY_CREAM, + null, + null, + null, + null, + null, + null + }) .register(plugin); new SlimefunArmorPiece( - itemGroups.technicalGadgets, - SlimefunItems.NIGHT_VISION_GOGGLES, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - new ItemStack(Material.COAL_BLOCK), - new ItemStack(Material.COAL_BLOCK), - new ItemStack(Material.COAL_BLOCK), - new ItemStack(Material.LIME_STAINED_GLASS_PANE), - new ItemStack(Material.COAL_BLOCK), - new ItemStack(Material.LIME_STAINED_GLASS_PANE), - new ItemStack(Material.COAL_BLOCK), - null, - new ItemStack(Material.COAL_BLOCK) - }, - new PotionEffect[] {new PotionEffect(PotionEffectType.NIGHT_VISION, 600, 20)}) + itemGroups.technicalGadgets, + SlimefunItems.NIGHT_VISION_GOGGLES, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + new ItemStack(Material.COAL_BLOCK), + new ItemStack(Material.COAL_BLOCK), + new ItemStack(Material.COAL_BLOCK), + new ItemStack(Material.LIME_STAINED_GLASS_PANE), + new ItemStack(Material.COAL_BLOCK), + new ItemStack(Material.LIME_STAINED_GLASS_PANE), + new ItemStack(Material.COAL_BLOCK), + null, + new ItemStack(Material.COAL_BLOCK) + }, + new PotionEffect[]{new PotionEffect(PotionEffectType.NIGHT_VISION, 600, 20)}) .register(plugin); new PickaxeOfContainment( - itemGroups.tools, - SlimefunItems.PICKAXE_OF_CONTAINMENT, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - SlimefunItems.FERROSILICON, - SlimefunItems.FERROSILICON, - SlimefunItems.FERROSILICON, - null, - SlimefunItems.GILDED_IRON, - null, - null, - SlimefunItems.GILDED_IRON, - null - }) + itemGroups.tools, + SlimefunItems.PICKAXE_OF_CONTAINMENT, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + SlimefunItems.FERROSILICON, + SlimefunItems.FERROSILICON, + SlimefunItems.FERROSILICON, + null, + SlimefunItems.GILDED_IRON, + null, + null, + SlimefunItems.GILDED_IRON, + null + }) .register(plugin); new TableSaw(itemGroups.basicMachines, SlimefunItems.TABLE_SAW).register(plugin); new SlimefunArmorPiece( - itemGroups.magicalArmor, - SlimefunItems.SLIME_HELMET_STEEL, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - new ItemStack(Material.SLIME_BALL), - SlimefunItems.STEEL_PLATE, - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.SLIME_BALL), - null, - new ItemStack(Material.SLIME_BALL), - null, - null, - null - }, - null) + itemGroups.magicalArmor, + SlimefunItems.SLIME_HELMET_STEEL, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + new ItemStack(Material.SLIME_BALL), + SlimefunItems.STEEL_PLATE, + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.SLIME_BALL), + null, + new ItemStack(Material.SLIME_BALL), + null, + null, + null + }, + null) .register(plugin); new SlimefunArmorPiece( - itemGroups.magicalArmor, - SlimefunItems.SLIME_CHESTPLATE_STEEL, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - new ItemStack(Material.SLIME_BALL), - null, - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.SLIME_BALL), - SlimefunItems.STEEL_PLATE, - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.SLIME_BALL) - }, - null) + itemGroups.magicalArmor, + SlimefunItems.SLIME_CHESTPLATE_STEEL, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + new ItemStack(Material.SLIME_BALL), + null, + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.SLIME_BALL), + SlimefunItems.STEEL_PLATE, + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.SLIME_BALL) + }, + null) .register(plugin); new SlimefunArmorPiece( - itemGroups.magicalArmor, - SlimefunItems.SLIME_LEGGINGS_STEEL, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - new ItemStack(Material.SLIME_BALL), - SlimefunItems.STEEL_PLATE, - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.SLIME_BALL), - null, - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.SLIME_BALL), - null, - new ItemStack(Material.SLIME_BALL) - }, - new PotionEffect[] {new PotionEffect(PotionEffectType.SPEED, 300, 2)}) + itemGroups.magicalArmor, + SlimefunItems.SLIME_LEGGINGS_STEEL, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + new ItemStack(Material.SLIME_BALL), + SlimefunItems.STEEL_PLATE, + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.SLIME_BALL), + null, + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.SLIME_BALL), + null, + new ItemStack(Material.SLIME_BALL) + }, + new PotionEffect[]{new PotionEffect(PotionEffectType.SPEED, 300, 2)}) .register(plugin); new LongFallBoots( - itemGroups.magicalArmor, - SlimefunItems.SLIME_BOOTS_STEEL, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - null, - null, - null, - new ItemStack(Material.SLIME_BALL), - null, - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.SLIME_BALL), - SlimefunItems.STEEL_PLATE, - new ItemStack(Material.SLIME_BALL) - }, - new PotionEffect[] {new PotionEffect(VersionedPotionEffectType.JUMP_BOOST, 300, 5)}, - SoundEffect.SLIME_BOOTS_FALL_SOUND) + itemGroups.magicalArmor, + SlimefunItems.SLIME_BOOTS_STEEL, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + null, + null, + null, + new ItemStack(Material.SLIME_BALL), + null, + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.SLIME_BALL), + SlimefunItems.STEEL_PLATE, + new ItemStack(Material.SLIME_BALL) + }, + new PotionEffect[]{new PotionEffect(VersionedPotionEffectType.JUMP_BOOST, 300, 5)}, + SoundEffect.SLIME_BOOTS_FALL_SOUND) .register(plugin); new VampireBlade( - itemGroups.weapons, - SlimefunItems.BLADE_OF_VAMPIRES, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - null, - new ItemStack(Material.WITHER_SKELETON_SKULL), - null, - null, - new ItemStack(Material.WITHER_SKELETON_SKULL), - null, - null, - new ItemStack(Material.BLAZE_ROD), - null - }) + itemGroups.weapons, + SlimefunItems.BLADE_OF_VAMPIRES, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + null, + new ItemStack(Material.WITHER_SKELETON_SKULL), + null, + null, + new ItemStack(Material.WITHER_SKELETON_SKULL), + null, + null, + new ItemStack(Material.BLAZE_ROD), + null + }) .register(plugin); new SlimefunItem( - itemGroups.misc, - SlimefunItems.GOLD_24K_BLOCK, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.GOLD_24K, - SlimefunItems.GOLD_24K, - SlimefunItems.GOLD_24K, - SlimefunItems.GOLD_24K, - SlimefunItems.GOLD_24K, - SlimefunItems.GOLD_24K, - SlimefunItems.GOLD_24K, - SlimefunItems.GOLD_24K, - SlimefunItems.GOLD_24K - }) + itemGroups.misc, + SlimefunItems.GOLD_24K_BLOCK, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.GOLD_24K, + SlimefunItems.GOLD_24K, + SlimefunItems.GOLD_24K, + SlimefunItems.GOLD_24K, + SlimefunItems.GOLD_24K, + SlimefunItems.GOLD_24K, + SlimefunItems.GOLD_24K, + SlimefunItems.GOLD_24K, + SlimefunItems.GOLD_24K + }) .register(plugin); new Composter( - itemGroups.basicMachines, - SlimefunItems.COMPOSTER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.OAK_SLAB), - null, - new ItemStack(Material.OAK_SLAB), - new ItemStack(Material.OAK_SLAB), - null, - new ItemStack(Material.OAK_SLAB), - new ItemStack(Material.OAK_SLAB), - new ItemStack(Material.CAULDRON), - new ItemStack(Material.OAK_SLAB) - }) - .register(plugin); - - new FarmerShoes(itemGroups.magicalArmor, SlimefunItems.FARMER_SHOES, RecipeType.ARMOR_FORGE, new ItemStack[] { - null, - null, - null, - new ItemStack(Material.HAY_BLOCK), - null, - new ItemStack(Material.HAY_BLOCK), - new ItemStack(Material.HAY_BLOCK), - null, - new ItemStack(Material.HAY_BLOCK) + itemGroups.basicMachines, + SlimefunItems.COMPOSTER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.OAK_SLAB), + null, + new ItemStack(Material.OAK_SLAB), + new ItemStack(Material.OAK_SLAB), + null, + new ItemStack(Material.OAK_SLAB), + new ItemStack(Material.OAK_SLAB), + new ItemStack(Material.CAULDRON), + new ItemStack(Material.OAK_SLAB) }) .register(plugin); + new FarmerShoes(itemGroups.magicalArmor, SlimefunItems.FARMER_SHOES, RecipeType.ARMOR_FORGE, new ItemStack[]{ + null, + null, + null, + new ItemStack(Material.HAY_BLOCK), + null, + new ItemStack(Material.HAY_BLOCK), + new ItemStack(Material.HAY_BLOCK), + null, + new ItemStack(Material.HAY_BLOCK) + }) + .register(plugin); + new ExplosivePickaxe( - itemGroups.tools, SlimefunItems.EXPLOSIVE_PICKAXE, RecipeType.MAGIC_WORKBENCH, new ItemStack[] { - new ItemStack(Material.TNT), - SlimefunItems.SYNTHETIC_DIAMOND, - new ItemStack(Material.TNT), - null, - SlimefunItems.FERROSILICON, - null, - null, - SlimefunItems.FERROSILICON, - null - }) + itemGroups.tools, SlimefunItems.EXPLOSIVE_PICKAXE, RecipeType.MAGIC_WORKBENCH, new ItemStack[]{ + new ItemStack(Material.TNT), + SlimefunItems.SYNTHETIC_DIAMOND, + new ItemStack(Material.TNT), + null, + SlimefunItems.FERROSILICON, + null, + null, + SlimefunItems.FERROSILICON, + null + }) .register(plugin); new ExplosiveShovel( - itemGroups.tools, SlimefunItems.EXPLOSIVE_SHOVEL, RecipeType.MAGIC_WORKBENCH, new ItemStack[] { - null, - SlimefunItems.SYNTHETIC_DIAMOND, - null, - null, - new ItemStack(Material.TNT), - null, - null, - SlimefunItems.FERROSILICON, - null - }) + itemGroups.tools, SlimefunItems.EXPLOSIVE_SHOVEL, RecipeType.MAGIC_WORKBENCH, new ItemStack[]{ + null, + SlimefunItems.SYNTHETIC_DIAMOND, + null, + null, + new ItemStack(Material.TNT), + null, + null, + SlimefunItems.FERROSILICON, + null + }) .register(plugin); new AutomatedPanningMachine(itemGroups.basicMachines, SlimefunItems.AUTOMATED_PANNING_MACHINE).register(plugin); @@ -2925,1749 +2927,1749 @@ SlimefunItems.SALT, new ItemStack(Material.COOKED_COD), null, null, null, null, new AdvancedIndustrialMiner(itemGroups.basicMachines, SlimefunItems.ADVANCED_INDUSTRIAL_MINER).register(plugin); new StomperBoots( - itemGroups.magicalArmor, - SlimefunItems.BOOTS_OF_THE_STOMPER, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - null, - null, - null, - new ItemStack(Material.YELLOW_WOOL), - null, - new ItemStack(Material.YELLOW_WOOL), - new ItemStack(Material.PISTON), - null, - new ItemStack(Material.PISTON) - }) + itemGroups.magicalArmor, + SlimefunItems.BOOTS_OF_THE_STOMPER, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + null, + null, + null, + new ItemStack(Material.YELLOW_WOOL), + null, + new ItemStack(Material.YELLOW_WOOL), + new ItemStack(Material.PISTON), + null, + new ItemStack(Material.PISTON) + }) .register(plugin); new PickaxeOfTheSeeker( - itemGroups.tools, - SlimefunItems.PICKAXE_OF_THE_SEEKER, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - new ItemStack(Material.COMPASS), - SlimefunItems.SYNTHETIC_DIAMOND, - new ItemStack(Material.COMPASS), - null, - SlimefunItems.FERROSILICON, - null, - null, - SlimefunItems.FERROSILICON, - null - }) + itemGroups.tools, + SlimefunItems.PICKAXE_OF_THE_SEEKER, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + new ItemStack(Material.COMPASS), + SlimefunItems.SYNTHETIC_DIAMOND, + new ItemStack(Material.COMPASS), + null, + SlimefunItems.FERROSILICON, + null, + null, + SlimefunItems.FERROSILICON, + null + }) .register(plugin); new SlimefunBackpack( - 9, - itemGroups.usefulItems, - SlimefunItems.BACKPACK_SMALL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.LEATHER), - null, - new ItemStack(Material.LEATHER), - SlimefunItems.GOLD_6K, - new ItemStack(Material.CHEST), - SlimefunItems.GOLD_6K, - new ItemStack(Material.LEATHER), - new ItemStack(Material.LEATHER), - new ItemStack(Material.LEATHER) - }) + 9, + itemGroups.usefulItems, + SlimefunItems.BACKPACK_SMALL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.LEATHER), + null, + new ItemStack(Material.LEATHER), + SlimefunItems.GOLD_6K, + new ItemStack(Material.CHEST), + SlimefunItems.GOLD_6K, + new ItemStack(Material.LEATHER), + new ItemStack(Material.LEATHER), + new ItemStack(Material.LEATHER) + }) .register(plugin); new SlimefunBackpack( - 18, - itemGroups.usefulItems, - SlimefunItems.BACKPACK_MEDIUM, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.LEATHER), - null, - new ItemStack(Material.LEATHER), - SlimefunItems.GOLD_10K, - SlimefunItems.BACKPACK_SMALL, - SlimefunItems.GOLD_10K, - new ItemStack(Material.LEATHER), - new ItemStack(Material.LEATHER), - new ItemStack(Material.LEATHER) - }) + 18, + itemGroups.usefulItems, + SlimefunItems.BACKPACK_MEDIUM, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.LEATHER), + null, + new ItemStack(Material.LEATHER), + SlimefunItems.GOLD_10K, + SlimefunItems.BACKPACK_SMALL, + SlimefunItems.GOLD_10K, + new ItemStack(Material.LEATHER), + new ItemStack(Material.LEATHER), + new ItemStack(Material.LEATHER) + }) .register(plugin); new SlimefunBackpack( - 27, - itemGroups.usefulItems, - SlimefunItems.BACKPACK_LARGE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.LEATHER), - null, - new ItemStack(Material.LEATHER), - SlimefunItems.GOLD_14K, - SlimefunItems.BACKPACK_MEDIUM, - SlimefunItems.GOLD_14K, - new ItemStack(Material.LEATHER), - new ItemStack(Material.LEATHER), - new ItemStack(Material.LEATHER) - }) + 27, + itemGroups.usefulItems, + SlimefunItems.BACKPACK_LARGE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.LEATHER), + null, + new ItemStack(Material.LEATHER), + SlimefunItems.GOLD_14K, + SlimefunItems.BACKPACK_MEDIUM, + SlimefunItems.GOLD_14K, + new ItemStack(Material.LEATHER), + new ItemStack(Material.LEATHER), + new ItemStack(Material.LEATHER) + }) .register(plugin); new SlimefunBackpack( - 36, - itemGroups.usefulItems, - SlimefunItems.WOVEN_BACKPACK, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CLOTH, - null, - SlimefunItems.CLOTH, - SlimefunItems.GOLD_16K, - SlimefunItems.BACKPACK_LARGE, - SlimefunItems.GOLD_16K, - SlimefunItems.CLOTH, - SlimefunItems.CLOTH, - SlimefunItems.CLOTH - }) + 36, + itemGroups.usefulItems, + SlimefunItems.WOVEN_BACKPACK, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CLOTH, + null, + SlimefunItems.CLOTH, + SlimefunItems.GOLD_16K, + SlimefunItems.BACKPACK_LARGE, + SlimefunItems.GOLD_16K, + SlimefunItems.CLOTH, + SlimefunItems.CLOTH, + SlimefunItems.CLOTH + }) .register(plugin); new Crucible( - itemGroups.basicMachines, - SlimefunItems.CRUCIBLE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.TERRACOTTA), - null, - new ItemStack(Material.TERRACOTTA), - new ItemStack(Material.TERRACOTTA), - null, - new ItemStack(Material.TERRACOTTA), - new ItemStack(Material.TERRACOTTA), - new ItemStack(Material.FLINT_AND_STEEL), - new ItemStack(Material.TERRACOTTA) - }) + itemGroups.basicMachines, + SlimefunItems.CRUCIBLE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.TERRACOTTA), + null, + new ItemStack(Material.TERRACOTTA), + new ItemStack(Material.TERRACOTTA), + null, + new ItemStack(Material.TERRACOTTA), + new ItemStack(Material.TERRACOTTA), + new ItemStack(Material.FLINT_AND_STEEL), + new ItemStack(Material.TERRACOTTA) + }) .register(plugin); new SlimefunBackpack( - 45, - itemGroups.usefulItems, - SlimefunItems.GILDED_BACKPACK, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.GOLD_22K, - null, - SlimefunItems.GOLD_22K, - new ItemStack(Material.LEATHER), - SlimefunItems.WOVEN_BACKPACK, - new ItemStack(Material.LEATHER), - SlimefunItems.GOLD_22K, - null, - SlimefunItems.GOLD_22K - }) + 45, + itemGroups.usefulItems, + SlimefunItems.GILDED_BACKPACK, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.GOLD_22K, + null, + SlimefunItems.GOLD_22K, + new ItemStack(Material.LEATHER), + SlimefunItems.WOVEN_BACKPACK, + new ItemStack(Material.LEATHER), + SlimefunItems.GOLD_22K, + null, + SlimefunItems.GOLD_22K + }) .register(plugin); new SlimefunBackpack( - 54, - itemGroups.usefulItems, - SlimefunItems.RADIANT_BACKPACK, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.GOLD_24K, - null, - SlimefunItems.GOLD_24K, - new ItemStack(Material.LEATHER), - SlimefunItems.GILDED_BACKPACK, - new ItemStack(Material.LEATHER), - SlimefunItems.GOLD_24K, - null, - SlimefunItems.GOLD_24K - }) + 54, + itemGroups.usefulItems, + SlimefunItems.RADIANT_BACKPACK, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.GOLD_24K, + null, + SlimefunItems.GOLD_24K, + new ItemStack(Material.LEATHER), + SlimefunItems.GILDED_BACKPACK, + new ItemStack(Material.LEATHER), + SlimefunItems.GOLD_24K, + null, + SlimefunItems.GOLD_24K + }) .register(plugin); new RestoredBackpack(itemGroups.usefulItems).register(plugin); new UnplaceableBlock( - itemGroups.technicalComponents, SlimefunItems.MAGNET, RecipeType.SMELTERY, new ItemStack[] { - SlimefunItems.NICKEL_INGOT, - SlimefunItems.ALUMINUM_DUST, - SlimefunItems.IRON_DUST, - SlimefunItems.COBALT_INGOT, - null, - null, - null, - null, - null - }) + itemGroups.technicalComponents, SlimefunItems.MAGNET, RecipeType.SMELTERY, new ItemStack[]{ + SlimefunItems.NICKEL_INGOT, + SlimefunItems.ALUMINUM_DUST, + SlimefunItems.IRON_DUST, + SlimefunItems.COBALT_INGOT, + null, + null, + null, + null, + null + }) .register(plugin); new InfusedMagnet( - itemGroups.magicalGadgets, - SlimefunItems.INFUSED_MAGNET, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.ENDER_LUMP_2, - SlimefunItems.MAGNET, - SlimefunItems.ENDER_LUMP_2, - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }) + itemGroups.magicalGadgets, + SlimefunItems.INFUSED_MAGNET, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.ENDER_LUMP_2, + SlimefunItems.MAGNET, + SlimefunItems.ENDER_LUMP_2, + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }) .register(plugin); new SlimefunItem( - itemGroups.tools, - SlimefunItems.COBALT_PICKAXE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.COBALT_INGOT, - SlimefunItems.COBALT_INGOT, - SlimefunItems.COBALT_INGOT, - null, - SlimefunItems.NICKEL_INGOT, - null, - null, - SlimefunItems.NICKEL_INGOT, - null - }) + itemGroups.tools, + SlimefunItems.COBALT_PICKAXE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.COBALT_INGOT, + SlimefunItems.COBALT_INGOT, + SlimefunItems.COBALT_INGOT, + null, + SlimefunItems.NICKEL_INGOT, + null, + null, + SlimefunItems.NICKEL_INGOT, + null + }) .register(plugin); new UnplaceableBlock( - itemGroups.magicalResources, - SlimefunItems.NECROTIC_SKULL, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3, - null, - new ItemStack(Material.WITHER_SKELETON_SKULL), - null, - SlimefunItems.MAGIC_LUMP_3, - null, - SlimefunItems.MAGIC_LUMP_3 - }) + itemGroups.magicalResources, + SlimefunItems.NECROTIC_SKULL, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3, + null, + new ItemStack(Material.WITHER_SKELETON_SKULL), + null, + SlimefunItems.MAGIC_LUMP_3, + null, + SlimefunItems.MAGIC_LUMP_3 + }) .register(plugin); new SlimefunItem( - itemGroups.magicalResources, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.AIR_RUNE, - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.EARTH_RUNE, - SlimefunItems.NECROTIC_SKULL, - SlimefunItems.FIRE_RUNE, - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.WATER_RUNE, - SlimefunItems.ENDER_LUMP_3 - }) + itemGroups.magicalResources, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.AIR_RUNE, + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.EARTH_RUNE, + SlimefunItems.NECROTIC_SKULL, + SlimefunItems.FIRE_RUNE, + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.WATER_RUNE, + SlimefunItems.ENDER_LUMP_3 + }) .register(plugin); new SlimefunItem( - itemGroups.magicalResources, - SlimefunItems.SYNTHETIC_SHULKER_SHELL, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.ENDER_RUNE, - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.REINFORCED_PLATE, - new ItemStack(Material.TURTLE_HELMET), - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.ENDER_RUNE, - SlimefunItems.ENDER_LUMP_3 - }) + itemGroups.magicalResources, + SlimefunItems.SYNTHETIC_SHULKER_SHELL, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.ENDER_RUNE, + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.REINFORCED_PLATE, + new ItemStack(Material.TURTLE_HELMET), + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.ENDER_RUNE, + SlimefunItems.ENDER_LUMP_3 + }) .setUseableInWorkbench(true) .register(plugin); new SoulboundBackpack( - 36, - itemGroups.magicalGadgets, - SlimefunItems.BOUND_BACKPACK, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - SlimefunItems.ENDER_LUMP_2, - null, - SlimefunItems.ENDER_LUMP_2, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - SlimefunItems.WOVEN_BACKPACK, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - SlimefunItems.ENDER_LUMP_2, - null, - SlimefunItems.ENDER_LUMP_2 - }) + 36, + itemGroups.magicalGadgets, + SlimefunItems.BOUND_BACKPACK, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + SlimefunItems.ENDER_LUMP_2, + null, + SlimefunItems.ENDER_LUMP_2, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + SlimefunItems.WOVEN_BACKPACK, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + SlimefunItems.ENDER_LUMP_2, + null, + SlimefunItems.ENDER_LUMP_2 + }) .register(plugin); new JetBoots( - itemGroups.technicalGadgets, - SlimefunItems.DURALUMIN_JETBOOTS, - new ItemStack[] { - null, - null, - null, - SlimefunItems.DURALUMIN_INGOT, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.DURALUMIN_INGOT, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.35, - 20) + itemGroups.technicalGadgets, + SlimefunItems.DURALUMIN_JETBOOTS, + new ItemStack[]{ + null, + null, + null, + SlimefunItems.DURALUMIN_INGOT, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.DURALUMIN_INGOT, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.35, + 20) .register(plugin); new JetBoots( - itemGroups.technicalGadgets, - SlimefunItems.SOLDER_JETBOOTS, - new ItemStack[] { - null, - null, - null, - SlimefunItems.SOLDER_INGOT, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.SOLDER_INGOT, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.4, - 30) + itemGroups.technicalGadgets, + SlimefunItems.SOLDER_JETBOOTS, + new ItemStack[]{ + null, + null, + null, + SlimefunItems.SOLDER_INGOT, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.SOLDER_INGOT, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.4, + 30) .register(plugin); new JetBoots( - itemGroups.technicalGadgets, - SlimefunItems.BILLON_JETBOOTS, - new ItemStack[] { - null, - null, - null, - SlimefunItems.BILLON_INGOT, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.BILLON_INGOT, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.45, - 40) + itemGroups.technicalGadgets, + SlimefunItems.BILLON_JETBOOTS, + new ItemStack[]{ + null, + null, + null, + SlimefunItems.BILLON_INGOT, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.BILLON_INGOT, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.45, + 40) .register(plugin); new JetBoots( - itemGroups.technicalGadgets, - SlimefunItems.STEEL_JETBOOTS, - new ItemStack[] { - null, - null, - null, - SlimefunItems.STEEL_INGOT, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.STEEL_INGOT, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.5, - 50) + itemGroups.technicalGadgets, + SlimefunItems.STEEL_JETBOOTS, + new ItemStack[]{ + null, + null, + null, + SlimefunItems.STEEL_INGOT, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.STEEL_INGOT, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.5, + 50) .register(plugin); new JetBoots( - itemGroups.technicalGadgets, - SlimefunItems.DAMASCUS_STEEL_JETBOOTS, - new ItemStack[] { - null, - null, - null, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.55, - 75) + itemGroups.technicalGadgets, + SlimefunItems.DAMASCUS_STEEL_JETBOOTS, + new ItemStack[]{ + null, + null, + null, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.55, + 75) .register(plugin); new JetBoots( - itemGroups.technicalGadgets, - SlimefunItems.REINFORCED_ALLOY_JETBOOTS, - new ItemStack[] { - null, - null, - null, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.MEDIUM_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.6, - 100) + itemGroups.technicalGadgets, + SlimefunItems.REINFORCED_ALLOY_JETBOOTS, + new ItemStack[]{ + null, + null, + null, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.MEDIUM_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.6, + 100) .register(plugin); new JetBoots( - itemGroups.technicalGadgets, - SlimefunItems.CARBONADO_JETBOOTS, - new ItemStack[] { - null, - null, - null, - SlimefunItems.CARBONADO, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.CARBONADO, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.LARGE_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.7, - 125) + itemGroups.technicalGadgets, + SlimefunItems.CARBONADO_JETBOOTS, + new ItemStack[]{ + null, + null, + null, + SlimefunItems.CARBONADO, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.CARBONADO, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.LARGE_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.7, + 125) .register(plugin); new JetBoots( - itemGroups.technicalGadgets, - SlimefunItems.ARMORED_JETBOOTS, - new ItemStack[] { - null, - null, - null, - SlimefunItems.STEEL_PLATE, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.STEEL_PLATE, - SlimefunItems.STEEL_THRUSTER, - SlimefunItems.MEDIUM_CAPACITOR, - SlimefunItems.STEEL_THRUSTER - }, - 0.45, - 50) - .register(plugin); - - new SeismicAxe(itemGroups.weapons, SlimefunItems.SEISMIC_AXE, RecipeType.MAGIC_WORKBENCH, new ItemStack[] { - SlimefunItems.HARDENED_METAL_INGOT, - SlimefunItems.HARDENED_METAL_INGOT, - null, - SlimefunItems.HARDENED_METAL_INGOT, - SlimefunItems.STAFF_ELEMENTAL, - null, - null, - SlimefunItems.STAFF_ELEMENTAL, - null - }) + itemGroups.technicalGadgets, + SlimefunItems.ARMORED_JETBOOTS, + new ItemStack[]{ + null, + null, + null, + SlimefunItems.STEEL_PLATE, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.STEEL_PLATE, + SlimefunItems.STEEL_THRUSTER, + SlimefunItems.MEDIUM_CAPACITOR, + SlimefunItems.STEEL_THRUSTER + }, + 0.45, + 50) + .register(plugin); + + new SeismicAxe(itemGroups.weapons, SlimefunItems.SEISMIC_AXE, RecipeType.MAGIC_WORKBENCH, new ItemStack[]{ + SlimefunItems.HARDENED_METAL_INGOT, + SlimefunItems.HARDENED_METAL_INGOT, + null, + SlimefunItems.HARDENED_METAL_INGOT, + SlimefunItems.STAFF_ELEMENTAL, + null, + null, + SlimefunItems.STAFF_ELEMENTAL, + null + }) .register(plugin); new PickaxeOfVeinMining( - itemGroups.tools, - SlimefunItems.PICKAXE_OF_VEIN_MINING, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - new ItemStack(Material.EMERALD_ORE), - SlimefunItems.SYNTHETIC_DIAMOND, - new ItemStack(Material.EMERALD_ORE), - null, - SlimefunItems.GILDED_IRON, - null, - null, - SlimefunItems.GILDED_IRON, - null - }) + itemGroups.tools, + SlimefunItems.PICKAXE_OF_VEIN_MINING, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + new ItemStack(Material.EMERALD_ORE), + SlimefunItems.SYNTHETIC_DIAMOND, + new ItemStack(Material.EMERALD_ORE), + null, + SlimefunItems.GILDED_IRON, + null, + null, + SlimefunItems.GILDED_IRON, + null + }) .register(plugin); new ClimbingPick( - itemGroups.tools, - SlimefunItems.CLIMBING_PICK, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.STEEL_INGOT, - SlimefunItems.HARDENED_METAL_INGOT, - SlimefunItems.STEEL_INGOT, - null, - new ItemStack(Material.STICK), - null, - null, - new ItemStack(Material.STICK), - null - }) + itemGroups.tools, + SlimefunItems.CLIMBING_PICK, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.STEEL_INGOT, + SlimefunItems.HARDENED_METAL_INGOT, + SlimefunItems.STEEL_INGOT, + null, + new ItemStack(Material.STICK), + null, + null, + new ItemStack(Material.STICK), + null + }) .register(plugin); new SoulboundItem( - itemGroups.weapons, SlimefunItems.SOULBOUND_SWORD, RecipeType.MAGIC_WORKBENCH, new ItemStack[] { - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null, - null, - new ItemStack(Material.DIAMOND_SWORD), - null, - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null - }) + itemGroups.weapons, SlimefunItems.SOULBOUND_SWORD, RecipeType.MAGIC_WORKBENCH, new ItemStack[]{ + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null, + null, + new ItemStack(Material.DIAMOND_SWORD), + null, + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null + }) .register(plugin); new SoulboundItem( - itemGroups.weapons, - SlimefunItems.SOULBOUND_TRIDENT, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null, - null, - new ItemStack(Material.TRIDENT), - null, - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null - }) - .register(plugin); - - new SoulboundItem(itemGroups.weapons, SlimefunItems.SOULBOUND_BOW, RecipeType.MAGIC_WORKBENCH, new ItemStack[] { - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null, - null, - new ItemStack(Material.BOW), - null, - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null + itemGroups.weapons, + SlimefunItems.SOULBOUND_TRIDENT, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null, + null, + new ItemStack(Material.TRIDENT), + null, + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null }) .register(plugin); + new SoulboundItem(itemGroups.weapons, SlimefunItems.SOULBOUND_BOW, RecipeType.MAGIC_WORKBENCH, new ItemStack[]{ + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null, + null, + new ItemStack(Material.BOW), + null, + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null + }) + .register(plugin); + new SoulboundItem( - itemGroups.tools, SlimefunItems.SOULBOUND_PICKAXE, RecipeType.MAGIC_WORKBENCH, new ItemStack[] { - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null, - null, - new ItemStack(Material.DIAMOND_PICKAXE), - null, - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null - }) - .register(plugin); - - new SoulboundItem(itemGroups.tools, SlimefunItems.SOULBOUND_AXE, RecipeType.MAGIC_WORKBENCH, new ItemStack[] { - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null, - null, - new ItemStack(Material.DIAMOND_AXE), - null, - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null - }) + itemGroups.tools, SlimefunItems.SOULBOUND_PICKAXE, RecipeType.MAGIC_WORKBENCH, new ItemStack[]{ + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null, + null, + new ItemStack(Material.DIAMOND_PICKAXE), + null, + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null + }) + .register(plugin); + + new SoulboundItem(itemGroups.tools, SlimefunItems.SOULBOUND_AXE, RecipeType.MAGIC_WORKBENCH, new ItemStack[]{ + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null, + null, + new ItemStack(Material.DIAMOND_AXE), + null, + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null + }) .register(plugin); new SoulboundItem( - itemGroups.tools, SlimefunItems.SOULBOUND_SHOVEL, RecipeType.MAGIC_WORKBENCH, new ItemStack[] { - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null, - null, - new ItemStack(Material.DIAMOND_SHOVEL), - null, - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null - }) - .register(plugin); - - new SoulboundItem(itemGroups.tools, SlimefunItems.SOULBOUND_HOE, RecipeType.MAGIC_WORKBENCH, new ItemStack[] { - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null, - null, - new ItemStack(Material.DIAMOND_HOE), - null, - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null - }) + itemGroups.tools, SlimefunItems.SOULBOUND_SHOVEL, RecipeType.MAGIC_WORKBENCH, new ItemStack[]{ + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null, + null, + new ItemStack(Material.DIAMOND_SHOVEL), + null, + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null + }) + .register(plugin); + + new SoulboundItem(itemGroups.tools, SlimefunItems.SOULBOUND_HOE, RecipeType.MAGIC_WORKBENCH, new ItemStack[]{ + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null, + null, + new ItemStack(Material.DIAMOND_HOE), + null, + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null + }) .register(plugin); new SoulboundItem( - itemGroups.magicalArmor, - SlimefunItems.SOULBOUND_HELMET, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null, - null, - new ItemStack(Material.DIAMOND_HELMET), - null, - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null - }) + itemGroups.magicalArmor, + SlimefunItems.SOULBOUND_HELMET, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null, + null, + new ItemStack(Material.DIAMOND_HELMET), + null, + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null + }) .register(plugin); new SoulboundItem( - itemGroups.magicalArmor, - SlimefunItems.SOULBOUND_CHESTPLATE, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null, - null, - new ItemStack(Material.DIAMOND_CHESTPLATE), - null, - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null - }) + itemGroups.magicalArmor, + SlimefunItems.SOULBOUND_CHESTPLATE, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null, + null, + new ItemStack(Material.DIAMOND_CHESTPLATE), + null, + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null + }) .register(plugin); new SoulboundItem( - itemGroups.magicalArmor, - SlimefunItems.SOULBOUND_LEGGINGS, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null, - null, - new ItemStack(Material.DIAMOND_LEGGINGS), - null, - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null - }) + itemGroups.magicalArmor, + SlimefunItems.SOULBOUND_LEGGINGS, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null, + null, + new ItemStack(Material.DIAMOND_LEGGINGS), + null, + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null + }) .register(plugin); new SoulboundItem( - itemGroups.magicalArmor, - SlimefunItems.SOULBOUND_BOOTS, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null, - null, - new ItemStack(Material.DIAMOND_BOOTS), - null, - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null - }) + itemGroups.magicalArmor, + SlimefunItems.SOULBOUND_BOOTS, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null, + null, + new ItemStack(Material.DIAMOND_BOOTS), + null, + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null + }) .register(plugin); new Juicer(itemGroups.basicMachines, SlimefunItems.JUICER).register(plugin); - new Juice(itemGroups.food, SlimefunItems.APPLE_JUICE, RecipeType.JUICER, new ItemStack[] { - new ItemStack(Material.APPLE), null, null, null, null, null, null, null, null - }) + new Juice(itemGroups.food, SlimefunItems.APPLE_JUICE, RecipeType.JUICER, new ItemStack[]{ + new ItemStack(Material.APPLE), null, null, null, null, null, null, null, null + }) .register(plugin); - new Juice(itemGroups.food, SlimefunItems.CARROT_JUICE, RecipeType.JUICER, new ItemStack[] { - new ItemStack(Material.CARROT), null, null, null, null, null, null, null, null - }) + new Juice(itemGroups.food, SlimefunItems.CARROT_JUICE, RecipeType.JUICER, new ItemStack[]{ + new ItemStack(Material.CARROT), null, null, null, null, null, null, null, null + }) .register(plugin); - new Juice(itemGroups.food, SlimefunItems.MELON_JUICE, RecipeType.JUICER, new ItemStack[] { - new ItemStack(Material.MELON_SLICE), null, null, null, null, null, null, null, null - }) + new Juice(itemGroups.food, SlimefunItems.MELON_JUICE, RecipeType.JUICER, new ItemStack[]{ + new ItemStack(Material.MELON_SLICE), null, null, null, null, null, null, null, null + }) .register(plugin); - new Juice(itemGroups.food, SlimefunItems.PUMPKIN_JUICE, RecipeType.JUICER, new ItemStack[] { - new ItemStack(Material.PUMPKIN), null, null, null, null, null, null, null, null - }) + new Juice(itemGroups.food, SlimefunItems.PUMPKIN_JUICE, RecipeType.JUICER, new ItemStack[]{ + new ItemStack(Material.PUMPKIN), null, null, null, null, null, null, null, null + }) .register(plugin); - new Juice(itemGroups.food, SlimefunItems.SWEET_BERRY_JUICE, RecipeType.JUICER, new ItemStack[] { - new ItemStack(Material.SWEET_BERRIES), null, null, null, null, null, null, null, null - }) + new Juice(itemGroups.food, SlimefunItems.SWEET_BERRY_JUICE, RecipeType.JUICER, new ItemStack[]{ + new ItemStack(Material.SWEET_BERRIES), null, null, null, null, null, null, null, null + }) .register(plugin); - new Juice(itemGroups.food, SlimefunItems.GOLDEN_APPLE_JUICE, RecipeType.JUICER, new ItemStack[] { - new ItemStack(Material.GOLDEN_APPLE), null, null, null, null, null, null, null, null - }) + new Juice(itemGroups.food, SlimefunItems.GOLDEN_APPLE_JUICE, RecipeType.JUICER, new ItemStack[]{ + new ItemStack(Material.GOLDEN_APPLE), null, null, null, null, null, null, null, null + }) .register(plugin); new VanillaItem( - itemGroups.food, - new ItemStack(Material.ENCHANTED_GOLDEN_APPLE), - "ENCHANTED_GOLDEN_APPLE", - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.GOLD_24K_BLOCK, - SlimefunItems.GOLD_24K_BLOCK, - SlimefunItems.GOLD_24K_BLOCK, - SlimefunItems.GOLD_24K_BLOCK, - new ItemStack(Material.APPLE), - SlimefunItems.GOLD_24K_BLOCK, - SlimefunItems.GOLD_24K_BLOCK, - SlimefunItems.GOLD_24K_BLOCK, - SlimefunItems.GOLD_24K_BLOCK - }) + itemGroups.food, + new ItemStack(Material.ENCHANTED_GOLDEN_APPLE), + "ENCHANTED_GOLDEN_APPLE", + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.GOLD_24K_BLOCK, + SlimefunItems.GOLD_24K_BLOCK, + SlimefunItems.GOLD_24K_BLOCK, + SlimefunItems.GOLD_24K_BLOCK, + new ItemStack(Material.APPLE), + SlimefunItems.GOLD_24K_BLOCK, + SlimefunItems.GOLD_24K_BLOCK, + SlimefunItems.GOLD_24K_BLOCK, + SlimefunItems.GOLD_24K_BLOCK + }) .register(plugin); new BrokenSpawner( - itemGroups.magicalResources, - SlimefunItems.BROKEN_SPAWNER, - new RecipeType( - new NamespacedKey(plugin, "pickaxe_of_containment"), - SlimefunItems.PICKAXE_OF_CONTAINMENT), - new ItemStack[] {null, null, null, null, new ItemStack(Material.SPAWNER), null, null, null, null - }) + itemGroups.magicalResources, + SlimefunItems.BROKEN_SPAWNER, + new RecipeType( + new NamespacedKey(plugin, "pickaxe_of_containment"), + SlimefunItems.PICKAXE_OF_CONTAINMENT), + new ItemStack[]{null, null, null, null, new ItemStack(Material.SPAWNER), null, null, null, null + }) .register(plugin); new RepairedSpawner( - itemGroups.magicalGadgets, - SlimefunItems.REPAIRED_SPAWNER, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - SlimefunItems.ENDER_RUNE, - SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, - SlimefunItems.BROKEN_SPAWNER, - SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, - SlimefunItems.ENDER_RUNE - }) - .register(plugin); - - new EnhancedFurnace(itemGroups.basicMachines, 1, 1, 1, SlimefunItems.ENHANCED_FURNACE, new ItemStack[] { - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.BASIC_CIRCUIT_BOARD, - new ItemStack(Material.FURNACE), - SlimefunItems.HEATING_COIL, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) - .register(plugin); - - new EnhancedFurnace(itemGroups.basicMachines, 2, 1, 1, SlimefunItems.ENHANCED_FURNACE_2, new ItemStack[] { - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.BASIC_CIRCUIT_BOARD, - SlimefunItems.ENHANCED_FURNACE, - SlimefunItems.HEATING_COIL, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) - .register(plugin); - - new EnhancedFurnace(itemGroups.basicMachines, 2, 2, 1, SlimefunItems.ENHANCED_FURNACE_3, new ItemStack[] { - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.BASIC_CIRCUIT_BOARD, - SlimefunItems.ENHANCED_FURNACE_2, - SlimefunItems.HEATING_COIL, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) - .register(plugin); - - new EnhancedFurnace(itemGroups.basicMachines, 3, 2, 1, SlimefunItems.ENHANCED_FURNACE_4, new ItemStack[] { - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.BASIC_CIRCUIT_BOARD, - SlimefunItems.ENHANCED_FURNACE_3, - SlimefunItems.HEATING_COIL, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) - .register(plugin); - - new EnhancedFurnace(itemGroups.basicMachines, 3, 2, 2, SlimefunItems.ENHANCED_FURNACE_5, new ItemStack[] { - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.BASIC_CIRCUIT_BOARD, - SlimefunItems.ENHANCED_FURNACE_4, - SlimefunItems.HEATING_COIL, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) - .register(plugin); - - new EnhancedFurnace(itemGroups.basicMachines, 3, 3, 2, SlimefunItems.ENHANCED_FURNACE_6, new ItemStack[] { - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.BASIC_CIRCUIT_BOARD, - SlimefunItems.ENHANCED_FURNACE_5, - SlimefunItems.HEATING_COIL, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) - .register(plugin); - - new EnhancedFurnace(itemGroups.basicMachines, 4, 3, 2, SlimefunItems.ENHANCED_FURNACE_7, new ItemStack[] { - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.BASIC_CIRCUIT_BOARD, - SlimefunItems.ENHANCED_FURNACE_6, - SlimefunItems.HEATING_COIL, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) - .register(plugin); - - new EnhancedFurnace(itemGroups.basicMachines, 4, 4, 2, SlimefunItems.ENHANCED_FURNACE_8, new ItemStack[] { - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.BASIC_CIRCUIT_BOARD, - SlimefunItems.ENHANCED_FURNACE_7, - SlimefunItems.HEATING_COIL, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) - .register(plugin); - - new EnhancedFurnace(itemGroups.basicMachines, 5, 4, 2, SlimefunItems.ENHANCED_FURNACE_9, new ItemStack[] { - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.BASIC_CIRCUIT_BOARD, - SlimefunItems.ENHANCED_FURNACE_8, - SlimefunItems.HEATING_COIL, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) - .register(plugin); - - new EnhancedFurnace(itemGroups.basicMachines, 5, 5, 2, SlimefunItems.ENHANCED_FURNACE_10, new ItemStack[] { - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.BASIC_CIRCUIT_BOARD, - SlimefunItems.ENHANCED_FURNACE_9, - SlimefunItems.HEATING_COIL, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) - .register(plugin); - - new EnhancedFurnace(itemGroups.basicMachines, 5, 5, 3, SlimefunItems.ENHANCED_FURNACE_11, new ItemStack[] { - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.BASIC_CIRCUIT_BOARD, - SlimefunItems.ENHANCED_FURNACE_10, - SlimefunItems.HEATING_COIL, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) - .register(plugin); - - new EnhancedFurnace(itemGroups.basicMachines, 10, 10, 3, SlimefunItems.REINFORCED_FURNACE, new ItemStack[] { - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.BASIC_CIRCUIT_BOARD, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.HEATING_COIL, - SlimefunItems.ENHANCED_FURNACE_11, - SlimefunItems.HEATING_COIL, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.REINFORCED_ALLOY_INGOT + itemGroups.magicalGadgets, + SlimefunItems.REPAIRED_SPAWNER, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + SlimefunItems.ENDER_RUNE, + SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, + SlimefunItems.BROKEN_SPAWNER, + SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, + SlimefunItems.ENDER_RUNE }) .register(plugin); + new EnhancedFurnace(itemGroups.basicMachines, 1, 1, 1, SlimefunItems.ENHANCED_FURNACE, new ItemStack[]{ + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.BASIC_CIRCUIT_BOARD, + new ItemStack(Material.FURNACE), + SlimefunItems.HEATING_COIL, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) + .register(plugin); + + new EnhancedFurnace(itemGroups.basicMachines, 2, 1, 1, SlimefunItems.ENHANCED_FURNACE_2, new ItemStack[]{ + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.BASIC_CIRCUIT_BOARD, + SlimefunItems.ENHANCED_FURNACE, + SlimefunItems.HEATING_COIL, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) + .register(plugin); + + new EnhancedFurnace(itemGroups.basicMachines, 2, 2, 1, SlimefunItems.ENHANCED_FURNACE_3, new ItemStack[]{ + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.BASIC_CIRCUIT_BOARD, + SlimefunItems.ENHANCED_FURNACE_2, + SlimefunItems.HEATING_COIL, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) + .register(plugin); + + new EnhancedFurnace(itemGroups.basicMachines, 3, 2, 1, SlimefunItems.ENHANCED_FURNACE_4, new ItemStack[]{ + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.BASIC_CIRCUIT_BOARD, + SlimefunItems.ENHANCED_FURNACE_3, + SlimefunItems.HEATING_COIL, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) + .register(plugin); + + new EnhancedFurnace(itemGroups.basicMachines, 3, 2, 2, SlimefunItems.ENHANCED_FURNACE_5, new ItemStack[]{ + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.BASIC_CIRCUIT_BOARD, + SlimefunItems.ENHANCED_FURNACE_4, + SlimefunItems.HEATING_COIL, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) + .register(plugin); + + new EnhancedFurnace(itemGroups.basicMachines, 3, 3, 2, SlimefunItems.ENHANCED_FURNACE_6, new ItemStack[]{ + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.BASIC_CIRCUIT_BOARD, + SlimefunItems.ENHANCED_FURNACE_5, + SlimefunItems.HEATING_COIL, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) + .register(plugin); + + new EnhancedFurnace(itemGroups.basicMachines, 4, 3, 2, SlimefunItems.ENHANCED_FURNACE_7, new ItemStack[]{ + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.BASIC_CIRCUIT_BOARD, + SlimefunItems.ENHANCED_FURNACE_6, + SlimefunItems.HEATING_COIL, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) + .register(plugin); + + new EnhancedFurnace(itemGroups.basicMachines, 4, 4, 2, SlimefunItems.ENHANCED_FURNACE_8, new ItemStack[]{ + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.BASIC_CIRCUIT_BOARD, + SlimefunItems.ENHANCED_FURNACE_7, + SlimefunItems.HEATING_COIL, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) + .register(plugin); + + new EnhancedFurnace(itemGroups.basicMachines, 5, 4, 2, SlimefunItems.ENHANCED_FURNACE_9, new ItemStack[]{ + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.BASIC_CIRCUIT_BOARD, + SlimefunItems.ENHANCED_FURNACE_8, + SlimefunItems.HEATING_COIL, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) + .register(plugin); + + new EnhancedFurnace(itemGroups.basicMachines, 5, 5, 2, SlimefunItems.ENHANCED_FURNACE_10, new ItemStack[]{ + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.BASIC_CIRCUIT_BOARD, + SlimefunItems.ENHANCED_FURNACE_9, + SlimefunItems.HEATING_COIL, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) + .register(plugin); + + new EnhancedFurnace(itemGroups.basicMachines, 5, 5, 3, SlimefunItems.ENHANCED_FURNACE_11, new ItemStack[]{ + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.BASIC_CIRCUIT_BOARD, + SlimefunItems.ENHANCED_FURNACE_10, + SlimefunItems.HEATING_COIL, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) + .register(plugin); + + new EnhancedFurnace(itemGroups.basicMachines, 10, 10, 3, SlimefunItems.REINFORCED_FURNACE, new ItemStack[]{ + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.BASIC_CIRCUIT_BOARD, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.HEATING_COIL, + SlimefunItems.ENHANCED_FURNACE_11, + SlimefunItems.HEATING_COIL, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.REINFORCED_ALLOY_INGOT + }) + .register(plugin); + new EnhancedFurnace( - itemGroups.basicMachines, 20, 10, 3, SlimefunItems.CARBONADO_EDGED_FURNACE, new ItemStack[] { - SlimefunItems.CARBONADO, - SlimefunItems.BASIC_CIRCUIT_BOARD, - SlimefunItems.CARBONADO, - SlimefunItems.HEATING_COIL, - SlimefunItems.REINFORCED_FURNACE, - SlimefunItems.HEATING_COIL, - SlimefunItems.CARBONADO, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.CARBONADO - }) + itemGroups.basicMachines, 20, 10, 3, SlimefunItems.CARBONADO_EDGED_FURNACE, new ItemStack[]{ + SlimefunItems.CARBONADO, + SlimefunItems.BASIC_CIRCUIT_BOARD, + SlimefunItems.CARBONADO, + SlimefunItems.HEATING_COIL, + SlimefunItems.REINFORCED_FURNACE, + SlimefunItems.HEATING_COIL, + SlimefunItems.CARBONADO, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.CARBONADO + }) .register(plugin); new UnplaceableBlock( - itemGroups.technicalComponents, - SlimefunItems.ELECTRO_MAGNET, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.NICKEL_INGOT, - SlimefunItems.MAGNET, - SlimefunItems.COBALT_INGOT, - null, - SlimefunItems.BATTERY, - null, - null, - null, - null - }) + itemGroups.technicalComponents, + SlimefunItems.ELECTRO_MAGNET, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.NICKEL_INGOT, + SlimefunItems.MAGNET, + SlimefunItems.COBALT_INGOT, + null, + SlimefunItems.BATTERY, + null, + null, + null, + null + }) .register(plugin); new UnplaceableBlock( - itemGroups.technicalComponents, - SlimefunItems.ELECTRIC_MOTOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.COPPER_WIRE, - SlimefunItems.COPPER_WIRE, - SlimefunItems.COPPER_WIRE, - null, - SlimefunItems.ELECTRO_MAGNET, - null, - SlimefunItems.COPPER_WIRE, - SlimefunItems.COPPER_WIRE, - SlimefunItems.COPPER_WIRE - }) + itemGroups.technicalComponents, + SlimefunItems.ELECTRIC_MOTOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.COPPER_WIRE, + SlimefunItems.COPPER_WIRE, + SlimefunItems.COPPER_WIRE, + null, + SlimefunItems.ELECTRO_MAGNET, + null, + SlimefunItems.COPPER_WIRE, + SlimefunItems.COPPER_WIRE, + SlimefunItems.COPPER_WIRE + }) .register(plugin); new UnplaceableBlock( - itemGroups.technicalComponents, - SlimefunItems.HEATING_COIL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.COPPER_WIRE, - SlimefunItems.COPPER_WIRE, - SlimefunItems.COPPER_WIRE, - SlimefunItems.COPPER_WIRE, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.COPPER_WIRE, - SlimefunItems.COPPER_WIRE, - SlimefunItems.COPPER_WIRE, - SlimefunItems.COPPER_WIRE - }) + itemGroups.technicalComponents, + SlimefunItems.HEATING_COIL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.COPPER_WIRE, + SlimefunItems.COPPER_WIRE, + SlimefunItems.COPPER_WIRE, + SlimefunItems.COPPER_WIRE, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.COPPER_WIRE, + SlimefunItems.COPPER_WIRE, + SlimefunItems.COPPER_WIRE, + SlimefunItems.COPPER_WIRE + }) .register(plugin); new UnplaceableBlock( - itemGroups.technicalComponents, - SlimefunItems.COPPER_WIRE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - null, - null, - SlimefunItems.COPPER_INGOT, - SlimefunItems.COPPER_INGOT, - SlimefunItems.COPPER_INGOT, - null, - null, - null - }, - new SlimefunItemStack(SlimefunItems.COPPER_WIRE, 8)) + itemGroups.technicalComponents, + SlimefunItems.COPPER_WIRE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + null, + null, + SlimefunItems.COPPER_INGOT, + SlimefunItems.COPPER_INGOT, + SlimefunItems.COPPER_INGOT, + null, + null, + null + }, + new SlimefunItemStack(SlimefunItems.COPPER_WIRE, 8)) .register(plugin); new BlockPlacer( - itemGroups.basicMachines, - SlimefunItems.BLOCK_PLACER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.GOLD_4K, - new ItemStack(Material.PISTON), - SlimefunItems.GOLD_4K, - new ItemStack(Material.IRON_INGOT), - SlimefunItems.ELECTRIC_MOTOR, - new ItemStack(Material.IRON_INGOT), - SlimefunItems.GOLD_4K, - new ItemStack(Material.PISTON), - SlimefunItems.GOLD_4K - }) + itemGroups.basicMachines, + SlimefunItems.BLOCK_PLACER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.GOLD_4K, + new ItemStack(Material.PISTON), + SlimefunItems.GOLD_4K, + new ItemStack(Material.IRON_INGOT), + SlimefunItems.ELECTRIC_MOTOR, + new ItemStack(Material.IRON_INGOT), + SlimefunItems.GOLD_4K, + new ItemStack(Material.PISTON), + SlimefunItems.GOLD_4K + }) .register(plugin); new TelepositionScroll( - itemGroups.magicalGadgets, - SlimefunItems.SCROLL_OF_DIMENSIONAL_TELEPOSITION, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - null, - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.MAGIC_EYE_OF_ENDER, - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.MAGICAL_BOOK_COVER, - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.MAGIC_EYE_OF_ENDER, - SlimefunItems.ENDER_LUMP_3, - null - }) - .register(plugin); - - new ExplosiveBow(itemGroups.weapons, SlimefunItems.EXPLOSIVE_BOW, new ItemStack[] { - null, - new ItemStack(Material.STICK), - new ItemStack(Material.GUNPOWDER), - SlimefunItems.STAFF_FIRE, - null, - SlimefunItems.SULFATE, - null, - new ItemStack(Material.STICK), - new ItemStack(Material.GUNPOWDER) - }) - .register(plugin); - - new IcyBow(itemGroups.weapons, SlimefunItems.ICY_BOW, new ItemStack[] { - null, - new ItemStack(Material.STICK), - new ItemStack(Material.ICE), - SlimefunItems.STAFF_WATER, - null, - new ItemStack(Material.PACKED_ICE), - null, - new ItemStack(Material.STICK), - new ItemStack(Material.ICE) + itemGroups.magicalGadgets, + SlimefunItems.SCROLL_OF_DIMENSIONAL_TELEPOSITION, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + null, + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.MAGIC_EYE_OF_ENDER, + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.MAGICAL_BOOK_COVER, + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.MAGIC_EYE_OF_ENDER, + SlimefunItems.ENDER_LUMP_3, + null }) .register(plugin); + new ExplosiveBow(itemGroups.weapons, SlimefunItems.EXPLOSIVE_BOW, new ItemStack[]{ + null, + new ItemStack(Material.STICK), + new ItemStack(Material.GUNPOWDER), + SlimefunItems.STAFF_FIRE, + null, + SlimefunItems.SULFATE, + null, + new ItemStack(Material.STICK), + new ItemStack(Material.GUNPOWDER) + }) + .register(plugin); + + new IcyBow(itemGroups.weapons, SlimefunItems.ICY_BOW, new ItemStack[]{ + null, + new ItemStack(Material.STICK), + new ItemStack(Material.ICE), + SlimefunItems.STAFF_WATER, + null, + new ItemStack(Material.PACKED_ICE), + null, + new ItemStack(Material.STICK), + new ItemStack(Material.ICE) + }) + .register(plugin); + new KnowledgeTome( - itemGroups.magicalGadgets, - SlimefunItems.TOME_OF_KNOWLEDGE_SHARING, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - null, - new ItemStack(Material.FEATHER), - null, - new ItemStack(Material.INK_SAC), - SlimefunItems.MAGICAL_BOOK_COVER, - new ItemStack(Material.GLASS_BOTTLE), - null, - new ItemStack(Material.WRITABLE_BOOK), - null - }) + itemGroups.magicalGadgets, + SlimefunItems.TOME_OF_KNOWLEDGE_SHARING, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + null, + new ItemStack(Material.FEATHER), + null, + new ItemStack(Material.INK_SAC), + SlimefunItems.MAGICAL_BOOK_COVER, + new ItemStack(Material.GLASS_BOTTLE), + null, + new ItemStack(Material.WRITABLE_BOOK), + null + }) .register(plugin); new KnowledgeFlask( - itemGroups.magicalGadgets, - SlimefunItems.FLASK_OF_KNOWLEDGE, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - null, - null, - null, - SlimefunItems.MAGIC_LUMP_2, - new ItemStack(Material.GLASS_PANE), - SlimefunItems.MAGIC_LUMP_2, - null, - SlimefunItems.MAGIC_LUMP_2, - null - }, - new SlimefunItemStack(SlimefunItems.FLASK_OF_KNOWLEDGE, 8)) + itemGroups.magicalGadgets, + SlimefunItems.FLASK_OF_KNOWLEDGE, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + null, + null, + null, + SlimefunItems.MAGIC_LUMP_2, + new ItemStack(Material.GLASS_PANE), + SlimefunItems.MAGIC_LUMP_2, + null, + SlimefunItems.MAGIC_LUMP_2, + null + }, + new SlimefunItemStack(SlimefunItems.FLASK_OF_KNOWLEDGE, 8)) .register(plugin); new HiddenItem( - itemGroups.magicalGadgets, - SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, - RecipeType.INTERACT, - new ItemStack[] { - SlimefunItems.FLASK_OF_KNOWLEDGE, null, null, null, null, null, null, null, null - }) + itemGroups.magicalGadgets, + SlimefunItems.FILLED_FLASK_OF_KNOWLEDGE, + RecipeType.INTERACT, + new ItemStack[]{ + SlimefunItems.FLASK_OF_KNOWLEDGE, null, null, null, null, null, null, null, null + }) .register(plugin); new BirthdayCake( - itemGroups.birthday, - new SlimefunItemStack("BIRTHDAY_CAKE", Material.CAKE, "&b生日蛋糕"), - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.TORCH), - null, - new ItemStack(Material.SUGAR), - new ItemStack(Material.CAKE), - new ItemStack(Material.SUGAR), - null, - null, - null - }) + itemGroups.birthday, + new SlimefunItemStack("BIRTHDAY_CAKE", Material.CAKE, "&b生日蛋糕"), + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.TORCH), + null, + new ItemStack(Material.SUGAR), + new ItemStack(Material.CAKE), + new ItemStack(Material.SUGAR), + null, + null, + null + }) .register(plugin); new Juice( - itemGroups.christmas, - SlimefunItems.CHRISTMAS_MILK, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.MILK_BUCKET), - new ItemStack(Material.GLASS_BOTTLE), - null, - null, - null, - null, - null, - null, - null - }, - new SlimefunItemStack(SlimefunItems.CHRISTMAS_MILK, 4)) + itemGroups.christmas, + SlimefunItems.CHRISTMAS_MILK, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.MILK_BUCKET), + new ItemStack(Material.GLASS_BOTTLE), + null, + null, + null, + null, + null, + null, + null + }, + new SlimefunItemStack(SlimefunItems.CHRISTMAS_MILK, 4)) .register(plugin); new Juice( - itemGroups.christmas, - SlimefunItems.CHRISTMAS_CHOCOLATE_MILK, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CHRISTMAS_MILK, - new ItemStack(Material.COCOA_BEANS), - null, - null, - null, - null, - null, - null, - null - }, - new SlimefunItemStack(SlimefunItems.CHRISTMAS_CHOCOLATE_MILK, 2)) + itemGroups.christmas, + SlimefunItems.CHRISTMAS_CHOCOLATE_MILK, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CHRISTMAS_MILK, + new ItemStack(Material.COCOA_BEANS), + null, + null, + null, + null, + null, + null, + null + }, + new SlimefunItemStack(SlimefunItems.CHRISTMAS_CHOCOLATE_MILK, 2)) .register(plugin); new Juice( - itemGroups.christmas, - SlimefunItems.CHRISTMAS_EGG_NOG, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CHRISTMAS_MILK, - new ItemStack(Material.EGG), - null, - null, - null, - null, - null, - null, - null - }, - new SlimefunItemStack(SlimefunItems.CHRISTMAS_EGG_NOG, 2)) + itemGroups.christmas, + SlimefunItems.CHRISTMAS_EGG_NOG, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CHRISTMAS_MILK, + new ItemStack(Material.EGG), + null, + null, + null, + null, + null, + null, + null + }, + new SlimefunItemStack(SlimefunItems.CHRISTMAS_EGG_NOG, 2)) .register(plugin); new Juice( - itemGroups.christmas, - SlimefunItems.CHRISTMAS_APPLE_CIDER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.APPLE_JUICE, - new ItemStack(Material.SUGAR), - null, - null, - null, - null, - null, - null, - null - }, - new SlimefunItemStack(SlimefunItems.CHRISTMAS_APPLE_CIDER, 2)) + itemGroups.christmas, + SlimefunItems.CHRISTMAS_APPLE_CIDER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.APPLE_JUICE, + new ItemStack(Material.SUGAR), + null, + null, + null, + null, + null, + null, + null + }, + new SlimefunItemStack(SlimefunItems.CHRISTMAS_APPLE_CIDER, 2)) .register(plugin); new SlimefunItem( - itemGroups.christmas, - SlimefunItems.CHRISTMAS_COOKIE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.COOKIE), - new ItemStack(Material.SUGAR), - new ItemStack(Material.LIME_DYE), - null, - null, - null, - null, - null, - null - }, - new SlimefunItemStack(SlimefunItems.CHRISTMAS_COOKIE, 16)) + itemGroups.christmas, + SlimefunItems.CHRISTMAS_COOKIE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.COOKIE), + new ItemStack(Material.SUGAR), + new ItemStack(Material.LIME_DYE), + null, + null, + null, + null, + null, + null + }, + new SlimefunItemStack(SlimefunItems.CHRISTMAS_COOKIE, 16)) .register(plugin); new SlimefunItem( - itemGroups.christmas, - SlimefunItems.CHRISTMAS_FRUIT_CAKE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.EGG), - new ItemStack(Material.APPLE), - new ItemStack(Material.MELON), - new ItemStack(Material.SUGAR), - null, - null, - null, - null, - null - }, - new SlimefunItemStack(SlimefunItems.CHRISTMAS_FRUIT_CAKE, 4)) + itemGroups.christmas, + SlimefunItems.CHRISTMAS_FRUIT_CAKE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.EGG), + new ItemStack(Material.APPLE), + new ItemStack(Material.MELON), + new ItemStack(Material.SUGAR), + null, + null, + null, + null, + null + }, + new SlimefunItemStack(SlimefunItems.CHRISTMAS_FRUIT_CAKE, 4)) .register(plugin); new SlimefunItem( - itemGroups.christmas, - SlimefunItems.CHRISTMAS_APPLE_PIE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.SUGAR), - new ItemStack(Material.APPLE), - new ItemStack(Material.EGG), - null, - null, - null, - null, - null, - null - }, - new SlimefunItemStack(SlimefunItems.CHRISTMAS_APPLE_PIE, 2)) + itemGroups.christmas, + SlimefunItems.CHRISTMAS_APPLE_PIE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.SUGAR), + new ItemStack(Material.APPLE), + new ItemStack(Material.EGG), + null, + null, + null, + null, + null, + null + }, + new SlimefunItemStack(SlimefunItems.CHRISTMAS_APPLE_PIE, 2)) .register(plugin); new Juice( - itemGroups.christmas, - SlimefunItems.CHRISTMAS_HOT_CHOCOLATE, - RecipeType.SMELTERY, - new ItemStack[] { - SlimefunItems.CHRISTMAS_CHOCOLATE_MILK, null, null, null, null, null, null, null, null - }, - SlimefunItems.CHRISTMAS_HOT_CHOCOLATE) + itemGroups.christmas, + SlimefunItems.CHRISTMAS_HOT_CHOCOLATE, + RecipeType.SMELTERY, + new ItemStack[]{ + SlimefunItems.CHRISTMAS_CHOCOLATE_MILK, null, null, null, null, null, null, null, null + }, + SlimefunItems.CHRISTMAS_HOT_CHOCOLATE) .register(plugin); new SlimefunItem( - itemGroups.christmas, - SlimefunItems.CHRISTMAS_CAKE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.EGG), - new ItemStack(Material.SUGAR), - SlimefunItems.WHEAT_FLOUR, - new ItemStack(Material.MILK_BUCKET), - null, - null, - null, - null, - null - }, - new SlimefunItemStack(SlimefunItems.CHRISTMAS_CAKE, 4)) + itemGroups.christmas, + SlimefunItems.CHRISTMAS_CAKE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.EGG), + new ItemStack(Material.SUGAR), + SlimefunItems.WHEAT_FLOUR, + new ItemStack(Material.MILK_BUCKET), + null, + null, + null, + null, + null + }, + new SlimefunItemStack(SlimefunItems.CHRISTMAS_CAKE, 4)) .register(plugin); new SlimefunItem( - itemGroups.christmas, - SlimefunItems.CHRISTMAS_CARAMEL, - RecipeType.SMELTERY, - new ItemStack[] { - new ItemStack(Material.SUGAR), - new ItemStack(Material.SUGAR), - null, - null, - null, - null, - null, - null, - null - }, - new SlimefunItemStack(SlimefunItems.CHRISTMAS_CARAMEL, 4)) + itemGroups.christmas, + SlimefunItems.CHRISTMAS_CARAMEL, + RecipeType.SMELTERY, + new ItemStack[]{ + new ItemStack(Material.SUGAR), + new ItemStack(Material.SUGAR), + null, + null, + null, + null, + null, + null, + null + }, + new SlimefunItemStack(SlimefunItems.CHRISTMAS_CARAMEL, 4)) .register(plugin); new SlimefunItem( - itemGroups.christmas, - SlimefunItems.CHRISTMAS_CARAMEL_APPLE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.CHRISTMAS_CARAMEL, - null, - null, - new ItemStack(Material.APPLE), - null, - null, - new ItemStack(Material.STICK), - null - }, - new SlimefunItemStack(SlimefunItems.CHRISTMAS_CARAMEL_APPLE, 2)) + itemGroups.christmas, + SlimefunItems.CHRISTMAS_CARAMEL_APPLE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.CHRISTMAS_CARAMEL, + null, + null, + new ItemStack(Material.APPLE), + null, + null, + new ItemStack(Material.STICK), + null + }, + new SlimefunItemStack(SlimefunItems.CHRISTMAS_CARAMEL_APPLE, 2)) .register(plugin); new SlimefunItem( - itemGroups.christmas, - SlimefunItems.CHRISTMAS_CHOCOLATE_APPLE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.COCOA_BEANS), - null, - null, - new ItemStack(Material.APPLE), - null, - null, - new ItemStack(Material.STICK), - null - }, - new SlimefunItemStack(SlimefunItems.CHRISTMAS_CHOCOLATE_APPLE, 2)) + itemGroups.christmas, + SlimefunItems.CHRISTMAS_CHOCOLATE_APPLE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.COCOA_BEANS), + null, + null, + new ItemStack(Material.APPLE), + null, + null, + new ItemStack(Material.STICK), + null + }, + new SlimefunItemStack(SlimefunItems.CHRISTMAS_CHOCOLATE_APPLE, 2)) .register(plugin); new ChristmasPresent( - itemGroups.christmas, - SlimefunItems.CHRISTMAS_PRESENT, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - null, - new ItemStack(Material.NAME_TAG), - null, - new ItemStack(Material.RED_WOOL), - new ItemStack(Material.GREEN_WOOL), - new ItemStack(Material.RED_WOOL), - new ItemStack(Material.RED_WOOL), - new ItemStack(Material.GREEN_WOOL), - new ItemStack(Material.RED_WOOL) - }, - new SlimefunItemStack(SlimefunItems.CHRISTMAS_HOT_CHOCOLATE, 1), - new SlimefunItemStack(SlimefunItems.CHRISTMAS_CHOCOLATE_APPLE, 4), - new SlimefunItemStack(SlimefunItems.CHRISTMAS_CARAMEL_APPLE, 4), - new SlimefunItemStack(SlimefunItems.CHRISTMAS_CAKE, 4), - new SlimefunItemStack(SlimefunItems.CHRISTMAS_COOKIE, 8), - new SlimefunItemStack(SlimefunItems.CHRISTMAS_PRESENT, 1), - new SlimefunItemStack(SlimefunItems.CHRISTMAS_EGG_NOG, 1), - new SlimefunItemStack(SlimefunItems.CHRISTMAS_MILK, 1), - new SlimefunItemStack(SlimefunItems.CHRISTMAS_APPLE_CIDER, 1), - new SlimefunItemStack(SlimefunItems.CHRISTMAS_FRUIT_CAKE, 4), - new SlimefunItemStack(SlimefunItems.CHRISTMAS_APPLE_PIE, 4), - new ItemStack(Material.EMERALD)) + itemGroups.christmas, + SlimefunItems.CHRISTMAS_PRESENT, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + null, + new ItemStack(Material.NAME_TAG), + null, + new ItemStack(Material.RED_WOOL), + new ItemStack(Material.GREEN_WOOL), + new ItemStack(Material.RED_WOOL), + new ItemStack(Material.RED_WOOL), + new ItemStack(Material.GREEN_WOOL), + new ItemStack(Material.RED_WOOL) + }, + new SlimefunItemStack(SlimefunItems.CHRISTMAS_HOT_CHOCOLATE, 1), + new SlimefunItemStack(SlimefunItems.CHRISTMAS_CHOCOLATE_APPLE, 4), + new SlimefunItemStack(SlimefunItems.CHRISTMAS_CARAMEL_APPLE, 4), + new SlimefunItemStack(SlimefunItems.CHRISTMAS_CAKE, 4), + new SlimefunItemStack(SlimefunItems.CHRISTMAS_COOKIE, 8), + new SlimefunItemStack(SlimefunItems.CHRISTMAS_PRESENT, 1), + new SlimefunItemStack(SlimefunItems.CHRISTMAS_EGG_NOG, 1), + new SlimefunItemStack(SlimefunItems.CHRISTMAS_MILK, 1), + new SlimefunItemStack(SlimefunItems.CHRISTMAS_APPLE_CIDER, 1), + new SlimefunItemStack(SlimefunItems.CHRISTMAS_FRUIT_CAKE, 4), + new SlimefunItemStack(SlimefunItems.CHRISTMAS_APPLE_PIE, 4), + new ItemStack(Material.EMERALD)) .register(plugin); new SlimefunItem( - itemGroups.easter, - SlimefunItems.EASTER_CARROT_PIE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.SUGAR), - new ItemStack(Material.CARROT), - new ItemStack(Material.EGG), - null, - null, - null, - null, - null, - null - }, - new SlimefunItemStack(SlimefunItems.EASTER_CARROT_PIE, 2)) + itemGroups.easter, + SlimefunItems.EASTER_CARROT_PIE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.SUGAR), + new ItemStack(Material.CARROT), + new ItemStack(Material.EGG), + null, + null, + null, + null, + null, + null + }, + new SlimefunItemStack(SlimefunItems.EASTER_CARROT_PIE, 2)) .register(plugin); new SlimefunItem( - itemGroups.easter, - SlimefunItems.EASTER_APPLE_PIE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.SUGAR), - new ItemStack(Material.APPLE), - new ItemStack(Material.EGG), - null, - null, - null, - null, - null, - null - }, - new SlimefunItemStack(SlimefunItems.EASTER_APPLE_PIE, 2)) + itemGroups.easter, + SlimefunItems.EASTER_APPLE_PIE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.SUGAR), + new ItemStack(Material.APPLE), + new ItemStack(Material.EGG), + null, + null, + null, + null, + null, + null + }, + new SlimefunItemStack(SlimefunItems.EASTER_APPLE_PIE, 2)) .register(plugin); new EasterEgg( - itemGroups.easter, - SlimefunItems.EASTER_EGG, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - null, - null, - new ItemStack(Material.LIME_DYE), - new ItemStack(Material.EGG), - new ItemStack(Material.PURPLE_DYE), - null, - null, - null - }, - new SlimefunItemStack(SlimefunItems.EASTER_EGG, 2), - // Gifts: - new SlimefunItemStack(SlimefunItems.EASTER_CARROT_PIE, 4), - new SlimefunItemStack(SlimefunItems.CARROT_JUICE, 1), - new ItemStack(Material.EMERALD), - new ItemStack(Material.CAKE), - new ItemStack(Material.RABBIT_FOOT), - new ItemStack(Material.GOLDEN_CARROT, 4)) + itemGroups.easter, + SlimefunItems.EASTER_EGG, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + null, + null, + new ItemStack(Material.LIME_DYE), + new ItemStack(Material.EGG), + new ItemStack(Material.PURPLE_DYE), + null, + null, + null + }, + new SlimefunItemStack(SlimefunItems.EASTER_EGG, 2), + // Gifts: + new SlimefunItemStack(SlimefunItems.EASTER_CARROT_PIE, 4), + new SlimefunItemStack(SlimefunItems.CARROT_JUICE, 1), + new ItemStack(Material.EMERALD), + new ItemStack(Material.CAKE), + new ItemStack(Material.RABBIT_FOOT), + new ItemStack(Material.GOLDEN_CARROT, 4)) .register(plugin); itemGroups.rickFlexGroup.register(plugin); - new SlimefunItem(itemGroups.misc, SlimefunItems.REINFORCED_PLATE, RecipeType.COMPRESSOR, new ItemStack[] { - new SlimefunItemStack(SlimefunItems.REINFORCED_ALLOY_INGOT, 8), - null, - null, - null, - null, - null, - null, - null, - null - }) + new SlimefunItem(itemGroups.misc, SlimefunItems.REINFORCED_PLATE, RecipeType.COMPRESSOR, new ItemStack[]{ + new SlimefunItemStack(SlimefunItems.REINFORCED_ALLOY_INGOT, 8), + null, + null, + null, + null, + null, + null, + null, + null + }) .register(plugin); new HardenedGlass( - itemGroups.technicalComponents, - SlimefunItems.HARDENED_GLASS, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.GLASS), - new ItemStack(Material.GLASS), - new ItemStack(Material.GLASS), - new ItemStack(Material.GLASS), - SlimefunItems.REINFORCED_PLATE, - new ItemStack(Material.GLASS), - new ItemStack(Material.GLASS), - new ItemStack(Material.GLASS), - new ItemStack(Material.GLASS) - }, - new SlimefunItemStack(SlimefunItems.HARDENED_GLASS, 16)) + itemGroups.technicalComponents, + SlimefunItems.HARDENED_GLASS, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.GLASS), + new ItemStack(Material.GLASS), + new ItemStack(Material.GLASS), + new ItemStack(Material.GLASS), + SlimefunItems.REINFORCED_PLATE, + new ItemStack(Material.GLASS), + new ItemStack(Material.GLASS), + new ItemStack(Material.GLASS), + new ItemStack(Material.GLASS) + }, + new SlimefunItemStack(SlimefunItems.HARDENED_GLASS, 16)) .register(plugin); new UnplaceableBlock( - itemGroups.technicalComponents, - SlimefunItems.COOLING_UNIT, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.ICE), - new ItemStack(Material.ICE), - new ItemStack(Material.ICE), - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.ALUMINUM_INGOT, - new ItemStack(Material.ICE), - new ItemStack(Material.ICE), - new ItemStack(Material.ICE) - }) + itemGroups.technicalComponents, + SlimefunItems.COOLING_UNIT, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.ICE), + new ItemStack(Material.ICE), + new ItemStack(Material.ICE), + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.ALUMINUM_INGOT, + new ItemStack(Material.ICE), + new ItemStack(Material.ICE), + new ItemStack(Material.ICE) + }) .register(plugin); new Cooler( - 27, - itemGroups.usefulItems, - SlimefunItems.COOLER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CLOTH, - SlimefunItems.CLOTH, - SlimefunItems.CLOTH, - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.COOLING_UNIT, - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.ALUMINUM_INGOT - }) + 27, + itemGroups.usefulItems, + SlimefunItems.COOLER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CLOTH, + SlimefunItems.CLOTH, + SlimefunItems.CLOTH, + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.COOLING_UNIT, + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.ALUMINUM_INGOT + }) .register(plugin); new WitherProofBlock( - itemGroups.technicalComponents, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.LEAD_INGOT, - new ItemStack(Material.OBSIDIAN), - SlimefunItems.LEAD_INGOT, - new ItemStack(Material.OBSIDIAN), - SlimefunItems.HARDENED_GLASS, - new ItemStack(Material.OBSIDIAN), - SlimefunItems.LEAD_INGOT, - new ItemStack(Material.OBSIDIAN), - SlimefunItems.LEAD_INGOT - }, - new SlimefunItemStack(SlimefunItems.WITHER_PROOF_OBSIDIAN, 4)) + itemGroups.technicalComponents, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.LEAD_INGOT, + new ItemStack(Material.OBSIDIAN), + SlimefunItems.LEAD_INGOT, + new ItemStack(Material.OBSIDIAN), + SlimefunItems.HARDENED_GLASS, + new ItemStack(Material.OBSIDIAN), + SlimefunItems.LEAD_INGOT, + new ItemStack(Material.OBSIDIAN), + SlimefunItems.LEAD_INGOT + }, + new SlimefunItemStack(SlimefunItems.WITHER_PROOF_OBSIDIAN, 4)) .register(plugin); new AncientPedestal( - itemGroups.magicalGadgets, - SlimefunItems.ANCIENT_PEDESTAL, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - new ItemStack(Material.OBSIDIAN), - SlimefunItems.GOLD_8K, - new ItemStack(Material.OBSIDIAN), - null, - new ItemStack(Material.STONE), - null, - new ItemStack(Material.OBSIDIAN), - SlimefunItems.GOLD_8K, - new ItemStack(Material.OBSIDIAN) - }, - new SlimefunItemStack(SlimefunItems.ANCIENT_PEDESTAL, 4)) + itemGroups.magicalGadgets, + SlimefunItems.ANCIENT_PEDESTAL, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + new ItemStack(Material.OBSIDIAN), + SlimefunItems.GOLD_8K, + new ItemStack(Material.OBSIDIAN), + null, + new ItemStack(Material.STONE), + null, + new ItemStack(Material.OBSIDIAN), + SlimefunItems.GOLD_8K, + new ItemStack(Material.OBSIDIAN) + }, + new SlimefunItemStack(SlimefunItems.ANCIENT_PEDESTAL, 4)) .register(plugin); new AncientAltar( - itemGroups.magicalGadgets, - SlimefunItems.ANCIENT_ALTAR, - RecipeType.MAGIC_WORKBENCH, - new ItemStack[] { - null, - new ItemStack(Material.ENCHANTING_TABLE), - null, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.GOLD_8K, - SlimefunItems.MAGIC_LUMP_3, - new ItemStack(Material.OBSIDIAN), - SlimefunItems.GOLD_8K, - new ItemStack(Material.OBSIDIAN) - }) + itemGroups.magicalGadgets, + SlimefunItems.ANCIENT_ALTAR, + RecipeType.MAGIC_WORKBENCH, + new ItemStack[]{ + null, + new ItemStack(Material.ENCHANTING_TABLE), + null, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.GOLD_8K, + SlimefunItems.MAGIC_LUMP_3, + new ItemStack(Material.OBSIDIAN), + SlimefunItems.GOLD_8K, + new ItemStack(Material.OBSIDIAN) + }) .register(plugin); new EnergyRegulator( - itemGroups.electricity, - SlimefunItems.ENERGY_REGULATOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.SILVER_INGOT, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.SILVER_INGOT, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.SILVER_INGOT, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.SILVER_INGOT - }) + itemGroups.electricity, + SlimefunItems.ENERGY_REGULATOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.SILVER_INGOT, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.SILVER_INGOT, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.SILVER_INGOT, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.SILVER_INGOT + }) .register(plugin); new EnergyConnector( - itemGroups.electricity, - SlimefunItems.ENERGY_CONNECTOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CARBON, - SlimefunItems.COPPER_WIRE, - SlimefunItems.CARBON, - SlimefunItems.COPPER_WIRE, - new ItemStack(Material.REDSTONE_BLOCK), - SlimefunItems.COPPER_WIRE, - SlimefunItems.CARBON, - SlimefunItems.COPPER_WIRE, - SlimefunItems.CARBON - }, - new SlimefunItemStack(SlimefunItems.ENERGY_CONNECTOR, 8)) + itemGroups.electricity, + SlimefunItems.ENERGY_CONNECTOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CARBON, + SlimefunItems.COPPER_WIRE, + SlimefunItems.CARBON, + SlimefunItems.COPPER_WIRE, + new ItemStack(Material.REDSTONE_BLOCK), + SlimefunItems.COPPER_WIRE, + SlimefunItems.CARBON, + SlimefunItems.COPPER_WIRE, + SlimefunItems.CARBON + }, + new SlimefunItemStack(SlimefunItems.ENERGY_CONNECTOR, 8)) .register(plugin); new SlimefunItem( - itemGroups.misc, - SlimefunItems.DUCT_TAPE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.ALUMINUM_DUST, - SlimefunItems.ALUMINUM_DUST, - SlimefunItems.ALUMINUM_DUST, - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.WHITE_WOOL), - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.PAPER), - new ItemStack(Material.PAPER), - new ItemStack(Material.PAPER) - }, - new SlimefunItemStack(SlimefunItems.DUCT_TAPE, 2)) + itemGroups.misc, + SlimefunItems.DUCT_TAPE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.ALUMINUM_DUST, + SlimefunItems.ALUMINUM_DUST, + SlimefunItems.ALUMINUM_DUST, + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.WHITE_WOOL), + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.PAPER), + new ItemStack(Material.PAPER), + new ItemStack(Material.PAPER) + }, + new SlimefunItemStack(SlimefunItems.DUCT_TAPE, 2)) + .register(plugin); + + new Capacitor( + itemGroups.electricity, + 128, + SlimefunItems.SMALL_CAPACITOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.DURALUMIN_INGOT, + SlimefunItems.SULFATE, + SlimefunItems.DURALUMIN_INGOT, + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.ENERGY_CONNECTOR, + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.DURALUMIN_INGOT, + new ItemStack(Material.REDSTONE), + SlimefunItems.DURALUMIN_INGOT + }) .register(plugin); new Capacitor( - itemGroups.electricity, - 128, + itemGroups.electricity, + 512, + SlimefunItems.MEDIUM_CAPACITOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.BILLON_INGOT, + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.BILLON_INGOT, + new ItemStack(Material.REDSTONE), SlimefunItems.SMALL_CAPACITOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.DURALUMIN_INGOT, - SlimefunItems.SULFATE, - SlimefunItems.DURALUMIN_INGOT, - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.ENERGY_CONNECTOR, - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.DURALUMIN_INGOT, - new ItemStack(Material.REDSTONE), - SlimefunItems.DURALUMIN_INGOT - }) + new ItemStack(Material.REDSTONE), + SlimefunItems.BILLON_INGOT, + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.BILLON_INGOT + }) .register(plugin); new Capacitor( - itemGroups.electricity, - 512, + itemGroups.electricity, + 1024, + SlimefunItems.BIG_CAPACITOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.STEEL_INGOT, + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.STEEL_INGOT, + new ItemStack(Material.REDSTONE), SlimefunItems.MEDIUM_CAPACITOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.BILLON_INGOT, - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.BILLON_INGOT, - new ItemStack(Material.REDSTONE), - SlimefunItems.SMALL_CAPACITOR, - new ItemStack(Material.REDSTONE), - SlimefunItems.BILLON_INGOT, - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.BILLON_INGOT - }) + new ItemStack(Material.REDSTONE), + SlimefunItems.STEEL_INGOT, + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.STEEL_INGOT + }) .register(plugin); new Capacitor( - itemGroups.electricity, - 1024, + itemGroups.electricity, + 8192, + SlimefunItems.LARGE_CAPACITOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.REINFORCED_ALLOY_INGOT, + new ItemStack(Material.REDSTONE), SlimefunItems.BIG_CAPACITOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.STEEL_INGOT, - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.STEEL_INGOT, - new ItemStack(Material.REDSTONE), - SlimefunItems.MEDIUM_CAPACITOR, - new ItemStack(Material.REDSTONE), - SlimefunItems.STEEL_INGOT, - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.STEEL_INGOT - }) + new ItemStack(Material.REDSTONE), + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.REINFORCED_ALLOY_INGOT + }) .register(plugin); new Capacitor( - itemGroups.electricity, - 8192, + itemGroups.electricity, + 65536, + SlimefunItems.CARBONADO_EDGED_CAPACITOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CARBONADO, + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.CARBONADO, + new ItemStack(Material.REDSTONE), SlimefunItems.LARGE_CAPACITOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.REINFORCED_ALLOY_INGOT, - new ItemStack(Material.REDSTONE), - SlimefunItems.BIG_CAPACITOR, - new ItemStack(Material.REDSTONE), - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.REINFORCED_ALLOY_INGOT - }) + new ItemStack(Material.REDSTONE), + SlimefunItems.CARBONADO, + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.CARBONADO + }) .register(plugin); new Capacitor( - itemGroups.electricity, - 65536, + itemGroups.electricity, + 524288, + SlimefunItems.ENERGIZED_CAPACITOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CARBONADO, + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.CARBONADO, + new ItemStack(Material.NETHER_STAR), SlimefunItems.CARBONADO_EDGED_CAPACITOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CARBONADO, - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.CARBONADO, - new ItemStack(Material.REDSTONE), - SlimefunItems.LARGE_CAPACITOR, - new ItemStack(Material.REDSTONE), - SlimefunItems.CARBONADO, - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.CARBONADO - }) + new ItemStack(Material.NETHER_STAR), + SlimefunItems.CARBONADO, + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.CARBONADO + }) .register(plugin); - new Capacitor( - itemGroups.electricity, - 524288, - SlimefunItems.ENERGIZED_CAPACITOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CARBONADO, - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.CARBONADO, - new ItemStack(Material.NETHER_STAR), - SlimefunItems.CARBONADO_EDGED_CAPACITOR, - new ItemStack(Material.NETHER_STAR), - SlimefunItems.CARBONADO, - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.CARBONADO - }) + new SolarGenerator( + itemGroups.electricity, + 2, + 0, + SlimefunItems.SOLAR_GENERATOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.SOLAR_PANEL, + SlimefunItems.SOLAR_PANEL, + SlimefunItems.SOLAR_PANEL, + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.ALUMINUM_INGOT, + null, + SlimefunItems.ALUMINUM_INGOT, + null + }) .register(plugin); new SolarGenerator( - itemGroups.electricity, - 2, - 0, + itemGroups.electricity, + 8, + 0, + SlimefunItems.SOLAR_GENERATOR_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ SlimefunItems.SOLAR_GENERATOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.SOLAR_PANEL, - SlimefunItems.SOLAR_PANEL, - SlimefunItems.SOLAR_PANEL, - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.ALUMINUM_INGOT, - null, - SlimefunItems.ALUMINUM_INGOT, - null - }) + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.SOLAR_GENERATOR, + SlimefunItems.ALUMINUM_INGOT, + new ItemStack(Material.REDSTONE), + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.SOLAR_GENERATOR, + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.SOLAR_GENERATOR + }) .register(plugin); new SolarGenerator( - itemGroups.electricity, - 8, - 0, + itemGroups.electricity, + 32, + 0, + SlimefunItems.SOLAR_GENERATOR_3, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.SOLAR_GENERATOR_2, + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.SOLAR_GENERATOR_2, + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.CARBONADO, + SlimefunItems.ALUMINUM_INGOT, SlimefunItems.SOLAR_GENERATOR_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.SOLAR_GENERATOR, - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.SOLAR_GENERATOR, - SlimefunItems.ALUMINUM_INGOT, - new ItemStack(Material.REDSTONE), - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.SOLAR_GENERATOR, - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.SOLAR_GENERATOR - }) + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.SOLAR_GENERATOR_2 + }) .register(plugin); new SolarGenerator( - itemGroups.electricity, - 32, - 0, + itemGroups.electricity, + 128, + 64, + SlimefunItems.SOLAR_GENERATOR_4, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ SlimefunItems.SOLAR_GENERATOR_3, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.SOLAR_GENERATOR_2, - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.SOLAR_GENERATOR_2, - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.CARBONADO, - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.SOLAR_GENERATOR_2, - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.SOLAR_GENERATOR_2 - }) - .register(plugin); - - new SolarGenerator( - itemGroups.electricity, - 128, - 64, - SlimefunItems.SOLAR_GENERATOR_4, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.SOLAR_GENERATOR_3, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.SOLAR_GENERATOR_3, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.SOLAR_GENERATOR_3, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.SOLAR_GENERATOR_3 - }) + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.SOLAR_GENERATOR_3, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.SOLAR_GENERATOR_3, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.SOLAR_GENERATOR_3 + }) .register(plugin); new ChargingBench( - itemGroups.electricity, - SlimefunItems.CHARGING_BENCH, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.ELECTRO_MAGNET, - null, - SlimefunItems.BATTERY, - new ItemStack(Material.CRAFTING_TABLE), - SlimefunItems.BATTERY, - null, - SlimefunItems.SMALL_CAPACITOR, - null - }) + itemGroups.electricity, + SlimefunItems.CHARGING_BENCH, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.ELECTRO_MAGNET, + null, + SlimefunItems.BATTERY, + new ItemStack(Material.CRAFTING_TABLE), + SlimefunItems.BATTERY, + null, + SlimefunItems.SMALL_CAPACITOR, + null + }) .setCapacity(128) .setEnergyConsumption(10) .setProcessingSpeed(1) @@ -4691,786 +4693,786 @@ SlimefunItems.SALT, new ItemStack(Material.COOKED_COD), null, null, null, null, .register(plugin); new ElectricFurnace( - itemGroups.electricity, - SlimefunItems.ELECTRIC_FURNACE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.FURNACE), - null, - SlimefunItems.GILDED_IRON, - SlimefunItems.HEATING_COIL, - SlimefunItems.GILDED_IRON, - SlimefunItems.GILDED_IRON, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.GILDED_IRON - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_FURNACE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.FURNACE), + null, + SlimefunItems.GILDED_IRON, + SlimefunItems.HEATING_COIL, + SlimefunItems.GILDED_IRON, + SlimefunItems.GILDED_IRON, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.GILDED_IRON + }) .setCapacity(64) .setEnergyConsumption(2) .setProcessingSpeed(1) .register(plugin); new ElectricFurnace( - itemGroups.electricity, - SlimefunItems.ELECTRIC_FURNACE_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.ELECTRIC_MOTOR, - null, - SlimefunItems.GILDED_IRON, - SlimefunItems.ELECTRIC_FURNACE, - SlimefunItems.GILDED_IRON, - SlimefunItems.GILDED_IRON, - SlimefunItems.HEATING_COIL, - SlimefunItems.GILDED_IRON - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_FURNACE_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.ELECTRIC_MOTOR, + null, + SlimefunItems.GILDED_IRON, + SlimefunItems.ELECTRIC_FURNACE, + SlimefunItems.GILDED_IRON, + SlimefunItems.GILDED_IRON, + SlimefunItems.HEATING_COIL, + SlimefunItems.GILDED_IRON + }) .setCapacity(128) .setEnergyConsumption(3) .setProcessingSpeed(2) .register(plugin); new ElectricFurnace( - itemGroups.electricity, - SlimefunItems.ELECTRIC_FURNACE_3, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.ELECTRIC_MOTOR, - null, - SlimefunItems.STEEL_INGOT, - SlimefunItems.ELECTRIC_FURNACE_2, - SlimefunItems.STEEL_INGOT, - SlimefunItems.GILDED_IRON, - SlimefunItems.HEATING_COIL, - SlimefunItems.GILDED_IRON - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_FURNACE_3, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.ELECTRIC_MOTOR, + null, + SlimefunItems.STEEL_INGOT, + SlimefunItems.ELECTRIC_FURNACE_2, + SlimefunItems.STEEL_INGOT, + SlimefunItems.GILDED_IRON, + SlimefunItems.HEATING_COIL, + SlimefunItems.GILDED_IRON + }) .setCapacity(128) .setEnergyConsumption(5) .setProcessingSpeed(4) .register(plugin); new ElectricGoldPan( - itemGroups.electricity, - SlimefunItems.ELECTRIC_GOLD_PAN, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.GOLD_PAN, - null, - new ItemStack(Material.FLINT), - SlimefunItems.ELECTRIC_MOTOR, - new ItemStack(Material.FLINT), - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.ALUMINUM_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_GOLD_PAN, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.GOLD_PAN, + null, + new ItemStack(Material.FLINT), + SlimefunItems.ELECTRIC_MOTOR, + new ItemStack(Material.FLINT), + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.ALUMINUM_INGOT + }) .setCapacity(128) .setEnergyConsumption(1) .setProcessingSpeed(1) .register(plugin); new ElectricGoldPan( - itemGroups.electricity, - SlimefunItems.ELECTRIC_GOLD_PAN_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.GOLD_PAN, - null, - new ItemStack(Material.IRON_INGOT), - SlimefunItems.ELECTRIC_GOLD_PAN, - new ItemStack(Material.IRON_INGOT), - SlimefunItems.DURALUMIN_INGOT, - SlimefunItems.DURALUMIN_INGOT, - SlimefunItems.DURALUMIN_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_GOLD_PAN_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.GOLD_PAN, + null, + new ItemStack(Material.IRON_INGOT), + SlimefunItems.ELECTRIC_GOLD_PAN, + new ItemStack(Material.IRON_INGOT), + SlimefunItems.DURALUMIN_INGOT, + SlimefunItems.DURALUMIN_INGOT, + SlimefunItems.DURALUMIN_INGOT + }) .setCapacity(128) .setEnergyConsumption(2) .setProcessingSpeed(3) .register(plugin); new ElectricGoldPan( - itemGroups.electricity, - SlimefunItems.ELECTRIC_GOLD_PAN_3, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.GOLD_PAN, - null, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.ELECTRIC_GOLD_PAN_2, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.COBALT_INGOT, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.COBALT_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_GOLD_PAN_3, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.GOLD_PAN, + null, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.ELECTRIC_GOLD_PAN_2, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.COBALT_INGOT, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.COBALT_INGOT + }) .setCapacity(512) .setEnergyConsumption(7) .setProcessingSpeed(10) .register(plugin); new ElectricDustWasher( - itemGroups.electricity, - SlimefunItems.ELECTRIC_DUST_WASHER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.WATER_BUCKET), - null, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.ELECTRIC_GOLD_PAN, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.COPPER_INGOT, - SlimefunItems.COPPER_INGOT, - SlimefunItems.COPPER_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_DUST_WASHER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.WATER_BUCKET), + null, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.ELECTRIC_GOLD_PAN, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.COPPER_INGOT, + SlimefunItems.COPPER_INGOT, + SlimefunItems.COPPER_INGOT + }) .setCapacity(128) .setEnergyConsumption(3) .setProcessingSpeed(1) .register(plugin); new ElectricDustWasher( - itemGroups.electricity, - SlimefunItems.ELECTRIC_DUST_WASHER_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.WATER_BUCKET), - null, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.ELECTRIC_DUST_WASHER, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.DAMASCUS_STEEL_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_DUST_WASHER_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.WATER_BUCKET), + null, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.ELECTRIC_DUST_WASHER, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.DAMASCUS_STEEL_INGOT + }) .setCapacity(128) .setEnergyConsumption(5) .setProcessingSpeed(2) .register(plugin); new ElectricDustWasher( - itemGroups.electricity, - SlimefunItems.ELECTRIC_DUST_WASHER_3, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.WATER_BUCKET), - null, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.ELECTRIC_DUST_WASHER_2, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.CORINTHIAN_BRONZE_INGOT, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.CORINTHIAN_BRONZE_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_DUST_WASHER_3, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.WATER_BUCKET), + null, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.ELECTRIC_DUST_WASHER_2, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.CORINTHIAN_BRONZE_INGOT, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.CORINTHIAN_BRONZE_INGOT + }) .setCapacity(512) .setEnergyConsumption(15) .setProcessingSpeed(10) .register(plugin); new ElectricIngotFactory( - itemGroups.electricity, - SlimefunItems.ELECTRIC_INGOT_FACTORY, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.FLINT_AND_STEEL), - null, - SlimefunItems.HEATING_COIL, - SlimefunItems.ELECTRIC_DUST_WASHER, - SlimefunItems.HEATING_COIL, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.DAMASCUS_STEEL_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_INGOT_FACTORY, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.FLINT_AND_STEEL), + null, + SlimefunItems.HEATING_COIL, + SlimefunItems.ELECTRIC_DUST_WASHER, + SlimefunItems.HEATING_COIL, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.DAMASCUS_STEEL_INGOT + }) .setCapacity(256) .setEnergyConsumption(4) .setProcessingSpeed(1) .register(plugin); new ElectricIngotFactory( - itemGroups.electricity, - SlimefunItems.ELECTRIC_INGOT_FACTORY_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.GILDED_IRON, - new ItemStack(Material.FLINT_AND_STEEL), - SlimefunItems.GILDED_IRON, - SlimefunItems.HEATING_COIL, - SlimefunItems.ELECTRIC_INGOT_FACTORY, - SlimefunItems.HEATING_COIL, - SlimefunItems.BRASS_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.BRASS_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_INGOT_FACTORY_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.GILDED_IRON, + new ItemStack(Material.FLINT_AND_STEEL), + SlimefunItems.GILDED_IRON, + SlimefunItems.HEATING_COIL, + SlimefunItems.ELECTRIC_INGOT_FACTORY, + SlimefunItems.HEATING_COIL, + SlimefunItems.BRASS_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.BRASS_INGOT + }) .setCapacity(256) .setEnergyConsumption(7) .setProcessingSpeed(2) .register(plugin); new ElectricIngotFactory( - itemGroups.electricity, - SlimefunItems.ELECTRIC_INGOT_FACTORY_3, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.GILDED_IRON, - new ItemStack(Material.FLINT_AND_STEEL), - SlimefunItems.GILDED_IRON, - SlimefunItems.HEATING_COIL, - SlimefunItems.ELECTRIC_INGOT_FACTORY_2, - SlimefunItems.HEATING_COIL, - SlimefunItems.BRASS_INGOT, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.BRASS_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_INGOT_FACTORY_3, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.GILDED_IRON, + new ItemStack(Material.FLINT_AND_STEEL), + SlimefunItems.GILDED_IRON, + SlimefunItems.HEATING_COIL, + SlimefunItems.ELECTRIC_INGOT_FACTORY_2, + SlimefunItems.HEATING_COIL, + SlimefunItems.BRASS_INGOT, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.BRASS_INGOT + }) .setCapacity(512) .setEnergyConsumption(20) .setProcessingSpeed(8) .register(plugin); new ElectrifiedCrucible( - itemGroups.electricity, - SlimefunItems.ELECTRIFIED_CRUCIBLE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.LEAD_INGOT, - SlimefunItems.CRUCIBLE, - SlimefunItems.LEAD_INGOT, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.HEATING_COIL, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.LEAD_INGOT, - SlimefunItems.LARGE_CAPACITOR, - SlimefunItems.LEAD_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIFIED_CRUCIBLE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.LEAD_INGOT, + SlimefunItems.CRUCIBLE, + SlimefunItems.LEAD_INGOT, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.HEATING_COIL, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.LEAD_INGOT, + SlimefunItems.LARGE_CAPACITOR, + SlimefunItems.LEAD_INGOT + }) .setCapacity(1024) .setEnergyConsumption(24) .setProcessingSpeed(1) .register(plugin); new ElectrifiedCrucible( - itemGroups.electricity, - SlimefunItems.ELECTRIFIED_CRUCIBLE_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CORINTHIAN_BRONZE_INGOT, - SlimefunItems.ELECTRIFIED_CRUCIBLE, - SlimefunItems.CORINTHIAN_BRONZE_INGOT, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.LEAD_INGOT, - SlimefunItems.HEATING_COIL, - SlimefunItems.LEAD_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIFIED_CRUCIBLE_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CORINTHIAN_BRONZE_INGOT, + SlimefunItems.ELECTRIFIED_CRUCIBLE, + SlimefunItems.CORINTHIAN_BRONZE_INGOT, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.LEAD_INGOT, + SlimefunItems.HEATING_COIL, + SlimefunItems.LEAD_INGOT + }) .setCapacity(1024) .setEnergyConsumption(40) .setProcessingSpeed(2) .register(plugin); new ElectrifiedCrucible( - itemGroups.electricity, - SlimefunItems.ELECTRIFIED_CRUCIBLE_3, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CORINTHIAN_BRONZE_INGOT, - SlimefunItems.ELECTRIFIED_CRUCIBLE_2, - SlimefunItems.CORINTHIAN_BRONZE_INGOT, - SlimefunItems.STEEL_PLATE, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.STEEL_PLATE, - SlimefunItems.LEAD_INGOT, - SlimefunItems.LEAD_INGOT, - SlimefunItems.LEAD_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIFIED_CRUCIBLE_3, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CORINTHIAN_BRONZE_INGOT, + SlimefunItems.ELECTRIFIED_CRUCIBLE_2, + SlimefunItems.CORINTHIAN_BRONZE_INGOT, + SlimefunItems.STEEL_PLATE, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.STEEL_PLATE, + SlimefunItems.LEAD_INGOT, + SlimefunItems.LEAD_INGOT, + SlimefunItems.LEAD_INGOT + }) .setCapacity(1024) .setEnergyConsumption(60) .setProcessingSpeed(4) .register(plugin); new ElectricOreGrinder( - itemGroups.electricity, - SlimefunItems.ELECTRIC_ORE_GRINDER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.DIAMOND_PICKAXE), - null, - SlimefunItems.GILDED_IRON, - SlimefunItems.HEATING_COIL, - SlimefunItems.GILDED_IRON, - SlimefunItems.GILDED_IRON, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.GILDED_IRON - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_ORE_GRINDER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.DIAMOND_PICKAXE), + null, + SlimefunItems.GILDED_IRON, + SlimefunItems.HEATING_COIL, + SlimefunItems.GILDED_IRON, + SlimefunItems.GILDED_IRON, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.GILDED_IRON + }) .setCapacity(128) .setEnergyConsumption(6) .setProcessingSpeed(1) .register(plugin); new ElectricOreGrinder( - itemGroups.electricity, - SlimefunItems.ELECTRIC_ORE_GRINDER_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.DIAMOND_PICKAXE), - null, - SlimefunItems.HEATING_COIL, - SlimefunItems.ELECTRIC_ORE_GRINDER, - SlimefunItems.HEATING_COIL, - SlimefunItems.GILDED_IRON, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.GILDED_IRON - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_ORE_GRINDER_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.DIAMOND_PICKAXE), + null, + SlimefunItems.HEATING_COIL, + SlimefunItems.ELECTRIC_ORE_GRINDER, + SlimefunItems.HEATING_COIL, + SlimefunItems.GILDED_IRON, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.GILDED_IRON + }) .setCapacity(512) .setEnergyConsumption(15) .setProcessingSpeed(4) .register(plugin); new ElectricOreGrinder( - itemGroups.electricity, - SlimefunItems.ELECTRIC_ORE_GRINDER_3, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.HEATING_COIL, - SlimefunItems.REINFORCED_PLATE, - null, - SlimefunItems.ELECTRIC_ORE_GRINDER_2, - null, - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.REINFORCED_PLATE - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_ORE_GRINDER_3, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.HEATING_COIL, + SlimefunItems.REINFORCED_PLATE, + null, + SlimefunItems.ELECTRIC_ORE_GRINDER_2, + null, + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.REINFORCED_PLATE + }) .setCapacity(1024) .setEnergyConsumption(45) .setProcessingSpeed(10) .register(plugin); new HeatedPressureChamber( - itemGroups.electricity, - SlimefunItems.HEATED_PRESSURE_CHAMBER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.LEAD_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.LEAD_INGOT, - SlimefunItems.LEAD_INGOT, - new ItemStack(Material.GLASS), - SlimefunItems.LEAD_INGOT, - SlimefunItems.LEAD_INGOT, - SlimefunItems.HEATING_COIL, - SlimefunItems.LEAD_INGOT - }) + itemGroups.electricity, + SlimefunItems.HEATED_PRESSURE_CHAMBER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.LEAD_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.LEAD_INGOT, + SlimefunItems.LEAD_INGOT, + new ItemStack(Material.GLASS), + SlimefunItems.LEAD_INGOT, + SlimefunItems.LEAD_INGOT, + SlimefunItems.HEATING_COIL, + SlimefunItems.LEAD_INGOT + }) .setCapacity(128) .setEnergyConsumption(5) .setProcessingSpeed(1) .register(plugin); new HeatedPressureChamber( - itemGroups.electricity, - SlimefunItems.HEATED_PRESSURE_CHAMBER_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.LEAD_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.LEAD_INGOT, - SlimefunItems.LEAD_INGOT, - SlimefunItems.HEATED_PRESSURE_CHAMBER, - SlimefunItems.LEAD_INGOT, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.HEATING_COIL, - SlimefunItems.REINFORCED_ALLOY_INGOT - }) + itemGroups.electricity, + SlimefunItems.HEATED_PRESSURE_CHAMBER_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.LEAD_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.LEAD_INGOT, + SlimefunItems.LEAD_INGOT, + SlimefunItems.HEATED_PRESSURE_CHAMBER, + SlimefunItems.LEAD_INGOT, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.HEATING_COIL, + SlimefunItems.REINFORCED_ALLOY_INGOT + }) .setCapacity(256) .setEnergyConsumption(22) .setProcessingSpeed(5) .register(plugin); new ElectricIngotPulverizer( - itemGroups.electricity, - SlimefunItems.ELECTRIC_INGOT_PULVERIZER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.ELECTRIC_ORE_GRINDER, - null, - SlimefunItems.LEAD_INGOT, - SlimefunItems.MEDIUM_CAPACITOR, - SlimefunItems.LEAD_INGOT, - SlimefunItems.LEAD_INGOT, - SlimefunItems.HEATING_COIL, - SlimefunItems.LEAD_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_INGOT_PULVERIZER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.ELECTRIC_ORE_GRINDER, + null, + SlimefunItems.LEAD_INGOT, + SlimefunItems.MEDIUM_CAPACITOR, + SlimefunItems.LEAD_INGOT, + SlimefunItems.LEAD_INGOT, + SlimefunItems.HEATING_COIL, + SlimefunItems.LEAD_INGOT + }) .setCapacity(512) .setEnergyConsumption(7) .setProcessingSpeed(1) .register(plugin); new CoalGenerator( - itemGroups.electricity, - SlimefunItems.COAL_GENERATOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.HEATING_COIL, - new ItemStack(Material.FURNACE), - SlimefunItems.HEATING_COIL, - SlimefunItems.NICKEL_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.NICKEL_INGOT, - null, - SlimefunItems.NICKEL_INGOT, - null - }) + itemGroups.electricity, + SlimefunItems.COAL_GENERATOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.HEATING_COIL, + new ItemStack(Material.FURNACE), + SlimefunItems.HEATING_COIL, + SlimefunItems.NICKEL_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.NICKEL_INGOT, + null, + SlimefunItems.NICKEL_INGOT, + null + }) .setCapacity(64) .setEnergyProduction(8) .register(plugin); new CoalGenerator( - itemGroups.electricity, - SlimefunItems.COAL_GENERATOR_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.MAGMA_BLOCK), - SlimefunItems.HEATING_COIL, - new ItemStack(Material.MAGMA_BLOCK), - SlimefunItems.HARDENED_METAL_INGOT, - SlimefunItems.COAL_GENERATOR, - SlimefunItems.HARDENED_METAL_INGOT, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.electricity, + SlimefunItems.COAL_GENERATOR_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.MAGMA_BLOCK), + SlimefunItems.HEATING_COIL, + new ItemStack(Material.MAGMA_BLOCK), + SlimefunItems.HARDENED_METAL_INGOT, + SlimefunItems.COAL_GENERATOR, + SlimefunItems.HARDENED_METAL_INGOT, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .setCapacity(256) .setEnergyProduction(15) .register(plugin); new BioGenerator( - itemGroups.electricity, - SlimefunItems.BIO_REACTOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.HEATING_COIL, - SlimefunItems.COMPOSTER, - SlimefunItems.HEATING_COIL, - SlimefunItems.ALUMINUM_BRASS_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.ALUMINUM_BRASS_INGOT, - null, - SlimefunItems.ALUMINUM_BRASS_INGOT, - null - }) + itemGroups.electricity, + SlimefunItems.BIO_REACTOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.HEATING_COIL, + SlimefunItems.COMPOSTER, + SlimefunItems.HEATING_COIL, + SlimefunItems.ALUMINUM_BRASS_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.ALUMINUM_BRASS_INGOT, + null, + SlimefunItems.ALUMINUM_BRASS_INGOT, + null + }) .setCapacity(128) .setEnergyProduction(4) .register(plugin); new AutoDrier( - itemGroups.electricity, - SlimefunItems.AUTO_DRIER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - null, - null, - SlimefunItems.HEATING_COIL, - new ItemStack(Material.SMOKER), - SlimefunItems.HEATING_COIL, - null, - new ItemStack(Material.CAMPFIRE), - null - }) + itemGroups.electricity, + SlimefunItems.AUTO_DRIER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + null, + null, + SlimefunItems.HEATING_COIL, + new ItemStack(Material.SMOKER), + SlimefunItems.HEATING_COIL, + null, + new ItemStack(Material.CAMPFIRE), + null + }) .setCapacity(128) .setEnergyConsumption(5) .setProcessingSpeed(1) .register(plugin); new AutoBrewer( - itemGroups.electricity, - SlimefunItems.AUTO_BREWER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.HEATING_COIL, - null, - SlimefunItems.REINFORCED_PLATE, - new ItemStack(Material.BREWING_STAND), - SlimefunItems.REINFORCED_PLATE, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.electricity, + SlimefunItems.AUTO_BREWER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.HEATING_COIL, + null, + SlimefunItems.REINFORCED_PLATE, + new ItemStack(Material.BREWING_STAND), + SlimefunItems.REINFORCED_PLATE, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .setCapacity(128) .setEnergyConsumption(6) .setProcessingSpeed(1) .register(plugin); new ElectricPress( - itemGroups.electricity, - SlimefunItems.ELECTRIC_PRESS, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.PISTON), - SlimefunItems.ELECTRIC_MOTOR, - new ItemStack(Material.PISTON), - null, - SlimefunItems.MEDIUM_CAPACITOR, - null, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.DAMASCUS_STEEL_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_PRESS, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.PISTON), + SlimefunItems.ELECTRIC_MOTOR, + new ItemStack(Material.PISTON), + null, + SlimefunItems.MEDIUM_CAPACITOR, + null, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.DAMASCUS_STEEL_INGOT + }) .setCapacity(256) .setEnergyConsumption(8) .setProcessingSpeed(1) .register(plugin); new ElectricPress( - itemGroups.electricity, - SlimefunItems.ELECTRIC_PRESS_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.STICKY_PISTON), - SlimefunItems.ELECTRIC_PRESS, - new ItemStack(Material.STICKY_PISTON), - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.BIG_CAPACITOR, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.DAMASCUS_STEEL_INGOT - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_PRESS_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.STICKY_PISTON), + SlimefunItems.ELECTRIC_PRESS, + new ItemStack(Material.STICKY_PISTON), + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.BIG_CAPACITOR, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.DAMASCUS_STEEL_INGOT + }) .setCapacity(1024) .setEnergyConsumption(20) .setProcessingSpeed(3) .register(plugin); new SlimefunItem( - itemGroups.resources, - SlimefunItems.MAGNESIUM_SALT, - RecipeType.HEATED_PRESSURE_CHAMBER, - new ItemStack[] { - SlimefunItems.MAGNESIUM_DUST, SlimefunItems.SALT, null, null, null, null, null, null, null - }) + itemGroups.resources, + SlimefunItems.MAGNESIUM_SALT, + RecipeType.HEATED_PRESSURE_CHAMBER, + new ItemStack[]{ + SlimefunItems.MAGNESIUM_DUST, SlimefunItems.SALT, null, null, null, null, null, null, null + }) .register(plugin); new MagnesiumGenerator( - itemGroups.electricity, - SlimefunItems.MAGNESIUM_GENERATOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.ELECTRIC_MOTOR, - null, - SlimefunItems.COMPRESSED_CARBON, - new ItemStack(Material.WATER_BUCKET), - SlimefunItems.COMPRESSED_CARBON, - SlimefunItems.DURALUMIN_INGOT, - SlimefunItems.DURALUMIN_INGOT, - SlimefunItems.DURALUMIN_INGOT - }) + itemGroups.electricity, + SlimefunItems.MAGNESIUM_GENERATOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.ELECTRIC_MOTOR, + null, + SlimefunItems.COMPRESSED_CARBON, + new ItemStack(Material.WATER_BUCKET), + SlimefunItems.COMPRESSED_CARBON, + SlimefunItems.DURALUMIN_INGOT, + SlimefunItems.DURALUMIN_INGOT, + SlimefunItems.DURALUMIN_INGOT + }) .setCapacity(128) .setEnergyProduction(18) .register(plugin); new AutoEnchanter( - itemGroups.electricity, - SlimefunItems.AUTO_ENCHANTER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.ENCHANTING_TABLE), - null, - SlimefunItems.CARBONADO, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.CARBONADO, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - SlimefunItems.WITHER_PROOF_OBSIDIAN - }) + itemGroups.electricity, + SlimefunItems.AUTO_ENCHANTER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.ENCHANTING_TABLE), + null, + SlimefunItems.CARBONADO, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.CARBONADO, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + SlimefunItems.WITHER_PROOF_OBSIDIAN + }) .setCapacity(128) .setEnergyConsumption(9) .setProcessingSpeed(1) .register(plugin); new AutoEnchanter( - itemGroups.electricity, - SlimefunItems.AUTO_ENCHANTER_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.BIG_CAPACITOR, - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.AUTO_ENCHANTER, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - SlimefunItems.SYNTHETIC_DIAMOND, - SlimefunItems.WITHER_PROOF_OBSIDIAN - }) + itemGroups.electricity, + SlimefunItems.AUTO_ENCHANTER_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.BIG_CAPACITOR, + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.AUTO_ENCHANTER, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + SlimefunItems.SYNTHETIC_DIAMOND, + SlimefunItems.WITHER_PROOF_OBSIDIAN + }) .setCapacity(1024) .setEnergyConsumption(24) .setProcessingSpeed(3) .register(plugin); new AutoDisenchanter( - itemGroups.electricity, - SlimefunItems.AUTO_DISENCHANTER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.REDSTONE), - new ItemStack(Material.ANVIL), - new ItemStack(Material.REDSTONE), - SlimefunItems.CARBONADO, - SlimefunItems.AUTO_ENCHANTER, - SlimefunItems.CARBONADO, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - SlimefunItems.WITHER_PROOF_OBSIDIAN - }) + itemGroups.electricity, + SlimefunItems.AUTO_DISENCHANTER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.REDSTONE), + new ItemStack(Material.ANVIL), + new ItemStack(Material.REDSTONE), + SlimefunItems.CARBONADO, + SlimefunItems.AUTO_ENCHANTER, + SlimefunItems.CARBONADO, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + SlimefunItems.WITHER_PROOF_OBSIDIAN + }) .setCapacity(128) .setEnergyConsumption(9) .setProcessingSpeed(1) .register(plugin); new AutoDisenchanter( - itemGroups.electricity, - SlimefunItems.AUTO_DISENCHANTER_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.REINFORCED_PLATE, - new ItemStack(Material.ANVIL), - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.AUTO_DISENCHANTER, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - SlimefunItems.BIG_CAPACITOR, - SlimefunItems.WITHER_PROOF_OBSIDIAN - }) + itemGroups.electricity, + SlimefunItems.AUTO_DISENCHANTER_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.REINFORCED_PLATE, + new ItemStack(Material.ANVIL), + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.AUTO_DISENCHANTER, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + SlimefunItems.BIG_CAPACITOR, + SlimefunItems.WITHER_PROOF_OBSIDIAN + }) .setCapacity(1024) .setEnergyConsumption(24) .setProcessingSpeed(3) .register(plugin); new AutoAnvil( - itemGroups.electricity, - 10, - SlimefunItems.AUTO_ANVIL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.ANVIL), - null, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.REINFORCED_ALLOY_INGOT, - new ItemStack(Material.IRON_BLOCK), - new ItemStack(Material.IRON_BLOCK), - new ItemStack(Material.IRON_BLOCK) - }) + itemGroups.electricity, + 10, + SlimefunItems.AUTO_ANVIL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.ANVIL), + null, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.REINFORCED_ALLOY_INGOT, + new ItemStack(Material.IRON_BLOCK), + new ItemStack(Material.IRON_BLOCK), + new ItemStack(Material.IRON_BLOCK) + }) .setCapacity(128) .setEnergyConsumption(12) .setProcessingSpeed(1) .register(plugin); new AutoAnvil( - itemGroups.electricity, - 25, - SlimefunItems.AUTO_ANVIL_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.AUTO_ANVIL, - null, - SlimefunItems.STEEL_PLATE, - SlimefunItems.HEATING_COIL, - SlimefunItems.STEEL_PLATE, - new ItemStack(Material.IRON_BLOCK), - new ItemStack(Material.IRON_BLOCK), - new ItemStack(Material.IRON_BLOCK) - }) + itemGroups.electricity, + 25, + SlimefunItems.AUTO_ANVIL_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.AUTO_ANVIL, + null, + SlimefunItems.STEEL_PLATE, + SlimefunItems.HEATING_COIL, + SlimefunItems.STEEL_PLATE, + new ItemStack(Material.IRON_BLOCK), + new ItemStack(Material.IRON_BLOCK), + new ItemStack(Material.IRON_BLOCK) + }) .setCapacity(256) .setEnergyConsumption(16) .setProcessingSpeed(1) .register(plugin); new BookBinder( - itemGroups.electricity, - SlimefunItems.BOOK_BINDER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.ENCHANTING_TABLE), - null, - new ItemStack(Material.BOOKSHELF), - SlimefunItems.HARDENED_METAL_INGOT, - new ItemStack(Material.BOOKSHELF), - SlimefunItems.SYNTHETIC_SAPPHIRE, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.SYNTHETIC_SAPPHIRE - }) + itemGroups.electricity, + SlimefunItems.BOOK_BINDER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.ENCHANTING_TABLE), + null, + new ItemStack(Material.BOOKSHELF), + SlimefunItems.HARDENED_METAL_INGOT, + new ItemStack(Material.BOOKSHELF), + SlimefunItems.SYNTHETIC_SAPPHIRE, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.SYNTHETIC_SAPPHIRE + }) .setCapacity(256) .setEnergyConsumption(16) .setProcessingSpeed(1) .register(plugin); new Multimeter( - itemGroups.technicalGadgets, - SlimefunItems.MULTIMETER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.COPPER_INGOT, - null, - SlimefunItems.COPPER_INGOT, - null, - SlimefunItems.REDSTONE_ALLOY, - null, - null, - SlimefunItems.GOLD_6K, - null - }) + itemGroups.technicalGadgets, + SlimefunItems.MULTIMETER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.COPPER_INGOT, + null, + SlimefunItems.COPPER_INGOT, + null, + SlimefunItems.REDSTONE_ALLOY, + null, + null, + SlimefunItems.GOLD_6K, + null + }) .register(plugin); new SlimefunItem( - itemGroups.technicalComponents, - SlimefunItems.PLASTIC_SHEET, - RecipeType.HEATED_PRESSURE_CHAMBER, - new ItemStack[] {null, null, null, null, SlimefunItems.OIL_BUCKET, null, null, null, null}, - new SlimefunItemStack(SlimefunItems.PLASTIC_SHEET, 8)) + itemGroups.technicalComponents, + SlimefunItems.PLASTIC_SHEET, + RecipeType.HEATED_PRESSURE_CHAMBER, + new ItemStack[]{null, null, null, null, SlimefunItems.OIL_BUCKET, null, null, null, null}, + new SlimefunItemStack(SlimefunItems.PLASTIC_SHEET, 8)) .register(plugin); new UnplaceableBlock( - itemGroups.technicalComponents, - SlimefunItems.ANDROID_MEMORY_CORE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.BRASS_INGOT, - new ItemStack(Material.ORANGE_STAINED_GLASS), - SlimefunItems.BRASS_INGOT, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.TIN_DUST, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.BRASS_INGOT, - new ItemStack(Material.ORANGE_STAINED_GLASS), - SlimefunItems.BRASS_INGOT - }) + itemGroups.technicalComponents, + SlimefunItems.ANDROID_MEMORY_CORE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.BRASS_INGOT, + new ItemStack(Material.ORANGE_STAINED_GLASS), + SlimefunItems.BRASS_INGOT, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.TIN_DUST, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.BRASS_INGOT, + new ItemStack(Material.ORANGE_STAINED_GLASS), + SlimefunItems.BRASS_INGOT + }) .register(plugin); new GPSTransmitter( - itemGroups.gps, 1, SlimefunItems.GPS_TRANSMITTER, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - null, - null, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.STEEL_INGOT, - SlimefunItems.ADVANCED_CIRCUIT_BOARD, - SlimefunItems.STEEL_INGOT, - SlimefunItems.STEEL_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.STEEL_INGOT - }) { + itemGroups.gps, 1, SlimefunItems.GPS_TRANSMITTER, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + null, + null, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.STEEL_INGOT, + SlimefunItems.ADVANCED_CIRCUIT_BOARD, + SlimefunItems.STEEL_INGOT, + SlimefunItems.STEEL_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.STEEL_INGOT + }) { @Override public int getMultiplier(int y) { return y; @@ -5487,20 +5489,20 @@ public int getEnergyConsumption() { 2, SlimefunItems.GPS_TRANSMITTER_2, RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.GPS_TRANSMITTER, - SlimefunItems.BRONZE_INGOT, - SlimefunItems.GPS_TRANSMITTER, - SlimefunItems.BRONZE_INGOT, - SlimefunItems.CARBON, - SlimefunItems.BRONZE_INGOT, - SlimefunItems.GPS_TRANSMITTER, - SlimefunItems.BRONZE_INGOT, - SlimefunItems.GPS_TRANSMITTER + new ItemStack[]{ + SlimefunItems.GPS_TRANSMITTER, + SlimefunItems.BRONZE_INGOT, + SlimefunItems.GPS_TRANSMITTER, + SlimefunItems.BRONZE_INGOT, + SlimefunItems.CARBON, + SlimefunItems.BRONZE_INGOT, + SlimefunItems.GPS_TRANSMITTER, + SlimefunItems.BRONZE_INGOT, + SlimefunItems.GPS_TRANSMITTER }) { @Override public int getMultiplier(int y) { - return y * 4 + 100; + return (y << 2) + 100; } @Override @@ -5514,20 +5516,20 @@ public int getEnergyConsumption() { 3, SlimefunItems.GPS_TRANSMITTER_3, RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.GPS_TRANSMITTER_2, - SlimefunItems.CORINTHIAN_BRONZE_INGOT, - SlimefunItems.GPS_TRANSMITTER_2, - SlimefunItems.CORINTHIAN_BRONZE_INGOT, - SlimefunItems.CARBONADO, - SlimefunItems.CORINTHIAN_BRONZE_INGOT, - SlimefunItems.GPS_TRANSMITTER_2, - SlimefunItems.CORINTHIAN_BRONZE_INGOT, - SlimefunItems.GPS_TRANSMITTER_2 + new ItemStack[]{ + SlimefunItems.GPS_TRANSMITTER_2, + SlimefunItems.CORINTHIAN_BRONZE_INGOT, + SlimefunItems.GPS_TRANSMITTER_2, + SlimefunItems.CORINTHIAN_BRONZE_INGOT, + SlimefunItems.CARBONADO, + SlimefunItems.CORINTHIAN_BRONZE_INGOT, + SlimefunItems.GPS_TRANSMITTER_2, + SlimefunItems.CORINTHIAN_BRONZE_INGOT, + SlimefunItems.GPS_TRANSMITTER_2 }) { @Override public int getMultiplier(int y) { - return y * 16 + 500; + return (y << 4) + 500; } @Override @@ -5541,20 +5543,20 @@ public int getEnergyConsumption() { 4, SlimefunItems.GPS_TRANSMITTER_4, RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.GPS_TRANSMITTER_3, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.GPS_TRANSMITTER_3, - SlimefunItems.NICKEL_INGOT, - SlimefunItems.CARBONADO, - SlimefunItems.NICKEL_INGOT, - SlimefunItems.GPS_TRANSMITTER_3, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.GPS_TRANSMITTER_3 + new ItemStack[]{ + SlimefunItems.GPS_TRANSMITTER_3, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.GPS_TRANSMITTER_3, + SlimefunItems.NICKEL_INGOT, + SlimefunItems.CARBONADO, + SlimefunItems.NICKEL_INGOT, + SlimefunItems.GPS_TRANSMITTER_3, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.GPS_TRANSMITTER_3 }) { @Override public int getMultiplier(int y) { - return y * 64 + 2100; + return (y << 6) + 2100; } @Override @@ -5564,1466 +5566,1466 @@ public int getEnergyConsumption() { }.register(plugin); new GPSControlPanel( - itemGroups.gps, - SlimefunItems.GPS_CONTROL_PANEL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - null, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.COBALT_INGOT, - SlimefunItems.ADVANCED_CIRCUIT_BOARD, - SlimefunItems.COBALT_INGOT, - SlimefunItems.ALUMINUM_BRASS_INGOT, - SlimefunItems.ALUMINUM_BRASS_INGOT, - SlimefunItems.ALUMINUM_BRASS_INGOT - }) + itemGroups.gps, + SlimefunItems.GPS_CONTROL_PANEL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + null, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.COBALT_INGOT, + SlimefunItems.ADVANCED_CIRCUIT_BOARD, + SlimefunItems.COBALT_INGOT, + SlimefunItems.ALUMINUM_BRASS_INGOT, + SlimefunItems.ALUMINUM_BRASS_INGOT, + SlimefunItems.ALUMINUM_BRASS_INGOT + }) .register(plugin); new GPSMarkerTool( - itemGroups.gps, - SlimefunItems.GPS_MARKER_TOOL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.ELECTRO_MAGNET, - null, - new ItemStack(Material.LAPIS_LAZULI), - SlimefunItems.BASIC_CIRCUIT_BOARD, - new ItemStack(Material.LAPIS_LAZULI), - new ItemStack(Material.REDSTONE), - SlimefunItems.REDSTONE_ALLOY, - new ItemStack(Material.REDSTONE) - }) + itemGroups.gps, + SlimefunItems.GPS_MARKER_TOOL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.ELECTRO_MAGNET, + null, + new ItemStack(Material.LAPIS_LAZULI), + SlimefunItems.BASIC_CIRCUIT_BOARD, + new ItemStack(Material.LAPIS_LAZULI), + new ItemStack(Material.REDSTONE), + SlimefunItems.REDSTONE_ALLOY, + new ItemStack(Material.REDSTONE) + }) .register(plugin); new SlimefunItem( - itemGroups.gps, - SlimefunItems.GPS_EMERGENCY_TRANSMITTER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.ELECTRO_MAGNET, - null, - null, - SlimefunItems.GPS_TRANSMITTER, - null, - null, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - null - }) + itemGroups.gps, + SlimefunItems.GPS_EMERGENCY_TRANSMITTER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.ELECTRO_MAGNET, + null, + null, + SlimefunItems.GPS_TRANSMITTER, + null, + null, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + null + }) .register(plugin); new AndroidInterface( - itemGroups.androids, - SlimefunItems.ANDROID_INTERFACE_ITEMS, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.PLASTIC_SHEET, - SlimefunItems.STEEL_INGOT, - SlimefunItems.PLASTIC_SHEET, - SlimefunItems.STEEL_INGOT, - SlimefunItems.BASIC_CIRCUIT_BOARD, - new ItemStack(Material.BLUE_STAINED_GLASS), - SlimefunItems.PLASTIC_SHEET, - SlimefunItems.STEEL_INGOT, - SlimefunItems.PLASTIC_SHEET - }) + itemGroups.androids, + SlimefunItems.ANDROID_INTERFACE_ITEMS, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.PLASTIC_SHEET, + SlimefunItems.STEEL_INGOT, + SlimefunItems.PLASTIC_SHEET, + SlimefunItems.STEEL_INGOT, + SlimefunItems.BASIC_CIRCUIT_BOARD, + new ItemStack(Material.BLUE_STAINED_GLASS), + SlimefunItems.PLASTIC_SHEET, + SlimefunItems.STEEL_INGOT, + SlimefunItems.PLASTIC_SHEET + }) .register(plugin); new AndroidInterface( - itemGroups.androids, - SlimefunItems.ANDROID_INTERFACE_FUEL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.PLASTIC_SHEET, - SlimefunItems.STEEL_INGOT, - SlimefunItems.PLASTIC_SHEET, - new ItemStack(Material.RED_STAINED_GLASS), - SlimefunItems.BASIC_CIRCUIT_BOARD, - SlimefunItems.STEEL_INGOT, - SlimefunItems.PLASTIC_SHEET, - SlimefunItems.STEEL_INGOT, - SlimefunItems.PLASTIC_SHEET - }) + itemGroups.androids, + SlimefunItems.ANDROID_INTERFACE_FUEL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.PLASTIC_SHEET, + SlimefunItems.STEEL_INGOT, + SlimefunItems.PLASTIC_SHEET, + new ItemStack(Material.RED_STAINED_GLASS), + SlimefunItems.BASIC_CIRCUIT_BOARD, + SlimefunItems.STEEL_INGOT, + SlimefunItems.PLASTIC_SHEET, + SlimefunItems.STEEL_INGOT, + SlimefunItems.PLASTIC_SHEET + }) .register(plugin); new ProgrammableAndroid( - itemGroups.androids, - 1, - SlimefunItems.PROGRAMMABLE_ANDROID, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.PLASTIC_SHEET, - SlimefunItems.ANDROID_MEMORY_CORE, - SlimefunItems.PLASTIC_SHEET, - SlimefunItems.COAL_GENERATOR, - SlimefunItems.ELECTRIC_MOTOR, - new ItemStack(Material.CHEST), - SlimefunItems.PLASTIC_SHEET, - SlimefunItems.PLASTIC_SHEET, - SlimefunItems.PLASTIC_SHEET - }) + itemGroups.androids, + 1, + SlimefunItems.PROGRAMMABLE_ANDROID, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.PLASTIC_SHEET, + SlimefunItems.ANDROID_MEMORY_CORE, + SlimefunItems.PLASTIC_SHEET, + SlimefunItems.COAL_GENERATOR, + SlimefunItems.ELECTRIC_MOTOR, + new ItemStack(Material.CHEST), + SlimefunItems.PLASTIC_SHEET, + SlimefunItems.PLASTIC_SHEET, + SlimefunItems.PLASTIC_SHEET + }) .register(plugin); new MinerAndroid( - itemGroups.androids, - 1, - SlimefunItems.PROGRAMMABLE_ANDROID_MINER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - null, - null, - new ItemStack(Material.DIAMOND_PICKAXE), - SlimefunItems.PROGRAMMABLE_ANDROID, - new ItemStack(Material.DIAMOND_PICKAXE), - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.androids, + 1, + SlimefunItems.PROGRAMMABLE_ANDROID_MINER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + null, + null, + new ItemStack(Material.DIAMOND_PICKAXE), + SlimefunItems.PROGRAMMABLE_ANDROID, + new ItemStack(Material.DIAMOND_PICKAXE), + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .register(plugin); new FarmerAndroid( - itemGroups.androids, - 1, - SlimefunItems.PROGRAMMABLE_ANDROID_FARMER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - null, - null, - new ItemStack(Material.DIAMOND_HOE), - SlimefunItems.PROGRAMMABLE_ANDROID, - new ItemStack(Material.DIAMOND_HOE), - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.androids, + 1, + SlimefunItems.PROGRAMMABLE_ANDROID_FARMER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + null, + null, + new ItemStack(Material.DIAMOND_HOE), + SlimefunItems.PROGRAMMABLE_ANDROID, + new ItemStack(Material.DIAMOND_HOE), + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .register(plugin); new WoodcutterAndroid( - itemGroups.androids, - 1, - SlimefunItems.PROGRAMMABLE_ANDROID_WOODCUTTER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - null, - null, - new ItemStack(Material.DIAMOND_AXE), - SlimefunItems.PROGRAMMABLE_ANDROID, - new ItemStack(Material.DIAMOND_AXE), - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.androids, + 1, + SlimefunItems.PROGRAMMABLE_ANDROID_WOODCUTTER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + null, + null, + new ItemStack(Material.DIAMOND_AXE), + SlimefunItems.PROGRAMMABLE_ANDROID, + new ItemStack(Material.DIAMOND_AXE), + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .register(plugin); new FishermanAndroid( - itemGroups.androids, - 1, - SlimefunItems.PROGRAMMABLE_ANDROID_FISHERMAN, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - null, - null, - new ItemStack(Material.FISHING_ROD), - SlimefunItems.PROGRAMMABLE_ANDROID, - new ItemStack(Material.FISHING_ROD), - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.androids, + 1, + SlimefunItems.PROGRAMMABLE_ANDROID_FISHERMAN, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + null, + null, + new ItemStack(Material.FISHING_ROD), + SlimefunItems.PROGRAMMABLE_ANDROID, + new ItemStack(Material.FISHING_ROD), + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .register(plugin); new ButcherAndroid( - itemGroups.androids, - 1, - SlimefunItems.PROGRAMMABLE_ANDROID_BUTCHER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.GPS_TRANSMITTER, - null, - new ItemStack(Material.DIAMOND_SWORD), - SlimefunItems.PROGRAMMABLE_ANDROID, - new ItemStack(Material.DIAMOND_SWORD), - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.androids, + 1, + SlimefunItems.PROGRAMMABLE_ANDROID_BUTCHER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.GPS_TRANSMITTER, + null, + new ItemStack(Material.DIAMOND_SWORD), + SlimefunItems.PROGRAMMABLE_ANDROID, + new ItemStack(Material.DIAMOND_SWORD), + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .register(plugin); new ProgrammableAndroid( - itemGroups.androids, - 2, - SlimefunItems.PROGRAMMABLE_ANDROID_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.PLASTIC_SHEET, - SlimefunItems.ANDROID_MEMORY_CORE, - SlimefunItems.PLASTIC_SHEET, - SlimefunItems.COMBUSTION_REACTOR, - SlimefunItems.PROGRAMMABLE_ANDROID, - new ItemStack(Material.CHEST), - SlimefunItems.PLASTIC_SHEET, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.PLASTIC_SHEET - }) + itemGroups.androids, + 2, + SlimefunItems.PROGRAMMABLE_ANDROID_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.PLASTIC_SHEET, + SlimefunItems.ANDROID_MEMORY_CORE, + SlimefunItems.PLASTIC_SHEET, + SlimefunItems.COMBUSTION_REACTOR, + SlimefunItems.PROGRAMMABLE_ANDROID, + new ItemStack(Material.CHEST), + SlimefunItems.PLASTIC_SHEET, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.PLASTIC_SHEET + }) .register(plugin); new FishermanAndroid( - itemGroups.androids, - 2, - SlimefunItems.PROGRAMMABLE_ANDROID_2_FISHERMAN, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - null, - null, - new ItemStack(Material.FISHING_ROD), - SlimefunItems.PROGRAMMABLE_ANDROID_2, - new ItemStack(Material.FISHING_ROD), - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.androids, + 2, + SlimefunItems.PROGRAMMABLE_ANDROID_2_FISHERMAN, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + null, + null, + new ItemStack(Material.FISHING_ROD), + SlimefunItems.PROGRAMMABLE_ANDROID_2, + new ItemStack(Material.FISHING_ROD), + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .register(plugin); new ButcherAndroid( - itemGroups.androids, - 2, - SlimefunItems.PROGRAMMABLE_ANDROID_2_BUTCHER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.GPS_TRANSMITTER, - null, - new ItemStack(Material.DIAMOND_SWORD), - SlimefunItems.PROGRAMMABLE_ANDROID_2, - new ItemStack(Material.DIAMOND_SWORD), - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.androids, + 2, + SlimefunItems.PROGRAMMABLE_ANDROID_2_BUTCHER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.GPS_TRANSMITTER, + null, + new ItemStack(Material.DIAMOND_SWORD), + SlimefunItems.PROGRAMMABLE_ANDROID_2, + new ItemStack(Material.DIAMOND_SWORD), + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .register(plugin); new FarmerAndroid( - itemGroups.androids, - 2, - SlimefunItems.PROGRAMMABLE_ANDROID_2_FARMER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.GPS_TRANSMITTER, - null, - new ItemStack(Material.DIAMOND_HOE), - SlimefunItems.PROGRAMMABLE_ANDROID_2, - new ItemStack(Material.DIAMOND_HOE), - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.androids, + 2, + SlimefunItems.PROGRAMMABLE_ANDROID_2_FARMER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.GPS_TRANSMITTER, + null, + new ItemStack(Material.DIAMOND_HOE), + SlimefunItems.PROGRAMMABLE_ANDROID_2, + new ItemStack(Material.DIAMOND_HOE), + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .register(plugin); new ProgrammableAndroid( - itemGroups.androids, - 3, - SlimefunItems.PROGRAMMABLE_ANDROID_3, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.PLASTIC_SHEET, - SlimefunItems.ANDROID_MEMORY_CORE, - SlimefunItems.PLASTIC_SHEET, - SlimefunItems.NUCLEAR_REACTOR, - SlimefunItems.PROGRAMMABLE_ANDROID_2, - new ItemStack(Material.CHEST), - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.BLISTERING_INGOT_3 - }) + itemGroups.androids, + 3, + SlimefunItems.PROGRAMMABLE_ANDROID_3, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.PLASTIC_SHEET, + SlimefunItems.ANDROID_MEMORY_CORE, + SlimefunItems.PLASTIC_SHEET, + SlimefunItems.NUCLEAR_REACTOR, + SlimefunItems.PROGRAMMABLE_ANDROID_2, + new ItemStack(Material.CHEST), + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.BLISTERING_INGOT_3 + }) .register(plugin); new FishermanAndroid( - itemGroups.androids, - 3, - SlimefunItems.PROGRAMMABLE_ANDROID_3_FISHERMAN, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - null, - null, - new ItemStack(Material.FISHING_ROD), - SlimefunItems.PROGRAMMABLE_ANDROID_3, - new ItemStack(Material.FISHING_ROD), - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.androids, + 3, + SlimefunItems.PROGRAMMABLE_ANDROID_3_FISHERMAN, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + null, + null, + new ItemStack(Material.FISHING_ROD), + SlimefunItems.PROGRAMMABLE_ANDROID_3, + new ItemStack(Material.FISHING_ROD), + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .register(plugin); new ButcherAndroid( - itemGroups.androids, - 3, - SlimefunItems.PROGRAMMABLE_ANDROID_3_BUTCHER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.GPS_TRANSMITTER_3, - null, - new ItemStack(Material.DIAMOND_SWORD), - SlimefunItems.PROGRAMMABLE_ANDROID_3, - new ItemStack(Material.DIAMOND_SWORD), - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) - .register(plugin); - - new ElementalRune(itemGroups.magicalResources, SlimefunItems.BLANK_RUNE, new ItemStack[] { - new ItemStack(Material.STONE), - SlimefunItems.MAGIC_LUMP_1, - new ItemStack(Material.STONE), - SlimefunItems.MAGIC_LUMP_1, - new ItemStack(Material.OBSIDIAN), - SlimefunItems.MAGIC_LUMP_1, - new ItemStack(Material.STONE), - SlimefunItems.MAGIC_LUMP_1, - new ItemStack(Material.STONE) + itemGroups.androids, + 3, + SlimefunItems.PROGRAMMABLE_ANDROID_3_BUTCHER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.GPS_TRANSMITTER_3, + null, + new ItemStack(Material.DIAMOND_SWORD), + SlimefunItems.PROGRAMMABLE_ANDROID_3, + new ItemStack(Material.DIAMOND_SWORD), + null, + SlimefunItems.ELECTRIC_MOTOR, + null }) .register(plugin); + new ElementalRune(itemGroups.magicalResources, SlimefunItems.BLANK_RUNE, new ItemStack[]{ + new ItemStack(Material.STONE), + SlimefunItems.MAGIC_LUMP_1, + new ItemStack(Material.STONE), + SlimefunItems.MAGIC_LUMP_1, + new ItemStack(Material.OBSIDIAN), + SlimefunItems.MAGIC_LUMP_1, + new ItemStack(Material.STONE), + SlimefunItems.MAGIC_LUMP_1, + new ItemStack(Material.STONE) + }) + .register(plugin); + new ElementalRune( - itemGroups.magicalResources, - SlimefunItems.AIR_RUNE, - new ItemStack[] { - new ItemStack(Material.FEATHER), - SlimefunItems.MAGIC_LUMP_1, - new ItemStack(Material.FEATHER), - new ItemStack(Material.GHAST_TEAR), - SlimefunItems.BLANK_RUNE, - new ItemStack(Material.GHAST_TEAR), - new ItemStack(Material.FEATHER), - SlimefunItems.MAGIC_LUMP_1, - new ItemStack(Material.FEATHER) - }, - new SlimefunItemStack(SlimefunItems.AIR_RUNE, 4)) + itemGroups.magicalResources, + SlimefunItems.AIR_RUNE, + new ItemStack[]{ + new ItemStack(Material.FEATHER), + SlimefunItems.MAGIC_LUMP_1, + new ItemStack(Material.FEATHER), + new ItemStack(Material.GHAST_TEAR), + SlimefunItems.BLANK_RUNE, + new ItemStack(Material.GHAST_TEAR), + new ItemStack(Material.FEATHER), + SlimefunItems.MAGIC_LUMP_1, + new ItemStack(Material.FEATHER) + }, + new SlimefunItemStack(SlimefunItems.AIR_RUNE, 4)) .register(plugin); new ElementalRune( - itemGroups.magicalResources, - SlimefunItems.EARTH_RUNE, - new ItemStack[] { - new ItemStack(Material.DIRT), - SlimefunItems.MAGIC_LUMP_1, - new ItemStack(Material.STONE), - new ItemStack(Material.OBSIDIAN), - SlimefunItems.BLANK_RUNE, - new ItemStack(Material.OBSIDIAN), - new ItemStack(Material.STONE), - SlimefunItems.MAGIC_LUMP_1, - new ItemStack(Material.DIRT) - }, - new SlimefunItemStack(SlimefunItems.EARTH_RUNE, 4)) + itemGroups.magicalResources, + SlimefunItems.EARTH_RUNE, + new ItemStack[]{ + new ItemStack(Material.DIRT), + SlimefunItems.MAGIC_LUMP_1, + new ItemStack(Material.STONE), + new ItemStack(Material.OBSIDIAN), + SlimefunItems.BLANK_RUNE, + new ItemStack(Material.OBSIDIAN), + new ItemStack(Material.STONE), + SlimefunItems.MAGIC_LUMP_1, + new ItemStack(Material.DIRT) + }, + new SlimefunItemStack(SlimefunItems.EARTH_RUNE, 4)) .register(plugin); new ElementalRune( - itemGroups.magicalResources, - SlimefunItems.FIRE_RUNE, - new ItemStack[] { - new ItemStack(Material.FIRE_CHARGE), - SlimefunItems.MAGIC_LUMP_2, - new ItemStack(Material.FIRE_CHARGE), - new ItemStack(Material.BLAZE_POWDER), - SlimefunItems.EARTH_RUNE, - new ItemStack(Material.FLINT_AND_STEEL), - new ItemStack(Material.FIRE_CHARGE), - SlimefunItems.MAGIC_LUMP_2, - new ItemStack(Material.FIRE_CHARGE) - }, - new SlimefunItemStack(SlimefunItems.FIRE_RUNE, 4)) + itemGroups.magicalResources, + SlimefunItems.FIRE_RUNE, + new ItemStack[]{ + new ItemStack(Material.FIRE_CHARGE), + SlimefunItems.MAGIC_LUMP_2, + new ItemStack(Material.FIRE_CHARGE), + new ItemStack(Material.BLAZE_POWDER), + SlimefunItems.EARTH_RUNE, + new ItemStack(Material.FLINT_AND_STEEL), + new ItemStack(Material.FIRE_CHARGE), + SlimefunItems.MAGIC_LUMP_2, + new ItemStack(Material.FIRE_CHARGE) + }, + new SlimefunItemStack(SlimefunItems.FIRE_RUNE, 4)) .register(plugin); new ElementalRune( - itemGroups.magicalResources, - SlimefunItems.WATER_RUNE, - new ItemStack[] { - new ItemStack(Material.SALMON), - SlimefunItems.MAGIC_LUMP_2, - new ItemStack(Material.WATER_BUCKET), - new ItemStack(Material.SAND), - SlimefunItems.BLANK_RUNE, - new ItemStack(Material.SAND), - new ItemStack(Material.WATER_BUCKET), - SlimefunItems.MAGIC_LUMP_2, - new ItemStack(Material.COD) - }, - new SlimefunItemStack(SlimefunItems.WATER_RUNE, 4)) + itemGroups.magicalResources, + SlimefunItems.WATER_RUNE, + new ItemStack[]{ + new ItemStack(Material.SALMON), + SlimefunItems.MAGIC_LUMP_2, + new ItemStack(Material.WATER_BUCKET), + new ItemStack(Material.SAND), + SlimefunItems.BLANK_RUNE, + new ItemStack(Material.SAND), + new ItemStack(Material.WATER_BUCKET), + SlimefunItems.MAGIC_LUMP_2, + new ItemStack(Material.COD) + }, + new SlimefunItemStack(SlimefunItems.WATER_RUNE, 4)) .register(plugin); new ElementalRune( - itemGroups.magicalResources, - SlimefunItems.ENDER_RUNE, - new ItemStack[] { - new ItemStack(Material.ENDER_PEARL), - SlimefunItems.ENDER_LUMP_3, - new ItemStack(Material.ENDER_PEARL), - new ItemStack(Material.ENDER_EYE), - SlimefunItems.BLANK_RUNE, - new ItemStack(Material.ENDER_EYE), - new ItemStack(Material.ENDER_PEARL), - SlimefunItems.ENDER_LUMP_3, - new ItemStack(Material.ENDER_PEARL) - }, - new SlimefunItemStack(SlimefunItems.ENDER_RUNE, 6)) + itemGroups.magicalResources, + SlimefunItems.ENDER_RUNE, + new ItemStack[]{ + new ItemStack(Material.ENDER_PEARL), + SlimefunItems.ENDER_LUMP_3, + new ItemStack(Material.ENDER_PEARL), + new ItemStack(Material.ENDER_EYE), + SlimefunItems.BLANK_RUNE, + new ItemStack(Material.ENDER_EYE), + new ItemStack(Material.ENDER_PEARL), + SlimefunItems.ENDER_LUMP_3, + new ItemStack(Material.ENDER_PEARL) + }, + new SlimefunItemStack(SlimefunItems.ENDER_RUNE, 6)) .register(plugin); new ElementalRune( - itemGroups.magicalResources, - SlimefunItems.LIGHTNING_RUNE, - new ItemStack[] { - new ItemStack(Material.IRON_INGOT), - SlimefunItems.MAGIC_LUMP_3, - new ItemStack(Material.IRON_INGOT), - SlimefunItems.AIR_RUNE, - new ItemStack(Material.PHANTOM_MEMBRANE), - SlimefunItems.WATER_RUNE, - new ItemStack(Material.IRON_INGOT), - SlimefunItems.MAGIC_LUMP_3, - new ItemStack(Material.IRON_INGOT) - }, - new SlimefunItemStack(SlimefunItems.LIGHTNING_RUNE, 4)) - .register(plugin); - - new ElementalRune(itemGroups.magicalResources, SlimefunItems.RAINBOW_RUNE, new ItemStack[] { - new ItemStack(Material.RED_DYE), - SlimefunItems.MAGIC_LUMP_3, - new ItemStack(Material.CYAN_DYE), - new ItemStack(Material.WHITE_WOOL), - SlimefunItems.ENDER_RUNE, - new ItemStack(Material.WHITE_WOOL), - new ItemStack(Material.YELLOW_DYE), - SlimefunItems.ENDER_LUMP_3, - new ItemStack(Material.MAGENTA_DYE) - }) + itemGroups.magicalResources, + SlimefunItems.LIGHTNING_RUNE, + new ItemStack[]{ + new ItemStack(Material.IRON_INGOT), + SlimefunItems.MAGIC_LUMP_3, + new ItemStack(Material.IRON_INGOT), + SlimefunItems.AIR_RUNE, + new ItemStack(Material.PHANTOM_MEMBRANE), + SlimefunItems.WATER_RUNE, + new ItemStack(Material.IRON_INGOT), + SlimefunItems.MAGIC_LUMP_3, + new ItemStack(Material.IRON_INGOT) + }, + new SlimefunItemStack(SlimefunItems.LIGHTNING_RUNE, 4)) + .register(plugin); + + new ElementalRune(itemGroups.magicalResources, SlimefunItems.RAINBOW_RUNE, new ItemStack[]{ + new ItemStack(Material.RED_DYE), + SlimefunItems.MAGIC_LUMP_3, + new ItemStack(Material.CYAN_DYE), + new ItemStack(Material.WHITE_WOOL), + SlimefunItems.ENDER_RUNE, + new ItemStack(Material.WHITE_WOOL), + new ItemStack(Material.YELLOW_DYE), + SlimefunItems.ENDER_LUMP_3, + new ItemStack(Material.MAGENTA_DYE) + }) .register(plugin); new SoulboundRune( - itemGroups.magicalResources, - SlimefunItems.SOULBOUND_RUNE, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.ENDER_RUNE, - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - SlimefunItems.MAGIC_LUMP_3 - }) + itemGroups.magicalResources, + SlimefunItems.SOULBOUND_RUNE, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.ENDER_RUNE, + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + SlimefunItems.MAGIC_LUMP_3 + }) .register(plugin); new EnchantmentRune( - itemGroups.magicalResources, - SlimefunItems.ENCHANTMENT_RUNE, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.MAGICAL_GLASS, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.MAGICAL_GLASS, - SlimefunItems.LIGHTNING_RUNE, - SlimefunItems.MAGICAL_GLASS, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.MAGICAL_GLASS, - SlimefunItems.MAGIC_LUMP_3 - }) + itemGroups.magicalResources, + SlimefunItems.ENCHANTMENT_RUNE, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.MAGICAL_GLASS, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.MAGICAL_GLASS, + SlimefunItems.LIGHTNING_RUNE, + SlimefunItems.MAGICAL_GLASS, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.MAGICAL_GLASS, + SlimefunItems.MAGIC_LUMP_3 + }) .register(plugin); new InfernalBonemeal( - itemGroups.magicalGadgets, - SlimefunItems.INFERNAL_BONEMEAL, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.NETHER_WART), - SlimefunItems.EARTH_RUNE, - new ItemStack(Material.NETHER_WART), - SlimefunItems.MAGIC_LUMP_2, - new ItemStack(Material.BONE_MEAL), - SlimefunItems.MAGIC_LUMP_2, - new ItemStack(Material.NETHER_WART), - new ItemStack(Material.BLAZE_POWDER), - new ItemStack(Material.NETHER_WART) - }, - new SlimefunItemStack(SlimefunItems.INFERNAL_BONEMEAL, 8)) + itemGroups.magicalGadgets, + SlimefunItems.INFERNAL_BONEMEAL, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.NETHER_WART), + SlimefunItems.EARTH_RUNE, + new ItemStack(Material.NETHER_WART), + SlimefunItems.MAGIC_LUMP_2, + new ItemStack(Material.BONE_MEAL), + SlimefunItems.MAGIC_LUMP_2, + new ItemStack(Material.NETHER_WART), + new ItemStack(Material.BLAZE_POWDER), + new ItemStack(Material.NETHER_WART) + }, + new SlimefunItemStack(SlimefunItems.INFERNAL_BONEMEAL, 8)) .register(plugin); new SlimefunItem( - itemGroups.magicalGadgets, - SlimefunItems.ELYTRA_SCALE, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.AIR_RUNE, - SlimefunItems.ENDER_LUMP_3, - new ItemStack(Material.PHANTOM_MEMBRANE), - new ItemStack(Material.FEATHER), - new ItemStack(Material.PHANTOM_MEMBRANE), - SlimefunItems.ENDER_LUMP_3, - SlimefunItems.AIR_RUNE, - SlimefunItems.ENDER_LUMP_3 - }) + itemGroups.magicalGadgets, + SlimefunItems.ELYTRA_SCALE, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.AIR_RUNE, + SlimefunItems.ENDER_LUMP_3, + new ItemStack(Material.PHANTOM_MEMBRANE), + new ItemStack(Material.FEATHER), + new ItemStack(Material.PHANTOM_MEMBRANE), + SlimefunItems.ENDER_LUMP_3, + SlimefunItems.AIR_RUNE, + SlimefunItems.ENDER_LUMP_3 + }) .register(plugin); new VanillaItem( - itemGroups.magicalGadgets, - new ItemStack(Material.ELYTRA), - "ELYTRA", - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - SlimefunItems.ELYTRA_SCALE, - SlimefunItems.AIR_RUNE, - SlimefunItems.ELYTRA_SCALE, - SlimefunItems.AIR_RUNE, - new ItemStack(Material.LEATHER_CHESTPLATE), - SlimefunItems.AIR_RUNE, - SlimefunItems.ELYTRA_SCALE, - SlimefunItems.AIR_RUNE, - SlimefunItems.ELYTRA_SCALE - }) + itemGroups.magicalGadgets, + new ItemStack(Material.ELYTRA), + "ELYTRA", + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + SlimefunItems.ELYTRA_SCALE, + SlimefunItems.AIR_RUNE, + SlimefunItems.ELYTRA_SCALE, + SlimefunItems.AIR_RUNE, + new ItemStack(Material.LEATHER_CHESTPLATE), + SlimefunItems.AIR_RUNE, + SlimefunItems.ELYTRA_SCALE, + SlimefunItems.AIR_RUNE, + SlimefunItems.ELYTRA_SCALE + }) .register(plugin); new SlimefunItem( - itemGroups.magicalGadgets, - SlimefunItems.INFUSED_ELYTRA, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - SlimefunItems.FLASK_OF_KNOWLEDGE, - SlimefunItems.ELYTRA_SCALE, - SlimefunItems.FLASK_OF_KNOWLEDGE, - SlimefunItems.FLASK_OF_KNOWLEDGE, - new ItemStack(Material.ELYTRA), - SlimefunItems.FLASK_OF_KNOWLEDGE, - SlimefunItems.FLASK_OF_KNOWLEDGE, - SlimefunItems.ELYTRA_SCALE, - SlimefunItems.FLASK_OF_KNOWLEDGE - }) + itemGroups.magicalGadgets, + SlimefunItems.INFUSED_ELYTRA, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + SlimefunItems.FLASK_OF_KNOWLEDGE, + SlimefunItems.ELYTRA_SCALE, + SlimefunItems.FLASK_OF_KNOWLEDGE, + SlimefunItems.FLASK_OF_KNOWLEDGE, + new ItemStack(Material.ELYTRA), + SlimefunItems.FLASK_OF_KNOWLEDGE, + SlimefunItems.FLASK_OF_KNOWLEDGE, + SlimefunItems.ELYTRA_SCALE, + SlimefunItems.FLASK_OF_KNOWLEDGE + }) .register(plugin); new SoulboundItem( - itemGroups.magicalGadgets, - SlimefunItems.SOULBOUND_ELYTRA, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - SlimefunItems.FLASK_OF_KNOWLEDGE, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - SlimefunItems.FLASK_OF_KNOWLEDGE, - SlimefunItems.ELYTRA_SCALE, - new ItemStack(Material.ELYTRA), - SlimefunItems.ELYTRA_SCALE, - SlimefunItems.FLASK_OF_KNOWLEDGE, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - SlimefunItems.FLASK_OF_KNOWLEDGE - }) + itemGroups.magicalGadgets, + SlimefunItems.SOULBOUND_ELYTRA, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + SlimefunItems.FLASK_OF_KNOWLEDGE, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + SlimefunItems.FLASK_OF_KNOWLEDGE, + SlimefunItems.ELYTRA_SCALE, + new ItemStack(Material.ELYTRA), + SlimefunItems.ELYTRA_SCALE, + SlimefunItems.FLASK_OF_KNOWLEDGE, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + SlimefunItems.FLASK_OF_KNOWLEDGE + }) .register(plugin); new VanillaItem( - itemGroups.magicalGadgets, - new ItemStack(Material.TRIDENT), - "TRIDENT", - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.NAUTILUS_SHELL), - SlimefunItems.REINFORCED_ALLOY_INGOT, - new ItemStack(Material.NAUTILUS_SHELL), - SlimefunItems.STAFF_WATER, - new ItemStack(Material.DIAMOND_SWORD), - SlimefunItems.STAFF_WATER, - SlimefunItems.MAGIC_LUMP_3, - new ItemStack(Material.NETHER_STAR), - SlimefunItems.MAGIC_LUMP_3 - }) + itemGroups.magicalGadgets, + new ItemStack(Material.TRIDENT), + "TRIDENT", + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.NAUTILUS_SHELL), + SlimefunItems.REINFORCED_ALLOY_INGOT, + new ItemStack(Material.NAUTILUS_SHELL), + SlimefunItems.STAFF_WATER, + new ItemStack(Material.DIAMOND_SWORD), + SlimefunItems.STAFF_WATER, + SlimefunItems.MAGIC_LUMP_3, + new ItemStack(Material.NETHER_STAR), + SlimefunItems.MAGIC_LUMP_3 + }) .register(plugin); new VanillaItem( - itemGroups.magicalGadgets, - new ItemStack(Material.TOTEM_OF_UNDYING), - "TOTEM_OF_UNDYING", - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - SlimefunItems.ESSENCE_OF_AFTERLIFE, - new ItemStack(Material.EMERALD_BLOCK), - SlimefunItems.ESSENCE_OF_AFTERLIFE, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.COMMON_TALISMAN, - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.ESSENCE_OF_AFTERLIFE, - new ItemStack(Material.EMERALD_BLOCK), - SlimefunItems.ESSENCE_OF_AFTERLIFE - }) + itemGroups.magicalGadgets, + new ItemStack(Material.TOTEM_OF_UNDYING), + "TOTEM_OF_UNDYING", + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + SlimefunItems.ESSENCE_OF_AFTERLIFE, + new ItemStack(Material.EMERALD_BLOCK), + SlimefunItems.ESSENCE_OF_AFTERLIFE, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.COMMON_TALISMAN, + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.ESSENCE_OF_AFTERLIFE, + new ItemStack(Material.EMERALD_BLOCK), + SlimefunItems.ESSENCE_OF_AFTERLIFE + }) .register(plugin); new RainbowBlock( - itemGroups.magicalGadgets, - SlimefunItems.RAINBOW_WOOL, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.WHITE_WOOL), - new ItemStack(Material.WHITE_WOOL), - new ItemStack(Material.WHITE_WOOL), - new ItemStack(Material.WHITE_WOOL), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_WOOL), - new ItemStack(Material.WHITE_WOOL), - new ItemStack(Material.WHITE_WOOL), - new ItemStack(Material.WHITE_WOOL) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_WOOL, 8), - new RainbowTickHandler(ColoredMaterial.WOOL)) + itemGroups.magicalGadgets, + SlimefunItems.RAINBOW_WOOL, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.WHITE_WOOL), + new ItemStack(Material.WHITE_WOOL), + new ItemStack(Material.WHITE_WOOL), + new ItemStack(Material.WHITE_WOOL), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_WOOL), + new ItemStack(Material.WHITE_WOOL), + new ItemStack(Material.WHITE_WOOL), + new ItemStack(Material.WHITE_WOOL) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_WOOL, 8), + new RainbowTickHandler(ColoredMaterial.WOOL)) .register(plugin); new RainbowBlock( - itemGroups.magicalGadgets, - SlimefunItems.RAINBOW_GLASS, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.WHITE_STAINED_GLASS), - new ItemStack(Material.WHITE_STAINED_GLASS), - new ItemStack(Material.WHITE_STAINED_GLASS), - new ItemStack(Material.WHITE_STAINED_GLASS), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_STAINED_GLASS), - new ItemStack(Material.WHITE_STAINED_GLASS), - new ItemStack(Material.WHITE_STAINED_GLASS), - new ItemStack(Material.WHITE_STAINED_GLASS) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS, 8), - new RainbowTickHandler(ColoredMaterial.STAINED_GLASS)) + itemGroups.magicalGadgets, + SlimefunItems.RAINBOW_GLASS, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.WHITE_STAINED_GLASS), + new ItemStack(Material.WHITE_STAINED_GLASS), + new ItemStack(Material.WHITE_STAINED_GLASS), + new ItemStack(Material.WHITE_STAINED_GLASS), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_STAINED_GLASS), + new ItemStack(Material.WHITE_STAINED_GLASS), + new ItemStack(Material.WHITE_STAINED_GLASS), + new ItemStack(Material.WHITE_STAINED_GLASS) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS, 8), + new RainbowTickHandler(ColoredMaterial.STAINED_GLASS)) .register(plugin); new RainbowBlock( - itemGroups.magicalGadgets, - SlimefunItems.RAINBOW_GLASS_PANE, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.WHITE_STAINED_GLASS_PANE), - new ItemStack(Material.WHITE_STAINED_GLASS_PANE), - new ItemStack(Material.WHITE_STAINED_GLASS_PANE), - new ItemStack(Material.WHITE_STAINED_GLASS_PANE), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_STAINED_GLASS_PANE), - new ItemStack(Material.WHITE_STAINED_GLASS_PANE), - new ItemStack(Material.WHITE_STAINED_GLASS_PANE), - new ItemStack(Material.WHITE_STAINED_GLASS_PANE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS_PANE, 8), - new RainbowTickHandler(ColoredMaterial.STAINED_GLASS_PANE)) + itemGroups.magicalGadgets, + SlimefunItems.RAINBOW_GLASS_PANE, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.WHITE_STAINED_GLASS_PANE), + new ItemStack(Material.WHITE_STAINED_GLASS_PANE), + new ItemStack(Material.WHITE_STAINED_GLASS_PANE), + new ItemStack(Material.WHITE_STAINED_GLASS_PANE), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_STAINED_GLASS_PANE), + new ItemStack(Material.WHITE_STAINED_GLASS_PANE), + new ItemStack(Material.WHITE_STAINED_GLASS_PANE), + new ItemStack(Material.WHITE_STAINED_GLASS_PANE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS_PANE, 8), + new RainbowTickHandler(ColoredMaterial.STAINED_GLASS_PANE)) .register(plugin); new RainbowBlock( - itemGroups.magicalGadgets, - SlimefunItems.RAINBOW_CLAY, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.WHITE_TERRACOTTA), - new ItemStack(Material.WHITE_TERRACOTTA), - new ItemStack(Material.WHITE_TERRACOTTA), - new ItemStack(Material.WHITE_TERRACOTTA), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_TERRACOTTA), - new ItemStack(Material.WHITE_TERRACOTTA), - new ItemStack(Material.WHITE_TERRACOTTA), - new ItemStack(Material.WHITE_TERRACOTTA) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_CLAY, 8), - new RainbowTickHandler(ColoredMaterial.TERRACOTTA)) + itemGroups.magicalGadgets, + SlimefunItems.RAINBOW_CLAY, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.WHITE_TERRACOTTA), + new ItemStack(Material.WHITE_TERRACOTTA), + new ItemStack(Material.WHITE_TERRACOTTA), + new ItemStack(Material.WHITE_TERRACOTTA), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_TERRACOTTA), + new ItemStack(Material.WHITE_TERRACOTTA), + new ItemStack(Material.WHITE_TERRACOTTA), + new ItemStack(Material.WHITE_TERRACOTTA) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_CLAY, 8), + new RainbowTickHandler(ColoredMaterial.TERRACOTTA)) .register(plugin); new RainbowBlock( - itemGroups.magicalGadgets, - SlimefunItems.RAINBOW_CONCRETE, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.WHITE_CONCRETE), - new ItemStack(Material.WHITE_CONCRETE), - new ItemStack(Material.WHITE_CONCRETE), - new ItemStack(Material.WHITE_CONCRETE), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_CONCRETE), - new ItemStack(Material.WHITE_CONCRETE), - new ItemStack(Material.WHITE_CONCRETE), - new ItemStack(Material.WHITE_CONCRETE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_CONCRETE, 8), - new RainbowTickHandler(ColoredMaterial.CONCRETE)) + itemGroups.magicalGadgets, + SlimefunItems.RAINBOW_CONCRETE, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.WHITE_CONCRETE), + new ItemStack(Material.WHITE_CONCRETE), + new ItemStack(Material.WHITE_CONCRETE), + new ItemStack(Material.WHITE_CONCRETE), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_CONCRETE), + new ItemStack(Material.WHITE_CONCRETE), + new ItemStack(Material.WHITE_CONCRETE), + new ItemStack(Material.WHITE_CONCRETE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_CONCRETE, 8), + new RainbowTickHandler(ColoredMaterial.CONCRETE)) .register(plugin); new RainbowBlock( - itemGroups.magicalGadgets, - SlimefunItems.RAINBOW_GLAZED_TERRACOTTA, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), - new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), - new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), - new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), - new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), - new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), - new ItemStack(Material.WHITE_GLAZED_TERRACOTTA) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_GLAZED_TERRACOTTA, 8), - new RainbowTickHandler(ColoredMaterial.GLAZED_TERRACOTTA)) + itemGroups.magicalGadgets, + SlimefunItems.RAINBOW_GLAZED_TERRACOTTA, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), + new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), + new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), + new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), + new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), + new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), + new ItemStack(Material.WHITE_GLAZED_TERRACOTTA) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_GLAZED_TERRACOTTA, 8), + new RainbowTickHandler(ColoredMaterial.GLAZED_TERRACOTTA)) .register(plugin); // Christmas new RainbowBlock( - itemGroups.christmas, - SlimefunItems.RAINBOW_WOOL_XMAS, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.RED_DYE), - SlimefunItems.CHRISTMAS_COOKIE, - new ItemStack(Material.GREEN_DYE), - new ItemStack(Material.WHITE_WOOL), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_WOOL), - new ItemStack(Material.GREEN_DYE), - SlimefunItems.CHRISTMAS_COOKIE, - new ItemStack(Material.RED_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_WOOL_XMAS, 2), - new RainbowTickHandler(Material.RED_WOOL, Material.GREEN_WOOL)) + itemGroups.christmas, + SlimefunItems.RAINBOW_WOOL_XMAS, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.RED_DYE), + SlimefunItems.CHRISTMAS_COOKIE, + new ItemStack(Material.GREEN_DYE), + new ItemStack(Material.WHITE_WOOL), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_WOOL), + new ItemStack(Material.GREEN_DYE), + SlimefunItems.CHRISTMAS_COOKIE, + new ItemStack(Material.RED_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_WOOL_XMAS, 2), + new RainbowTickHandler(Material.RED_WOOL, Material.GREEN_WOOL)) .register(plugin); new RainbowBlock( - itemGroups.christmas, - SlimefunItems.RAINBOW_GLASS_XMAS, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.RED_DYE), - SlimefunItems.CHRISTMAS_COOKIE, - new ItemStack(Material.GREEN_DYE), - new ItemStack(Material.WHITE_STAINED_GLASS), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_STAINED_GLASS), - new ItemStack(Material.GREEN_DYE), - SlimefunItems.CHRISTMAS_COOKIE, - new ItemStack(Material.RED_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS_XMAS, 2), - new RainbowTickHandler(Material.RED_STAINED_GLASS, Material.GREEN_STAINED_GLASS)) + itemGroups.christmas, + SlimefunItems.RAINBOW_GLASS_XMAS, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.RED_DYE), + SlimefunItems.CHRISTMAS_COOKIE, + new ItemStack(Material.GREEN_DYE), + new ItemStack(Material.WHITE_STAINED_GLASS), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_STAINED_GLASS), + new ItemStack(Material.GREEN_DYE), + SlimefunItems.CHRISTMAS_COOKIE, + new ItemStack(Material.RED_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS_XMAS, 2), + new RainbowTickHandler(Material.RED_STAINED_GLASS, Material.GREEN_STAINED_GLASS)) .register(plugin); new RainbowBlock( - itemGroups.christmas, - SlimefunItems.RAINBOW_GLASS_PANE_XMAS, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.RED_DYE), - SlimefunItems.CHRISTMAS_COOKIE, - new ItemStack(Material.GREEN_DYE), - new ItemStack(Material.WHITE_STAINED_GLASS_PANE), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_STAINED_GLASS_PANE), - new ItemStack(Material.GREEN_DYE), - SlimefunItems.CHRISTMAS_COOKIE, - new ItemStack(Material.RED_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS_PANE_XMAS, 2), - new RainbowTickHandler(Material.RED_STAINED_GLASS_PANE, Material.GREEN_STAINED_GLASS_PANE)) + itemGroups.christmas, + SlimefunItems.RAINBOW_GLASS_PANE_XMAS, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.RED_DYE), + SlimefunItems.CHRISTMAS_COOKIE, + new ItemStack(Material.GREEN_DYE), + new ItemStack(Material.WHITE_STAINED_GLASS_PANE), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_STAINED_GLASS_PANE), + new ItemStack(Material.GREEN_DYE), + SlimefunItems.CHRISTMAS_COOKIE, + new ItemStack(Material.RED_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS_PANE_XMAS, 2), + new RainbowTickHandler(Material.RED_STAINED_GLASS_PANE, Material.GREEN_STAINED_GLASS_PANE)) .register(plugin); new RainbowBlock( - itemGroups.christmas, - SlimefunItems.RAINBOW_CLAY_XMAS, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.RED_DYE), - SlimefunItems.CHRISTMAS_COOKIE, - new ItemStack(Material.GREEN_DYE), - new ItemStack(Material.WHITE_TERRACOTTA), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_TERRACOTTA), - new ItemStack(Material.GREEN_DYE), - SlimefunItems.CHRISTMAS_COOKIE, - new ItemStack(Material.RED_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_CLAY_XMAS, 2), - new RainbowTickHandler(Material.RED_TERRACOTTA, Material.GREEN_TERRACOTTA)) + itemGroups.christmas, + SlimefunItems.RAINBOW_CLAY_XMAS, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.RED_DYE), + SlimefunItems.CHRISTMAS_COOKIE, + new ItemStack(Material.GREEN_DYE), + new ItemStack(Material.WHITE_TERRACOTTA), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_TERRACOTTA), + new ItemStack(Material.GREEN_DYE), + SlimefunItems.CHRISTMAS_COOKIE, + new ItemStack(Material.RED_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_CLAY_XMAS, 2), + new RainbowTickHandler(Material.RED_TERRACOTTA, Material.GREEN_TERRACOTTA)) .register(plugin); new RainbowBlock( - itemGroups.christmas, - SlimefunItems.RAINBOW_CONCRETE_XMAS, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.RED_DYE), - SlimefunItems.CHRISTMAS_COOKIE, - new ItemStack(Material.GREEN_DYE), - new ItemStack(Material.WHITE_CONCRETE), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_CONCRETE), - new ItemStack(Material.GREEN_DYE), - SlimefunItems.CHRISTMAS_COOKIE, - new ItemStack(Material.RED_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_CONCRETE_XMAS, 2), - new RainbowTickHandler(Material.RED_CONCRETE, Material.GREEN_CONCRETE)) + itemGroups.christmas, + SlimefunItems.RAINBOW_CONCRETE_XMAS, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.RED_DYE), + SlimefunItems.CHRISTMAS_COOKIE, + new ItemStack(Material.GREEN_DYE), + new ItemStack(Material.WHITE_CONCRETE), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_CONCRETE), + new ItemStack(Material.GREEN_DYE), + SlimefunItems.CHRISTMAS_COOKIE, + new ItemStack(Material.RED_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_CONCRETE_XMAS, 2), + new RainbowTickHandler(Material.RED_CONCRETE, Material.GREEN_CONCRETE)) .register(plugin); new RainbowBlock( - itemGroups.christmas, - SlimefunItems.RAINBOW_GLAZED_TERRACOTTA_XMAS, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.RED_DYE), - SlimefunItems.CHRISTMAS_COOKIE, - new ItemStack(Material.GREEN_DYE), - new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), - new ItemStack(Material.GREEN_DYE), - SlimefunItems.CHRISTMAS_COOKIE, - new ItemStack(Material.RED_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_GLAZED_TERRACOTTA_XMAS, 2), - new RainbowTickHandler(Material.RED_GLAZED_TERRACOTTA, Material.GREEN_GLAZED_TERRACOTTA)) + itemGroups.christmas, + SlimefunItems.RAINBOW_GLAZED_TERRACOTTA_XMAS, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.RED_DYE), + SlimefunItems.CHRISTMAS_COOKIE, + new ItemStack(Material.GREEN_DYE), + new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), + new ItemStack(Material.GREEN_DYE), + SlimefunItems.CHRISTMAS_COOKIE, + new ItemStack(Material.RED_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_GLAZED_TERRACOTTA_XMAS, 2), + new RainbowTickHandler(Material.RED_GLAZED_TERRACOTTA, Material.GREEN_GLAZED_TERRACOTTA)) .register(plugin); // Valentines Day new RainbowBlock( - itemGroups.valentinesDay, - SlimefunItems.RAINBOW_WOOL_VALENTINE, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.RED_DYE), - new ItemStack(Material.POPPY), - new ItemStack(Material.PINK_DYE), - new ItemStack(Material.WHITE_WOOL), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_WOOL), - new ItemStack(Material.PINK_DYE), - new ItemStack(Material.POPPY), - new ItemStack(Material.RED_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_WOOL_VALENTINE, 2), - new RainbowTickHandler(Material.MAGENTA_WOOL, Material.PINK_WOOL)) + itemGroups.valentinesDay, + SlimefunItems.RAINBOW_WOOL_VALENTINE, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.RED_DYE), + new ItemStack(Material.POPPY), + new ItemStack(Material.PINK_DYE), + new ItemStack(Material.WHITE_WOOL), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_WOOL), + new ItemStack(Material.PINK_DYE), + new ItemStack(Material.POPPY), + new ItemStack(Material.RED_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_WOOL_VALENTINE, 2), + new RainbowTickHandler(Material.MAGENTA_WOOL, Material.PINK_WOOL)) .register(plugin); new RainbowBlock( - itemGroups.valentinesDay, - SlimefunItems.RAINBOW_GLASS_VALENTINE, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.RED_DYE), - new ItemStack(Material.POPPY), - new ItemStack(Material.PINK_DYE), - new ItemStack(Material.WHITE_STAINED_GLASS), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_STAINED_GLASS), - new ItemStack(Material.PINK_DYE), - new ItemStack(Material.POPPY), - new ItemStack(Material.RED_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS_VALENTINE, 2), - new RainbowTickHandler(Material.MAGENTA_STAINED_GLASS, Material.PINK_STAINED_GLASS)) + itemGroups.valentinesDay, + SlimefunItems.RAINBOW_GLASS_VALENTINE, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.RED_DYE), + new ItemStack(Material.POPPY), + new ItemStack(Material.PINK_DYE), + new ItemStack(Material.WHITE_STAINED_GLASS), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_STAINED_GLASS), + new ItemStack(Material.PINK_DYE), + new ItemStack(Material.POPPY), + new ItemStack(Material.RED_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS_VALENTINE, 2), + new RainbowTickHandler(Material.MAGENTA_STAINED_GLASS, Material.PINK_STAINED_GLASS)) .register(plugin); new RainbowBlock( - itemGroups.valentinesDay, - SlimefunItems.RAINBOW_GLASS_PANE_VALENTINE, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.RED_DYE), - new ItemStack(Material.POPPY), - new ItemStack(Material.PINK_DYE), - new ItemStack(Material.WHITE_STAINED_GLASS_PANE), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_STAINED_GLASS_PANE), - new ItemStack(Material.PINK_DYE), - new ItemStack(Material.POPPY), - new ItemStack(Material.RED_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS_PANE_VALENTINE, 2), - new RainbowTickHandler(Material.MAGENTA_STAINED_GLASS_PANE, Material.PINK_STAINED_GLASS_PANE)) + itemGroups.valentinesDay, + SlimefunItems.RAINBOW_GLASS_PANE_VALENTINE, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.RED_DYE), + new ItemStack(Material.POPPY), + new ItemStack(Material.PINK_DYE), + new ItemStack(Material.WHITE_STAINED_GLASS_PANE), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_STAINED_GLASS_PANE), + new ItemStack(Material.PINK_DYE), + new ItemStack(Material.POPPY), + new ItemStack(Material.RED_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS_PANE_VALENTINE, 2), + new RainbowTickHandler(Material.MAGENTA_STAINED_GLASS_PANE, Material.PINK_STAINED_GLASS_PANE)) .register(plugin); new RainbowBlock( - itemGroups.valentinesDay, - SlimefunItems.RAINBOW_CLAY_VALENTINE, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.RED_DYE), - new ItemStack(Material.POPPY), - new ItemStack(Material.PINK_DYE), - new ItemStack(Material.WHITE_TERRACOTTA), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_TERRACOTTA), - new ItemStack(Material.PINK_DYE), - new ItemStack(Material.POPPY), - new ItemStack(Material.RED_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_CLAY_VALENTINE, 2), - new RainbowTickHandler(Material.MAGENTA_TERRACOTTA, Material.PINK_TERRACOTTA)) + itemGroups.valentinesDay, + SlimefunItems.RAINBOW_CLAY_VALENTINE, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.RED_DYE), + new ItemStack(Material.POPPY), + new ItemStack(Material.PINK_DYE), + new ItemStack(Material.WHITE_TERRACOTTA), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_TERRACOTTA), + new ItemStack(Material.PINK_DYE), + new ItemStack(Material.POPPY), + new ItemStack(Material.RED_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_CLAY_VALENTINE, 2), + new RainbowTickHandler(Material.MAGENTA_TERRACOTTA, Material.PINK_TERRACOTTA)) .register(plugin); new RainbowBlock( - itemGroups.valentinesDay, - SlimefunItems.RAINBOW_CONCRETE_VALENTINE, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.RED_DYE), - new ItemStack(Material.POPPY), - new ItemStack(Material.PINK_DYE), - new ItemStack(Material.WHITE_CONCRETE), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_CONCRETE), - new ItemStack(Material.PINK_DYE), - new ItemStack(Material.POPPY), - new ItemStack(Material.RED_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_CONCRETE_VALENTINE, 2), - new RainbowTickHandler(Material.MAGENTA_CONCRETE, Material.PINK_CONCRETE)) + itemGroups.valentinesDay, + SlimefunItems.RAINBOW_CONCRETE_VALENTINE, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.RED_DYE), + new ItemStack(Material.POPPY), + new ItemStack(Material.PINK_DYE), + new ItemStack(Material.WHITE_CONCRETE), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_CONCRETE), + new ItemStack(Material.PINK_DYE), + new ItemStack(Material.POPPY), + new ItemStack(Material.RED_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_CONCRETE_VALENTINE, 2), + new RainbowTickHandler(Material.MAGENTA_CONCRETE, Material.PINK_CONCRETE)) .register(plugin); new RainbowBlock( - itemGroups.valentinesDay, - SlimefunItems.RAINBOW_GLAZED_TERRACOTTA_VALENTINE, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.RED_DYE), - new ItemStack(Material.POPPY), - new ItemStack(Material.PINK_DYE), - new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), - new ItemStack(Material.PINK_DYE), - new ItemStack(Material.POPPY), - new ItemStack(Material.RED_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_GLAZED_TERRACOTTA_VALENTINE, 2), - new RainbowTickHandler(Material.MAGENTA_GLAZED_TERRACOTTA, Material.PINK_GLAZED_TERRACOTTA)) + itemGroups.valentinesDay, + SlimefunItems.RAINBOW_GLAZED_TERRACOTTA_VALENTINE, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.RED_DYE), + new ItemStack(Material.POPPY), + new ItemStack(Material.PINK_DYE), + new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), + new ItemStack(Material.PINK_DYE), + new ItemStack(Material.POPPY), + new ItemStack(Material.RED_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_GLAZED_TERRACOTTA_VALENTINE, 2), + new RainbowTickHandler(Material.MAGENTA_GLAZED_TERRACOTTA, Material.PINK_GLAZED_TERRACOTTA)) .register(plugin); // Halloween new RainbowBlock( - itemGroups.halloween, - SlimefunItems.RAINBOW_WOOL_HALLOWEEN, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.ORANGE_DYE), - new ItemStack(Material.PUMPKIN), - new ItemStack(Material.BLACK_DYE), - new ItemStack(Material.WHITE_WOOL), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_WOOL), - new ItemStack(Material.BLACK_DYE), - new ItemStack(Material.PUMPKIN), - new ItemStack(Material.ORANGE_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_WOOL_HALLOWEEN, 2), - new RainbowTickHandler(Material.ORANGE_WOOL, Material.BLACK_WOOL)) + itemGroups.halloween, + SlimefunItems.RAINBOW_WOOL_HALLOWEEN, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.ORANGE_DYE), + new ItemStack(Material.PUMPKIN), + new ItemStack(Material.BLACK_DYE), + new ItemStack(Material.WHITE_WOOL), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_WOOL), + new ItemStack(Material.BLACK_DYE), + new ItemStack(Material.PUMPKIN), + new ItemStack(Material.ORANGE_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_WOOL_HALLOWEEN, 2), + new RainbowTickHandler(Material.ORANGE_WOOL, Material.BLACK_WOOL)) .register(plugin); new RainbowBlock( - itemGroups.halloween, - SlimefunItems.RAINBOW_GLASS_HALLOWEEN, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.ORANGE_DYE), - new ItemStack(Material.PUMPKIN), - new ItemStack(Material.BLACK_DYE), - new ItemStack(Material.WHITE_STAINED_GLASS), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_STAINED_GLASS), - new ItemStack(Material.BLACK_DYE), - new ItemStack(Material.PUMPKIN), - new ItemStack(Material.ORANGE_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS_HALLOWEEN, 2), - new RainbowTickHandler(Material.ORANGE_STAINED_GLASS, Material.BLACK_STAINED_GLASS)) + itemGroups.halloween, + SlimefunItems.RAINBOW_GLASS_HALLOWEEN, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.ORANGE_DYE), + new ItemStack(Material.PUMPKIN), + new ItemStack(Material.BLACK_DYE), + new ItemStack(Material.WHITE_STAINED_GLASS), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_STAINED_GLASS), + new ItemStack(Material.BLACK_DYE), + new ItemStack(Material.PUMPKIN), + new ItemStack(Material.ORANGE_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS_HALLOWEEN, 2), + new RainbowTickHandler(Material.ORANGE_STAINED_GLASS, Material.BLACK_STAINED_GLASS)) .register(plugin); new RainbowBlock( - itemGroups.halloween, - SlimefunItems.RAINBOW_GLASS_PANE_HALLOWEEN, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.ORANGE_DYE), - new ItemStack(Material.PUMPKIN), - new ItemStack(Material.BLACK_DYE), - new ItemStack(Material.WHITE_STAINED_GLASS_PANE), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_STAINED_GLASS_PANE), - new ItemStack(Material.BLACK_DYE), - new ItemStack(Material.PUMPKIN), - new ItemStack(Material.ORANGE_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS_PANE_HALLOWEEN, 2), - new RainbowTickHandler(Material.ORANGE_STAINED_GLASS_PANE, Material.BLACK_STAINED_GLASS_PANE)) + itemGroups.halloween, + SlimefunItems.RAINBOW_GLASS_PANE_HALLOWEEN, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.ORANGE_DYE), + new ItemStack(Material.PUMPKIN), + new ItemStack(Material.BLACK_DYE), + new ItemStack(Material.WHITE_STAINED_GLASS_PANE), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_STAINED_GLASS_PANE), + new ItemStack(Material.BLACK_DYE), + new ItemStack(Material.PUMPKIN), + new ItemStack(Material.ORANGE_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_GLASS_PANE_HALLOWEEN, 2), + new RainbowTickHandler(Material.ORANGE_STAINED_GLASS_PANE, Material.BLACK_STAINED_GLASS_PANE)) .register(plugin); new RainbowBlock( - itemGroups.halloween, - SlimefunItems.RAINBOW_CLAY_HALLOWEEN, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.ORANGE_DYE), - new ItemStack(Material.PUMPKIN), - new ItemStack(Material.BLACK_DYE), - new ItemStack(Material.WHITE_TERRACOTTA), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_TERRACOTTA), - new ItemStack(Material.BLACK_DYE), - new ItemStack(Material.PUMPKIN), - new ItemStack(Material.ORANGE_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_CLAY_HALLOWEEN, 2), - new RainbowTickHandler(Material.ORANGE_TERRACOTTA, Material.BLACK_TERRACOTTA)) + itemGroups.halloween, + SlimefunItems.RAINBOW_CLAY_HALLOWEEN, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.ORANGE_DYE), + new ItemStack(Material.PUMPKIN), + new ItemStack(Material.BLACK_DYE), + new ItemStack(Material.WHITE_TERRACOTTA), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_TERRACOTTA), + new ItemStack(Material.BLACK_DYE), + new ItemStack(Material.PUMPKIN), + new ItemStack(Material.ORANGE_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_CLAY_HALLOWEEN, 2), + new RainbowTickHandler(Material.ORANGE_TERRACOTTA, Material.BLACK_TERRACOTTA)) .register(plugin); new RainbowBlock( - itemGroups.halloween, - SlimefunItems.RAINBOW_CONCRETE_HALLOWEEN, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.ORANGE_DYE), - new ItemStack(Material.PUMPKIN), - new ItemStack(Material.BLACK_DYE), - new ItemStack(Material.WHITE_CONCRETE), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_CONCRETE), - new ItemStack(Material.BLACK_DYE), - new ItemStack(Material.PUMPKIN), - new ItemStack(Material.ORANGE_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_CONCRETE_HALLOWEEN, 2), - new RainbowTickHandler(Material.ORANGE_CONCRETE, Material.BLACK_CONCRETE)) + itemGroups.halloween, + SlimefunItems.RAINBOW_CONCRETE_HALLOWEEN, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.ORANGE_DYE), + new ItemStack(Material.PUMPKIN), + new ItemStack(Material.BLACK_DYE), + new ItemStack(Material.WHITE_CONCRETE), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_CONCRETE), + new ItemStack(Material.BLACK_DYE), + new ItemStack(Material.PUMPKIN), + new ItemStack(Material.ORANGE_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_CONCRETE_HALLOWEEN, 2), + new RainbowTickHandler(Material.ORANGE_CONCRETE, Material.BLACK_CONCRETE)) .register(plugin); new RainbowBlock( - itemGroups.halloween, - SlimefunItems.RAINBOW_GLAZED_TERRACOTTA_HALLOWEEN, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.ORANGE_DYE), - new ItemStack(Material.PUMPKIN), - new ItemStack(Material.BLACK_DYE), - new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), - new ItemStack(Material.BLACK_DYE), - new ItemStack(Material.PUMPKIN), - new ItemStack(Material.ORANGE_DYE) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_GLAZED_TERRACOTTA_HALLOWEEN, 2), - new RainbowTickHandler(Material.ORANGE_GLAZED_TERRACOTTA, Material.BLACK_GLAZED_TERRACOTTA)) + itemGroups.halloween, + SlimefunItems.RAINBOW_GLAZED_TERRACOTTA_HALLOWEEN, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.ORANGE_DYE), + new ItemStack(Material.PUMPKIN), + new ItemStack(Material.BLACK_DYE), + new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.WHITE_GLAZED_TERRACOTTA), + new ItemStack(Material.BLACK_DYE), + new ItemStack(Material.PUMPKIN), + new ItemStack(Material.ORANGE_DYE) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_GLAZED_TERRACOTTA_HALLOWEEN, 2), + new RainbowTickHandler(Material.ORANGE_GLAZED_TERRACOTTA, Material.BLACK_GLAZED_TERRACOTTA)) .register(plugin); new WitherProofBlock( - itemGroups.technicalComponents, - SlimefunItems.WITHER_PROOF_GLASS, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.LEAD_INGOT, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - SlimefunItems.LEAD_INGOT, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - SlimefunItems.HARDENED_GLASS, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - SlimefunItems.LEAD_INGOT, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - SlimefunItems.LEAD_INGOT - }, - new SlimefunItemStack(SlimefunItems.WITHER_PROOF_GLASS, 4)) + itemGroups.technicalComponents, + SlimefunItems.WITHER_PROOF_GLASS, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.LEAD_INGOT, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + SlimefunItems.LEAD_INGOT, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + SlimefunItems.HARDENED_GLASS, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + SlimefunItems.LEAD_INGOT, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + SlimefunItems.LEAD_INGOT + }, + new SlimefunItemStack(SlimefunItems.WITHER_PROOF_GLASS, 4)) .register(plugin); new GEOScanner( - itemGroups.gps, - SlimefunItems.GPS_GEO_SCANNER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - null, - SlimefunItems.ELECTRO_MAGNET, - null, - SlimefunItems.STEEL_INGOT, - SlimefunItems.STEEL_INGOT, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.ELECTRO_MAGNET - }) + itemGroups.gps, + SlimefunItems.GPS_GEO_SCANNER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + null, + SlimefunItems.ELECTRO_MAGNET, + null, + SlimefunItems.STEEL_INGOT, + SlimefunItems.STEEL_INGOT, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.ELECTRO_MAGNET + }) .register(plugin); new PortableGEOScanner( - itemGroups.gps, - SlimefunItems.PORTABLE_GEO_SCANNER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.ELECTRO_MAGNET, - new ItemStack(Material.COMPASS), - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.STEEL_INGOT, - SlimefunItems.GPS_MARKER_TOOL, - SlimefunItems.STEEL_INGOT, - SlimefunItems.SOLDER_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.SOLDER_INGOT - }) - .register(plugin); - - new OilPump(itemGroups.gps, SlimefunItems.OIL_PUMP, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - SlimefunItems.STEEL_INGOT, - SlimefunItems.MEDIUM_CAPACITOR, - SlimefunItems.STEEL_INGOT, - SlimefunItems.STEEL_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.STEEL_INGOT, - null, - new ItemStack(Material.BUCKET), - null + itemGroups.gps, + SlimefunItems.PORTABLE_GEO_SCANNER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.ELECTRO_MAGNET, + new ItemStack(Material.COMPASS), + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.STEEL_INGOT, + SlimefunItems.GPS_MARKER_TOOL, + SlimefunItems.STEEL_INGOT, + SlimefunItems.SOLDER_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.SOLDER_INGOT }) + .register(plugin); + + new OilPump(itemGroups.gps, SlimefunItems.OIL_PUMP, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + SlimefunItems.STEEL_INGOT, + SlimefunItems.MEDIUM_CAPACITOR, + SlimefunItems.STEEL_INGOT, + SlimefunItems.STEEL_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.STEEL_INGOT, + null, + new ItemStack(Material.BUCKET), + null + }) .setCapacity(256) .setEnergyConsumption(14) .setProcessingSpeed(1) .register(plugin); - new GEOMiner(itemGroups.gps, SlimefunItems.GEO_MINER, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - new ItemStack(Material.DIAMOND_PICKAXE), - SlimefunItems.MEDIUM_CAPACITOR, - new ItemStack(Material.DIAMOND_PICKAXE), - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.OIL_PUMP, - SlimefunItems.REINFORCED_ALLOY_INGOT, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + new GEOMiner(itemGroups.gps, SlimefunItems.GEO_MINER, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + new ItemStack(Material.DIAMOND_PICKAXE), + SlimefunItems.MEDIUM_CAPACITOR, + new ItemStack(Material.DIAMOND_PICKAXE), + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.OIL_PUMP, + SlimefunItems.REINFORCED_ALLOY_INGOT, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .setCapacity(512) .setEnergyConsumption(24) .setProcessingSpeed(1) .register(plugin); new SlimefunItem( - itemGroups.resources, - SlimefunItems.OIL_BUCKET, - new RecipeType(new NamespacedKey(plugin, "oil_pump"), SlimefunItems.OIL_PUMP), - new ItemStack[] {null, null, null, null, new ItemStack(Material.BUCKET), null, null, null, null - }) + itemGroups.resources, + SlimefunItems.OIL_BUCKET, + new RecipeType(new NamespacedKey(plugin, "oil_pump"), SlimefunItems.OIL_PUMP), + new ItemStack[]{null, null, null, null, new ItemStack(Material.BUCKET), null, null, null, null + }) .register(plugin); - new SlimefunItem(itemGroups.resources, SlimefunItems.FUEL_BUCKET, RecipeType.REFINERY, new ItemStack[] { - null, null, null, null, SlimefunItems.OIL_BUCKET, null, null, null, null - }) + new SlimefunItem(itemGroups.resources, SlimefunItems.FUEL_BUCKET, RecipeType.REFINERY, new ItemStack[]{ + null, null, null, null, SlimefunItems.OIL_BUCKET, null, null, null, null + }) .register(plugin); new RadioactiveItem( - itemGroups.resources, - Radioactivity.MODERATE, - SlimefunItems.NETHER_ICE, - RecipeType.GEO_MINER, - new ItemStack[] {null, null, null, null, null, null, null, null, null}) + itemGroups.resources, + Radioactivity.MODERATE, + SlimefunItems.NETHER_ICE, + RecipeType.GEO_MINER, + new ItemStack[]{null, null, null, null, null, null, null, null, null}) .register(plugin); new Refinery( - itemGroups.electricity, - SlimefunItems.REFINERY, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.HARDENED_GLASS, - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.HARDENED_GLASS, - SlimefunItems.HARDENED_GLASS, - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.HARDENED_GLASS, - new ItemStack(Material.PISTON), - SlimefunItems.ELECTRIC_MOTOR, - new ItemStack(Material.PISTON) - }) + itemGroups.electricity, + SlimefunItems.REFINERY, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.HARDENED_GLASS, + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.HARDENED_GLASS, + SlimefunItems.HARDENED_GLASS, + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.HARDENED_GLASS, + new ItemStack(Material.PISTON), + SlimefunItems.ELECTRIC_MOTOR, + new ItemStack(Material.PISTON) + }) .setCapacity(256) .setEnergyConsumption(16) .setProcessingSpeed(1) .register(plugin); new LavaGenerator( - itemGroups.electricity, - SlimefunItems.LAVA_GENERATOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.GOLD_16K, - null, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.HEATING_COIL, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.HEATING_COIL - }) + itemGroups.electricity, + SlimefunItems.LAVA_GENERATOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.GOLD_16K, + null, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.HEATING_COIL, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.HEATING_COIL + }) .setCapacity(512) .setEnergyProduction(10) .register(plugin); new LavaGenerator( - itemGroups.electricity, - SlimefunItems.LAVA_GENERATOR_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CORINTHIAN_BRONZE_INGOT, - SlimefunItems.CORINTHIAN_BRONZE_INGOT, - SlimefunItems.CORINTHIAN_BRONZE_INGOT, - SlimefunItems.COMPRESSED_CARBON, - SlimefunItems.LAVA_GENERATOR, - SlimefunItems.COMPRESSED_CARBON, - SlimefunItems.HEATING_COIL, - SlimefunItems.COMPRESSED_CARBON, - SlimefunItems.HEATING_COIL - }) + itemGroups.electricity, + SlimefunItems.LAVA_GENERATOR_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CORINTHIAN_BRONZE_INGOT, + SlimefunItems.CORINTHIAN_BRONZE_INGOT, + SlimefunItems.CORINTHIAN_BRONZE_INGOT, + SlimefunItems.COMPRESSED_CARBON, + SlimefunItems.LAVA_GENERATOR, + SlimefunItems.COMPRESSED_CARBON, + SlimefunItems.HEATING_COIL, + SlimefunItems.COMPRESSED_CARBON, + SlimefunItems.HEATING_COIL + }) .setCapacity(1024) .setEnergyProduction(20) .register(plugin); new CombustionGenerator( - itemGroups.electricity, - SlimefunItems.COMBUSTION_REACTOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.STEEL_INGOT, - null, - SlimefunItems.STEEL_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.STEEL_INGOT, - SlimefunItems.HEATING_COIL, - SlimefunItems.STEEL_INGOT, - SlimefunItems.HEATING_COIL - }) + itemGroups.electricity, + SlimefunItems.COMBUSTION_REACTOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.STEEL_INGOT, + null, + SlimefunItems.STEEL_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.STEEL_INGOT, + SlimefunItems.HEATING_COIL, + SlimefunItems.STEEL_INGOT, + SlimefunItems.HEATING_COIL + }) .setCapacity(256) .setEnergyProduction(12) .register(plugin); new TeleporterPylon( - itemGroups.gps, - SlimefunItems.GPS_TELEPORTER_PYLON, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.ZINC_INGOT, - new ItemStack(Material.GLASS), - SlimefunItems.ZINC_INGOT, - new ItemStack(Material.GLASS), - SlimefunItems.HEATING_COIL, - new ItemStack(Material.GLASS), - SlimefunItems.ZINC_INGOT, - new ItemStack(Material.GLASS), - SlimefunItems.ZINC_INGOT - }, - new SlimefunItemStack(SlimefunItems.GPS_TELEPORTER_PYLON, 8)) + itemGroups.gps, + SlimefunItems.GPS_TELEPORTER_PYLON, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.ZINC_INGOT, + new ItemStack(Material.GLASS), + SlimefunItems.ZINC_INGOT, + new ItemStack(Material.GLASS), + SlimefunItems.HEATING_COIL, + new ItemStack(Material.GLASS), + SlimefunItems.ZINC_INGOT, + new ItemStack(Material.GLASS), + SlimefunItems.ZINC_INGOT + }, + new SlimefunItemStack(SlimefunItems.GPS_TELEPORTER_PYLON, 8)) .register(plugin); new Teleporter( - itemGroups.gps, - SlimefunItems.GPS_TELEPORTATION_MATRIX, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.GPS_TELEPORTER_PYLON, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.GPS_TELEPORTER_PYLON, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.GPS_CONTROL_PANEL, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.GPS_TELEPORTER_PYLON, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.GPS_TELEPORTER_PYLON - }) + itemGroups.gps, + SlimefunItems.GPS_TELEPORTATION_MATRIX, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.GPS_TELEPORTER_PYLON, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.GPS_TELEPORTER_PYLON, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.GPS_CONTROL_PANEL, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.GPS_TELEPORTER_PYLON, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.GPS_TELEPORTER_PYLON + }) .register(plugin); new PortableTeleporter( - itemGroups.gps, - SlimefunItems.PORTABLE_TELEPORTER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.GPS_TRANSMITTER_3, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.GPS_TELEPORTATION_MATRIX, - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.MEDIUM_CAPACITOR, - SlimefunItems.BLISTERING_INGOT_3 - }) + itemGroups.gps, + SlimefunItems.PORTABLE_TELEPORTER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.GPS_TRANSMITTER_3, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.GPS_TELEPORTATION_MATRIX, + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.MEDIUM_CAPACITOR, + SlimefunItems.BLISTERING_INGOT_3 + }) .register(plugin); new SharedActivationPlate( - itemGroups.gps, - SlimefunItems.GPS_ACTIVATION_DEVICE_SHARED, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.STONE_PRESSURE_PLATE), - null, - new ItemStack(Material.REDSTONE), - SlimefunItems.GPS_TRANSMITTER, - new ItemStack(Material.REDSTONE), - SlimefunItems.BILLON_INGOT, - SlimefunItems.BILLON_INGOT, - SlimefunItems.BILLON_INGOT - }) + itemGroups.gps, + SlimefunItems.GPS_ACTIVATION_DEVICE_SHARED, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.STONE_PRESSURE_PLATE), + null, + new ItemStack(Material.REDSTONE), + SlimefunItems.GPS_TRANSMITTER, + new ItemStack(Material.REDSTONE), + SlimefunItems.BILLON_INGOT, + SlimefunItems.BILLON_INGOT, + SlimefunItems.BILLON_INGOT + }) .register(plugin); new PersonalActivationPlate( - itemGroups.gps, - SlimefunItems.GPS_ACTIVATION_DEVICE_PERSONAL, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.LEAD_INGOT, - null, - SlimefunItems.COBALT_INGOT, - SlimefunItems.GPS_ACTIVATION_DEVICE_SHARED, - SlimefunItems.COBALT_INGOT, - null, - SlimefunItems.LEAD_INGOT, - null - }) + itemGroups.gps, + SlimefunItems.GPS_ACTIVATION_DEVICE_PERSONAL, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.LEAD_INGOT, + null, + SlimefunItems.COBALT_INGOT, + SlimefunItems.GPS_ACTIVATION_DEVICE_SHARED, + SlimefunItems.COBALT_INGOT, + null, + SlimefunItems.LEAD_INGOT, + null + }) .register(plugin); new InfusedHopper( - itemGroups.magicalGadgets, - SlimefunItems.INFUSED_HOPPER, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.OBSIDIAN), - SlimefunItems.EARTH_RUNE, - new ItemStack(Material.HOPPER), - SlimefunItems.ENDER_RUNE, - SlimefunItems.INFUSED_MAGNET, - SlimefunItems.ENDER_RUNE, - new ItemStack(Material.HOPPER), - SlimefunItems.EARTH_RUNE, - new ItemStack(Material.OBSIDIAN) - }) + itemGroups.magicalGadgets, + SlimefunItems.INFUSED_HOPPER, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.OBSIDIAN), + SlimefunItems.EARTH_RUNE, + new ItemStack(Material.HOPPER), + SlimefunItems.ENDER_RUNE, + SlimefunItems.INFUSED_MAGNET, + SlimefunItems.ENDER_RUNE, + new ItemStack(Material.HOPPER), + SlimefunItems.EARTH_RUNE, + new ItemStack(Material.OBSIDIAN) + }) .register(plugin); new RadioactiveItem( - itemGroups.resources, - Radioactivity.HIGH, - SlimefunItems.BLISTERING_INGOT, - RecipeType.HEATED_PRESSURE_CHAMBER, - new ItemStack[] { - SlimefunItems.GOLD_24K, SlimefunItems.URANIUM, null, null, null, null, null, null, null - }) + itemGroups.resources, + Radioactivity.HIGH, + SlimefunItems.BLISTERING_INGOT, + RecipeType.HEATED_PRESSURE_CHAMBER, + new ItemStack[]{ + SlimefunItems.GOLD_24K, SlimefunItems.URANIUM, null, null, null, null, null, null, null + }) .register(plugin); new RadioactiveItem( - itemGroups.resources, - Radioactivity.VERY_HIGH, - SlimefunItems.BLISTERING_INGOT_2, - RecipeType.HEATED_PRESSURE_CHAMBER, - new ItemStack[] { - SlimefunItems.BLISTERING_INGOT, - SlimefunItems.CARBONADO, - null, - null, - null, - null, - null, - null, - null - }) + itemGroups.resources, + Radioactivity.VERY_HIGH, + SlimefunItems.BLISTERING_INGOT_2, + RecipeType.HEATED_PRESSURE_CHAMBER, + new ItemStack[]{ + SlimefunItems.BLISTERING_INGOT, + SlimefunItems.CARBONADO, + null, + null, + null, + null, + null, + null, + null + }) .register(plugin); new RadioactiveItem( - itemGroups.resources, - Radioactivity.VERY_HIGH, - SlimefunItems.BLISTERING_INGOT_3, - RecipeType.HEATED_PRESSURE_CHAMBER, - new ItemStack[] { - SlimefunItems.BLISTERING_INGOT_2, - new ItemStack(Material.NETHER_STAR), - null, - null, - null, - null, - null, - null, - null - }) + itemGroups.resources, + Radioactivity.VERY_HIGH, + SlimefunItems.BLISTERING_INGOT_3, + RecipeType.HEATED_PRESSURE_CHAMBER, + new ItemStack[]{ + SlimefunItems.BLISTERING_INGOT_2, + new ItemStack(Material.NETHER_STAR), + null, + null, + null, + null, + null, + null, + null + }) .register(plugin); new RadioactiveItem( - itemGroups.resources, - Radioactivity.VERY_HIGH, - SlimefunItems.ENRICHED_NETHER_ICE, - RecipeType.HEATED_PRESSURE_CHAMBER, - new ItemStack[] { - SlimefunItems.NETHER_ICE, SlimefunItems.PLUTONIUM, null, null, null, null, null, null, null - }, - new SlimefunItemStack(SlimefunItems.ENRICHED_NETHER_ICE, 4)) + itemGroups.resources, + Radioactivity.VERY_HIGH, + SlimefunItems.ENRICHED_NETHER_ICE, + RecipeType.HEATED_PRESSURE_CHAMBER, + new ItemStack[]{ + SlimefunItems.NETHER_ICE, SlimefunItems.PLUTONIUM, null, null, null, null, null, null, null + }, + new SlimefunItemStack(SlimefunItems.ENRICHED_NETHER_ICE, 4)) .register(plugin); new ElevatorPlate( - itemGroups.gps, - SlimefunItems.ELEVATOR_PLATE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.STONE_PRESSURE_PLATE), - null, - new ItemStack(Material.PISTON), - SlimefunItems.ELECTRIC_MOTOR, - new ItemStack(Material.PISTON), - SlimefunItems.ALUMINUM_BRONZE_INGOT, - SlimefunItems.ALUMINUM_BRONZE_INGOT, - SlimefunItems.ALUMINUM_BRONZE_INGOT - }, - new SlimefunItemStack(SlimefunItems.ELEVATOR_PLATE, 2)) + itemGroups.gps, + SlimefunItems.ELEVATOR_PLATE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.STONE_PRESSURE_PLATE), + null, + new ItemStack(Material.PISTON), + SlimefunItems.ELECTRIC_MOTOR, + new ItemStack(Material.PISTON), + SlimefunItems.ALUMINUM_BRONZE_INGOT, + SlimefunItems.ALUMINUM_BRONZE_INGOT, + SlimefunItems.ALUMINUM_BRONZE_INGOT + }, + new SlimefunItemStack(SlimefunItems.ELEVATOR_PLATE, 2)) .register(plugin); new FoodFabricator( - itemGroups.electricity, - SlimefunItems.FOOD_FABRICATOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.BILLON_INGOT, - SlimefunItems.SILVER_INGOT, - SlimefunItems.BILLON_INGOT, - SlimefunItems.TIN_CAN, - SlimefunItems.SMALL_CAPACITOR, - SlimefunItems.TIN_CAN, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.electricity, + SlimefunItems.FOOD_FABRICATOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.BILLON_INGOT, + SlimefunItems.SILVER_INGOT, + SlimefunItems.BILLON_INGOT, + SlimefunItems.TIN_CAN, + SlimefunItems.SMALL_CAPACITOR, + SlimefunItems.TIN_CAN, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .setCapacity(256) .setEnergyConsumption(7) .setProcessingSpeed(1) .register(plugin); new FoodFabricator( - itemGroups.electricity, - SlimefunItems.FOOD_FABRICATOR_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.HARDENED_METAL_INGOT, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.HARDENED_METAL_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.FOOD_FABRICATOR, - SlimefunItems.ELECTRIC_MOTOR, - null, - SlimefunItems.ELECTRO_MAGNET, - null - }) + itemGroups.electricity, + SlimefunItems.FOOD_FABRICATOR_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.HARDENED_METAL_INGOT, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.HARDENED_METAL_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.FOOD_FABRICATOR, + SlimefunItems.ELECTRIC_MOTOR, + null, + SlimefunItems.ELECTRO_MAGNET, + null + }) .setCapacity(512) .setEnergyConsumption(24) .setProcessingSpeed(6) @@ -7053,108 +7055,108 @@ public int getEnergyConsumption() { new OrganicFood(itemGroups.misc, SlimefunItems.SEAGRASS_ORGANIC_FOOD, Material.SEAGRASS).register(plugin); new AutoBreeder( - itemGroups.electricity, - SlimefunItems.AUTO_BREEDER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.GOLD_18K, - SlimefunItems.TIN_CAN, - SlimefunItems.GOLD_18K, - SlimefunItems.ELECTRIC_MOTOR, - new ItemStack(Material.HAY_BLOCK), - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.LEAD_INGOT, - SlimefunItems.FOOD_FABRICATOR, - SlimefunItems.LEAD_INGOT - }) + itemGroups.electricity, + SlimefunItems.AUTO_BREEDER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.GOLD_18K, + SlimefunItems.TIN_CAN, + SlimefunItems.GOLD_18K, + SlimefunItems.ELECTRIC_MOTOR, + new ItemStack(Material.HAY_BLOCK), + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.LEAD_INGOT, + SlimefunItems.FOOD_FABRICATOR, + SlimefunItems.LEAD_INGOT + }) .register(plugin); new AnimalGrowthAccelerator( - itemGroups.electricity, - SlimefunItems.ANIMAL_GROWTH_ACCELERATOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.BLISTERING_INGOT_3, - null, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.WHEAT_ORGANIC_FOOD, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.AUTO_BREEDER, - SlimefunItems.REINFORCED_ALLOY_INGOT - }) + itemGroups.electricity, + SlimefunItems.ANIMAL_GROWTH_ACCELERATOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.BLISTERING_INGOT_3, + null, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.WHEAT_ORGANIC_FOOD, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.AUTO_BREEDER, + SlimefunItems.REINFORCED_ALLOY_INGOT + }) .register(plugin); new TreeGrowthAccelerator( - itemGroups.electricity, - SlimefunItems.TREE_GROWTH_ACCELERATOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.CARBONADO, - null, - SlimefunItems.ELECTRIC_MOTOR, - new ItemStack(Material.DIAMOND_AXE), - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.MAGNESIUM_SALT, - SlimefunItems.BIG_CAPACITOR, - SlimefunItems.MAGNESIUM_SALT - }) + itemGroups.electricity, + SlimefunItems.TREE_GROWTH_ACCELERATOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.CARBONADO, + null, + SlimefunItems.ELECTRIC_MOTOR, + new ItemStack(Material.DIAMOND_AXE), + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.MAGNESIUM_SALT, + SlimefunItems.BIG_CAPACITOR, + SlimefunItems.MAGNESIUM_SALT + }) .register(plugin); new ExpCollector( - itemGroups.electricity, - SlimefunItems.EXP_COLLECTOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.BLISTERING_INGOT_3, - null, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - SlimefunItems.AUTO_ENCHANTER, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - SlimefunItems.ALUMINUM_BRONZE_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.ALUMINUM_BRONZE_INGOT - }) + itemGroups.electricity, + SlimefunItems.EXP_COLLECTOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.BLISTERING_INGOT_3, + null, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + SlimefunItems.AUTO_ENCHANTER, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + SlimefunItems.ALUMINUM_BRONZE_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.ALUMINUM_BRONZE_INGOT + }) .register(plugin); new FoodComposter( - itemGroups.electricity, - SlimefunItems.FOOD_COMPOSTER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.FOOD_FABRICATOR, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.TIN_CAN, - SlimefunItems.MEDIUM_CAPACITOR, - SlimefunItems.TIN_CAN, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.electricity, + SlimefunItems.FOOD_COMPOSTER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.FOOD_FABRICATOR, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.TIN_CAN, + SlimefunItems.MEDIUM_CAPACITOR, + SlimefunItems.TIN_CAN, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .setCapacity(256) .setEnergyConsumption(8) .setProcessingSpeed(1) .register(plugin); new FoodComposter( - itemGroups.electricity, - SlimefunItems.FOOD_COMPOSTER_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.HARDENED_METAL_INGOT, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.HARDENED_METAL_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.FOOD_COMPOSTER, - SlimefunItems.ELECTRIC_MOTOR, - null, - SlimefunItems.ELECTRO_MAGNET, - null - }) + itemGroups.electricity, + SlimefunItems.FOOD_COMPOSTER_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.HARDENED_METAL_INGOT, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.HARDENED_METAL_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.FOOD_COMPOSTER, + SlimefunItems.ELECTRIC_MOTOR, + null, + SlimefunItems.ELECTRO_MAGNET, + null + }) .setCapacity(512) .setEnergyConsumption(26) .setProcessingSpeed(10) @@ -7182,9 +7184,9 @@ public int getEnergyConsumption() { .register(plugin); new OrganicFertilizer( - itemGroups.misc, - SlimefunItems.SWEET_BERRIES_FERTILIZER, - SlimefunItems.SWEET_BERRIES_ORGANIC_FOOD) + itemGroups.misc, + SlimefunItems.SWEET_BERRIES_FERTILIZER, + SlimefunItems.SWEET_BERRIES_ORGANIC_FOOD) .register(plugin); new OrganicFertilizer(itemGroups.misc, SlimefunItems.KELP_FERTILIZER, SlimefunItems.KELP_ORGANIC_FOOD) @@ -7200,16 +7202,16 @@ public int getEnergyConsumption() { itemGroups.electricity, SlimefunItems.CROP_GROWTH_ACCELERATOR, RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.BLISTERING_INGOT_3, - null, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.PROGRAMMABLE_ANDROID_FARMER, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.ANIMAL_GROWTH_ACCELERATOR, - SlimefunItems.ELECTRO_MAGNET + new ItemStack[]{ + null, + SlimefunItems.BLISTERING_INGOT_3, + null, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.PROGRAMMABLE_ANDROID_FARMER, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.ANIMAL_GROWTH_ACCELERATOR, + SlimefunItems.ELECTRO_MAGNET }) { @Override public int getEnergyConsumption() { @@ -7231,16 +7233,16 @@ public int getSpeed() { itemGroups.electricity, SlimefunItems.CROP_GROWTH_ACCELERATOR_2, RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.BLISTERING_INGOT_3, - null, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.CROP_GROWTH_ACCELERATOR, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.ADVANCED_CIRCUIT_BOARD, - SlimefunItems.ELECTRO_MAGNET + new ItemStack[]{ + null, + SlimefunItems.BLISTERING_INGOT_3, + null, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.CROP_GROWTH_ACCELERATOR, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.ADVANCED_CIRCUIT_BOARD, + SlimefunItems.ELECTRO_MAGNET }) { @Override public int getEnergyConsumption() { @@ -7258,121 +7260,121 @@ public int getSpeed() { } }.register(plugin); - new Freezer(itemGroups.electricity, SlimefunItems.FREEZER, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - null, - SlimefunItems.SILVER_INGOT, - null, - SlimefunItems.ELECTRIC_MOTOR, - new ItemStack(Material.PACKED_ICE), - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.COOLING_UNIT, - SlimefunItems.MEDIUM_CAPACITOR, - SlimefunItems.COOLING_UNIT - }) + new Freezer(itemGroups.electricity, SlimefunItems.FREEZER, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + null, + SlimefunItems.SILVER_INGOT, + null, + SlimefunItems.ELECTRIC_MOTOR, + new ItemStack(Material.PACKED_ICE), + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.COOLING_UNIT, + SlimefunItems.MEDIUM_CAPACITOR, + SlimefunItems.COOLING_UNIT + }) .setCapacity(256) .setEnergyConsumption(9) .setProcessingSpeed(1) .register(plugin); new Freezer( - itemGroups.electricity, - SlimefunItems.FREEZER_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.SILVER_INGOT, - null, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.FREEZER, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.COOLING_UNIT, - SlimefunItems.ALUMINUM_BRASS_INGOT, - SlimefunItems.COOLING_UNIT - }) + itemGroups.electricity, + SlimefunItems.FREEZER_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.SILVER_INGOT, + null, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.FREEZER, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.COOLING_UNIT, + SlimefunItems.ALUMINUM_BRASS_INGOT, + SlimefunItems.COOLING_UNIT + }) .setCapacity(256) .setEnergyConsumption(15) .setProcessingSpeed(2) .register(plugin); new Freezer( - itemGroups.electricity, - SlimefunItems.FREEZER_3, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.FREEZER_2, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.COOLING_UNIT, - SlimefunItems.COOLING_UNIT, - SlimefunItems.COOLING_UNIT - }) + itemGroups.electricity, + SlimefunItems.FREEZER_3, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.FREEZER_2, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.COOLING_UNIT, + SlimefunItems.COOLING_UNIT, + SlimefunItems.COOLING_UNIT + }) .setCapacity(256) .setEnergyConsumption(21) .setProcessingSpeed(3) .register(plugin); new CoolantCell( - itemGroups.technicalComponents, - SlimefunItems.REACTOR_COOLANT_CELL, - RecipeType.FREEZER, - new ItemStack[] { - new ItemStack(Material.BLUE_ICE), null, null, null, null, null, null, null, null - }) + itemGroups.technicalComponents, + SlimefunItems.REACTOR_COOLANT_CELL, + RecipeType.FREEZER, + new ItemStack[]{ + new ItemStack(Material.BLUE_ICE), null, null, null, null, null, null, null, null + }) .register(plugin); new CoolantCell( - itemGroups.technicalComponents, - SlimefunItems.NETHER_ICE_COOLANT_CELL, - RecipeType.HEATED_PRESSURE_CHAMBER, - new ItemStack[] { - SlimefunItems.ENRICHED_NETHER_ICE, null, null, null, null, null, null, null, null - }, - new SlimefunItemStack(SlimefunItems.NETHER_ICE_COOLANT_CELL, 8)) + itemGroups.technicalComponents, + SlimefunItems.NETHER_ICE_COOLANT_CELL, + RecipeType.HEATED_PRESSURE_CHAMBER, + new ItemStack[]{ + SlimefunItems.ENRICHED_NETHER_ICE, null, null, null, null, null, null, null, null + }, + new SlimefunItemStack(SlimefunItems.NETHER_ICE_COOLANT_CELL, 8)) .register(plugin); new RadioactiveItem( - itemGroups.resources, - Radioactivity.HIGH, - SlimefunItems.NEPTUNIUM, - RecipeType.NUCLEAR_REACTOR, - new ItemStack[] {SlimefunItems.URANIUM, null, null, null, null, null, null, null, null}) + itemGroups.resources, + Radioactivity.HIGH, + SlimefunItems.NEPTUNIUM, + RecipeType.NUCLEAR_REACTOR, + new ItemStack[]{SlimefunItems.URANIUM, null, null, null, null, null, null, null, null}) .register(plugin); new RadioactiveItem( - itemGroups.resources, - Radioactivity.VERY_HIGH, - SlimefunItems.PLUTONIUM, - RecipeType.NUCLEAR_REACTOR, - new ItemStack[] {SlimefunItems.NEPTUNIUM, null, null, null, null, null, null, null, null}) + itemGroups.resources, + Radioactivity.VERY_HIGH, + SlimefunItems.PLUTONIUM, + RecipeType.NUCLEAR_REACTOR, + new ItemStack[]{SlimefunItems.NEPTUNIUM, null, null, null, null, null, null, null, null}) .register(plugin); new RadioactiveItem( - itemGroups.resources, - Radioactivity.VERY_HIGH, - SlimefunItems.BOOSTED_URANIUM, - RecipeType.HEATED_PRESSURE_CHAMBER, - new ItemStack[] { - SlimefunItems.PLUTONIUM, SlimefunItems.URANIUM, null, null, null, null, null, null, null - }) + itemGroups.resources, + Radioactivity.VERY_HIGH, + SlimefunItems.BOOSTED_URANIUM, + RecipeType.HEATED_PRESSURE_CHAMBER, + new ItemStack[]{ + SlimefunItems.PLUTONIUM, SlimefunItems.URANIUM, null, null, null, null, null, null, null + }) .register(plugin); new NuclearReactor( itemGroups.electricity, SlimefunItems.NUCLEAR_REACTOR, RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.CARBONADO_EDGED_CAPACITOR, - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.COOLING_UNIT, - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.LEAD_INGOT, - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.LEAD_INGOT + new ItemStack[]{ + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.CARBONADO_EDGED_CAPACITOR, + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.COOLING_UNIT, + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.LEAD_INGOT, + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.LEAD_INGOT }) { @Override public int getEnergyProduction() { @@ -7389,16 +7391,16 @@ public int getCapacity() { itemGroups.electricity, SlimefunItems.NETHER_STAR_REACTOR, RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.BOOSTED_URANIUM, - SlimefunItems.CARBONADO_EDGED_CAPACITOR, - SlimefunItems.BOOSTED_URANIUM, - SlimefunItems.REINFORCED_PLATE, - new ItemStack(Material.NETHER_STAR), - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.CORINTHIAN_BRONZE_INGOT, - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.CORINTHIAN_BRONZE_INGOT + new ItemStack[]{ + SlimefunItems.BOOSTED_URANIUM, + SlimefunItems.CARBONADO_EDGED_CAPACITOR, + SlimefunItems.BOOSTED_URANIUM, + SlimefunItems.REINFORCED_PLATE, + new ItemStack(Material.NETHER_STAR), + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.CORINTHIAN_BRONZE_INGOT, + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.CORINTHIAN_BRONZE_INGOT }) { @Override public int getEnergyProduction() { @@ -7412,548 +7414,548 @@ public int getCapacity() { }.register(plugin); new UnplaceableBlock( - itemGroups.cargo, - SlimefunItems.CARGO_MOTOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.HARDENED_GLASS, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.HARDENED_GLASS, - SlimefunItems.SILVER_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.SILVER_INGOT, - SlimefunItems.HARDENED_GLASS, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.HARDENED_GLASS - }, - new SlimefunItemStack(SlimefunItems.CARGO_MOTOR, 4)) + itemGroups.cargo, + SlimefunItems.CARGO_MOTOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.HARDENED_GLASS, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.HARDENED_GLASS, + SlimefunItems.SILVER_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.SILVER_INGOT, + SlimefunItems.HARDENED_GLASS, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.HARDENED_GLASS + }, + new SlimefunItemStack(SlimefunItems.CARGO_MOTOR, 4)) .register(plugin); new CargoManager( - itemGroups.cargo, - SlimefunItems.CARGO_MANAGER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.HOLOGRAM_PROJECTOR, - null, - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.CARGO_MOTOR, - SlimefunItems.REINFORCED_PLATE, - SlimefunItems.ALUMINUM_BRONZE_INGOT, - SlimefunItems.ANDROID_MEMORY_CORE, - SlimefunItems.ALUMINUM_BRONZE_INGOT - }) + itemGroups.cargo, + SlimefunItems.CARGO_MANAGER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.HOLOGRAM_PROJECTOR, + null, + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.CARGO_MOTOR, + SlimefunItems.REINFORCED_PLATE, + SlimefunItems.ALUMINUM_BRONZE_INGOT, + SlimefunItems.ANDROID_MEMORY_CORE, + SlimefunItems.ALUMINUM_BRONZE_INGOT + }) .register(plugin); new CargoConnectorNode( - itemGroups.cargo, - SlimefunItems.CARGO_CONNECTOR_NODE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.BRONZE_INGOT, - SlimefunItems.SILVER_INGOT, - SlimefunItems.BRONZE_INGOT, - SlimefunItems.SILVER_INGOT, - SlimefunItems.CARGO_MOTOR, - SlimefunItems.SILVER_INGOT, - SlimefunItems.BRONZE_INGOT, - SlimefunItems.SILVER_INGOT, - SlimefunItems.BRONZE_INGOT - }, - new SlimefunItemStack(SlimefunItems.CARGO_CONNECTOR_NODE, 4)) + itemGroups.cargo, + SlimefunItems.CARGO_CONNECTOR_NODE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.BRONZE_INGOT, + SlimefunItems.SILVER_INGOT, + SlimefunItems.BRONZE_INGOT, + SlimefunItems.SILVER_INGOT, + SlimefunItems.CARGO_MOTOR, + SlimefunItems.SILVER_INGOT, + SlimefunItems.BRONZE_INGOT, + SlimefunItems.SILVER_INGOT, + SlimefunItems.BRONZE_INGOT + }, + new SlimefunItemStack(SlimefunItems.CARGO_CONNECTOR_NODE, 4)) .register(plugin); new CargoInputNode( - itemGroups.cargo, - SlimefunItems.CARGO_INPUT_NODE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.HOPPER), - null, - SlimefunItems.BILLON_INGOT, - SlimefunItems.CARGO_CONNECTOR_NODE, - SlimefunItems.BILLON_INGOT, - null, - new ItemStack(Material.HOPPER), - null - }, - new SlimefunItemStack(SlimefunItems.CARGO_INPUT_NODE, 2)) + itemGroups.cargo, + SlimefunItems.CARGO_INPUT_NODE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.HOPPER), + null, + SlimefunItems.BILLON_INGOT, + SlimefunItems.CARGO_CONNECTOR_NODE, + SlimefunItems.BILLON_INGOT, + null, + new ItemStack(Material.HOPPER), + null + }, + new SlimefunItemStack(SlimefunItems.CARGO_INPUT_NODE, 2)) .register(plugin); new CargoOutputNode( - itemGroups.cargo, - SlimefunItems.CARGO_OUTPUT_NODE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.HOPPER), - null, - SlimefunItems.BRASS_INGOT, - SlimefunItems.CARGO_CONNECTOR_NODE, - SlimefunItems.BRASS_INGOT, - null, - new ItemStack(Material.HOPPER), - null - }, - new SlimefunItemStack(SlimefunItems.CARGO_OUTPUT_NODE, 2)) + itemGroups.cargo, + SlimefunItems.CARGO_OUTPUT_NODE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.HOPPER), + null, + SlimefunItems.BRASS_INGOT, + SlimefunItems.CARGO_CONNECTOR_NODE, + SlimefunItems.BRASS_INGOT, + null, + new ItemStack(Material.HOPPER), + null + }, + new SlimefunItemStack(SlimefunItems.CARGO_OUTPUT_NODE, 2)) .register(plugin); new AdvancedCargoOutputNode( - itemGroups.cargo, - SlimefunItems.CARGO_OUTPUT_NODE_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.CARGO_MOTOR, - null, - SlimefunItems.COBALT_INGOT, - SlimefunItems.CARGO_OUTPUT_NODE, - SlimefunItems.COBALT_INGOT, - null, - SlimefunItems.CARGO_MOTOR, - null - }) + itemGroups.cargo, + SlimefunItems.CARGO_OUTPUT_NODE_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.CARGO_MOTOR, + null, + SlimefunItems.COBALT_INGOT, + SlimefunItems.CARGO_OUTPUT_NODE, + SlimefunItems.COBALT_INGOT, + null, + SlimefunItems.CARGO_MOTOR, + null + }) .register(plugin); new ReactorAccessPort( - itemGroups.cargo, - SlimefunItems.REACTOR_ACCESS_PORT, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.BLISTERING_INGOT_3, - null, - SlimefunItems.LEAD_INGOT, - SlimefunItems.CARGO_MOTOR, - SlimefunItems.LEAD_INGOT, - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.cargo, + SlimefunItems.REACTOR_ACCESS_PORT, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.BLISTERING_INGOT_3, + null, + SlimefunItems.LEAD_INGOT, + SlimefunItems.CARGO_MOTOR, + SlimefunItems.LEAD_INGOT, + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .register(plugin); new FluidPump( - itemGroups.electricity, - SlimefunItems.FLUID_PUMP, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.MEDIUM_CAPACITOR, - null, - new ItemStack(Material.BUCKET), - SlimefunItems.CARGO_MOTOR, - new ItemStack(Material.BUCKET), - null, - SlimefunItems.OIL_PUMP, - null - }) - .register(plugin); - - new TrashCan(itemGroups.cargo, SlimefunItems.TRASH_CAN, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[] { - null, - SlimefunItems.PORTABLE_DUSTBIN, - null, - SlimefunItems.LEAD_INGOT, - SlimefunItems.CARGO_MOTOR, - SlimefunItems.LEAD_INGOT, - SlimefunItems.ALUMINUM_INGOT, - SlimefunItems.LEAD_INGOT, - SlimefunItems.ALUMINUM_INGOT + itemGroups.electricity, + SlimefunItems.FLUID_PUMP, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.MEDIUM_CAPACITOR, + null, + new ItemStack(Material.BUCKET), + SlimefunItems.CARGO_MOTOR, + new ItemStack(Material.BUCKET), + null, + SlimefunItems.OIL_PUMP, + null }) .register(plugin); + new TrashCan(itemGroups.cargo, SlimefunItems.TRASH_CAN, RecipeType.ENHANCED_CRAFTING_TABLE, new ItemStack[]{ + null, + SlimefunItems.PORTABLE_DUSTBIN, + null, + SlimefunItems.LEAD_INGOT, + SlimefunItems.CARGO_MOTOR, + SlimefunItems.LEAD_INGOT, + SlimefunItems.ALUMINUM_INGOT, + SlimefunItems.LEAD_INGOT, + SlimefunItems.ALUMINUM_INGOT + }) + .register(plugin); + new CarbonPress( - itemGroups.electricity, - SlimefunItems.CARBON_PRESS, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CARBON, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.CARBON, - SlimefunItems.CARBON, - SlimefunItems.HEATED_PRESSURE_CHAMBER, - SlimefunItems.CARBON, - SlimefunItems.HEATING_COIL, - SlimefunItems.CARBONADO, - SlimefunItems.HEATING_COIL - }) + itemGroups.electricity, + SlimefunItems.CARBON_PRESS, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CARBON, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.CARBON, + SlimefunItems.CARBON, + SlimefunItems.HEATED_PRESSURE_CHAMBER, + SlimefunItems.CARBON, + SlimefunItems.HEATING_COIL, + SlimefunItems.CARBONADO, + SlimefunItems.HEATING_COIL + }) .setCapacity(256) .setEnergyConsumption(10) .setProcessingSpeed(1) .register(plugin); new CarbonPress( - itemGroups.electricity, - SlimefunItems.CARBON_PRESS_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CARBONADO, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.CARBONADO, - SlimefunItems.CARBON, - SlimefunItems.CARBON_PRESS, - SlimefunItems.CARBON, - SlimefunItems.HEATING_COIL, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.HEATING_COIL - }) + itemGroups.electricity, + SlimefunItems.CARBON_PRESS_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CARBONADO, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.CARBONADO, + SlimefunItems.CARBON, + SlimefunItems.CARBON_PRESS, + SlimefunItems.CARBON, + SlimefunItems.HEATING_COIL, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.HEATING_COIL + }) .setCapacity(512) .setEnergyConsumption(25) .setProcessingSpeed(3) .register(plugin); new CarbonPress( - itemGroups.electricity, - SlimefunItems.CARBON_PRESS_3, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.CARBONADO, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.CARBONADO, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.CARBON_PRESS_2, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.HEATING_COIL, - SlimefunItems.ELECTRO_MAGNET, - SlimefunItems.HEATING_COIL - }) + itemGroups.electricity, + SlimefunItems.CARBON_PRESS_3, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.CARBONADO, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.CARBONADO, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.CARBON_PRESS_2, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.HEATING_COIL, + SlimefunItems.ELECTRO_MAGNET, + SlimefunItems.HEATING_COIL + }) .setCapacity(512) .setEnergyConsumption(90) .setProcessingSpeed(15) .register(plugin); new ElectricSmeltery( - itemGroups.electricity, - SlimefunItems.ELECTRIC_SMELTERY, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.NETHER_BRICKS), - SlimefunItems.ELECTRIC_MOTOR, - new ItemStack(Material.NETHER_BRICKS), - SlimefunItems.HEATING_COIL, - SlimefunItems.ELECTRIC_INGOT_FACTORY, - SlimefunItems.HEATING_COIL, - SlimefunItems.GILDED_IRON, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.GILDED_IRON - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_SMELTERY, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.NETHER_BRICKS), + SlimefunItems.ELECTRIC_MOTOR, + new ItemStack(Material.NETHER_BRICKS), + SlimefunItems.HEATING_COIL, + SlimefunItems.ELECTRIC_INGOT_FACTORY, + SlimefunItems.HEATING_COIL, + SlimefunItems.GILDED_IRON, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.GILDED_IRON + }) .setCapacity(512) .setEnergyConsumption(10) .setProcessingSpeed(1) .register(plugin); new ElectricSmeltery( - itemGroups.electricity, - SlimefunItems.ELECTRIC_SMELTERY_2, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.POWER_CRYSTAL, - SlimefunItems.DAMASCUS_STEEL_INGOT, - SlimefunItems.HEATING_COIL, - SlimefunItems.ELECTRIC_SMELTERY, - SlimefunItems.HEATING_COIL, - SlimefunItems.GILDED_IRON, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.GILDED_IRON - }) + itemGroups.electricity, + SlimefunItems.ELECTRIC_SMELTERY_2, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.POWER_CRYSTAL, + SlimefunItems.DAMASCUS_STEEL_INGOT, + SlimefunItems.HEATING_COIL, + SlimefunItems.ELECTRIC_SMELTERY, + SlimefunItems.HEATING_COIL, + SlimefunItems.GILDED_IRON, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.GILDED_IRON + }) .setCapacity(1024) .setEnergyConsumption(20) .setProcessingSpeed(3) .register(plugin); new IronGolemAssembler( - itemGroups.electricity, - SlimefunItems.IRON_GOLEM_ASSEMBLER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.ADVANCED_CIRCUIT_BOARD, - SlimefunItems.BLISTERING_INGOT_3, - new ItemStack(Material.IRON_BLOCK), - SlimefunItems.ANDROID_MEMORY_CORE, - new ItemStack(Material.IRON_BLOCK), - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.CARBONADO_EDGED_CAPACITOR - }) + itemGroups.electricity, + SlimefunItems.IRON_GOLEM_ASSEMBLER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.ADVANCED_CIRCUIT_BOARD, + SlimefunItems.BLISTERING_INGOT_3, + new ItemStack(Material.IRON_BLOCK), + SlimefunItems.ANDROID_MEMORY_CORE, + new ItemStack(Material.IRON_BLOCK), + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.CARBONADO_EDGED_CAPACITOR + }) .register(plugin); new WitherAssembler( - itemGroups.electricity, - SlimefunItems.WITHER_ASSEMBLER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.BLISTERING_INGOT_3, - new ItemStack(Material.NETHER_STAR), - SlimefunItems.BLISTERING_INGOT_3, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - SlimefunItems.ANDROID_MEMORY_CORE, - SlimefunItems.WITHER_PROOF_OBSIDIAN, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.REINFORCED_ALLOY_INGOT, - SlimefunItems.CARBONADO_EDGED_CAPACITOR - }) + itemGroups.electricity, + SlimefunItems.WITHER_ASSEMBLER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.BLISTERING_INGOT_3, + new ItemStack(Material.NETHER_STAR), + SlimefunItems.BLISTERING_INGOT_3, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + SlimefunItems.ANDROID_MEMORY_CORE, + SlimefunItems.WITHER_PROOF_OBSIDIAN, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.REINFORCED_ALLOY_INGOT, + SlimefunItems.CARBONADO_EDGED_CAPACITOR + }) .register(plugin); new TapeMeasure( - itemGroups.usefulItems, - SlimefunItems.TAPE_MEASURE, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - SlimefunItems.SILICON, - new ItemStack(Material.YELLOW_DYE), - SlimefunItems.SILICON, - new ItemStack(Material.YELLOW_DYE), - new ItemStack(Material.STRING), - new ItemStack(Material.YELLOW_DYE), - SlimefunItems.GILDED_IRON, - new ItemStack(Material.YELLOW_DYE), - SlimefunItems.SILICON - }) - .register(plugin); - - new SlimefunItem(itemGroups.magicalArmor, SlimefunItems.BEE_HELMET, RecipeType.ARMOR_FORGE, new ItemStack[] { - SlimefunItems.GOLD_8K, - new ItemStack(Material.HONEY_BLOCK), - SlimefunItems.GOLD_8K, - new ItemStack(Material.HONEYCOMB_BLOCK), - null, - new ItemStack(Material.HONEYCOMB_BLOCK), - null, - null, - null - }) - .register(plugin); - - new BeeWings(itemGroups.magicalArmor, SlimefunItems.BEE_WINGS, RecipeType.ARMOR_FORGE, new ItemStack[] { - SlimefunItems.GOLD_8K, - null, - SlimefunItems.GOLD_8K, - new ItemStack(Material.HONEYCOMB_BLOCK), - new ItemStack(Material.ELYTRA), - new ItemStack(Material.HONEYCOMB_BLOCK), - new ItemStack(Material.HONEY_BLOCK), - SlimefunItems.GOLD_8K, - new ItemStack(Material.HONEY_BLOCK) - }) - .register(plugin); - - new SlimefunItem(itemGroups.magicalArmor, SlimefunItems.BEE_LEGGINGS, RecipeType.ARMOR_FORGE, new ItemStack[] { - SlimefunItems.GOLD_8K, - new ItemStack(Material.HONEY_BLOCK), - SlimefunItems.GOLD_8K, - new ItemStack(Material.HONEYCOMB_BLOCK), - null, - new ItemStack(Material.HONEYCOMB_BLOCK), - new ItemStack(Material.HONEYCOMB_BLOCK), - null, - new ItemStack(Material.HONEYCOMB_BLOCK) + itemGroups.usefulItems, + SlimefunItems.TAPE_MEASURE, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + SlimefunItems.SILICON, + new ItemStack(Material.YELLOW_DYE), + SlimefunItems.SILICON, + new ItemStack(Material.YELLOW_DYE), + new ItemStack(Material.STRING), + new ItemStack(Material.YELLOW_DYE), + SlimefunItems.GILDED_IRON, + new ItemStack(Material.YELLOW_DYE), + SlimefunItems.SILICON }) .register(plugin); + new SlimefunItem(itemGroups.magicalArmor, SlimefunItems.BEE_HELMET, RecipeType.ARMOR_FORGE, new ItemStack[]{ + SlimefunItems.GOLD_8K, + new ItemStack(Material.HONEY_BLOCK), + SlimefunItems.GOLD_8K, + new ItemStack(Material.HONEYCOMB_BLOCK), + null, + new ItemStack(Material.HONEYCOMB_BLOCK), + null, + null, + null + }) + .register(plugin); + + new BeeWings(itemGroups.magicalArmor, SlimefunItems.BEE_WINGS, RecipeType.ARMOR_FORGE, new ItemStack[]{ + SlimefunItems.GOLD_8K, + null, + SlimefunItems.GOLD_8K, + new ItemStack(Material.HONEYCOMB_BLOCK), + new ItemStack(Material.ELYTRA), + new ItemStack(Material.HONEYCOMB_BLOCK), + new ItemStack(Material.HONEY_BLOCK), + SlimefunItems.GOLD_8K, + new ItemStack(Material.HONEY_BLOCK) + }) + .register(plugin); + + new SlimefunItem(itemGroups.magicalArmor, SlimefunItems.BEE_LEGGINGS, RecipeType.ARMOR_FORGE, new ItemStack[]{ + SlimefunItems.GOLD_8K, + new ItemStack(Material.HONEY_BLOCK), + SlimefunItems.GOLD_8K, + new ItemStack(Material.HONEYCOMB_BLOCK), + null, + new ItemStack(Material.HONEYCOMB_BLOCK), + new ItemStack(Material.HONEYCOMB_BLOCK), + null, + new ItemStack(Material.HONEYCOMB_BLOCK) + }) + .register(plugin); + new LongFallBoots( - itemGroups.magicalArmor, - SlimefunItems.BEE_BOOTS, - RecipeType.ARMOR_FORGE, - new ItemStack[] { - null, - null, - null, - SlimefunItems.GOLD_8K, - null, - SlimefunItems.GOLD_8K, - new ItemStack(Material.HONEY_BLOCK), - null, - new ItemStack(Material.HONEY_BLOCK) - }, - new PotionEffect[] {new PotionEffect(VersionedPotionEffectType.JUMP_BOOST, 300, 2)}, - SoundEffect.BEE_BOOTS_FALL_SOUND) + itemGroups.magicalArmor, + SlimefunItems.BEE_BOOTS, + RecipeType.ARMOR_FORGE, + new ItemStack[]{ + null, + null, + null, + SlimefunItems.GOLD_8K, + null, + SlimefunItems.GOLD_8K, + new ItemStack(Material.HONEY_BLOCK), + null, + new ItemStack(Material.HONEY_BLOCK) + }, + new PotionEffect[]{new PotionEffect(VersionedPotionEffectType.JUMP_BOOST, 300, 2)}, + SoundEffect.BEE_BOOTS_FALL_SOUND) .register(plugin); new VillagerRune( - itemGroups.magicalResources, - SlimefunItems.VILLAGER_RUNE, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - SlimefunItems.MAGIC_LUMP_3, - SlimefunItems.MAGICAL_GLASS, - new ItemStack(Material.CRYING_OBSIDIAN), - SlimefunItems.STRANGE_NETHER_GOO, - SlimefunItems.FIRE_RUNE, - SlimefunItems.STRANGE_NETHER_GOO, - new ItemStack(Material.CRYING_OBSIDIAN), - SlimefunItems.MAGICAL_GLASS, - SlimefunItems.MAGIC_LUMP_3 - }, - new SlimefunItemStack(SlimefunItems.VILLAGER_RUNE, 3)) + itemGroups.magicalResources, + SlimefunItems.VILLAGER_RUNE, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + SlimefunItems.MAGIC_LUMP_3, + SlimefunItems.MAGICAL_GLASS, + new ItemStack(Material.CRYING_OBSIDIAN), + SlimefunItems.STRANGE_NETHER_GOO, + SlimefunItems.FIRE_RUNE, + SlimefunItems.STRANGE_NETHER_GOO, + new ItemStack(Material.CRYING_OBSIDIAN), + SlimefunItems.MAGICAL_GLASS, + SlimefunItems.MAGIC_LUMP_3 + }, + new SlimefunItemStack(SlimefunItems.VILLAGER_RUNE, 3)) .register(plugin); new StrangeNetherGoo( - itemGroups.magicalResources, - SlimefunItems.STRANGE_NETHER_GOO, - RecipeType.BARTER_DROP, - new ItemStack[] { - null, - null, - null, - null, - new CustomItemStack(HeadTexture.PIGLIN_HEAD.getAsItemStack(), "&fPiglin"), - null, - null, - null, - null - }) - .register(plugin); - - new Juice(itemGroups.food, SlimefunItems.GLOW_BERRY_JUICE, RecipeType.JUICER, new ItemStack[] { - new ItemStack(Material.GLOW_BERRIES), null, null, null, null, null, null, null, null - }) - .register(plugin); - - new ElytraCap(itemGroups.magicalArmor, SlimefunItems.ELYTRA_CAP, RecipeType.ARMOR_FORGE, new ItemStack[] { - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.SLIME_BALL), - SlimefunItems.ELYTRA_SCALE, - SlimefunItems.ELYTRA_SCALE, - SlimefunItems.ELYTRA_SCALE, - new ItemStack(Material.SLIME_BALL), - new ItemStack(Material.LEATHER_HELMET), - new ItemStack(Material.SLIME_BALL) + itemGroups.magicalResources, + SlimefunItems.STRANGE_NETHER_GOO, + RecipeType.BARTER_DROP, + new ItemStack[]{ + null, + null, + null, + null, + new CustomItemStack(HeadTexture.PIGLIN_HEAD.getAsItemStack(), "&fPiglin"), + null, + null, + null, + null }) .register(plugin); + new Juice(itemGroups.food, SlimefunItems.GLOW_BERRY_JUICE, RecipeType.JUICER, new ItemStack[]{ + new ItemStack(Material.GLOW_BERRIES), null, null, null, null, null, null, null, null + }) + .register(plugin); + + new ElytraCap(itemGroups.magicalArmor, SlimefunItems.ELYTRA_CAP, RecipeType.ARMOR_FORGE, new ItemStack[]{ + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.SLIME_BALL), + SlimefunItems.ELYTRA_SCALE, + SlimefunItems.ELYTRA_SCALE, + SlimefunItems.ELYTRA_SCALE, + new ItemStack(Material.SLIME_BALL), + new ItemStack(Material.LEATHER_HELMET), + new ItemStack(Material.SLIME_BALL) + }) + .register(plugin); + new SlimefunItem( - itemGroups.magicalResources, - SlimefunItems.RAINBOW_LEATHER, - RecipeType.ANCIENT_ALTAR, - new ItemStack[] { - new ItemStack(Material.EMERALD), - new ItemStack(Material.LEATHER), - SlimefunItems.MAGIC_LUMP_2, - new ItemStack(Material.RABBIT_HIDE), - SlimefunItems.RAINBOW_RUNE, - new ItemStack(Material.RABBIT_HIDE), - SlimefunItems.MAGIC_LUMP_2, - new ItemStack(Material.LEATHER), - new ItemStack(Material.EMERALD) - }, - new SlimefunItemStack(SlimefunItems.RAINBOW_LEATHER, 4)) + itemGroups.magicalResources, + SlimefunItems.RAINBOW_LEATHER, + RecipeType.ANCIENT_ALTAR, + new ItemStack[]{ + new ItemStack(Material.EMERALD), + new ItemStack(Material.LEATHER), + SlimefunItems.MAGIC_LUMP_2, + new ItemStack(Material.RABBIT_HIDE), + SlimefunItems.RAINBOW_RUNE, + new ItemStack(Material.RABBIT_HIDE), + SlimefunItems.MAGIC_LUMP_2, + new ItemStack(Material.LEATHER), + new ItemStack(Material.EMERALD) + }, + new SlimefunItemStack(SlimefunItems.RAINBOW_LEATHER, 4)) .register(plugin); new UnplaceableBlock( - itemGroups.cargo, - SlimefunItems.CRAFTING_MOTOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - new ItemStack(Material.CRAFTING_TABLE), - SlimefunItems.BLISTERING_INGOT_3, - new ItemStack(Material.CRAFTING_TABLE), - SlimefunItems.REDSTONE_ALLOY, - SlimefunItems.CARGO_MOTOR, - SlimefunItems.REDSTONE_ALLOY, - new ItemStack(Material.CRAFTING_TABLE), - SlimefunItems.BLISTERING_INGOT_3, - new ItemStack(Material.CRAFTING_TABLE) - }, - new SlimefunItemStack(SlimefunItems.CRAFTING_MOTOR, 2)) + itemGroups.cargo, + SlimefunItems.CRAFTING_MOTOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + new ItemStack(Material.CRAFTING_TABLE), + SlimefunItems.BLISTERING_INGOT_3, + new ItemStack(Material.CRAFTING_TABLE), + SlimefunItems.REDSTONE_ALLOY, + SlimefunItems.CARGO_MOTOR, + SlimefunItems.REDSTONE_ALLOY, + new ItemStack(Material.CRAFTING_TABLE), + SlimefunItems.BLISTERING_INGOT_3, + new ItemStack(Material.CRAFTING_TABLE) + }, + new SlimefunItemStack(SlimefunItems.CRAFTING_MOTOR, 2)) .register(plugin); new VanillaAutoCrafter( - itemGroups.cargo, - SlimefunItems.VANILLA_AUTO_CRAFTER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.CARGO_MOTOR, - null, - new ItemStack(Material.CRAFTING_TABLE), - SlimefunItems.CRAFTING_MOTOR, - new ItemStack(Material.CRAFTING_TABLE), - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.cargo, + SlimefunItems.VANILLA_AUTO_CRAFTER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.CARGO_MOTOR, + null, + new ItemStack(Material.CRAFTING_TABLE), + SlimefunItems.CRAFTING_MOTOR, + new ItemStack(Material.CRAFTING_TABLE), + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .setCapacity(256) .setEnergyConsumption(16) .register(plugin); new EnhancedAutoCrafter( - itemGroups.cargo, - SlimefunItems.ENHANCED_AUTO_CRAFTER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.CRAFTING_MOTOR, - null, - new ItemStack(Material.CRAFTING_TABLE), - new ItemStack(Material.DISPENSER), - new ItemStack(Material.CRAFTING_TABLE), - null, - SlimefunItems.CARGO_MOTOR, - null - }) + itemGroups.cargo, + SlimefunItems.ENHANCED_AUTO_CRAFTER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.CRAFTING_MOTOR, + null, + new ItemStack(Material.CRAFTING_TABLE), + new ItemStack(Material.DISPENSER), + new ItemStack(Material.CRAFTING_TABLE), + null, + SlimefunItems.CARGO_MOTOR, + null + }) .setCapacity(256) .setEnergyConsumption(16) .register(plugin); new ArmorAutoCrafter( - itemGroups.cargo, - SlimefunItems.ARMOR_AUTO_CRAFTER, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.CRAFTING_MOTOR, - null, - new ItemStack(Material.DISPENSER), - new ItemStack(Material.ANVIL), - new ItemStack(Material.DISPENSER), - new ItemStack(Material.CRAFTING_TABLE), - SlimefunItems.ELECTRIC_MOTOR, - new ItemStack(Material.CRAFTING_TABLE) - }) + itemGroups.cargo, + SlimefunItems.ARMOR_AUTO_CRAFTER, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.CRAFTING_MOTOR, + null, + new ItemStack(Material.DISPENSER), + new ItemStack(Material.ANVIL), + new ItemStack(Material.DISPENSER), + new ItemStack(Material.CRAFTING_TABLE), + SlimefunItems.ELECTRIC_MOTOR, + new ItemStack(Material.CRAFTING_TABLE) + }) .setCapacity(256) .setEnergyConsumption(32) .register(plugin); new ProduceCollector( - itemGroups.electricity, - SlimefunItems.PRODUCE_COLLECTOR, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - new ItemStack(Material.HAY_BLOCK), - null, - new ItemStack(Material.BUCKET), - SlimefunItems.MEDIUM_CAPACITOR, - new ItemStack(Material.BUCKET), - SlimefunItems.ALUMINUM_BRASS_INGOT, - SlimefunItems.ELECTRIC_MOTOR, - SlimefunItems.ALUMINUM_BRASS_INGOT - }) + itemGroups.electricity, + SlimefunItems.PRODUCE_COLLECTOR, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + new ItemStack(Material.HAY_BLOCK), + null, + new ItemStack(Material.BUCKET), + SlimefunItems.MEDIUM_CAPACITOR, + new ItemStack(Material.BUCKET), + SlimefunItems.ALUMINUM_BRASS_INGOT, + SlimefunItems.ELECTRIC_MOTOR, + SlimefunItems.ALUMINUM_BRASS_INGOT + }) .setCapacity(256) .setProcessingSpeed(1) .setEnergyConsumption(16) .register(plugin); new CrafterSmartPort( - itemGroups.cargo, - SlimefunItems.CRAFTER_SMART_PORT, - RecipeType.ENHANCED_CRAFTING_TABLE, - new ItemStack[] { - null, - SlimefunItems.CARGO_MOTOR, - null, - new ItemStack(Material.CHEST), - SlimefunItems.CRAFTING_MOTOR, - new ItemStack(Material.CHEST), - null, - SlimefunItems.ELECTRIC_MOTOR, - null - }) + itemGroups.cargo, + SlimefunItems.CRAFTER_SMART_PORT, + RecipeType.ENHANCED_CRAFTING_TABLE, + new ItemStack[]{ + null, + SlimefunItems.CARGO_MOTOR, + null, + new ItemStack(Material.CHEST), + SlimefunItems.CRAFTING_MOTOR, + new ItemStack(Material.CHEST), + null, + SlimefunItems.ELECTRIC_MOTOR, + null + }) .register(plugin); } @@ -7965,36 +7967,36 @@ private static void registerArmorSet( boolean vanilla, PotionEffect[][] effects, SlimefunAddon addon) { - String[] components = new String[] {"_HELMET", "_CHESTPLATE", "_LEGGINGS", "_BOOTS"}; + String[] components = new String[]{"_HELMET", "_CHESTPLATE", "_LEGGINGS", "_BOOTS"}; List recipes = new ArrayList<>(); - recipes.add(new ItemStack[] { - baseComponent, baseComponent, baseComponent, baseComponent, null, baseComponent, null, null, null + recipes.add(new ItemStack[]{ + baseComponent, baseComponent, baseComponent, baseComponent, null, baseComponent, null, null, null }); - recipes.add(new ItemStack[] { - baseComponent, - null, - baseComponent, - baseComponent, - baseComponent, - baseComponent, - baseComponent, - baseComponent, - baseComponent + recipes.add(new ItemStack[]{ + baseComponent, + null, + baseComponent, + baseComponent, + baseComponent, + baseComponent, + baseComponent, + baseComponent, + baseComponent }); - recipes.add(new ItemStack[] { - baseComponent, - baseComponent, - baseComponent, - baseComponent, - null, - baseComponent, - baseComponent, - null, - baseComponent + recipes.add(new ItemStack[]{ + baseComponent, + baseComponent, + baseComponent, + baseComponent, + null, + baseComponent, + baseComponent, + null, + baseComponent }); - recipes.add(new ItemStack[] { - null, null, null, baseComponent, null, baseComponent, baseComponent, null, baseComponent + recipes.add(new ItemStack[]{ + null, null, null, baseComponent, null, baseComponent, baseComponent, null, baseComponent }); for (int i = 0; i < 4; i++) { @@ -8003,18 +8005,18 @@ private static void registerArmorSet( .register(addon); } else if (i < effects.length && effects[i].length > 0) { new SlimefunArmorPiece( - itemGroup, - new SlimefunItemStack(idSyntax + components[i], items[i]), - RecipeType.ARMOR_FORGE, - recipes.get(i), - effects[i]) + itemGroup, + new SlimefunItemStack(idSyntax + components[i], items[i]), + RecipeType.ARMOR_FORGE, + recipes.get(i), + effects[i]) .register(addon); } else { new SlimefunItem( - itemGroup, - new SlimefunItemStack(idSyntax + components[i], items[i]), - RecipeType.ARMOR_FORGE, - recipes.get(i)) + itemGroup, + new SlimefunItemStack(idSyntax + components[i], items[i]), + RecipeType.ARMOR_FORGE, + recipes.get(i)) .register(addon); } } diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/utils/FireworkUtils.java b/src/main/java/io/github/thebusybiscuit/slimefun4/utils/FireworkUtils.java index eb138b31dd..81ab24f82b 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/utils/FireworkUtils.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/utils/FireworkUtils.java @@ -77,8 +77,8 @@ public static void launchRandom(Entity n, int amount) { for (int i = 0; i < amount; i++) { Location l = n.getLocation().clone(); - l.setX(l.getX() + random.nextInt(amount * 2) - amount); - l.setZ(l.getZ() + random.nextInt(amount * 2) - amount); + l.setX(l.getX() + random.nextInt(amount << 1) - amount); + l.setZ(l.getZ() + random.nextInt(amount << 1) - amount); launchFirework(l, getRandomColor()); } diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/utils/tags/SlimefunTag.java b/src/main/java/io/github/thebusybiscuit/slimefun4/utils/tags/SlimefunTag.java index 578ea0b5be..bda8faec10 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/utils/tags/SlimefunTag.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/utils/tags/SlimefunTag.java @@ -22,6 +22,8 @@ import java.util.Set; import java.util.stream.Stream; import javax.annotation.Nullable; + +import me.qscbm.slimefun4.utils.QsConstants; import org.bukkit.Material; import org.bukkit.NamespacedKey; import org.bukkit.Tag; @@ -405,7 +407,7 @@ public Set> getSubTags() { * @return A {@link Material} array for this {@link Tag} */ public Material[] toArray() { - return getValues().toArray(new Material[0]); + return getValues().toArray(QsConstants.EMPTY_MATERIALS); } /** diff --git a/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.java b/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.java index 6ac7a2f2c4..7a14ea6db8 100644 --- a/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.java +++ b/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.java @@ -250,7 +250,7 @@ public List getMachineRecipes() { } public List getDisplayRecipes() { - List displayRecipes = new ArrayList<>(recipes.size() * 2); + List displayRecipes = new ArrayList<>(recipes.size() << 1); for (MachineRecipe recipe : recipes) { if (recipe.getInput().length != 1) { diff --git a/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineFuel.java b/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineFuel.java index 0d752f21f8..8c41f38547 100644 --- a/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineFuel.java +++ b/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineFuel.java @@ -30,9 +30,9 @@ public MachineFuel(int seconds, ItemStack fuel) { } public MachineFuel(int seconds, ItemStack fuel, ItemStack output) { - - this.ticks = seconds * 2; + + this.ticks = seconds << 1; this.fuel = fuel; this.wrapper = ItemStackWrapper.wrap(fuel); this.output = output; diff --git a/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineRecipe.java b/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineRecipe.java index c09cef48d0..9ae0aa3bcb 100644 --- a/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineRecipe.java +++ b/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineRecipe.java @@ -13,7 +13,7 @@ public class MachineRecipe { private final ItemStack[] output; public MachineRecipe(int seconds, ItemStack[] input, ItemStack[] output) { - this.ticks = seconds * 2; + this.ticks = seconds << 1; this.input = input; this.output = output; } diff --git a/src/main/java/me/qscbm/slimefun4/utils/Base64Utils.java b/src/main/java/me/qscbm/slimefun4/utils/Base64Utils.java index b28e536fde..64520f313e 100644 --- a/src/main/java/me/qscbm/slimefun4/utils/Base64Utils.java +++ b/src/main/java/me/qscbm/slimefun4/utils/Base64Utils.java @@ -13,7 +13,7 @@ public static String encodeLines(byte[] in) { int iLen = in.length; int lines = (iLen + 56) / 57; - int bufLen = (iLen + 2) / 3 * 4 + lines * LINE_SEPARATOR_LENGTH; + int bufLen = ((iLen + 2) / 3 << 2) + lines * LINE_SEPARATOR_LENGTH; StringBuilder buf = new StringBuilder(bufLen); int l; diff --git a/src/main/java/me/qscbm/slimefun4/utils/NBTUtils.java b/src/main/java/me/qscbm/slimefun4/utils/NBTUtils.java index f1781094ca..49a1af2e3a 100644 --- a/src/main/java/me/qscbm/slimefun4/utils/NBTUtils.java +++ b/src/main/java/me/qscbm/slimefun4/utils/NBTUtils.java @@ -33,7 +33,7 @@ public class NBTUtils { static { String detectedVersion = CRAFTBUKKIT_PACKAGE_NAME.substring(CRAFTBUKKIT_PACKAGE_NAME.lastIndexOf('.') + 1); - if (!detectedVersion.startsWith("v")) { + if (detectedVersion.charAt(0) != 'v') { // Paper or something... detectedVersion = VersionUtils.getBukkitVersion(); } diff --git a/src/main/java/me/qscbm/slimefun4/utils/QsConstants.java b/src/main/java/me/qscbm/slimefun4/utils/QsConstants.java new file mode 100644 index 0000000000..24982508ed --- /dev/null +++ b/src/main/java/me/qscbm/slimefun4/utils/QsConstants.java @@ -0,0 +1,32 @@ +package me.qscbm.slimefun4.utils; + +import com.xzavier0722.mc.plugin.slimefun4.storage.common.FieldKey; +import io.github.thebusybiscuit.slimefun4.api.items.ItemSetting; +import io.github.thebusybiscuit.slimefun4.implementation.settings.GoldPanDrop; +import org.bukkit.Material; +import org.bukkit.inventory.ItemStack; +import org.bukkit.inventory.Recipe; +import org.bukkit.inventory.RecipeChoice; +import org.bukkit.potion.PotionEffect; + +public class QsConstants { + public static final int[] EMPTY_INTS = new int[0]; + + public static final ItemStack[] EMPTY_ITEM_STACKS = new ItemStack[0]; + + public static final FieldKey[] EMPTY_FIELD_KEYS = new FieldKey[0]; + + public static final GoldPanDrop[] EMPTY_GOLD_PAN_DROPS = new GoldPanDrop[0]; + + public static final ItemSetting[] EMPTY_ITEM_SETTINGS = new ItemSetting[0]; + + public static final RecipeChoice[] EMPTY_RECIPE_CHOICES = new RecipeChoice[0]; + + public static final Recipe[] EMPTY_RECIPES = new Recipe[0]; + + public static final Material[] EMPTY_MATERIALS = new Material[0]; + + public static final PotionEffect[] EMPTY_POTION_EFFECTS = new PotionEffect[0]; + + public static final String[] EMPTY_STRINGS = new String[0]; +}