public final class MetaItems extends DoubleMap<String,BannedItem>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
MetaItems(BanItem pl,
org.bukkit.command.CommandSender sender)
This will create a new instance of meta items map, with the items from metaitems.yml file.
|
Modifier and Type | Method and Description |
---|---|
org.bukkit.configuration.file.FileConfiguration |
getConfig() |
File |
getFile() |
clear, getKey, getReversed, put, remove
clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public MetaItems(@NotNull BanItem pl, @NotNull org.bukkit.command.CommandSender sender)
BanItemAPI.load(CommandSender, File)
instead.pl
- main instancesender
- the sender who executed this command, for debug@NotNull public org.bukkit.configuration.file.FileConfiguration getConfig()
@NotNull public File getFile()
Copyright © 2021. All rights reserved.