Jump to content

[Solved]Configuration Trouble


geneventor

Recommended Posts

I have been modding for a while-ish (about a month) and I have done a bit with blocks, items, recipies ore generation, and custom furnaces. I got a crash report that says:

 

 

 

---- Minecraft Crash Report ----

// You should try our sister game, Minceraft!

 

Time: 6/18/13 7:40 AM

Description: Failed to start game

 

java.lang.IllegalArgumentException: Slot 0 is already occupied by net.NerdSpeak.mod.common.AluminumBlock@1f26ecd2 when adding net.NerdSpeak.mod.common.TitaniumBlock@30c3bb57

at net.minecraft.block.Block.<init>(Block.java:340)

at net.NerdSpeak.mod.common.TitaniumBlock.<init>(TitaniumBlock.java:13)

at net.NerdSpeak.mod.common.mod_NerdSpeak.init(mod_NerdSpeak.java:216)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:689)

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:444)

at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)

at net.minecraft.client.Minecraft.run(Minecraft.java:729)

at java.lang.Thread.run(Thread.java:680)

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.5.1

Operating System: Mac OS X (x86_64) version 10.8.2

Java Version: 1.6.0_43, Apple Inc.

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Apple Inc.

Memory: 967516528 bytes (922 MB) / 1065025536 bytes (1015 MB) up to 1065025536 bytes (1015 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v7.44 FML v5.1.8.611 Minecraft Forge 7.7.1.611 4 mods loaded, 4 mods active

mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized

FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

geneventor_nerdSpeak [nerdSpeak] (bin) Unloaded->Constructed->Pre-initialized->Errored

LWJGL: 2.4.2

OpenGL: Intel HD Graphics 4000 OpenGL Engine GL version 2.1 APPLE-8.6.22, Intel Inc.

Is Modded: Definitely; Client brand changed to 'forge,fml'

Type: Client (map_client.txt)

Texture Pack: Default

Profiler Position: N/A (disabled)

Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

 

 

 

Here is the main class:

 

 

package net.NerdSpeak.mod.common;

 

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.item.Item;

import net.minecraft.item.ItemStack;

import net.minecraft.item.crafting.FurnaceRecipes;

import net.minecraftforge.common.Configuration;

import net.minecraftforge.common.MinecraftForge;

import net.minecraftforge.oredict.OreDictionary;

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.Init;

import cpw.mods.fml.common.Mod.Instance;

import cpw.mods.fml.common.Mod.PreInit;

import cpw.mods.fml.common.event.FMLInitializationEvent;

import cpw.mods.fml.common.event.FMLPreInitializationEvent;

import cpw.mods.fml.common.network.NetworkMod;

import cpw.mods.fml.common.network.NetworkRegistry;

import cpw.mods.fml.common.registry.GameRegistry;

import cpw.mods.fml.common.registry.LanguageRegistry;

 

@Mod(modid = mod_NerdSpeak.modid, name = "nerdSpeak", version = "Alpha")

@NetworkMod(clientSideRequired = true, serverSideRequired = false, channels = "nerdSpeak", packetHandler = NerdSpeakPacketHandler.class)

 

public class mod_NerdSpeak {

 

@Instance("nerdSpeak")

public static mod_NerdSpeak instance;

 

//Stuff that happens behind the steel curtain

NerdSpeakEventManager eventman = new NerdSpeakEventManager();

private GuiHandler guihandler = new GuiHandler();

 

public static final String modid = "geneventor_nerdSpeak";

 

//blocks

public static Block aluminumBlock;

public static Block titaniumBlock;

public static Block chromiumBlock;

public static Block nickelBlock;

public static Block copperBlock;

public static Block zincBlock;

public static Block silverBlock;

public static Block tinBlock;

public static Block tungstenBlock;

public static Block osmiumBlock;

public static Block platinumBlock;

public static Block leadBlock;

public static Block uraniumBlock;

public static Block basicMachineCasing;

 

//ores

public static Block aluminumOre;

public static Block titaniumOre;

public static Block chromiumOre;

public static Block nickelOre;

public static Block copperOre;

public static Block zincOre;

public static Block silverOre;

public static Block tinOre;

public static Block tungstenOre;

public static Block osmiumOre;

public static Block platinumOre;

public static Block leadOre;

public static Block uraniumOre;

 

//Chemistry Machines

public static Block fuelAtomicSeparatorIdle;

public static Block fuelAtomicSeparatorRunning;

 

//items

public static Item aluminumIngot;

public static Item titaniumIngot;

public static Item chromiumIngot;

public static Item nickelIngot;

public static Item copperIngot;

public static Item zincIngot;

public static Item silverIngot;

public static Item tinIngot;

public static Item tungstenIngot;

public static Item osmiumIngot;

public static Item platinumIngot;

public static Item leadIngot;

public static Item uraniumIngot;

 

//elements

public static Item hydrogen;

public static Item carbon;

public static Item oxygen;

 

//Extras to be removed when I can fix it

public static Item filler;

 

//Creative Tabs

public static CreativeTabs nerdSpeakTab = new NerdSpeakTab(CreativeTabs.getNextID(), "nerdSpeakTab");

 

//IDS

public static int aluminumIngotID;

public static int titaniumIngotID;

public static int chromiumIngotID;

public static int nickelIngotID;

public static int copperIngotID;

public static int zincIngotID;

public static int silverIngotID;

public static int tinIngotID;

public static int tungstenIngotID;

public static int osmiumIngotID;

public static int platinumIngotID;

public static int leadIngotID;

public static int uraniumIngotID;

public static int aluminumBlockID;

public static int titaniumBlockID;

public static int chromiumBlockID;

public static int nickelBlockID;

public static int copperBlockID;

public static int zincBlockID;

public static int silverBlockID;

public static int tinBlockID;

public static int tungstenBlockID;

public static int osmiumBlockID;

public static int platinumBlockID;

public static int leadBlockID;

public static int uraniumBlockID;

public static int aluminumOreID;

public static int titaniumOreID;

public static int chromiumOreID;

public static int nickelOreID;

public static int copperOreID;

public static int zincOreID;

public static int silverOreID;

public static int tinOreID;

public static int tungstenOreID;

public static int osmiumOreID;

public static int platinumOreID;

public static int leadOreID;

public static int uraniumOreID;

public static int atomHydrogenID;

public static int atomCarbonID;

public static int atomOxygenID;

public static int fuelAtomicSeparatorIdleID;

public static int fuelAtomicSeparatorRunningID;

public static int basicMachineCasingID;

public static int fillerID;

 

@PreInit

    public void preInit(FMLPreInitializationEvent event){

        Configuration NerdSpeakConfig = new Configuration(event.getSuggestedConfigurationFile());

//Before any other operations except the declaration

NerdSpeakConfig.load();

 

//IDs

int aluminumIngotID = NerdSpeakConfig.getBlock("ItemAluminumIngot", 713).getInt();

int titaniumIngotID = NerdSpeakConfig.getBlock("ItemTitaniumIngot", 722).getInt();

int chromiumIngotID = NerdSpeakConfig.getBlock("ItemChromiumIngot", 724).getInt();

int nickelIngotID = NerdSpeakConfig.getBlock("ItemNickelIngot", 728).getInt();

int copperIngotID = NerdSpeakConfig.getBlock("ItemCopperIngot", 729).getInt();

int zincIngotID = NerdSpeakConfig.getBlock("ItemZincIngot", 730).getInt();

int silverIngotID = NerdSpeakConfig.getBlock("ItemSilverIngot", 747).getInt();

int tinIngotID = NerdSpeakConfig.getBlock("ItemTinIngot", 750).getInt();

int tungstenIngotID = NerdSpeakConfig.getBlock("ItemTungstenIngot", 774).getInt();

int osmiumIngotID = NerdSpeakConfig.getBlock("ItemOsmiumIngot", 776).getInt();

int platinumIngotID = NerdSpeakConfig.getBlock("ItemPlatinumIngot", 778).getInt();

int leadIngotID = NerdSpeakConfig.getBlock("ItemLeadIngot", 782).getInt();

int uraniumIngotID = NerdSpeakConfig.getBlock("ItemUraniumIngot", 792).getInt();

int aluminumBlockID = NerdSpeakConfig.getBlock("AluminumBlock", 913).getInt();

int titaniumBlockID = NerdSpeakConfig.getBlock("TitaniumBlock", 922).getInt();

int chromiumBlockID = NerdSpeakConfig.getBlock("ChromiumBlock", 924).getInt();

int nickelBlockID = NerdSpeakConfig.getBlock("NickelBlock", 928).getInt();

int copperBlockID = NerdSpeakConfig.getBlock("CopperBlock", 929).getInt();

int zincBlockID = NerdSpeakConfig.getBlock("ZincBlock", 930).getInt();

int silverBlockID = NerdSpeakConfig.getBlock("SilverBlock", 947).getInt();

int tinBlockID = NerdSpeakConfig.getBlock("TinBlock", 950).getInt();

int tungstenBlockID = NerdSpeakConfig.getBlock("TungstenBlock", 974).getInt();

int osmiumBlockID = NerdSpeakConfig.getBlock("OsmiumBlock", 976).getInt();

int platinumBlockID = NerdSpeakConfig.getBlock("PlatinumBlock", 978).getInt();

int leadBlockID = NerdSpeakConfig.getBlock("LeadBlock", 982).getInt();

int uraniumBlockID = NerdSpeakConfig.getBlock("UraniumBlock", 992).getInt();

int aluminumOreID = NerdSpeakConfig.getBlock("BlockAluminumOre", 1113).getInt();

int titaniumOreID = NerdSpeakConfig.getBlock("BlockTitaniumOre", 1122).getInt();

int chromiumOreID = NerdSpeakConfig.getBlock("BlockChromiumOre", 1124).getInt();

int nickelOreID = NerdSpeakConfig.getBlock("BlockNickelOre", 1128).getInt();

int copperOreID = NerdSpeakConfig.getBlock("BlockCopperOre", 1129).getInt();

int zincOreID = NerdSpeakConfig.getBlock("BlockZincOre", 1130).getInt();

int silverOreID = NerdSpeakConfig.getBlock("BlockSilverOre", 1147).getInt();

int tinOreID = NerdSpeakConfig.getBlock("BlockTinOre", 1150).getInt();

int tungstenOreID = NerdSpeakConfig.getBlock("BlockTungstenOre", 1174).getInt();

int osmiumOreID = NerdSpeakConfig.getBlock("BlockOsmiumOre", 1176).getInt();

int platinumOreID = NerdSpeakConfig.getBlock("ItemPlatinumOre", 1178).getInt();

int leadOreID = NerdSpeakConfig.getBlock("BlockLeadOre", 1182).getInt();

int uraniumOreID = NerdSpeakConfig.getBlock("BlockUraniumOre", 1192).getInt();

int hydrogenAtomID = NerdSpeakConfig.getBlock("AtomHydrogen", 1301).getInt();

int carbonAtomID = NerdSpeakConfig.getBlock("AtomCarbon", 1306).getInt();

int oxygenAtomID = NerdSpeakConfig.getBlock("AtomOxygen", 1308).getInt();

int basicMachineCasingID = NerdSpeakConfig.getBlock("BasicMachineCasing", 600).getInt();

int fuelAtomicSeparatorIdleID = NerdSpeakConfig.getBlock("FuelAtomicSeparator", 1500).getInt();

int fuelAtomicSeparatorRunningID = NerdSpeakConfig.getBlock("FuelAtomicSeparator", 1501).getInt();

int fillerID = NerdSpeakConfig.getBlock("filler",4000).getInt();

 

//After all operations in PreInit

NerdSpeakConfig.save();

}

 

@Init

public void init(FMLInitializationEvent event) {

 

//Blocks

//Aluminum Block

mod_NerdSpeak.aluminumBlock = (new AluminumBlock(aluminumBlockID, Material.iron));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.aluminumBlock, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.aluminumBlock, mod_NerdSpeak.modid + mod_NerdSpeak.aluminumBlock.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.aluminumBlock, "Block of Aluminum");

OreDictionary.registerOre("aluminumBlock", new ItemStack(mod_NerdSpeak.aluminumBlock));

 

//TitaniumBlock

mod_NerdSpeak.titaniumBlock = (new TitaniumBlock(titaniumBlockID, Material.iron));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.titaniumBlock, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.titaniumBlock, mod_NerdSpeak.modid + mod_NerdSpeak.aluminumBlock.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.titaniumBlock, "Block of Titanium");

OreDictionary.registerOre("titaniumBlock", new ItemStack(mod_NerdSpeak.titaniumBlock));

 

//ChromiumBlock

mod_NerdSpeak.chromiumBlock = (new ChromiumBlock(chromiumBlockID, Material.iron));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.chromiumBlock, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.chromiumBlock, mod_NerdSpeak.modid + mod_NerdSpeak.chromiumBlock.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.chromiumBlock, "Block of Chromium");

