public final class CustomItems extends DoubleMap<String,CustomBannedItem>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CustomItems(BanItem pl,
org.bukkit.command.CommandSender sender)
This will create a new instance of custom items map, with the items from customitems.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 CustomItems(@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 File getFile()
@NotNull public org.bukkit.configuration.file.FileConfiguration getConfig()
Copyright © 2021. All rights reserved.