2 Commits 91870e0228 ... 0f5269be6d

Author SHA1 Message Date
  Vitaly 0f5269be6d Refactor, fix version #2 6 years ago
  Vitaly e621df9bc5 Refactor, fix version 6 years ago

+ 1 - 1
build.gradle

@@ -31,7 +31,7 @@ file "build.properties" withReader {
 }
 
 version = "${config.minecraft.version}-${config.lootgames.version}"
-group = "io.github.jalgateam.jalga" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
+group = "org.notabug.jalgateam.jalga" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
 archivesBaseName = "JALGA"
 
 minecraft {

+ 24 - 14
build.properties

@@ -1,17 +1,27 @@
+##################################################################################################
+##  TLDR - versioning goes as following <major>.<minor>[type[revision]]                         ##
+##################################################################################################
+##  Note versioning system is using sequence identifiers, thus major versions will have two or  ##
+###    three digits with no letters and numbers after them.                                     ##
+##  Development versions may have upto three digits with string and number after said string    ##
+###    "a" - alpha, "b" - beta, "rc" - release candidate.                                       ##
+##  Number after letter indicates minor bugfixing patch done to said major release, jumping of  ##
+###    minor versions and bugfixing numbers is allowed if amount of patches                     ##
+##  is not big enough for major release (or minor release) but too big to be called single      ##
+###    minor version (bugfix release).                                                          ##
+##  Release Candidate versions should be only assigned to stable BETA versions that have small  ##
+###    amount of bugs and fully working features of project, same applies for going from        ##
+####    alpha to beta.                                                                          ##
+##################################################################################################
+##  Please try to keep switching between release types without any actual changes               ##
+###   (so say if 1.0a3 appears to be stable enough make empty commit that only                  ##
+####    changes this file string "lootgames.version=v1.0a3" to "lootgames.version=v1.0b1"       ##
+##################################################################################################
+##  For more info on versioning intended to be used please read up on https://goo.gl/UVs6VX     ##
+##################################################################################################
+
 minecraft.version=1.7.10
 forge.version=10.13.4.1614
-lootgames.version=v0.1
-
-
-//TLDR - versioning goes as following <major>.<minor>[type[revision]]
-
-//Note versioning system is using sequence identifiers, thus major versions will have two or three digits with no letters and numbers after them.
-//Development versions may have upto three digits with string and number after said string "a" - alpha, "b" - beta, "rc" - release candidate.
-//Number after letter indicates minor bugfixing patch done to said major release, jumping of minor versions and bugfixing numbers is allowed if amount of patches
-//is not big enough for major release (or minor release) but too big to be called single minor version (bugfix release).
-//Release Candidate versions should be only assigned to stable BETA versions that have small amount of bugs and fully working features of project, same applies for going from alpha to beta.
-
-//Please try to keep switching between release types without any actual changes (so say if 1.0a3 appears to be stable enough make empty commit that only
-//changes this file string "lootgames.version=v1.0a3" to "lootgames.version=v1.0b1"
+lootgames.version=v0.1a1
 
-//For more info on versioning intended to be used please read up on https://goo.gl/UVs6VX
+##################################################################################################

+ 0 - 14
src/main/java/io/github/jalgateam/jalga/client/ClientProxy.java

@@ -1,14 +0,0 @@
-package io.github.jalgateam.jalga.client;
-
-import io.github.jalgateam.jalga.common.CommonProxy;
-
-public class ClientProxy extends CommonProxy {
-
-    @Override
-    public void initRenders() {
-
-
-    }
-
-
-}

+ 0 - 5
src/main/java/io/github/jalgateam/jalga/common/handler/JALGAEventHandler.java

@@ -1,5 +0,0 @@
-package io.github.jalgateam.jalga.common.handler;
-
-public class JALGAEventHandler {
-
-}

+ 0 - 4
src/main/java/io/github/jalgateam/jalga/common/lib/LibReference.java

@@ -1,4 +0,0 @@
-package io.github.jalgateam.jalga.common.lib;
-
-public class LibReference {
-}

+ 14 - 0
src/main/java/org/notabug/jalgateam/jalga/client/ClientProxy.java

@@ -0,0 +1,14 @@
+package org.notabug.jalgateam.jalga.client;
+
+import org.notabug.jalgateam.jalga.common.CommonProxy;
+
+public class ClientProxy extends CommonProxy {
+
+    @Override
+    public void initRenders() {
+
+
+    }
+
+
+}

+ 18 - 18
src/main/java/io/github/jalgateam/jalga/common/CommonProxy.java

@@ -1,18 +1,18 @@
-package io.github.jalgateam.jalga.common;
-
-import net.minecraft.entity.player.EntityPlayer;
-
-public class CommonProxy {
-    public void initRenders ()
-    {
-    }
-
-    public EntityPlayer getClientPlayer ()
-    {
-        return null;
-    }
-
-    public void registerClientHandlers ()
-    {
-    }
-}
+package org.notabug.jalgateam.jalga.common;
+
+import net.minecraft.entity.player.EntityPlayer;
+
+public class CommonProxy {
+    public void initRenders ()
+    {
+    }
+
+    public EntityPlayer getClientPlayer ()
+    {
+        return null;
+    }
+
+    public void registerClientHandlers ()
+    {
+    }
+}

+ 69 - 69
src/main/java/io/github/jalgateam/jalga/common/JALGA.java

@@ -1,69 +1,69 @@
-package io.github.jalgateam.jalga.common;
-
-import cpw.mods.fml.common.Mod;
-import cpw.mods.fml.common.ModMetadata;
-import cpw.mods.fml.common.SidedProxy;
-import cpw.mods.fml.common.event.FMLInitializationEvent;
-import cpw.mods.fml.common.event.FMLPostInitializationEvent;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import io.github.jalgateam.jalga.common.handler.ConfigHandler;
-import io.github.jalgateam.jalga.common.handler.JALGAEventHandler;
-import io.github.jalgateam.jalga.common.lib.LibCreativeTab;
-import io.github.jalgateam.jalga.common.lib.LibStrings;
-import io.github.jalgateam.jalga.common.registry.BlockRegistry;
-import net.minecraft.creativetab.CreativeTabs;
-import net.minecraftforge.common.config.Configuration;
-import org.apache.logging.log4j.LogManager;
-import org.apache.logging.log4j.Logger;
-
-@Mod(modid = LibStrings.MODID, name = LibStrings.NAME, version = LibStrings.VERSION, dependencies = LibStrings.DEPENDENCIES)
-
-public class JALGA {
-    @Mod.Instance ("JALGA")
-    public static JALGA instance;
-
-    // Proxies
-    @SidedProxy(clientSide = "io.github.jalgateam.jalga.client.ClientProxy", serverSide = "io.github.jalgateam.jalga.common.CommonProxy")
-    public static CommonProxy proxy;
-
-    public static JALGAEventHandler JALGAEvents;
-    public static CreativeTabs tabJALGA = new LibCreativeTab();
-    public static ConfigHandler configHandler;
-    public static final Logger log = LogManager.getLogger("JALGA");
-
-    // Pre init
-    @Mod.EventHandler
-    public static void preInit (FMLPreInitializationEvent event)
-    {
-        log.info("JALGA entered preInit...");
-        // Config
-        configHandler.config = new Configuration(event.getSuggestedConfigurationFile());
-        configHandler.init();
-
-        // Registry
-        BlockRegistry.init();
-        proxy.registerClientHandlers();
-
-        //MCMOD.INFO
-        ModMetadata metadata = event.getModMetadata();
-        LibStrings.modinfo(metadata);
-    }
-
-    // Init
-    @Mod.EventHandler
-    public static void init (FMLInitializationEvent event)
-    {
-        log.info("JALGA entered Init...");
-        //Rendering
-
-    }
-
-    // Post init
-    @Mod.EventHandler
-    public static void postInit (FMLPostInitializationEvent event)
-    {
-        log.info("JALGA entered postInit...");
-
-        log.info("JALGA finished loading");
-    }
-}
+package org.notabug.jalgateam.jalga.common;
+
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import org.notabug.jalgateam.jalga.common.handler.ConfigHandler;
+import org.notabug.jalgateam.jalga.common.handler.JALGAEventHandler;
+import org.notabug.jalgateam.jalga.common.lib.LibCreativeTab;
+import org.notabug.jalgateam.jalga.common.lib.LibStrings;
+import org.notabug.jalgateam.jalga.common.registry.BlockRegistry;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraftforge.common.config.Configuration;
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
+
+@Mod(modid = LibStrings.MODID, name = LibStrings.NAME, version = LibStrings.VERSION, dependencies = LibStrings.DEPENDENCIES)
+
+public class JALGA {
+    @Mod.Instance ("JALGA")
+    public static JALGA instance;
+
+    // Proxies
+    @SidedProxy(clientSide = "ClientProxy", serverSide = "CommonProxy")
+    public static CommonProxy proxy;
+
+    public static JALGAEventHandler JALGAEvents;
+    public static CreativeTabs tabJALGA = new LibCreativeTab();
+    public static ConfigHandler configHandler;
+    public static final Logger log = LogManager.getLogger("JALGA");
+
+    // Pre init
+    @Mod.EventHandler
+    public static void preInit (FMLPreInitializationEvent event)
+    {
+        log.info("JALGA entered preInit...");
+        // Config
+        configHandler.config = new Configuration(event.getSuggestedConfigurationFile());
+        configHandler.init();
+
+        // Registry
+        BlockRegistry.init();
+        proxy.registerClientHandlers();
+
+        //MCMOD.INFO
+        ModMetadata metadata = event.getModMetadata();
+        LibStrings.modinfo(metadata);
+    }
+
+    // Init
+    @Mod.EventHandler
+    public static void init (FMLInitializationEvent event)
+    {
+        log.info("JALGA entered Init...");
+        //Rendering
+
+    }
+
+    // Post init
+    @Mod.EventHandler
+    public static void postInit (FMLPostInitializationEvent event)
+    {
+        log.info("JALGA entered postInit...");
+
+        log.info("JALGA finished loading");
+    }
+}

+ 18 - 18
src/main/java/io/github/jalgateam/jalga/common/handler/ConfigHandler.java

@@ -1,18 +1,18 @@
-package io.github.jalgateam.jalga.common.handler;
-
-import io.github.jalgateam.jalga.common.JALGA;
-import net.minecraftforge.common.config.Configuration;
-
-public class ConfigHandler {
-
-        public static Configuration config;
-
-
-        public static void init ()
-        {
-            JALGA.log.info("Loading config");
-
-            config.load();
-            config.save();
-        }
-}
+package org.notabug.jalgateam.jalga.common.handler;
+
+import org.notabug.jalgateam.jalga.common.JALGA;
+import net.minecraftforge.common.config.Configuration;
+
+public class ConfigHandler {
+
+        public static Configuration config;
+
+
+        public static void init ()
+        {
+            JALGA.log.info("Loading config");
+
+            config.load();
+            config.save();
+        }
+}

+ 0 - 0
src/main/java/org/notabug/jalgateam/jalga/common/handler/JALGAEventHandler.java


Some files were not shown because too many files changed in this diff