Class Antiglitch
java.lang.Object
com.ordwen.odailyquests.configuration.essentials.Antiglitch
- All Implemented Interfaces:
IConfigurable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.bukkit.NamespacedKey
static final org.bukkit.NamespacedKey
static final org.bukkit.NamespacedKey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Check if the plugin should store the blocks that are broken by the playerstatic boolean
Check if the plugin should store the items that are dropped by the playerstatic boolean
Check if the plugin should store the blocks that are placed by the playervoid
load()
-
Field Details
-
BROKEN_KEY
public static final org.bukkit.NamespacedKey BROKEN_KEY -
PLACED_KEY
public static final org.bukkit.NamespacedKey PLACED_KEY -
DROPPED_KEY
public static final org.bukkit.NamespacedKey DROPPED_KEY
-
-
Constructor Details
-
Antiglitch
-
-
Method Details
-
load
public void load()- Specified by:
load
in interfaceIConfigurable
-
isStorePlacedBlocks
public static boolean isStorePlacedBlocks()Check if the plugin should store the blocks that are placed by the player- Returns:
- configuration value
-
isStoreBrokenBlocks
public static boolean isStoreBrokenBlocks()Check if the plugin should store the blocks that are broken by the player- Returns:
- configuration value
-
isStoreDroppedItems
public static boolean isStoreDroppedItems()Check if the plugin should store the items that are dropped by the player- Returns:
- configuration value
-