Add documentation
This commit is contained in:
parent
a722c16085
commit
e59e4b1d62
@ -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();
|
||||
|
@ -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();
|
||||
|
4
src/dev/w1zzrd/invtweaks/command/package-info.java
Normal file
4
src/dev/w1zzrd/invtweaks/command/package-info.java
Normal file
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* Command handlers for the InventoryTweaks plugin
|
||||
*/
|
||||
package dev.w1zzrd.invtweaks.command;
|
@ -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();
|
||||
|
@ -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;
|
||||
|
4
src/dev/w1zzrd/invtweaks/listener/package-info.java
Normal file
4
src/dev/w1zzrd/invtweaks/listener/package-info.java
Normal file
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* Event listeners for the InventoryTweaks plugin
|
||||
*/
|
||||
package dev.w1zzrd.invtweaks.listener;
|
Loading…
x
Reference in New Issue
Block a user