This is designed for a TileEntity, but you could adapt it for other things aswell!
This is also designed for 1.7+, but it may work in older versions.
12/2/2014: Finished the 'B' option
Assuming you are using a TileEntity, this is what your render class should look like:
package your.package;
import stuff.here;
public class MyTileRendererClass extends TileEntitySpecialRenderer
{
public MyModel model = new MyModel();
@Override
public void renderTileEntityAt(TileEntity entity, double x, double y, double z, float f)
{
GL11.glPushMatrix();
//Render Model Here
GL11.glPopMatrix();
}
}
Option A: Static ItemStack (non-changing)
After the "public MyModel model..." line, add this:
ItemStack stack = new ItemStack(your_item_here, 1, 0);
EntityItem entItem = new EntityItem(Minecraft.getMinecraft().theWorld, 0D, 0D, 0D, stack);
Now after the GL11.glPopMatrix(), add this:
GL11.glPushMatrix();
//Without the below line, the item will spazz out
this.entItem.hoverStart = 0.0F;
RenderItem.renderInFrame = true;
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.02F, (float)z + 0.3F);
GL11.glRotatef(180, 0, 1, 1);
RenderManager.instance.renderEntityWithPosYaw(this.entItem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
RenderItem.renderInFrame = false;
GL11.glPopMatrix();
Option B: Dynamic ItemStack (changing)
Note: Make sure that your TileEntity class implements IInventory!
After the "public MyModel model..." line, add this:
Did you make sure to include "GL11.glPopMatrix();" after "RenderItem.renderInFrame = false;"?
Hmmm, this is actually happening to me also after a rewrite of my mod, I'll see what I can come up with...
EDIT: I updated the tutorial, it should be fixed now!
For some reason when the item is rendered, it's very dark. (Darker than the actual item texture.)
I can't seem to fix it. Any ideas? Code is same as yours.
For some reason when the item is rendered, it's very dark. (Darker than the actual item texture.)
I can't seem to fix it. Any ideas? Code is same as yours.
Make sure that this is in your Block class:
@Override
public boolean isOpaqueCube()
{
return false;
}
Not bad, but I would recommend against instantiating a new ItemStack and EntityItem every single render frame - instead, why not make them class fields, like the model:
public class MyTileRendererClass extends TileEntitySpecialRenderer
{
public MyModel model = new MyModel();
private EntityItem itemEntity;
// actually, you don't even need to store the ItemStack - pass it to your constructor:
public MyTileRendererClass(ItemStack stack) {
itemEntity = new EntityItem(Minecraft.getMinecraft.thePlayer.getEntityWorld(), 0D, 0D, 0D, stack);
}
Then you can use 'this.itemEntity' during your rendering, and save your processor a lot of work
If you need the item to be dynamic, store the itemstack in your TileEntity and retrieve it from there during rendering, and only create a new EntityItem if the stack has changed in a way that would affect your rendering.
Not bad, but I would recommend against instantiating a new ItemStack and EntityItem every single render frame - instead, why not make them class fields, like the model:...code...
Then you can use 'this.itemEntity' during your rendering, and save your processor a lot of work
If you need the item to be dynamic, store the itemstack in your TileEntity and retrieve it from there during rendering, and only create a new EntityItem if the stack has changed in a way that would affect your rendering.
Thanks for the suggestion! I went ahead and changed the OP.
I followed your tutorial and adapted it for 1.6.4 (as far as im aware I changed one line for declaring the 'entItem') and the item renders but I have a weird texture on my screen when the blocks in the world (Screenshot attached).
Sorry for the delay, I'm not very active around here. I'll setup Forge for 1.6.4 and see if I can reproduce this, and hopefully fix it.
I got two questions.
First - what should I be using as your_item_here? It doesn't accept existing item variabls, it seems that it should be announced as a constant\feild in this class.
Second - What is the difference between static and dynamic options "A" and "B", and are you going to add B any time soon?
P.S. I tried correcting it, but obviously got a crash. 1.7.10
Code I'm using:
GL11.glPushMatrix();
//Without the below line, the item will spazz out
this.entItem.hoverStart = 0.0F;
RenderItem.renderInFrame = true;
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.02F, (float)z + 0.3F);
GL11.glRotatef(180, 0, 1, 1);
RenderManager.instance.renderEntityWithPosYaw(this.entItem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
RenderItem.renderInFrame = false;
GL11.glPopMatrix();
}
}
Crash report:
---- Minecraft Crash Report ----
// Why did you do that?
Time: 02.12.14 21:31
Description: Initializing game
java.lang.NullPointerException: Initializing game
at com.boltcraft.basic.BoltTableRenderer.<init>(BoltTableRenderer.java:35)
at com.boltcraft.basic.ClientProxy.registerRenderers(ClientProxy.java:39)
at com.boltcraft.basic.Boltcraft.init(Boltcraft.java:170)
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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
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.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
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.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:586)
at net.minecraft.client.Minecraft.run(Minecraft.java:931)
at net.minecraft.client.main.Main.main(Main.java:164)
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:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)
at GradleStart.main(GradleStart.java:45)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at com.boltcraft.basic.BoltTableRenderer.<init>(BoltTableRenderer.java:35)
at com.boltcraft.basic.ClientProxy.registerRenderers(ClientProxy.java:39)
at com.boltcraft.basic.Boltcraft.init(Boltcraft.java:170)
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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
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.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
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.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:586)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.run(Minecraft.java:931)
at net.minecraft.client.main.Main.main(Main.java:164)
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:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)
at GradleStart.main(GradleStart.java:45)
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_71, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 723096288 bytes (689 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.85.1230 Minecraft Forge 10.13.2.1230 4 mods loaded, 4 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
FML{7.10.85.1230} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized
Forge{10.13.2.1230} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized
boltcraft{0.3} [Boltcraft 0.3] (bin) Unloaded->Constructed->Pre-initialized->Errored
Launched Version: 1.7.10
LWJGL: 2.9.1
OpenGL: GeForce GTX 770/PCIe/SSE2 GL version 4.4.0 NVIDIA 344.65, NVIDIA Corporation
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)
This is designed for a TileEntity, but you could adapt it for other things aswell!
This is also designed for 1.7+, but it may work in older versions.
12/2/2014: Finished the 'B' option
Assuming you are using a TileEntity, this is what your render class should look like:
Option A: Static ItemStack (non-changing)
Now after the GL11.glPopMatrix(), add this:
Option B: Dynamic ItemStack (changing)
After the "public MyModel model..." line, add this:
Now after the GL11.glPopMatrix(), add this:
And now your TileEntity should have the Item on it!
(Image from a mod I'm working in)
Yep! That's what I made this tutorial for
It's not needed
The renderEntityWithPosYaw function has that already in it, just change the 0.0D's to move it
Did you make sure to include "GL11.glPopMatrix();" after "RenderItem.renderInFrame = false;"?Hmmm, this is actually happening to me also after a rewrite of my mod, I'll see what I can come up with...
EDIT: I updated the tutorial, it should be fixed now!
For some reason when the item is rendered, it's very dark. (Darker than the actual item texture.)
I can't seem to fix it. Any ideas? Code is same as yours.
Make sure that this is in your Block class:
Nope. I'm retarded. Thanks Kaboomy.
Then you can use 'this.itemEntity' during your rendering, and save your processor a lot of work
If you need the item to be dynamic, store the itemstack in your TileEntity and retrieve it from there during rendering, and only create a new EntityItem if the stack has changed in a way that would affect your rendering.
Thanks for the suggestion! I went ahead and changed the OP.
I can not test it in eclipse crash report is shown below.
Sorry for the delay, I'm not very active around here. I'll setup Forge for 1.6.4 and see if I can reproduce this, and hopefully fix it.
Could you show me ALL of the code? You cut off the 'imports', and you have line numbers off, so I can't see where the error is coming from.
First - what should I be using as your_item_here? It doesn't accept existing item variabls, it seems that it should be announced as a constant\feild in this class.
Second - What is the difference between static and dynamic options "A" and "B", and are you going to add B any time soon?
P.S. I tried correcting it, but obviously got a crash. 1.7.10
Code I'm using:
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.entity.RenderItem;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11;
public class BoltTableRenderer extends TileEntitySpecialRenderer {
private static final ResourceLocation BoltTableTexture = new ResourceLocation(References.mod_id + ":" + "textures/models/blocks/BoltTable1.png");
private static final Block item = null;
private ModelBoltTable1 BoltTableModel1;
public BoltTableRenderer(){
super();
this.BoltTableModel1 = new ModelBoltTable1();
}
ItemStack stack = new ItemStack(item, 1, 0);
EntityItem entItem = new EntityItem(Minecraft.getMinecraft().thePlayer.getEntityWorld(), 0D, 0D, 0D, stack);
@Override
public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) {
GL11.glPushMatrix();
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
GL11.glRotatef(180, 0F, 0F, 1F); //180 0 0 1
Minecraft.getMinecraft().renderEngine.bindTexture(BoltTableTexture);
GL11.glPushMatrix();
this.BoltTableModel1.renderModel(0.0625F);
GL11.glPopMatrix();
GL11.glPopMatrix();
GL11.glPushMatrix();
//Without the below line, the item will spazz out
this.entItem.hoverStart = 0.0F;
RenderItem.renderInFrame = true;
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.02F, (float)z + 0.3F);
GL11.glRotatef(180, 0, 1, 1);
RenderManager.instance.renderEntityWithPosYaw(this.entItem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
RenderItem.renderInFrame = false;
GL11.glPopMatrix();
}
}
// Why did you do that?
Time: 02.12.14 21:31
Description: Initializing game
java.lang.NullPointerException: Initializing game
at com.boltcraft.basic.BoltTableRenderer.<init>(BoltTableRenderer.java:35)
at com.boltcraft.basic.ClientProxy.registerRenderers(ClientProxy.java:39)
at com.boltcraft.basic.Boltcraft.init(Boltcraft.java:170)
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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
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.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
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.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:586)
at net.minecraft.client.Minecraft.run(Minecraft.java:931)
at net.minecraft.client.main.Main.main(Main.java:164)
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:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)
at GradleStart.main(GradleStart.java:45)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at com.boltcraft.basic.BoltTableRenderer.<init>(BoltTableRenderer.java:35)
at com.boltcraft.basic.ClientProxy.registerRenderers(ClientProxy.java:39)
at com.boltcraft.basic.Boltcraft.init(Boltcraft.java:170)
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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
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.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
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.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:586)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.run(Minecraft.java:931)
at net.minecraft.client.main.Main.main(Main.java:164)
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:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)
at GradleStart.main(GradleStart.java:45)
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_71, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 723096288 bytes (689 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.85.1230 Minecraft Forge 10.13.2.1230 4 mods loaded, 4 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
FML{7.10.85.1230} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized
Forge{10.13.2.1230} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized
boltcraft{0.3} [Boltcraft 0.3] (bin) Unloaded->Constructed->Pre-initialized->Errored
Launched Version: 1.7.10
LWJGL: 2.9.1
OpenGL: GeForce GTX 770/PCIe/SSE2 GL version 4.4.0 NVIDIA 344.65, NVIDIA Corporation
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)