-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathBedrockManager.java
More file actions
49 lines (29 loc) · 1.75 KB
/
BedrockManager.java
File metadata and controls
49 lines (29 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package fr.maxlego08.menu.api;
import fr.maxlego08.menu.api.configuration.ConfigManagerInt;
import fr.maxlego08.menu.api.exceptions.DialogException;
import fr.maxlego08.menu.api.exceptions.InventoryException;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import java.io.File;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
public interface BedrockManager {
BedrockInventory loadBedrockInventory(Plugin plugin, String fileName) throws DialogException;
Optional<BedrockInventory> getBedrockInventory(String name);
Optional<BedrockInventory> getBedrockInventory(String pluginName, String fileName);
Optional<BedrockInventory> getBedrockInventory(Plugin plugin, String fileName);
void deleteBedrockInventory(String name);
void deleteBedrockInventory(Plugin plugin);
void loadBedrockInventory();
BedrockInventory loadInventory(Plugin plugin, String fileName) throws DialogException, InventoryException;
BedrockInventory loadInventory(Plugin plugin, File file) throws DialogException, InventoryException;
BedrockInventory loadInventory(Plugin plugin, String fileName, Class<? extends BedrockInventory> dialogClass) throws DialogException, InventoryException;
BedrockInventory loadInventory(Plugin plugin, File file, Class<? extends BedrockInventory> dialogClass) throws DialogException, InventoryException;
void openBedrockInventory(Player player, BedrockInventory bedrockInventory);
void openBedrockInventory(Player player, BedrockInventory bedrockInventory, List<Inventory> oldInventories);
Collection<BedrockInventory> getBedrockInventory();
void reloadBedrockInventory();
boolean isBedrockPlayer(Player player);
boolean isBedrockPlayer(String value);
}