Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.7.2]NetworkRegistry
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 1
Z@Nka

[1.7.2]NetworkRegistry

By Z@Nka, March 7, 2014 in Modder Support

  • Start new topic
  • Prev
  • 1
  • 2
  • Next
  • Page 2 of 2  

Recommended Posts

Z@Nka    2

Z@Nka

Z@Nka    2

  • Creeper Killer
  • Z@Nka
  • Members
  • 2
  • 104 posts
Posted March 8, 2014

So everything is working, apart from one thing. -.-

The "GuiHandler GuiHandler = new GuiHandler();" in my main mod class.

 

package bulkyzanka.electro.mod;

import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.Item.ToolMaterial;
import net.minecraft.item.ItemArmor.ArmorMaterial;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.common.util.EnumHelper;
import bulkyzanka.electro.mod.blocks.BlockCompressionFurnace;
import bulkyzanka.electro.mod.creativetabs.ElectrocutedTab;
import bulkyzanka.electro.mod.gui.GuiHandler;
import bulkyzanka.electro.mod.items.BoneIngot;
import bulkyzanka.electro.mod.items.BonePlate;
import bulkyzanka.electro.mod.items.CoalMotor;
import bulkyzanka.electro.mod.items.ElectricMotor;
import bulkyzanka.electro.mod.items.Generator;
import bulkyzanka.electro.mod.items.armor.BoneArmor;
import bulkyzanka.electro.mod.items.tools.BoneAxe;
import bulkyzanka.electro.mod.items.tools.BoneHoe;
import bulkyzanka.electro.mod.items.tools.BonePickaxe;
import bulkyzanka.electro.mod.items.tools.BoneSpade;
import bulkyzanka.electro.mod.items.tools.BoneSword;
import bulkyzanka.electro.mod.lib.Referance;
import bulkyzanka.electro.mod.proxy.ProxyCommon;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
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 cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;



@Mod(modid = Referance.MODID, version = Referance.VERSION)
public class Electrocuted
{

//Instance
@Instance(Referance.MODID)
    public static Electrocuted instance;

//Proxy Stuff
@SidedProxy(clientSide = "electro.proxy.ProxyClient" , serverSide = "electro.proxy.ProxyCommon")
public static ProxyCommon proxy;

//GuiIDs
public static final int guiIdCompressionFurnace = 1;
//CreativeTabs
public static CreativeTabs  ElectrocutedTab = new ElectrocutedTab(CreativeTabs.getNextID(), "ElectrocutedTab");

//Material
	//ToolMaterial
public static ToolMaterial Bone = EnumHelper.addToolMaterial("Bone", 2, 175, 6.0F, 2.5F, 19);

	//ArmorMaterial
public static ArmorMaterial BoneArmor = EnumHelper.addArmorMaterial("BONEARMOR", 7, new int[]{3, 7, 6, 3}, 20);

//Items
public static Item BonePlate = new BonePlate().setUnlocalizedName("BonePlate").setTextureName("electrocuted:BonePlate");
public static Item BoneIngot = new BoneIngot().setUnlocalizedName("BoneIngot").setTextureName("electrocuted:BoneIngot");
public static Item CoalMotor = new CoalMotor().setUnlocalizedName("CoalMotor").setTextureName("electrocted:CoalMotor");
public static Item ElectricMotor = new ElectricMotor().setUnlocalizedName("ElectricMotor").setTextureName("electrocted:ElectricMotor");
public static Item Generator = new Generator().setUnlocalizedName("Generator").setTextureName("electrocted:Generator");

//Blocks
public static Block CompressionFurnaceIdle = new BlockCompressionFurnace(false).setBlockName("CompressionFurnaceIdle").setBlockTextureName("electrocuted:CompressionFurnace_Idle_front");
public static Block CompressionFurnaceActive = new BlockCompressionFurnace(true).setBlockName("CompressionFurnaceActive").setBlockTextureName("electrocuted:CompressionFurnace_Idle_front");

//Tools
public static Item BoneSword = new BoneSword(Bone).setUnlocalizedName("BoneSword").setTextureName("electrocuted:BoneSword");
public static Item BoneSpade = new BoneSpade(Bone).setUnlocalizedName("BoneSpade").setTextureName("electrocuted:BoneSpade");
public static Item BonePickaxe = new BonePickaxe(Bone).setUnlocalizedName("BonePickaxe").setTextureName("electrocuted:BonePickaxe");
public static Item BoneAxe = new BoneAxe(Bone).setUnlocalizedName("BoneAxe").setTextureName("electrocuted:BoneAxe");
public static Item BoneHoe = new BoneHoe(Bone).setUnlocalizedName("BoneHoe").setTextureName("electrocuted:BoneHoe");

//Armor
public static Item BoneHelmet = new BoneArmor(BoneArmor, 0).setUnlocalizedName("BoneHelmet").setTextureName("electrocuted:BoneHelmet");
public static Item BoneChestPlate = new BoneArmor(BoneArmor, 1).setUnlocalizedName("BoneChestPlate").setTextureName("electrocuted:BoneChestPlate");
public static Item BoneLeggings = new BoneArmor(BoneArmor, 2).setUnlocalizedName("BoneLeggings").setTextureName("electrocuted:BoneLeggings");
public static Item BoneBoots = new BoneArmor(BoneArmor, 3).setUnlocalizedName("BoneBoots").setTextureName("electrocuted:BoneBoots");