OreDictionary.registerOre("chromiumBlock", new ItemStack(mod_NerdSpeak.chromiumBlock));

 

//NickelBlock

mod_NerdSpeak.nickelBlock = (new NickelBlock(nickelBlockID, Material.iron));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.nickelBlock, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.nickelBlock, mod_NerdSpeak.modid + mod_NerdSpeak.nickelBlock.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.nickelBlock, "Block of Nickel");

OreDictionary.registerOre("nickelBlock", new ItemStack(mod_NerdSpeak.nickelBlock));

 

//Copper Block

mod_NerdSpeak.copperBlock = (new CopperBlock(copperBlockID, Material.iron));

//0 is wood, 1 is stone, 2 is iron, 3 is diamond

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.copperBlock, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.copperBlock, mod_NerdSpeak.modid + mod_NerdSpeak.copperBlock.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.copperBlock, "Block of Copper");

OreDictionary.registerOre("copperBlock", new ItemStack(mod_NerdSpeak.copperBlock));

 

//ZincBlock

mod_NerdSpeak.zincBlock = (new ZincBlock(zincBlockID, Material.iron));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.zincBlock, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.zincBlock, mod_NerdSpeak.modid + mod_NerdSpeak.zincBlock.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.zincBlock, "Block of Zinc");

OreDictionary.registerOre("zincBlock", new ItemStack(mod_NerdSpeak.zincBlock));

 

//SilverBlock

mod_NerdSpeak.silverBlock = (new SilverBlock(silverBlockID, Material.iron));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.silverBlock, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.silverBlock, mod_NerdSpeak.modid + mod_NerdSpeak.silverBlock.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.silverBlock, "Block of Silver");

OreDictionary.registerOre("silverBlock", new ItemStack(mod_NerdSpeak.silverBlock));

 

//TinBlock

mod_NerdSpeak.tinBlock = (new TinBlock(tinBlockID, Material.iron));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.tinBlock, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.tinBlock, mod_NerdSpeak.modid + mod_NerdSpeak.tinBlock.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.tinBlock, "Block of Tin");

OreDictionary.registerOre("tinBlock", new ItemStack(mod_NerdSpeak.tinBlock));

 

//TungstenBlock

mod_NerdSpeak.tungstenBlock = (new TungstenBlock(tungstenBlockID, Material.iron));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.tungstenBlock, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.tungstenBlock, mod_NerdSpeak.modid + mod_NerdSpeak.tungstenBlock.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.tungstenBlock, "Block of Tungsten");

OreDictionary.registerOre("tungstenBlock", new ItemStack(mod_NerdSpeak.tungstenBlock));

 

//OsmiumBlock

