Class Antiglitch
java.lang.Object
com.ordwen.odailyquests.configuration.essentials.Antiglitch
- All Implemented Interfaces:
IConfigurable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.bukkit.NamespacedKeystatic final org.bukkit.NamespacedKeystatic final org.bukkit.NamespacedKey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanCheck if the plugin should store the blocks that are broken by the playerstatic booleanCheck if the plugin should store the items that are dropped by the playerstatic booleanCheck if the plugin should store the blocks that are placed by the playervoidload()
-
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:
loadin 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
-