Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. package me.snowies.Test;
  2.  
  3. import org.bukkit.Bukkit;
  4. import org.bukkit.Material;
  5. import org.bukkit.entity.Player;
  6. import org.bukkit.inventory.Inventory;
  7. import org.bukkit.inventory.ItemStack;
  8. import org.bukkit.plugin.java.JavaPlugin;
  9.  
  10. import net.md_5.bungee.api.ChatColor;
  11.  
  12. public class Main extends JavaPlugin {
  13.  
  14.  
  15.  
  16. @Override
  17. public void onEnable() {
  18.  
  19. System.out.println("Plugin is working");
  20.  
  21. getCommand("menu").setExecutor(new MenuCommand(this));
  22. }
  23.  
  24. public void applyElytraUI(Player player) {
  25.  
  26. // BEGINING
  27. Inventory gui = Bukkit.createInventory(null, 45, ChatColor.GREEN + "Elytra menu!");
  28. // LORES
  29.  
  30. // ITEMSTACKS
  31. ItemStack toggle;
  32. if (player.getInventory().getChestplate().getType() != null && player.getInventory().getChestplate().equals(Material.ELYTRA)) {
  33.  
  34.  
  35.  
  36. }
  37.  
  38. // ITEM SETTING
  39.  
  40. // FINAL
  41.  
  42.  
  43. }
  44.  
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement