Skip to content

Commit

Permalink
Initial commit, classes added
Browse files Browse the repository at this point in the history
  • Loading branch information
OldSerpskiStalker committed Sep 17, 2024
1 parent 0315f47 commit 7301ddb
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 23 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package org.imesense.dynamicspawncontrol;

import net.minecraft.init.Blocks;

import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.SidedProxy;
Expand All @@ -12,19 +10,17 @@
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import net.minecraftforge.fml.common.event.FMLServerStoppedEvent;

import org.apache.logging.log4j.Logger;

import org.imesense.dynamicspawncontrol.proxy.IProxy;
import org.imesense.dynamicspawncontrol.technical.proxy.IProxy;

/**
* Main class of modification
*/
@Mod(
modid = EmptyMod.MODID,
name = EmptyMod.NAME,
version = EmptyMod.VERSION
modid = DynamicSpawnControl.MODID,
name = DynamicSpawnControl.NAME,
version = DynamicSpawnControl.VERSION
)
public class EmptyMod
public class DynamicSpawnControl
{
/**
* Modification ID
Expand All @@ -34,23 +30,18 @@ public class EmptyMod
/**
* Modification name
*/
public static final String NAME = "Empty Mod";
public static final String NAME = "Dynamic Spawn Control";

/**
* Minecraft version
*/
public static final String VERSION = "1.12.2-14.23.5.2860";

/**
* Logger object
*/
private static Logger logger;

/**
* Main class instance
*/
@Mod.Instance
public static EmptyMod Instance;
public static DynamicSpawnControl Instance;

/**
* Sided proxy settings
Expand All @@ -61,6 +52,14 @@ public class EmptyMod
)
public static IProxy Proxy;

/**
* Constructor
*/
public DynamicSpawnControl()
{
Instance = this;
}

/**
* Preinitialize modification
*
Expand All @@ -69,8 +68,6 @@ public class EmptyMod
@EventHandler
public synchronized void preInit(FMLPreInitializationEvent event)
{
logger = event.getModLog();

Proxy.preInit(event);
}

Expand All @@ -83,8 +80,6 @@ public synchronized void preInit(FMLPreInitializationEvent event)
public synchronized void init(FMLInitializationEvent event)
{
Proxy.init(event);

logger.info("DIRT BLOCK >> {}", Blocks.DIRT.getRegistryName());
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.imesense.dynamicspawncontrol.debug;

public interface IDebug
{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package org.imesense.dynamicspawncontrol.debug.events;

public final class OnEventDummy
{
public OnEventDummy()
{

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package org.imesense.dynamicspawncontrol.gameplay.commands;

import net.minecraftforge.fml.common.event.FMLServerStartingEvent;

public final class RegisterCommands
{
public RegisterCommands()
{

}

public void registerGameCommands(FMLServerStartingEvent event)
{

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package org.imesense.dynamicspawncontrol.gameplay.events;

public class OnUpdateTorchLogic
{

}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.imesense.dynamicspawncontrol.proxy;
package org.imesense.dynamicspawncontrol.technical.proxy;

import java.util.concurrent.Callable;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.imesense.dynamicspawncontrol.proxy;
package org.imesense.dynamicspawncontrol.technical.proxy;

import java.util.concurrent.Callable;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.imesense.dynamicspawncontrol.proxy;
package org.imesense.dynamicspawncontrol.technical.proxy;

import java.util.concurrent.Callable;

Expand Down

0 comments on commit 7301ddb

Please sign in to comment.