mod_NerdSpeak.osmiumBlock = (new OsmiumBlock(osmiumBlockID, Material.iron));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.osmiumBlock, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.osmiumBlock, mod_NerdSpeak.modid + mod_NerdSpeak.osmiumBlock.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.osmiumBlock, "Block of Osmium");

OreDictionary.registerOre("osmiumBlock", new ItemStack(mod_NerdSpeak.osmiumBlock));

 

//PlatinumBlock

mod_NerdSpeak.platinumBlock = (new PlatinumBlock(platinumBlockID, Material.iron));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.platinumBlock, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.platinumBlock, mod_NerdSpeak.modid + mod_NerdSpeak.platinumBlock.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.platinumBlock, "Block of Platinum");

OreDictionary.registerOre("platinumBlock", new ItemStack(mod_NerdSpeak.platinumBlock));

 

//LeadBlock

mod_NerdSpeak.leadBlock = (new LeadBlock(leadBlockID, Material.iron));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.leadBlock, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.leadBlock, mod_NerdSpeak.modid + mod_NerdSpeak.leadBlock.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.leadBlock, "Block of Lead");

OreDictionary.registerOre("leadBlock", new ItemStack(mod_NerdSpeak.leadBlock));

 

//UraniumBlock

mod_NerdSpeak.uraniumBlock = (new UraniumBlock(uraniumBlockID, Material.iron));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.uraniumBlock, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.uraniumBlock, mod_NerdSpeak.modid + mod_NerdSpeak.uraniumBlock.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.uraniumBlock, "Block of Uranium");

OreDictionary.registerOre("uraniumBlock", new ItemStack(mod_NerdSpeak.uraniumBlock));

 

//Ores

//Aluminum Ore

mod_NerdSpeak.aluminumOre = (new BlockAluminumOre(aluminumOreID, Material.rock));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.aluminumOre, "pickaxe", 2);

GameRegistry.registerBlock(mod_NerdSpeak.aluminumOre, mod_NerdSpeak.modid + mod_NerdSpeak.aluminumOre.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.aluminumOre, "Aluminum Ore");

OreDictionary.registerOre("aluminumOre", new ItemStack(mod_NerdSpeak.aluminumOre));

 

//TitaniumOre;

mod_NerdSpeak.titaniumOre = (new BlockTitaniumOre(titaniumOreID, Material.rock));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.titaniumOre, "pickaxe", 3);

GameRegistry.registerBlock(mod_NerdSpeak.titaniumOre, mod_NerdSpeak.modid + mod_NerdSpeak.titaniumOre.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.titaniumOre, "Titanium Ore");

OreDictionary.registerOre("titaniumOre", new ItemStack(mod_NerdSpeak.titaniumOre));

 

//ChromiumOre;

mod_NerdSpeak.chromiumOre = (new BlockChromiumOre(chromiumOreID, Material.rock));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.chromiumOre, "pickaxe", 2);

GameRegistry.registerBlock(mod_NerdSpeak.chromiumOre, mod_NerdSpeak.modid + mod_NerdSpeak.chromiumOre.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.chromiumOre, "Chromium Ore");

OreDictionary.registerOre("chromiumOre", new ItemStack(mod_NerdSpeak.chromiumOre));

 

//NickelOre;

mod_NerdSpeak.nickelOre = (new BlockNickelOre(nickelOreID, Material.rock));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.nickelOre, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.nickelOre, mod_NerdSpeak.modid + mod_NerdSpeak.nickelOre.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.nickelOre, "Nickel Ore");

OreDictionary.registerOre("nickelOre", new ItemStack(mod_NerdSpeak.nickelOre));

 

//Copper Ore

mod_NerdSpeak.copperOre = (new BlockCopperOre(copperOreID, Material.rock));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.copperOre, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.copperOre, mod_NerdSpeak.modid + mod_NerdSpeak.copperOre.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.copperOre, "Copper Ore");

OreDictionary.registerOre("copperOre", new ItemStack(mod_NerdSpeak.copperOre));

 

//ZincOre

mod_NerdSpeak.zincOre = (new BlockZincOre(zincOreID, Material.rock));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.zincOre, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.zincOre, mod_NerdSpeak.modid + mod_NerdSpeak.zincOre.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.zincOre, "Zinc Ore");

OreDictionary.registerOre("zincOre", new ItemStack(mod_NerdSpeak.zincOre));

 

//SilverOre

mod_NerdSpeak.silverOre = (new BlockSilverOre(silverOreID, Material.rock));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.silverOre, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.silverOre, mod_NerdSpeak.modid + mod_NerdSpeak.silverOre.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.silverOre, "Silver Ore");

OreDictionary.registerOre("silverOre", new ItemStack(mod_NerdSpeak.silverOre));

 

//TinOre

mod_NerdSpeak.tinOre = (new BlockTinOre(tinOreID, Material.rock));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.tinOre, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.tinOre, mod_NerdSpeak.modid + mod_NerdSpeak.tinOre.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.tinOre, "Tin Ore");

OreDictionary.registerOre("tinOre", new ItemStack(mod_NerdSpeak.tinOre));

 

//TungstenOre

mod_NerdSpeak.tungstenOre = (new BlockTungstenOre(tungstenOreID, Material.rock));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.tungstenOre, "pickaxe", 2);

GameRegistry.registerBlock(mod_NerdSpeak.tungstenOre, mod_NerdSpeak.modid + mod_NerdSpeak.tungstenOre.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.tungstenOre, "Tungsten Ore");

OreDictionary.registerOre("tungstenOre", new ItemStack(mod_NerdSpeak.tungstenOre));

 

//OsmiumOre

mod_NerdSpeak.osmiumOre = (new BlockOsmiumOre(osmiumOreID, Material.rock));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.osmiumOre, "pickaxe", 2);

GameRegistry.registerBlock(mod_NerdSpeak.osmiumOre, mod_NerdSpeak.modid + mod_NerdSpeak.osmiumOre.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.osmiumOre, "Osmium Ore");

OreDictionary.registerOre("osmiumOre", new ItemStack(mod_NerdSpeak.osmiumOre));

 

//PlatinumOre

mod_NerdSpeak.platinumOre = (new BlockPlatinumOre(platinumOreID, Material.rock));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.platinumOre, "pickaxe", 2);

GameRegistry.registerBlock(mod_NerdSpeak.platinumOre, mod_NerdSpeak.modid + mod_NerdSpeak.platinumOre.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.platinumOre, "Platinum Ore");

OreDictionary.registerOre("platinumOre", new ItemStack(mod_NerdSpeak.platinumOre));

 

//LeadOre

mod_NerdSpeak.leadOre = (new BlockLeadOre(leadOreID, Material.rock));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.leadOre, "pickaxe", 2);

GameRegistry.registerBlock(mod_NerdSpeak.leadOre, mod_NerdSpeak.modid + mod_NerdSpeak.leadOre.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.leadOre, "Lead Ore");

OreDictionary.registerOre("leadOre", new ItemStack(mod_NerdSpeak.leadOre));

 

//UraniumOre

mod_NerdSpeak.uraniumOre = (new BlockUraniumOre(uraniumOreID, Material.rock));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.uraniumOre, "pickaxe", 2);

GameRegistry.registerBlock(mod_NerdSpeak.uraniumOre, mod_NerdSpeak.modid + mod_NerdSpeak.uraniumOre.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.uraniumOre,  "Uranium Ore");

OreDictionary.registerOre("uraniumOre", new ItemStack(mod_NerdSpeak.uraniumOre));

 

//Machine Parts

//Basic Machine Casing

mod_NerdSpeak.basicMachineCasing = (new BasicMachineCasing(basicMachineCasingID, Material.iron));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.basicMachineCasing, "pickaxe", 2);

GameRegistry.registerBlock(mod_NerdSpeak.basicMachineCasing, mod_NerdSpeak.modid + mod_NerdSpeak.basicMachineCasing.getUnlocalizedName2());

LanguageRegistry.addName(mod_NerdSpeak.basicMachineCasing, "Basic Machine Casing");

 

//Elements

//Hydrogen

mod_NerdSpeak.hydrogen = (new AtomHydrogen(atomHydrogenID));

GameRegistry.registerItem(mod_NerdSpeak.hydrogen, "hydrogen");

LanguageRegistry.addName(mod_NerdSpeak.hydrogen, "Hydrogen");

 

//Carbon

mod_NerdSpeak.carbon = (new AtomCarbon(atomCarbonID));

GameRegistry.registerItem(mod_NerdSpeak.carbon, "carbon");

LanguageRegistry.addName(mod_NerdSpeak.carbon, "Carbon");

 

//Oxygen

mod_NerdSpeak.oxygen = (new AtomOxygen(atomOxygenID));

GameRegistry.registerItem(mod_NerdSpeak.oxygen, "oxygen");

LanguageRegistry.addName(mod_NerdSpeak.oxygen, "Oxygen");

 

//Items

//Aluminum Ingot

mod_NerdSpeak.aluminumIngot = (new ItemAluminumIngot(aluminumIngotID));

GameRegistry.registerItem(mod_NerdSpeak.aluminumIngot, "aluminumIngot");

LanguageRegistry.addName(mod_NerdSpeak.aluminumIngot, "Aluminum Ingot");

OreDictionary.registerOre("aluminumIngot", new ItemStack(mod_NerdSpeak.aluminumIngot));

 

//Titanium Ingot

mod_NerdSpeak.titaniumIngot = (new ItemTitaniumIngot(titaniumIngotID));

GameRegistry.registerItem(mod_NerdSpeak.titaniumIngot, "titaniumInogt");

LanguageRegistry.addName(mod_NerdSpeak.titaniumIngot, "Titanium Ingot");

OreDictionary.registerOre("titaniumIngot", new ItemStack(mod_NerdSpeak.titaniumIngot));

 

//Chromium Ingot

mod_NerdSpeak.chromiumIngot = (new ItemChromiumIngot(chromiumIngotID));

GameRegistry.registerItem(mod_NerdSpeak.chromiumIngot, "chromiumIngot");

LanguageRegistry.addName(mod_NerdSpeak.chromiumIngot, "Chromium Ingot");

OreDictionary.registerOre("chromiumIngot", new ItemStack(mod_NerdSpeak.chromiumIngot));

 

//Nickel Ingot

mod_NerdSpeak.nickelIngot = (new ItemNickelIngot(nickelIngotID));

GameRegistry.registerItem(mod_NerdSpeak.nickelIngot, "nickelIngot");

LanguageRegistry.addName(mod_NerdSpeak.nickelIngot, "Nickel Ingot");

OreDictionary.registerOre("nickelIngot", new ItemStack(mod_NerdSpeak.nickelIngot));

 

//Copper Ingot

mod_NerdSpeak.copperIngot = (new ItemCopperIngot(copperIngotID));

GameRegistry.registerItem(mod_NerdSpeak.copperIngot, "copperIngot");

LanguageRegistry.addName(mod_NerdSpeak.copperIngot, "Copper Ingot");

OreDictionary.registerOre("copperIngot", new ItemStack(mod_NerdSpeak.copperIngot));

 

//Zinc Ingot

mod_NerdSpeak.zincIngot = (new ItemZincIngot(zincIngotID));

GameRegistry.registerItem(mod_NerdSpeak.zincIngot, "zincIngot");

LanguageRegistry.addName(mod_NerdSpeak.zincIngot, "Zinc Ingot");

OreDictionary.registerOre("zincIngot", new ItemStack(mod_NerdSpeak.zincIngot));

 

//Silver Ingot

mod_NerdSpeak.silverIngot = (new ItemSilverIngot(silverIngotID));

GameRegistry.registerItem(mod_NerdSpeak.silverIngot, "silverIngot");

LanguageRegistry.addName(mod_NerdSpeak.silverIngot, "Silver Ingot");

OreDictionary.registerOre("silverIngot", new ItemStack(mod_NerdSpeak.silverIngot));

 

//Tin Ingot

mod_NerdSpeak.tinIngot = (new ItemTinIngot(tinIngotID));

GameRegistry.registerItem(mod_NerdSpeak.tinIngot, "tinIngot");

LanguageRegistry.addName(mod_NerdSpeak.tinIngot, "Tin Ingot");

OreDictionary.registerOre("tinIngot", new ItemStack(mod_NerdSpeak.tinIngot));

 

//Tungsten Ingot

mod_NerdSpeak.tungstenIngot = (new ItemTungstenIngot(tungstenIngotID));

GameRegistry.registerItem(mod_NerdSpeak.tungstenIngot, "tungstenIngot");

LanguageRegistry.addName(mod_NerdSpeak.tungstenIngot, "Tungsten Ingot");

OreDictionary.registerOre("tungstenIngot", new ItemStack(mod_NerdSpeak.tungstenIngot));

 

//Osmium Ingot

mod_NerdSpeak.osmiumIngot = (new ItemOsmiumIngot(osmiumIngotID));

GameRegistry.registerItem(mod_NerdSpeak.osmiumIngot, "osmiumIngot");

LanguageRegistry.addName(mod_NerdSpeak.osmiumIngot, "Osmium Ingot");

OreDictionary.registerOre("osmiumIngot", new ItemStack(mod_NerdSpeak.osmiumIngot));

 

//Platiunum Ingot

mod_NerdSpeak.platinumIngot = (new ItemPlatinumIngot(platinumIngotID));

GameRegistry.registerItem(mod_NerdSpeak.platinumIngot, "platinumIngot");

LanguageRegistry.addName(mod_NerdSpeak.platinumIngot, "Platinum Ingot");

OreDictionary.registerOre("platinumIngot", new ItemStack(mod_NerdSpeak.platinumIngot));

 

//Lead Ingot

mod_NerdSpeak.leadIngot = (new ItemLeadIngot(leadIngotID));

GameRegistry.registerItem(mod_NerdSpeak.leadIngot, "leadIngot");

LanguageRegistry.addName(mod_NerdSpeak.leadIngot, "LeadIngot");

OreDictionary.registerOre("leadIngot", new ItemStack(mod_NerdSpeak.leadIngot));

 

//Uranium Ingot

mod_NerdSpeak.uraniumIngot = (new ItemUraniumIngot(uraniumIngotID));

GameRegistry.registerItem(mod_NerdSpeak.uraniumIngot, "uraniumInogt");

LanguageRegistry.addName(mod_NerdSpeak.uraniumIngot, "Uranium Ingot");

OreDictionary.registerOre("uraniumIngot", new ItemStack(mod_NerdSpeak.uraniumIngot));

 

//TBR

//Filler

mod_NerdSpeak.filler = (new ItemFiller(fillerID));

GameRegistry.registerItem(mod_NerdSpeak.filler, "filler");

LanguageRegistry.addName(mod_NerdSpeak.filler, "Filler");

 

//Chemistry Machines

mod_NerdSpeak.fuelAtomicSeparatorIdle = (new FuelAtomicSeparator(fuelAtomicSeparatorIdleID, false));

MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.fuelAtomicSeparatorIdle, "pickaxe", 1);

GameRegistry.registerBlock(mod_NerdSpeak.fuelAtomicSeparatorIdle, "fuelAtomicSeparatorIdle");

LanguageRegistry.addName(mod_NerdSpeak.fuelAtomicSeparatorIdle, "Fueled Atomic Separator");

 

    mod_NerdSpeak.fuelAtomicSeparatorRunning = (new FuelAtomicSeparator(fuelAtomicSeparatorRunningID, true));

    MinecraftForge.setBlockHarvestLevel(mod_NerdSpeak.fuelAtomicSeparatorRunning, "pickaxe", 1);

    GameRegistry.registerBlock(mod_NerdSpeak.fuelAtomicSeparatorRunning, "fuelAtomicSeparatorRunning");

    LanguageRegistry.addName(mod_NerdSpeak.fuelAtomicSeparatorRunning, "Fueled Atomic Separator");

 

//Recipes

    //Shaped Recipes

GameRegistry.addRecipe(new ItemStack(basicMachineCasing), new Object[]{

//Recipes comma after every line, can only have 1 or 2 lines if lines are empty

"#@#",

"@*@",

"#@#",

'#', Item.ingotIron, '@', tinIngot, '*', aluminumIngot

});

//Shapeless Recipes

GameRegistry.addShapelessRecipe(new ItemStack(mod_NerdSpeak.aluminumBlock, 1, 0), new Object[]{

new ItemStack(aluminumIngot, 9, 0)

});

GameRegistry.addShapelessRecipe(new ItemStack(mod_NerdSpeak.titaniumBlock, 1, 0), new Object[]{

new ItemStack(titaniumIngot, 9, 0)

});

GameRegistry.addShapelessRecipe(new ItemStack(mod_NerdSpeak.chromiumBlock, 1, 0), new Object[]{

new ItemStack(chromiumIngot, 9, 0)

});

GameRegistry.addShapelessRecipe(new ItemStack(mod_NerdSpeak.nickelBlock, 1, 0), new Object[]{

new ItemStack(nickelIngot, 9, 0)

});

GameRegistry.addShapelessRecipe(new ItemStack(mod_NerdSpeak.copperBlock, 1, 0), new Object[]{

new ItemStack(copperIngot, 9, 0)

});

GameRegistry.addShapelessRecipe(new ItemStack(mod_NerdSpeak.zincBlock, 1, 0), new Object[]{

new ItemStack(zincIngot, 9, 0)

});

GameRegistry.addShapelessRecipe(new ItemStack(mod_NerdSpeak.silverBlock, 1, 0), new Object[]{

new ItemStack(silverIngot, 9, 0)

});

GameRegistry.addShapelessRecipe(new ItemStack(mod_NerdSpeak.tinBlock, 1, 0), new Object[]{

new ItemStack(tinIngot, 9, 0)

});

GameRegistry.addShapelessRecipe(new ItemStack(mod_NerdSpeak.tungstenBlock, 1, 0), new Object[]{

new ItemStack(tungstenIngot, 9, 0)

});

GameRegistry.addShapelessRecipe(new ItemStack(mod_NerdSpeak.osmiumBlock, 1, 0), new Object[]{

new ItemStack(osmiumIngot, 9, 0)

});

GameRegistry.addShapelessRecipe(new ItemStack(mod_NerdSpeak.platinumBlock, 1, 0), new Object[]{

new ItemStack(platinumIngot, 9, 0)

});

GameRegistry.addShapelessRecipe(new ItemStack(mod_NerdSpeak.leadBlock, 1, 0), new Object[]{

new ItemStack(leadIngot, 9, 0)

});

GameRegistry.addShapelessRecipe(new ItemStack(mod_NerdSpeak.uraniumBlock, 1, 0), new Object[]{

new ItemStack(uraniumIngot, 9, 0)

});

 

//Furnace Recipes

//input(put as (init class.program name.itemID.blockID), metadata, (new ItemStack(item), XP(F):

FurnaceRecipes.smelting().addSmelting(aluminumOre.blockID, 0, new ItemStack(aluminumIngot), 0.7F);

FurnaceRecipes.smelting().addSmelting(titaniumOre.blockID, 0, new ItemStack(titaniumIngot), 0.7F);

FurnaceRecipes.smelting().addSmelting(chromiumOre.blockID, 0, new ItemStack(chromiumIngot), 0.7F);

FurnaceRecipes.smelting().addSmelting(nickelOre.blockID, 0, new ItemStack(nickelIngot), 0.7F);

FurnaceRecipes.smelting().addSmelting(copperOre.blockID, 0, new ItemStack(copperIngot), 0.7F);

FurnaceRecipes.smelting().addSmelting(zincOre.blockID, 0, new ItemStack(zincIngot), 0.7F);

FurnaceRecipes.smelting().addSmelting(silverOre.blockID, 0, new ItemStack(silverIngot), 0.7F);

FurnaceRecipes.smelting().addSmelting(tinOre.blockID, 0, new ItemStack(tinIngot), 0.7F);

FurnaceRecipes.smelting().addSmelting(tungstenOre.blockID, 0, new ItemStack(tungstenIngot), 0.7F);

FurnaceRecipes.smelting().addSmelting(osmiumOre.blockID, 0, new ItemStack(osmiumIngot), 0.7F);

FurnaceRecipes.smelting().addSmelting(platinumOre.blockID, 0, new ItemStack(platinumIngot), 0.7F);

FurnaceRecipes.smelting().addSmelting(leadOre.blockID, 0, new ItemStack(leadIngot), 0.7F);

FurnaceRecipes.smelting().addSmelting(uraniumOre.blockID, 0, new ItemStack(uraniumIngot), 0.7F);

 

//Other

GameRegistry.registerWorldGenerator(eventman);

 

GameRegistry.registerTileEntity(TileEntityFuelAtomicSeparator.class, "Tile Entity Fuel Atomic Separator");

NetworkRegistry.instance().registerGuiHandler(this, guihandler);

}

 

}

 

 

 

Here is the two classes that it is talking about:

The aluminumBlock:

 

 

package net.NerdSpeak.mod.common;

 

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.client.renderer.texture.IconRegister;

import net.minecraft.creativetab.CreativeTabs;

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

 

public class AluminumBlock extends Block

{

public AluminumBlock(int id, Material material) {

super(id, material);

setUnlocalizedName("aluminumBlock");

setCreativeTab(mod_NerdSpeak.nerdSpeakTab);

setHardness(5.0F);

setResistance(10.0F);

setStepSound(soundMetalFootstep);

}

 

@SideOnly(Side.CLIENT)

public void registerIcons(IconRegister reg)

{

this.blockIcon = reg.registerIcon(mod_NerdSpeak.modid + ":" + this.getUnlocalizedName2());

}

}

 

 

 

And the titaniumBlock:

 

 

 

package net.NerdSpeak.mod.common;

 

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.client.renderer.texture.IconRegister;

import net.minecraft.creativetab.CreativeTabs;

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

 

public class TitaniumBlock extends Block{

 

public TitaniumBlock(int id, Material material) {

super(id, material);

setCreativeTab(mod_NerdSpeak.nerdSpeakTab);

setUnlocalizedName("titaniumBlock");

setHardness(5.0F);

setResistance(10.0F);

setStepSound(soundMetalFootstep);

}

 

@SideOnly(Side.CLIENT)

public void registerIcons(IconRegister reg)

{

this.blockIcon = reg.registerIcon(mod_NerdSpeak.modid + ":" + this.getUnlocalizedName2());

}

}

 

 

 

Thank you for your time, geneventor

Link to comment
Share on other sites

I think I see the problem, in your individual class, it says that the Aluminum ore has Id first, in your main class it is second, my guess would be that sense minecraft doesn't see it first it assumes it is zero. But, I've never seen an error like this before, and I am new to modding myself, so this might not be the answer.

Link to comment
Share on other sites

//class level
public static int aluminumIngotID;

//function level
int aluminumIngotID = NerdSpeakConfig.getBlock("ItemAluminumIngot", 713).getInt();

//a different function
mod_NerdSpeak.aluminumIngot= (new aluminumIngotID(aluminumIngotID, Material.iron));

 

Which aluminumIngotID is being used?

The class level one.

Which is undefined.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

He's having a conflict with the block, not the ingot.

 

ALL of his items will have this issue because he's declaring his ID variables twice!

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Okay so I solved that(I think) but it now has an error under the load and save configuration functions. Do you know what is wrong?

 

What is the error?

(Random guess: you haven't fed your computer cheese lately)

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

The error on the load method is "Syntax error on token "load", Identifier expected after this token"

 

The error on the save method is "Syntax error on token "save", Identifier expected after this token"

 

Edit: also, the only thing I changed was I took the integers out of the method turned FML into a variable, and deleted the public static integers.

Link to comment
Share on other sites

Here's how I do things:

 

@PreInit
    public void preInit(FMLPreInitializationEvent event) {
    	Configuration config = new Configuration(event.getSuggestedConfigurationFile());
    	config.load();
    	int fakeID = config.getBlock("FakeBlock", 2000).getInt();
    	config.save();
    	fakeBlock = new FakeBlock(fakeID);
   }

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

So how do I use the game registry then, because when I do it the way you are doing, it crashes again.  :-[

 

GameRegistry.registerBlock(fakeBlock, "Fake Block");

 

And just so you know:

 

Every time it crashes, post the god damn error.  It is impossible to solve a crash error without knowing what the error is.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

So how do I use the game registry then, because when I do it the way you are doing, it crashes again.  :-[

 

GameRegistry.registerBlock(fakeBlock, "Fake Block");

 

And just so you know:

 

Every time it crashes, post the god damn error.  It is impossible to solve a crash error without knowing what the error is.

 

You're making my day, bud.

Link to comment
Share on other sites

You're making my day, bud.

 

"It doesn't work" is so...unuseful.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Okay, so when it crashes, when I put all the item and block initializations in, but not the game registries, language registries, and those methods. It gives me this:

 

 

 

---- Minecraft Crash Report ----

// Daisy, daisy...

 

Time: 6/18/13 8:37 PM

Description: Failed to start game

 

cpw.mods.fml.common.LoaderException: java.lang.NullPointerException

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:232)

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:195)

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:171)

at net.NerdSpeak.mod.common.mod_NerdSpeak.init(mod_NerdSpeak.java:207)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:689)

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:444)

at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)

at net.minecraft.client.Minecraft.run(Minecraft.java:729)

at java.lang.Thread.run(Thread.java:680)

Caused by: java.lang.NullPointerException

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:214)

... 34 more

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.5.1

Operating System: Mac OS X (x86_64) version 10.8.2

Java Version: 1.6.0_43, Apple Inc.

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Apple Inc.

Memory: 969599808 bytes (924 MB) / 1065025536 bytes (1015 MB) up to 1065025536 bytes (1015 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v7.44 FML v5.1.8.611 Minecraft Forge 7.7.1.611 4 mods loaded, 4 mods active

mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized

FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

geneventor_nerdSpeak [nerdSpeak] (bin) Unloaded->Constructed->Pre-initialized->Errored

LWJGL: 2.4.2

OpenGL: Intel HD Graphics 4000 OpenGL Engine GL version 2.1 APPLE-8.6.22, Intel Inc.

Is Modded: Definitely; Client brand changed to 'forge,fml'

Type: Client (map_client.txt)

Texture Pack: Default

Profiler Position: N/A (disabled)

Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

 

 

 

When I put in all the block and item registration methods it gives me this:

 

 

 

---- Minecraft Crash Report ----

// Don't be sad, have a hug! <3

 

Time: 6/18/13 8:38 PM

Description: Failed to start game

 

cpw.mods.fml.common.LoaderException: java.lang.NullPointerException

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:232)

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:195)

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:171)

at net.NerdSpeak.mod.common.mod_NerdSpeak.init(mod_NerdSpeak.java:466)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:689)

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:444)

at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)

at net.minecraft.client.Minecraft.run(Minecraft.java:729)

at java.lang.Thread.run(Thread.java:680)

Caused by: java.lang.NullPointerException

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:214)

... 34 more

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.5.1

Operating System: Mac OS X (x86_64) version 10.8.2

Java Version: 1.6.0_43, Apple Inc.

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Apple Inc.

Memory: 969543048 bytes (924 MB) / 1065025536 bytes (1015 MB) up to 1065025536 bytes (1015 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v7.44 FML v5.1.8.611 Minecraft Forge 7.7.1.611 4 mods loaded, 4 mods active

mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized

FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

geneventor_nerdSpeak [nerdSpeak] (bin) Unloaded->Constructed->Pre-initialized->Errored

LWJGL: 2.4.2

OpenGL: Intel HD Graphics 4000 OpenGL Engine GL version 2.1 APPLE-8.6.22, Intel Inc.

Is Modded: Definitely; Client brand changed to 'forge,fml'

Type: Client (map_client.txt)

Texture Pack: Default

Profiler Position: N/A (disabled)

Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

 

 

 

Sorry for not prieviously showing this, geneventor

Link to comment
Share on other sites

Okay, so when it crashes, when I put all the item and block initializations in, but not the game registries, language registries, and those methods. It gives me this:

 

 

 

---- Minecraft Crash Report ----

// Daisy, daisy...

 

Time: 6/18/13 8:37 PM

Description: Failed to start game

 

cpw.mods.fml.common.LoaderException: java.lang.NullPointerException

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:232)

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:195)

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:171)

at net.NerdSpeak.mod.common.mod_NerdSpeak.init(mod_NerdSpeak.java:207)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:689)

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:444)

at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)

at net.minecraft.client.Minecraft.run(Minecraft.java:729)

at java.lang.Thread.run(Thread.java:680)

Caused by: java.lang.NullPointerException

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:214)

... 34 more

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.5.1

Operating System: Mac OS X (x86_64) version 10.8.2

Java Version: 1.6.0_43, Apple Inc.

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Apple Inc.

Memory: 969599808 bytes (924 MB) / 1065025536 bytes (1015 MB) up to 1065025536 bytes (1015 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v7.44 FML v5.1.8.611 Minecraft Forge 7.7.1.611 4 mods loaded, 4 mods active

mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized

FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

geneventor_nerdSpeak [nerdSpeak] (bin) Unloaded->Constructed->Pre-initialized->Errored

LWJGL: 2.4.2

OpenGL: Intel HD Graphics 4000 OpenGL Engine GL version 2.1 APPLE-8.6.22, Intel Inc.

Is Modded: Definitely; Client brand changed to 'forge,fml'

Type: Client (map_client.txt)

Texture Pack: Default

Profiler Position: N/A (disabled)

Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

 

 

 

When I put in all the block and item registration methods it gives me this:

 

 

 

---- Minecraft Crash Report ----

// Don't be sad, have a hug! <3

 

Time: 6/18/13 8:38 PM

Description: Failed to start game

 

cpw.mods.fml.common.LoaderException: java.lang.NullPointerException

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:232)

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:195)

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:171)

at net.NerdSpeak.mod.common.mod_NerdSpeak.init(mod_NerdSpeak.java:466)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:689)

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:444)

at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)

at net.minecraft.client.Minecraft.run(Minecraft.java:729)

at java.lang.Thread.run(Thread.java:680)

Caused by: java.lang.NullPointerException

at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:214)

... 34 more

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.5.1

Operating System: Mac OS X (x86_64) version 10.8.2

Java Version: 1.6.0_43, Apple Inc.

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Apple Inc.

Memory: 969543048 bytes (924 MB) / 1065025536 bytes (1015 MB) up to 1065025536 bytes (1015 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v7.44 FML v5.1.8.611 Minecraft Forge 7.7.1.611 4 mods loaded, 4 mods active

mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized

FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

geneventor_nerdSpeak [nerdSpeak] (bin) Unloaded->Constructed->Pre-initialized->Errored

LWJGL: 2.4.2

OpenGL: Intel HD Graphics 4000 OpenGL Engine GL version 2.1 APPLE-8.6.22, Intel Inc.

Is Modded: Definitely; Client brand changed to 'forge,fml'

Type: Client (map_client.txt)

Texture Pack: Default

Profiler Position: N/A (disabled)

Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

 

 

 

Sorry for not prieviously showing this, geneventor

What's line 406 of your mod file?

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Link to comment
Share on other sites

Line 406 when just the initializations are in the PreInit is:

 

OreDictionary.registerOre("zincIngot", new ItemStack(zincIngot));

 

When all the block and item registers are in pre Init it is, I believe, the same thing.

 

What line has this:

 

zincIngot = new ZincIngot(...)

 

?

 

Is it in the same function?

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Line 406 when just the initializations are in the PreInit is:

 

OreDictionary.registerOre("zincIngot", new ItemStack(zincIngot));

 

When all the block and item registers are in pre Init it is, I believe, the same thing.

Argh, I can't type. I meant 466. The one it's crashing on.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Link to comment
Share on other sites

It is:

GameRegistry.registerBlock(aluminumBlock, "aluminumBlock");

 

Insert a repeat of my last question, only using aluminumBlock not zincIngot

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

I don't understand... Is there something wrong with how I have made the configuration or something? Or am I just being stupid?

 

class myclass {
    int myInt = 5;

    function myclass() {
        int myInt = 16;
        System.out.println(myInt);
    }

}

 

What is printed?

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hello, I'm trying to modify the effects of native enchantments for bows and arrows in Minecraft. After using a decompilation tool, I found that the specific implementations of native bow and arrow enchantments (including `ArrowDamageEnchantment`, `ArrowKnockbackEnchantment`, `ArrowFireEnchantment`, `ArrowInfiniteEnchantment`, `ArrowPiercingEnchantment`) do not contain any information about the enchantment effects (such as the `getDamageProtection` function for `ProtectionEnchantment`, `getDamageBonus` function for `DamageEnchantment`, etc.). Upon searching for the base class of arrows, `AbstractArrow`, I found a function named setEnchantmentEffectsFromEntity`, which seems to be used to retrieve the enchantment levels of the tool held by a `LivingEntity` and calculate the specific values of the enchantment effects. However, after testing with the following code, I found that this function is not being called:   @Mixin(AbstractArrow.class) public class ModifyArrowEnchantmentEffects {     private static final Logger LOGGER = LogUtils.getLogger();     @Inject(         method = "setEnchantmentEffectsFromEntity",         at = @At("HEAD")     )     private void logArrowEnchantmentEffectsFromEntity(CallbackInfo ci) {         LOGGER.info("Arrow enchantment effects from entity");     } }   Upon further investigation, I found that within the onHitEntity method, there are several lines of code:               if (!this.level().isClientSide &amp;&amp; entity1 instanceof LivingEntity) {                EnchantmentHelper.doPostHurtEffects(livingentity, entity1);                EnchantmentHelper.doPostDamageEffects((LivingEntity)entity1, livingentity);             }   These lines of code actually call the doPostHurt and doPostAttack methods of each enchantment in the enchantment list. However, this leads back to the issue because native bow and arrow enchantments do not implement these functions. Although their base class defines the functions, they are empty. At this point, I'm completely stumped and seeking assistance. Thank you.
    • I have been trying to make a server with forge but I keep running into an issue. I have jdk 22 installed as well as Java 8. here is the debug file  
    • it crashed again     What the console says : [00:02:03] [Server thread/INFO] [Easy NPC/]: [EntityManager] Server started! [00:02:03] [Server thread/INFO] [co.gi.al.ic.IceAndFire/]: {iceandfire:fire_dragon_roost=true, iceandfire:fire_lily=true, iceandfire:spawn_dragon_skeleton_fire=true, iceandfire:lightning_dragon_roost=true, iceandfire:spawn_dragon_skeleton_lightning=true, iceandfire:ice_dragon_roost=true, iceandfire:ice_dragon_cave=true, iceandfire:lightning_dragon_cave=true, iceandfire:cyclops_cave=true, iceandfire:spawn_wandering_cyclops=true, iceandfire:spawn_sea_serpent=true, iceandfire:frost_lily=true, iceandfire:hydra_cave=true, iceandfire:lightning_lily=true, iceandfireixie_village=true, iceandfire:myrmex_hive_jungle=true, iceandfire:myrmex_hive_desert=true, iceandfire:silver_ore=true, iceandfire:siren_island=true, iceandfire:spawn_dragon_skeleton_ice=true, iceandfire:spawn_stymphalian_bird=true, iceandfire:fire_dragon_cave=true, iceandfire:sapphire_ore=true, iceandfire:spawn_hippocampus=true, iceandfire:spawn_death_worm=true} [00:02:03] [Server thread/INFO] [co.gi.al.ic.IceAndFire/]: {TROLL_S=true, HIPPOGRYPH=true, AMPHITHERE=true, COCKATRICE=true, TROLL_M=true, DREAD_LICH=true, TROLL_F=true} [00:02:03] [Server thread/INFO] [ne.be.lo.WeaponRegistry/]: Encoded Weapon Attribute registry size (with package overhead): 41976 bytes (in 5 string chunks with the size of 10000) [00:02:03] [Server thread/INFO] [patchouli/]: Sending reload packet to clients [00:02:03] [Server thread/WARN] [voicechat/]: [voicechat] Running in offline mode - Voice chat encryption is not secure! [00:02:03] [VoiceChatServerThread/INFO] [voicechat/]: [voicechat] Using server-ip as bind address: 0.0.0.0 [00:02:03] [Server thread/WARN] [ModernFix/]: Dedicated server took 22.521 seconds to load [00:02:03] [VoiceChatServerThread/INFO] [voicechat/]: [voicechat] Voice chat server started at 0.0.0.0:25565 [00:02:03] [Server thread/WARN] [minecraft/SynchedEntityData]: defineId called for: class net.minecraft.world.entity.player.Player from class tschipp.carryon.common.carry.CarryOnDataManager [00:02:03] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@2941ffd5 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 0 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 1 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 2 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 3 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 4 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 5 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 6 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 7 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 8 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 9 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 10 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 11 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 12 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 13 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 14 [00:02:19] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@ebc7ef2 [00:02:19] [Server thread/INFO] [minecraft/PlayerList]: ZacAdos[/90.2.17.162:49242] logged in with entity id 1062 at (-1848.6727005281205, 221.0, -3054.2468255848935) [00:02:19] [Server thread/ERROR] [ModernFix/]: Skipping entity ID sync for com.talhanation.smallships.world.entity.ship.Ship: java.lang.NoClassDefFoundError: net/minecraft/client/CameraType [00:02:19] [Server thread/INFO] [minecraft/MinecraftServer]: - Gloop - ZacAdos joined the game [00:02:19] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Updating all forceload tickets for cc56befd-d376-3526-a760-340713c478bd [00:02:19] [Server thread/INFO] [se.mi.te.da.DataManager/]: Sending data to client: ZacAdos [00:02:19] [Server thread/INFO] [voicechat/]: [voicechat] Received secret request of - Gloop - ZacAdos (17) [00:02:19] [Server thread/INFO] [voicechat/]: [voicechat] Sent secret to - Gloop - ZacAdos [00:02:21] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Successfully authenticated player cc56befd-d376-3526-a760-340713c478bd [00:02:22] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Successfully validated connection of player cc56befd-d376-3526-a760-340713c478bd [00:02:22] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Player - Gloop - ZacAdos (cc56befd-d376-3526-a760-340713c478bd) successfully connected to voice chat stop [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping the server [00:02:34] [Server thread/INFO] [mo.pl.ar.ArmourersWorkshop/]: stop local service [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players [00:02:34] [Server thread/INFO] [minecraft/ServerGamePacketListenerImpl]: ZacAdos lost connection: Server closed [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: - Gloop - ZacAdos left the game [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Updating all forceload tickets for cc56befd-d376-3526-a760-340713c478bd [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (world): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage: All dimensions are saved [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Stopping IO worker... [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Stopped IO worker! [00:02:34] [Server thread/INFO] [Calio/]: Removing Dynamic Registries for: net.minecraft.server.dedicated.DedicatedServer@7dc879e1 [MineStrator Daemon]: Checking server disk space usage, this could take a few seconds... [MineStrator Daemon]: Updating process configuration files... [MineStrator Daemon]: Ensuring file permissions are set correctly, this could take a few seconds... [MineStrator Daemon]: Pulling Docker container image, this could take a few minutes to complete... [MineStrator Daemon]: Finished pulling Docker container image container@pterodactyl~ java -version openjdk version "17.0.10" 2024-01-16 OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7) OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode, sharing) container@pterodactyl~ java -Xms128M -Xmx6302M -Dterminal.jline=false -Dterminal.ansi=true -Djline.terminal=jline.UnsupportedTerminal -p libraries/cpw/mods/bootstraplauncher/1.1.2/bootstraplauncher-1.1.2.jar:libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar:libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar:libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar:libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar:libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar:libraries/org/ow2/asm/asm/9.5/asm-9.5.jar:libraries/net/minecraftforge/JarJarFileSystems/0.3.16/JarJarFileSystems-0.3.16.jar --add-modules ALL-MODULE-PATH --add-opens java.base/java.util.jar=cpw.mods.securejarhandler --add-opens java.base/java.lang.invoke=cpw.mods.securejarhandler --add-exports java.base/sun.security.util=cpw.mods.securejarhandler --add-exports jdk.naming.dns/com.sun.jndi.dns=java.naming -Djava.net.preferIPv6Addresses=system -DignoreList=bootstraplauncher-1.1.2.jar,securejarhandler-2.1.4.jar,asm-commons-9.5.jar,asm-util-9.5.jar,asm-analysis-9.5.jar,asm-tree-9.5.jar,asm-9.5.jar,JarJarFileSystems-0.3.16.jar -DlibraryDirectory=libraries -DlegacyClassPath=libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar:libraries/org/ow2/asm/asm/9.5/asm-9.5.jar:libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar:libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar:libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar:libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar:libraries/net/minecraftforge/accesstransformers/8.0.4/accesstransformers-8.0.4.jar:libraries/org/antlr/antlr4-runtime/4.9.1/antlr4-runtime-4.9.1.jar:libraries/net/minecraftforge/eventbus/6.0.3/eventbus-6.0.3.jar:libraries/net/minecraftforge/forgespi/6.0.0/forgespi-6.0.0.jar:libraries/net/minecraftforge/coremods/5.0.1/coremods-5.0.1.jar:libraries/cpw/mods/modlauncher/10.0.8/modlauncher-10.0.8.jar:libraries/net/minecraftforge/unsafe/0.2.0/unsafe-0.2.0.jar:libraries/com/electronwill/night-config/core/3.6.4/core-3.6.4.jar:libraries/com/electronwill/night-config/toml/3.6.4/toml-3.6.4.jar:libraries/org/apache/maven/maven-artifact/3.8.5/maven-artifact-3.8.5.jar:libraries/net/jodah/typetools/0.8.3/typetools-0.8.3.jar:libraries/net/minecrell/terminalconsoleappender/1.2.0/terminalconsoleappender-1.2.0.jar:libraries/org/jline/jline-reader/3.12.1/jline-reader-3.12.1.jar:libraries/org/jline/jline-terminal/3.12.1/jline-terminal-3.12.1.jar:libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar:libraries/org/openjdk/nashorn/nashorn-core/15.3/nashorn-core-15.3.jar:libraries/net/minecraftforge/JarJarSelector/0.3.16/JarJarSelector-0.3.16.jar:libraries/net/minecraftforge/JarJarMetadata/0.3.16/JarJarMetadata-0.3.16.jar:libraries/net/minecraftforge/fmlloader/1.19.2-43.3.0/fmlloader-1.19.2-43.3.0.jar:libraries/net/minecraft/server/1.19.2-20220805.130853/server-1.19.2-20220805.130853-extra.jar:libraries/com/github/oshi/oshi-core/5.8.5/oshi-core-5.8.5.jar:libraries/com/google/code/gson/gson/2.8.9/gson-2.8.9.jar:libraries/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:libraries/com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.jar:libraries/com/mojang/authlib/3.11.49/authlib-3.11.49.jar:libraries/com/mojang/brigadier/1.0.18/brigadier-1.0.18.jar:libraries/com/mojang/datafixerupper/5.0.28/datafixerupper-5.0.28.jar:libraries/com/mojang/javabridge/1.2.24/javabridge-1.2.24.jar:libraries/com/mojang/logging/1.0.0/logging-1.0.0.jar:libraries/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:libraries/io/netty/netty-buffer/4.1.77.Final/netty-buffer-4.1.77.Final.jar:libraries/io/netty/netty-codec/4.1.77.Final/netty-codec-4.1.77.Final.jar:libraries/io/netty/netty-common/4.1.77.Final/netty-common-4.1.77.Final.jar:libraries/io/netty/netty-handler/4.1.77.Final/netty-handler-4.1.77.Final.jar:libraries/io/netty/netty-resolver/4.1.77.Final/netty-resolver-4.1.77.Final.jar:libraries/io/netty/netty-transport/4.1.77.Final/netty-transport-4.1.77.Final.jar:libraries/io/netty/netty-transport-classes-epoll/4.1.77.Final/netty-transport-classes-epoll-4.1.77.Final.jar:libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-x86_64.jar:libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-aarch_64.jar:libraries/io/netty/netty-transport-native-unix-common/4.1.77.Final/netty-transport-native-unix-common-4.1.77.Final.jar:libraries/it/unimi/dsi/fastutil/8.5.6/fastutil-8.5.6.jar:libraries/net/java/dev/jna/jna/5.10.0/jna-5.10.0.jar:libraries/net/java/dev/jna/jna-platform/5.10.0/jna-platform-5.10.0.jar:libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar:libraries/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar:libraries/org/apache/logging/log4j/log4j-api/2.17.0/log4j-api-2.17.0.jar:libraries/org/apache/logging/log4j/log4j-core/2.17.0/log4j-core-2.17.0.jar:libraries/org/apache/logging/log4j/log4j-slf4j18-impl/2.17.0/log4j-slf4j18-impl-2.17.0.jar:libraries/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar cpw.mods.bootstraplauncher.BootstrapLauncher --launchTarget forgeserver --fml.forgeVersion 43.3.0 --fml.mcVersion 1.19.2 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20220805.130853 [00:02:42] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.3.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [00:02:42] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 6.1.0-12-amd64 [00:02:43] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/fmlcore/1.19.2-43.3.0/fmlcore-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.3.0/javafmllanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.3.0/lowcodelanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/mclanguage/1.19.2-43.3.0/mclanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:44] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [00:02:44] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /home/container/mods/resourcefullib-forge-1.19.2-1.1.24.jar [00:02:44] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 13 dependencies adding them to mods collection Latest log [29Mar2024 00:02:42.803] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.3.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [29Mar2024 00:02:42.805] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 6.1.0-12-amd64 [29Mar2024 00:02:43.548] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [29Mar2024 00:02:43.876] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/fmlcore/1.19.2-43.3.0/fmlcore-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.877] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.3.0/javafmllanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.877] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.3.0/lowcodelanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.878] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/mclanguage/1.19.2-43.3.0/mclanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:44.033] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [29Mar2024 00:02:44.034] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /home/container/mods/resourcefullib-forge-1.19.2-1.1.24.jar [29Mar2024 00:02:44.034] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: Found 13 dependencies adding them to mods collection
    • I am unable to do that. Brigadier is a mojang library that parses commands.
  • Topics

  • Who's Online (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.