 //EventHandler
	//PreInit
@EventHandler
 public void preinit(FMLPreInitializationEvent event)
{
	//Config
	Configuration config = new Configuration(
			event.getSuggestedConfigurationFile());
			config.load();

			config.save();
 }

	//Init
 @EventHandler
 public void init(FMLInitializationEvent event)
 {
	 proxy.registerRenderInformation();
	 proxy.registerTileEntities();
 }	 

 	//PostInit
 @EventHandler
 public void postinit(FMLPostInitializationEvent event)
 {

 }

public Electrocuted()
{
 //Registry
 GameRegistry.registerItem(BonePlate, "BonePlate");
 GameRegistry.registerItem(BoneIngot, "BoneIngot");
 GameRegistry.registerItem(CoalMotor, "CoalMotor");
 GameRegistry.registerItem(ElectricMotor, "ElectricMotor");
 GameRegistry.registerItem(Generator, "Generator");

 GameRegistry.registerBlock(CompressionFurnaceIdle, "CompressionFurnaceIdle");
 GameRegistry.registerBlock(CompressionFurnaceActive, "CompressionFurnaceActive");

 GameRegistry.registerItem(BoneSword, "BoneSword");
 GameRegistry.registerItem(BoneSpade, "BoneSpade");
 GameRegistry.registerItem(BonePickaxe, "BonePickaxe");
 GameRegistry.registerItem(BoneAxe, "BoneAxe");
 GameRegistry.registerItem(BoneHoe, "BoneHoe");

 GameRegistry.registerItem(BoneHelmet, "BoneHelmet");
 GameRegistry.registerItem(BoneChestPlate, "BoneChestPlate");
 GameRegistry.registerItem(BoneLeggings, "BoneLeggings");
 GameRegistry.registerItem(BoneBoots, "BoneBoots");
 LanguageRegistry.instance().addStringLocalization("container.CompressionFurnace", "Compression Furnace");
 GuiHandler GuiHandler = new GuiHandler();

//Recipe
 	//Items
 GameRegistry.addRecipe(new ItemStack(BonePlate, 2), new Object []
 {
		"XX ", "XX ", 'X', Items.bone
 });
 GameRegistry.addRecipe(new ItemStack(BoneIngot, 3), new Object []
 {
	"XXX", "XYX", "XXX", 'X', Items.bone, 'Y', Items.iron_ingot
 });

 	//Tools
 GameRegistry.addRecipe(new ItemStack(BoneSword, 1), new Object []
 {
	 " X ", " X ", " Y ", 'X', BoneIngot, 'Y', Items.stick
 });
 GameRegistry.addRecipe(new ItemStack(BoneSpade, 1), new Object []
 {
	 " X ", " Y ", " Y ", 'X', BoneIngot, 'Y', Items.stick
 });
 GameRegistry.addRecipe(new ItemStack(BonePickaxe, 1), new Object []
 {
	 "XXX", " Y ", " Y ", 'X', BoneIngot, 'Y', Items.stick
 });
 GameRegistry.addRecipe(new ItemStack(BoneAxe, 1), new Object []
 {
	 "XX ", "XY ", " Y ", 'X', BoneIngot, 'Y', Items.stick
 });
 GameRegistry.addRecipe(new ItemStack(BoneHoe, 1), new Object []
 {
	 " XX", " Y ", " Y ", 'X', BoneIngot, 'Y', Items.stick
 });


 	//Armor
 GameRegistry.addRecipe(new ItemStack(BoneHelmet, 1), new Object []
 {
	 "XXX", "X X", 'X', BonePlate
 });
 GameRegistry.addRecipe(new ItemStack(BoneChestPlate, 1), new Object []
 {
	 "X X", "XXX", "XXX", 'X', BonePlate
 });
 GameRegistry.addRecipe(new ItemStack(BoneLeggings, 1), new Object []
 {
	 "XXX", "X X", "X X", 'X', BonePlate
 });
 GameRegistry.addRecipe(new ItemStack(BoneBoots, 1), new Object []
 {
	 "X X", "X X", 'X', BonePlate
 });

}
}


 

