Index
All Classes and Interfaces|All Packages|Constant Field Values
C
- com.dashtiss.tpsnitch - package com.dashtiss.tpsnitch
- com.dashtiss.tpsnitch.platform - package com.dashtiss.tpsnitch.platform
- com.dashtiss.tpsnitch.platform.services - package com.dashtiss.tpsnitch.platform.services
- CommonClass - Class in com.dashtiss.tpsnitch
-
Shared logic for TPSnitch across all supported loaders.
- CommonClass() - Constructor for class com.dashtiss.tpsnitch.CommonClass
- Constants - Class in com.dashtiss.tpsnitch
-
Constants used throughout the TPSnitch mod.
- Constants() - Constructor for class com.dashtiss.tpsnitch.Constants
D
- debug - Variable in class com.dashtiss.tpsnitch.TpsnitchConfig
-
If true, enables debug logging.
- debug - Variable in class com.dashtiss.tpsnitch.TPSnitchConfig
F
- FabricPlatformHelper - Class in com.dashtiss.tpsnitch.platform
- FabricPlatformHelper() - Constructor for class com.dashtiss.tpsnitch.platform.FabricPlatformHelper
G
- get() - Static method in class com.dashtiss.tpsnitch.TpsnitchConfig
- getEnvironmentName() - Method in interface com.dashtiss.tpsnitch.platform.services.IPlatformHelper
-
Gets the name of the environment type as a string.
- getMSPT(MinecraftServer) - Static method in class com.dashtiss.tpsnitch.TPSnitch
- getPlatformName() - Method in class com.dashtiss.tpsnitch.platform.FabricPlatformHelper
- getPlatformName() - Method in interface com.dashtiss.tpsnitch.platform.services.IPlatformHelper
-
Gets the name of the current platform
- getTPS(MinecraftServer) - Static method in class com.dashtiss.tpsnitch.TPSnitch
I
- init() - Static method in class com.dashtiss.tpsnitch.CommonClass
-
Initialize common logic.
- IPlatformHelper - Interface in com.dashtiss.tpsnitch.platform.services
-
Interface for platform-specific helpers used by TPSnitch.
- isDevelopmentEnvironment() - Method in class com.dashtiss.tpsnitch.platform.FabricPlatformHelper
- isDevelopmentEnvironment() - Method in interface com.dashtiss.tpsnitch.platform.services.IPlatformHelper
-
Check if the game is currently in a development environment.
- isModLoaded(String) - Method in class com.dashtiss.tpsnitch.platform.FabricPlatformHelper
- isModLoaded(String) - Method in interface com.dashtiss.tpsnitch.platform.services.IPlatformHelper
-
Checks if a mod with the given id is loaded.
L
- load(Class<T>) - Static method in class com.dashtiss.tpsnitch.platform.Services
-
Loads a service implementation for the given interface using ServiceLoader.
- LOG - Static variable in class com.dashtiss.tpsnitch.Constants
-
Logger instance for TPSnitch.
- logFileName - Variable in class com.dashtiss.tpsnitch.TpsnitchConfig
-
The file name for TPSnitch logs.
- logFileName - Variable in class com.dashtiss.tpsnitch.TPSnitchConfig
- logIntervalSeconds - Variable in class com.dashtiss.tpsnitch.TpsnitchConfig
-
Log interval in seconds.
- logIntervalSeconds - Variable in class com.dashtiss.tpsnitch.TPSnitchConfig
M
- MOD_ID - Static variable in class com.dashtiss.tpsnitch.Constants
-
Mod ID for internal reference.
- MOD_NAME - Static variable in class com.dashtiss.tpsnitch.Constants
-
Mod name for logging and display.
O
- onInitialize() - Method in class com.dashtiss.tpsnitch.TPSnitch
P
- PLATFORM - Static variable in class com.dashtiss.tpsnitch.platform.Services
-
Provides platform-specific helper implementation (e.g., Forge, Fabric).
S
- saveJson(String, String, boolean) - Method in class com.dashtiss.tpsnitch.CommonClass
-
Saves a JSON string to a file, pretty-printing it for readability.
- Services - Class in com.dashtiss.tpsnitch.platform
-
Provides access to platform-specific services for TPSnitch.
- Services() - Constructor for class com.dashtiss.tpsnitch.platform.Services
T
- TPSnitch - Class in com.dashtiss.tpsnitch
- TPSnitch() - Constructor for class com.dashtiss.tpsnitch.TPSnitch
- TpsnitchConfig - Class in com.dashtiss.tpsnitch
-
TPSnitch configuration loaded from config/tpsnitch.toml.
- TpsnitchConfig() - Constructor for class com.dashtiss.tpsnitch.TpsnitchConfig
- TPSnitchConfig - Class in com.dashtiss.tpsnitch
- TPSnitchConfig() - Constructor for class com.dashtiss.tpsnitch.TPSnitchConfig
- TPSnitchConfig(boolean, String, int) - Constructor for class com.dashtiss.tpsnitch.TPSnitchConfig
All Classes and Interfaces|All Packages|Constant Field Values