GeradesoLukas

Tetra Compat Class (Java Highlighting)

Sep 24th, 2022
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.30 KB | None | 0 0
  1. @ParametersAreNonnullByDefault
  2. public class TetraCompat {
  3.     public static final String modId = "tetra";
  4.     public static final Boolean isLoaded = ModList.get().isLoaded(modId);
  5.  
  6.     public static void init() {
  7.         if(isLoaded) {
  8.             ItemUpgradeRegistryHelper.init();
  9.         }
  10.     }
  11. }
Add Comment
Please, Sign In to add comment