---- Minecraft Crash Report ----
// Shall we play a game?

Time: 08.03.14 17:13
Description: Initializing game

java.lang.NullPointerException: Initializing game
at cpw.mods.fml.common.network.NetworkRegistry.registerGuiHandler(NetworkRegistry.java:217)
at bulkyzanka.electro.mod.gui.GuiHandler.<init>(GuiHandler.java:15)
at bulkyzanka.electro.mod.Electrocuted.<init>(Electrocuted.java:140)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:509)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
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.sendEventToModContainer(LoadController.java:209)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
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:119)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:484)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:201)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:564)
at net.minecraft.client.Minecraft.run(Minecraft.java:934)
at net.minecraft.client.main.Main.main(Main.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


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

-- Head --
Stacktrace:
at cpw.mods.fml.common.network.NetworkRegistry.registerGuiHandler(NetworkRegistry.java:217)
at bulkyzanka.electro.mod.gui.GuiHandler.<init>(GuiHandler.java:15)
at bulkyzanka.electro.mod.Electrocuted.<init>(Electrocuted.java:140)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:509)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
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.sendEventToModContainer(LoadController.java:209)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
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:119)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:484)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:201)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:564)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.run(Minecraft.java:934)
at net.minecraft.client.main.Main.main(Main.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_21, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 133766472 bytes (127 MB) / 376963072 bytes (359 MB) up to 1905197056 bytes (1816 MB)
JVM Flags: 0 total; 
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.01-pre FML v7.2.125.1031 Minecraft Forge 10.12.0.1031 5 mods loaded, 5 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML{7.2.125.1031} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.0.1031.jar) Unloaded->Constructed
Forge{10.12.0.1031} [Minecraft Forge] (forgeSrc-1.7.2-10.12.0.1031.jar) Unloaded->Constructed
examplemod{1.0} [Example Mod] (bin) Unloaded->Constructed
electro{1.0A} [Electrocuted] (bin) Unloaded->Errored
Launched Version: 1.6
LWJGL: 2.9.0
OpenGL: AMD Radeon HD 6800 Series GL version 4.2.12422 Compatibility Profile Context 13.152.0.0, ATI Technologies Inc.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: ~~ERROR~~ NullPointerException: null
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Anisotropic Filtering: Off (1)

 

 

Share this post


Link to post
Share on other sites

EducationalPurposes    9

EducationalPurposes

EducationalPurposes    9

  • Tree Puncher
  • EducationalPurposes
  • Members
  • 9
  • 44 posts
Posted March 8, 2014

-snip- Look at the bold:

 

 

// Shall we play a game?

 

Time: 08.03.14 17:13

Description: Initializing game

 

java.lang.NullPointerException: Initializing game

at cpw.mods.fml.common.network.NetworkRegistry.registerGuiHandler(NetworkRegistry.java:217)

at bulkyzanka.electro.mod.gui.GuiHandler.<init>(GuiHandler.java:15)

at bulkyzanka.electro.mod.Electrocuted.<init>(Electrocuted.java:140)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:509)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

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

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

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.sendEventToModContainer(LoadController.java:209)

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

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

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

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:119)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:484)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:201)

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

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

at net.minecraft.client.main.Main.main(Main.java:112)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

 

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

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

 

-- Head --

Stacktrace:

at cpw.mods.fml.common.network.NetworkRegistry.registerGuiHandler(NetworkRegistry.java:217)

at bulkyzanka.electro.mod.gui.GuiHandler.<init>(GuiHandler.java:15)

at bulkyzanka.electro.mod.Electrocuted.<init>(Electrocuted.java:140)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:509)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

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

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

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.sendEventToModContainer(LoadController.java:209)

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

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

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

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:119)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:484)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:201)

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

 

-- Initialization --

Details:

Stacktrace:

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

at net.minecraft.client.main.Main.main(Main.java:112)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

-- System Details --

Details:

Minecraft Version: 1.7.2

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.7.0_21, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 133766472 bytes (127 MB) / 376963072 bytes (359 MB) up to 1905197056 bytes (1816 MB)

JVM Flags: 0 total;

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

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

FML: MCP v9.01-pre FML v7.2.125.1031 Minecraft Forge 10.12.0.1031 5 mods loaded, 5 mods active

mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed

FML{7.2.125.1031} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.0.1031.jar) Unloaded->Constructed

Forge{10.12.0.1031} [Minecraft Forge] (forgeSrc-1.7.2-10.12.0.1031.jar) Unloaded->Constructed

examplemod{1.0} [Example Mod] (bin) Unloaded->Constructed

electro{1.0A} [Electrocuted] (bin) Unloaded->Errored

Launched Version: 1.6

LWJGL: 2.9.0

OpenGL: AMD Radeon HD 6800 Series GL version 4.2.12422 Compatibility Profile Context 13.152.0.0, ATI Technologies Inc.

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

Type: Client (map_client.txt)

Resource Packs: []

Current Language: ~~ERROR~~ NullPointerException: null

Profiler Position: N/A (disabled)

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

Anisotropic Filtering: Off (1)

 

 

Look at the bold. <init>  is the constructor. Please go back to learning Java and stop "copy & paste modding."

YOU CANNOT DO SHIT IN THE CONSTRUCTOR OF YOUR MAIN MOD FILE. Oh, and Pahimar is definitely not doing all this in the constructor, you are just blind.

 

Have a read: http://www.homeandlearn.co.uk/java/write_your_own_java_classes.html

Share this post


Link to post
Share on other sites

Z@Nka    2

Z@Nka

Z@Nka    2

  • Creeper Killer
  • Z@Nka
  • Members
  • 2
  • 104 posts
Posted March 8, 2014

First of all, I am not blind...

 

    @EventHandler
    @SuppressWarnings("unchecked, unused")
    public void init(FMLInitializationEvent event)
    {
        // Register the GUI Handler
    	NetworkRegistry.instance().registerGuiHandler(instance, new GuiHandler());

        // Register the Item Pickup Handler
        MinecraftForge.EVENT_BUS.register(new ItemEventHandler());

        MinecraftForge.EVENT_BUS.register(new ActionRequestHandler());

        MinecraftForge.EVENT_BUS.register(new WorldTransmutationHandler());

        // Register the hook to initialize the EmcRegistry
        MinecraftForge.EVENT_BUS.register(new WorldEventHandler());

        // Register the ItemTooltipEvent Handler
        proxy.registerItemTooltipHandler();

        // Register the DrawBlockHighlight Handler
        proxy.registerDrawBlockHighlightHandler();

        // Initialize custom rendering and pre-load textures (Client only)
        proxy.initRenderingAndTextures();

        // Initialize our Crafting Handler
        CraftingHandler.init();

        // Handle fluid registration
        FluidHelper.registerFluids();

        // Initialize mod tile entities
        proxy.registerTileEntities();

        // Register our fuels
        GameRegistry.registerFuelHandler(new FuelHandler());

        // Initialize addons (which work with IMC, and must be used in Init)
        AddonHandler.init();
    }

In his main mod class. -.-

Share this post


Link to post
Share on other sites

EducationalPurposes    9

EducationalPurposes

EducationalPurposes    9

  • Tree Puncher
  • EducationalPurposes
  • Members
  • 9
  • 44 posts
Posted March 8, 2014

First of all, I am not blind...

 

    @EventHandler
    @SuppressWarnings("unchecked, unused")
    public void init(FMLInitializationEvent event)
    {
        // Register the GUI Handler
    	NetworkRegistry.instance().registerGuiHandler(instance, new GuiHandler());

        // Register the Item Pickup Handler
        MinecraftForge.EVENT_BUS.register(new ItemEventHandler());

        MinecraftForge.EVENT_BUS.register(new ActionRequestHandler());

        MinecraftForge.EVENT_BUS.register(new WorldTransmutationHandler());

        // Register the hook to initialize the EmcRegistry
        MinecraftForge.EVENT_BUS.register(new WorldEventHandler());

        // Register the ItemTooltipEvent Handler
        proxy.registerItemTooltipHandler();

        // Register the DrawBlockHighlight Handler
        proxy.registerDrawBlockHighlightHandler();

        // Initialize custom rendering and pre-load textures (Client only)
        proxy.initRenderingAndTextures();

        // Initialize our Crafting Handler
        CraftingHandler.init();

        // Handle fluid registration
        FluidHelper.registerFluids();

        // Initialize mod tile entities
        proxy.registerTileEntities();

        // Register our fuels
        GameRegistry.registerFuelHandler(new FuelHandler());

        // Initialize addons (which work with IMC, and must be used in Init)
        AddonHandler.init();
    }

In his main mod class. -.-

....

THAT IS NOT A CONSTRUCTOR!

Share this post


Link to post
Share on other sites

Zzyxz    2

Zzyxz

Zzyxz    2

  • Tree Puncher
  • Zzyxz
  • Forge Modder
  • 2
  • 33 posts
Posted March 8, 2014

-snip- Look at the bold:

 

 

// Shall we play a game?

 

Time: 08.03.14 17:13

Description: Initializing game

 

java.lang.NullPointerException: Initializing game

at cpw.mods.fml.common.network.NetworkRegistry.registerGuiHandler(NetworkRegistry.java:217)

at bulkyzanka.electro.mod.gui.GuiHandler.<init>(GuiHandler.java:15)

at bulkyzanka.electro.mod.Electrocuted.<init>(Electrocuted.java:140)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:509)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

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

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

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.sendEventToModContainer(LoadController.java:209)

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

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

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

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:119)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:484)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:201)

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

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

at net.minecraft.client.main.Main.main(Main.java:112)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

 

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

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

 

-- Head --

Stacktrace:

at cpw.mods.fml.common.network.NetworkRegistry.registerGuiHandler(NetworkRegistry.java:217)

at bulkyzanka.electro.mod.gui.GuiHandler.<init>(GuiHandler.java:15)

at bulkyzanka.electro.mod.Electrocuted.<init>(Electrocuted.java:140)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:509)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

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

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

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.sendEventToModContainer(LoadController.java:209)

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

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

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

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:119)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:484)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:201)

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

 

-- Initialization --

Details:

Stacktrace:

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

at net.minecraft.client.main.Main.main(Main.java:112)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

-- System Details --

Details:

Minecraft Version: 1.7.2

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.7.0_21, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 133766472 bytes (127 MB) / 376963072 bytes (359 MB) up to 1905197056 bytes (1816 MB)

JVM Flags: 0 total;

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

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

FML: MCP v9.01-pre FML v7.2.125.1031 Minecraft Forge 10.12.0.1031 5 mods loaded, 5 mods active

mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed

FML{7.2.125.1031} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.0.1031.jar) Unloaded->Constructed

Forge{10.12.0.1031} [Minecraft Forge] (forgeSrc-1.7.2-10.12.0.1031.jar) Unloaded->Constructed

examplemod{1.0} [Example Mod] (bin) Unloaded->Constructed

electro{1.0A} [Electrocuted] (bin) Unloaded->Errored

Launched Version: 1.6

LWJGL: 2.9.0

OpenGL: AMD Radeon HD 6800 Series GL version 4.2.12422 Compatibility Profile Context 13.152.0.0, ATI Technologies Inc.

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

Type: Client (map_client.txt)

Resource Packs: []

Current Language: ~~ERROR~~ NullPointerException: null

Profiler Position: N/A (disabled)

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

Anisotropic Filtering: Off (1)

 

 

Look at the bold. <init>  is the constructor. Please go back to learning Java and stop "copy & paste modding."

YOU CANNOT DO SHIT IN THE CONSTRUCTOR OF YOUR MAIN MOD FILE. Oh, and Pahimar is definitely not doing all this in the constructor, you are just blind.

 

Have a read: http://www.homeandlearn.co.uk/java/write_your_own_java_classes.html

 

^

This. Get a basic knowledge of java. You can't mod without knowing anything... when there is such an easy error and u only say but he did it like this. then u dont know how to code and this guy neither. use the link above(quote) to get started.

also maybe get: http://www.amazon.de/Head-First-Java-Mike-Loukides/dp/0596009208

Share this post


Link to post
Share on other sites

Z@Nka    2

Z@Nka

Z@Nka    2

  • Creeper Killer
  • Z@Nka
  • Members
  • 2
  • 104 posts
Posted March 8, 2014

I do know Java(Still learning but I know a bit) and I looked at the errors and I found saw it. I just don't know where else to put it. I saw a tutorial about it and thats where he put it. With where Pahimar put it, I tried the same, didn't work. If it did(I'm not that dumb -.-) then I wouldn't put it here.

 

Share this post


Link to post
Share on other sites

sequituri    118

sequituri

sequituri    118

  • Dragon Slayer
  • sequituri
  • Forge Modder
  • 118
  • 669 posts
Posted March 8, 2014

*Head-desk*

For the java retarded, here is the difference:

Simple Class called MyClass

Class MyClass {
    private boolean field; // <--- this is a field (of type boolean and private to the class)
    public MyClass() { // <--- this is a constructor!! Notice the name and the fact that there is no return type
        field = codeInTheConstructor(new StuffToMake()); // <--- code in constructor
    }
    int getANumber() { // <--- this is a method (a property getter)
        return 15;  // <--- code in a method
    }
}

 

This shows most of the simple layout of classes.

Share this post


Link to post
Share on other sites

Z@Nka    2

Z@Nka

Z@Nka    2

  • Creeper Killer
  • Z@Nka
  • Members
  • 2
  • 104 posts
Posted March 8, 2014

-.- Guys nvm.

 

Share this post


Link to post
Share on other sites

sequituri    118

sequituri

sequituri    118

  • Dragon Slayer
  • sequituri
  • Forge Modder
  • 118
  • 669 posts
Posted March 9, 2014

public Electrocuted() //<-- this is your constructor for you main mod
{
 //Registry
 GameRegistry.registerItem(BonePlate, "BonePlate");
 GameRegistry.registerItem(BoneIngot, "BoneIngot");
 GameRegistry.registerItem(CoalMotor, "CoalMotor");
 GameRegistry.registerItem(ElectricMotor, "ElectricMotor");
 GameRegistry.registerItem(Generator, "Generator");

 GameRegistry.registerBlock(CompressionFurnaceIdle, "CompressionFurnaceIdle");
 GameRegistry.registerBlock(CompressionFurnaceActive, "CompressionFurnaceActive");

 GameRegistry.registerItem(BoneSword, "BoneSword");
 GameRegistry.registerItem(BoneSpade, "BoneSpade");
 GameRegistry.registerItem(BonePickaxe, "BonePickaxe");
 GameRegistry.registerItem(BoneAxe, "BoneAxe");
 GameRegistry.registerItem(BoneHoe, "BoneHoe");

 GameRegistry.registerItem(BoneHelmet, "BoneHelmet");
 GameRegistry.registerItem(BoneChestPlate, "BoneChestPlate");
 GameRegistry.registerItem(BoneLeggings, "BoneLeggings");
 GameRegistry.registerItem(BoneBoots, "BoneBoots");
 LanguageRegistry.instance().addStringLocalization("container.CompressionFurnace", "Compression Furnace");
 GuiHandler GuiHandler = new GuiHandler();

//Recipe
 	//Items
 GameRegistry.addRecipe(new ItemStack(BonePlate, 2), new Object []
 {
		"XX ", "XX ", 'X', Items.bone
 });
 GameRegistry.addRecipe(new ItemStack(BoneIngot, 3), new Object []
 {
	"XXX", "XYX", "XXX", 'X', Items.bone, 'Y', Items.iron_ingot
 });

 	//Tools
 GameRegistry.addRecipe(new ItemStack(BoneSword, 1), new Object []
 {
	 " X ", " X ", " Y ", 'X', BoneIngot, 'Y', Items.stick
 });
 GameRegistry.addRecipe(new ItemStack(BoneSpade, 1), new Object []
 {
	 " X ", " Y ", " Y ", 'X', BoneIngot, 'Y', Items.stick
 });
 GameRegistry.addRecipe(new ItemStack(BonePickaxe, 1), new Object []
 {
	 "XXX", " Y ", " Y ", 'X', BoneIngot, 'Y', Items.stick
 });
 GameRegistry.addRecipe(new ItemStack(BoneAxe, 1), new Object []
 {
	 "XX ", "XY ", " Y ", 'X', BoneIngot, 'Y', Items.stick
 });
 GameRegistry.addRecipe(new ItemStack(BoneHoe, 1), new Object []
 {
	 " XX", " Y ", " Y ", 'X', BoneIngot, 'Y', Items.stick
 });


 	//Armor
 GameRegistry.addRecipe(new ItemStack(BoneHelmet, 1), new Object []
 {
	 "XXX", "X X", 'X', BonePlate
 });
 GameRegistry.addRecipe(new ItemStack(BoneChestPlate, 1), new Object []
 {
	 "X X", "XXX", "XXX", 'X', BonePlate
 });
 GameRegistry.addRecipe(new ItemStack(BoneLeggings, 1), new Object []
 {
	 "XXX", "X X", "X X", 'X', BonePlate
 });
 GameRegistry.addRecipe(new ItemStack(BoneBoots, 1), new Object []
 {
	 "X X", "X X", 'X', BonePlate
 });

}

 

See your problem?

Share this post


Link to post
Share on other sites

Zzyxz    2

Zzyxz

Zzyxz    2

  • Tree Puncher
  • Zzyxz
  • Forge Modder
  • 2
  • 33 posts
Posted March 9, 2014

i think he quitted. hopefully

Share this post


Link to post
Share on other sites

Heltrato    1

Heltrato

Heltrato    1

  • Diamond Finder
  • Heltrato
  • Members
  • 1
  • 258 posts
Posted March 9, 2014

Dude if you know java you must know the Difference between this

 

public class(){} <------------------- constructor

 

public void class(){} <---- what i know it is a method :)

 

