Advertisement
Guest User

Main

a guest
Oct 23rd, 2020
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. @Mod(Main.MOD_ID)
  2. @Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD)
  3. public class Main {
  4. public static final String MOD_ID = "mod_id";
  5. public static final Logger LOGGER = LogManager.getLogger(MOD_ID);
  6.  
  7. public Main() {
  8. DistExecutor.safeRunForDist(
  9. () -> CommonProxy.ClientProxy::new,
  10. () -> CommonProxy.ServerProxy::new
  11. );
  12. }
  13.  
  14. @Nonnull
  15. public static ResourceLocation getId(String path) {
  16. return new ResourceLocation(MOD_ID, path);
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement