Commit 74a9e2ea authored by Maxime Bloch's avatar Maxime Bloch

add some sources

parent 228957b2
#Mon Sep 14 12:28:28 PDT 2015
#Fri Jun 21 19:18:23 CEST 2019
package be.zeus.opentcr;
import net.minecraft.init.Blocks;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import org.apache.logging.log4j.Logger;
@Mod(modid = OpenTCR.MODID, name = OpenTCR.NAME, version = OpenTCR.VERSION)
public class OpenTCR
public static final String MODID = "opentcr";
public static final String NAME = "OpenTCR";
public static final String VERSION = "1.0";
private static Logger logger;
public void preInit(FMLPreInitializationEvent event)
logger = event.getModLog();
public void init(FMLInitializationEvent event)
// some example code"DIRT BLOCK >> {}", Blocks.DIRT.getRegistryName());
"modid": "examplemod",
"name": "Example Mod",
"description": "Example placeholder mod.",
"version": "${version}",
"mcversion": "${mcversion}",
"url": "",
"updateUrl": "",
"authorList": ["ExampleDude"],
"credits": "The Forge and FML guys, for making this example",
"logoFile": "",
"screenshots": [],
"dependencies": []
"pack": {
"description": "examplemod resources",
"pack_format": 3,
"_comment": "A pack_format of 3 should be used starting with Minecraft 1.11. All resources, including language files, should be lowercase (eg: en_us.lang). A pack_format of 2 will load your mod resources with LegacyV2Adapter, which requires language files to have uppercase letters (eg: en_US.lang)."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment