Jump to content

Recommended Posts

Posted

Soo, I made a new entity and have no idea why my game crashed, but it did. Here's the report.

 

 

[18:56:08] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[18:56:08] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1566 Initialized

[18:56:09] [Client thread/INFO] [FML]: Replaced 183 ore recipies

[18:56:09] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[18:56:10] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

[18:56:10] [Client thread/INFO] [FML]: Searching C:\Users\Barry\Desktop\Diamines\eclipse\mods for mods

[18:56:18] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load

[18:56:18] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, dm] at CLIENT

[18:56:18] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, dm] at SERVER

[18:56:19] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Diamines

[18:56:19] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[18:56:19] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations

[18:56:19] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations

[18:56:19] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations

[18:56:19] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[18:56:19] [Client thread/INFO] [sTDOUT]: [blaze0025.Diamines.Diamines:preInit:102]: BlockHappy

[18:56:19] [Client thread/INFO] [FML]: Applying holder lookups

[18:56:19] [Client thread/INFO] [FML]: Holder lookups applied

[18:56:19] [Client thread/INFO] [FML]: Injecting itemstacks

[18:56:19] [Client thread/INFO] [FML]: Itemstack injection complete

[18:56:19] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[18:56:19] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

[18:56:19] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

[18:56:19] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[18:56:20] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

[18:56:20] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[18:56:20] [sound Library Loader/INFO]: Sound engine started

[18:56:21] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas

[18:56:21] [Client thread/INFO]: Created: 16x16 textures/items-atlas

[18:56:21] [Client thread/INFO] [FML]: Injecting itemstacks

[18:56:21] [Client thread/INFO] [FML]: Itemstack injection complete

[18:56:21] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods

[18:56:21] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Diamines

[18:56:22] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[18:56:22] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[18:56:22] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[18:56:22] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...

[18:56:22] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:    Author: Paul Lamb, www.paulscode.com

[18:56:22] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[18:56:22] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[18:56:22] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

[18:56:22] [Thread-10/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

[18:56:22] [Thread-10/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[18:56:23] [Thread-10/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

[18:56:23] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[18:56:23] [sound Library Loader/INFO]: Sound engine started

[18:56:24] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ----

// Don't do that.

 

Time: 2/21/16 6:56 PM

Description: Initializing game

 

java.lang.NullPointerException: Initializing game

at cpw.mods.fml.client.registry.RenderingRegistry.loadEntityRenderers(RenderingRegistry.java:139)

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

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

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

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

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

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

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

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

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

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

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)

at GradleStart.main(Unknown Source)

 

 

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

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

 

-- Head --

Stacktrace:

at cpw.mods.fml.client.registry.RenderingRegistry.loadEntityRenderers(RenderingRegistry.java:139)

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

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

 

-- Initialization --

Details:

Stacktrace:

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

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

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

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

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

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

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

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

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)

at GradleStart.main(Unknown Source)

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.8.0_31, Oracle Corporation

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

Memory: 702430944 bytes (669 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)

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

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.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1566 4 mods loaded, 4 mods active

States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

UCHIJA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)

UCHIJA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1566-1.7.10.jar)

UCHIJA Forge{10.13.4.1566} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1566-1.7.10.jar)

UCHIJA dm{1.0} [Diamines] (bin)

GL info: ' Vendor: 'Intel' Version: '3.0.0 - Build 8.15.10.2253' Renderer: 'Intel® HD Graphics Family'

Launched Version: 1.7.10

LWJGL: 2.9.1

OpenGL: Intel® HD Graphics Family GL version 3.0.0 - Build 8.15.10.2253, Intel

GL Caps: Using GL 1.3 multitexturing.

Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.

Anisotropic filtering is supported and maximum anisotropy is 16.

Shaders are available because OpenGL 2.1 is supported.

 

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

Type: Client (map_client.txt)

Resource Packs: []

Current Language: English (US)

Profiler Position: N/A (disabled)

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

Anisotropic Filtering: Off (1)

Posted

 

import blaze0025.Diamines.ModelMNate;

import blaze0025.Diamines.RenderMNate;

import net.minecraft.entity.Entity;

import net.minecraft.util.ResourceLocation;

 

public class RenderNate extends RenderMNate {

 

private static final ResourceLocation textureLocation = new ResourceLocation( "dm:textures/entities/NATEbdy.png");

 

public RenderNate(ModelMNate model, float shadowSize) {

super();

}

@Override

protected ResourceLocation getEntityTexture(Entity entity)

{

return textureLocation;

}

}

Posted

oops my bad!

 

 

 

 

 

public class ClientProxy extends CommonProxy{

 

@Override

public void registerRenderers() {

RenderingRegistry.registerEntityRenderingHandler(EntityNate.class, IRenderFactory(new ModelMNate(), 0.5F));

 

 

 

 

}

 

private Render IRenderFactory(ModelMNate modelNate, float f) {

// TODO Auto-generated method stub

return null;

}

}

 

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



×
×
  • Create New...

Important Information

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