Add documentation

This commit is contained in:
Gabriel Tofvesson 2021-04-25 00:25:11 +02:00
parent a722c16085
commit e59e4b1d62
6 changed files with 20 additions and 0 deletions

View File

@ -19,6 +19,9 @@ import java.util.logging.Logger;
import static dev.w1zzrd.invtweaks.InvTweaksPlugin.LOG_PLUGIN_NAME;
/**
* Handler for executions of /magnet command
*/
public class MagnetCommandExecutor implements CommandExecutor {
private static final Logger logger = Bukkit.getLogger();

View File

@ -21,6 +21,9 @@ import java.util.logging.Logger;
import static dev.w1zzrd.invtweaks.InvTweaksPlugin.LOG_PLUGIN_NAME;
import static org.bukkit.Material.*;
/**
* Handler for executions of /sort command
*/
public class SortCommandExecutor implements CommandExecutor {
private static final Logger logger = Bukkit.getLogger();

View File

@ -0,0 +1,4 @@
/**
* Command handlers for the InventoryTweaks plugin
*/
package dev.w1zzrd.invtweaks.command;

View File

@ -14,6 +14,9 @@ import java.util.logging.Logger;
import static dev.w1zzrd.invtweaks.InvTweaksPlugin.LOG_PLUGIN_NAME;
/**
* Handler for events/interactions that should trigger a /sort command
*/
public class SortListener implements Listener {
private static final Logger logger = Bukkit.getLogger();

View File

@ -12,6 +12,9 @@ import java.util.logging.Logger;
import static dev.w1zzrd.invtweaks.InvTweaksPlugin.LOG_PLUGIN_NAME;
/**
* Handler for events/interactions that should trigger stack replacements in a players inventory
*/
public class StackReplaceListener implements Listener {
private static final int MAX_MAIN_INV = 35;

View File

@ -0,0 +1,4 @@
/**
* Event listeners for the InventoryTweaks plugin
*/
package dev.w1zzrd.invtweaks.listener;