public interface class(){} <---------------- ahh for API's

 

Its the first tutorial my teacher

 

you're problem is you that you must make yours in constructor since yours is a method

Share this post


Link to post
Share on other sites

diesieben07    6671

diesieben07

diesieben07    6671

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6671
  • 45597 posts
Posted March 9, 2014

Locked.

Share this post


Link to post
Share on other sites
  • Prev
  • 1
  • 2
  • Next
  • Page 2 of 2  
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • DavidM
      Unstable ModPack 1.12.2

      By DavidM · Posted 13 minutes ago

      1. Please don’t use that font. 2. BetweenOres’ problem. Remove it and report to its author.
    • DavidM
      [1.14-newer] deprecated method onBlockActivated

      By DavidM · Posted 23 minutes ago

      Please make your own thread.
    • saxon564
      [1.14.4] [UNSOLVED] Server Thread Freezes After Entity Explodes

      By saxon564 · Posted 37 minutes ago

      I have condensed my code down  so the link in my first post is off by several lines. So here is the correct link. I also commented out all the code using the Minecraft instance since none of that is important right now. I still can't figure out what is causing the hang. Putting in debug code between each line and even overriding the remove methods and all the debug lines do get called. So it seems to me it is something after the my entity is removed, which makes no sense since if the entity dies in any other way, this is not an issue.
    • FireController1847
      [1.14.4] [Solved] Persisting player health on dimension change

      By FireController1847 · Posted 40 minutes ago

      So in reality, what's happening is the attribute is lost on the client-side but not on the server side, which allows it to recover itself without having to re-initiate it?
    • NoMercyPro
      Forge 1.12.2 Installer Crash

      By NoMercyPro · Posted 51 minutes ago

      I have forge 1.12.2-14.23.5.2768 and it's selected and installed properly as well as the latest java installed but on the minecraft launcher, it won't even try to launch. I click the play button but it won't load or open. It works when I play minecraft 1.14
  • Topics

    • fump
      1
      Unstable ModPack 1.12.2

      By fump
      Started 8 hours ago

    • matt1999rd
      17
      [1.14-newer] deprecated method onBlockActivated

      By matt1999rd
      Started November 1

    • saxon564
      6
      [1.14.4] [UNSOLVED] Server Thread Freezes After Entity Explodes

      By saxon564
      Started Yesterday at 05:11 AM

    • FireController1847
      5
      [1.14.4] [Solved] Persisting player health on dimension change

      By FireController1847
      Started 4 hours ago

    • NoMercyPro
      0
      Forge 1.12.2 Installer Crash

      By NoMercyPro
      Started 51 minutes ago

  • Who's Online (See full list)

    • DesertDwarf
    • RoboShark1019
    • yegor
    • DavidM
    • antimordred
    • loordgek
    • stepsword
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.7.2]NetworkRegistry
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community