Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

MrNegaBlox

Members
  • Posts

    74
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

MrNegaBlox's Achievements

Stone Miner

Stone Miner (3/8)

-1

Reputation

  1. Ok, so I am still having problems with this... so now when it tries to read an NBt long, it keeps getting a Null Pointer Exception even when I check if it is null. ---- Minecraft Crash Report ---- // Why is it breaking Time: 10/24/15 6:52 PM Description: Ticking memory connection java.lang.NullPointerException: Ticking memory connection at io.github.mrnegablox.minefortress.item.ItemStaff.onItemUse(ItemStaff.java:44) at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:507) at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:142) at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:422) at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:593) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at io.github.mrnegablox.minefortress.item.ItemStaff.onItemUse(ItemStaff.java:44) at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:507) at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:142) at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:422) at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:593) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) -- Ticking connection -- Details: Connection: net.minecraft.network.NetworkManager@4cc5d6fa Stacktrace: at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_45, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 354749696 bytes (338 MB) / 586678272 bytes (559 MB) up to 1903689728 bytes (1815 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.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1448 5 mods loaded, 5 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar) UCHIJAAAA Forge{10.13.4.1448} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar) UCHIJAAAA minefortress{1.0.0} [Mine Fortress] (bin) UCHIJAAAA examplemod{1.0} [Example Mod] (bin) GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread. Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 1 / 8; [EntityPlayerMP['LoztInSpace'/237, l='New World', x=-824.86, y=6.00, z=501.28]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' @Override public boolean onItemUse(ItemStack Item, EntityPlayer Player, World world, int x, int y, int z, int side, float hitx, float hity, float hitz) { System.out.println("ItemUseCalled"); // if(Player.getCurrentEquippedItem() == new ItemStack(ModItems.staff) // && Player.getCurrentEquippedItem() != null) { // try{ Long least = (long) 0; Long most = (long) 0; if (!world.isRemote) { try{ least = Item.stackTagCompound.getLong("targetLeast"); most = Item.stackTagCompound.getLong("targetMost"); } catch(NullPointerException npe){ Console.out().println(npe);; } } UUID targetUUID = null; if (least != (long) 0 && most != (long) 0) { targetUUID = UUID.nameUUIDFromBytes(LongstoBytes(least, most)); } else { targetUUID = null; } Entity target = null; if (targetUUID != null) { try { target = getEntityfromUUID(targetUUID, world); } catch (Exception ex) { return false; } } /** * if(target instanceof EntityDwarf){ ((EntityDwarf) * target).setTargetPos(x, y+1, z); * * ((EntityDwarf) target).setgoingToWaypoint(true); } **/ if (target != null) { ((EntityDwarf) target).getNavigator().tryMoveToXYZ(x, y + 1, z, 1.3D); if (((EntityDwarf) target).getNavigator().tryMoveToXYZ(x, y + 1, z, 1.3D)) { System.out.println("can go"); } } // } /* * } catch(Exception e) { * System.out.println("Houston, We have a problem"); return false; } */ return false; } @Override public void onCreated(ItemStack item, World world, EntityPlayer player) { if (!world.isRemote) { if (item.stackTagCompound == null) item.stackTagCompound = new NBTTagCompound(); item.stackTagCompound.setString("targetUUID", null); item.stackTagCompound.setLong("targetLeast", 0); item.stackTagCompound.setLong("targetMost", 0); } }
  2. So I am trying to make an item that saves coordinates when you right click. I think it might have to do with packets, but I am not sure. When I right click on the ground, I get a crash: ---- Minecraft Crash Report ---- // Why is it breaking Time: 8/24/15 9:21 AM Description: Ticking memory connection java.lang.NullPointerException: Ticking memory connection at io.github.mrnegablox.tecmod.item.GPS.onItemUse(GPS.java:36) at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:507) at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:142) at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:422) at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:593) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at io.github.mrnegablox.tecmod.item.GPS.onItemUse(GPS.java:36) at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:507) at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:142) at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:422) at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:593) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) -- Ticking connection -- Details: Connection: net.minecraft.network.NetworkManager@79c04bb1 Stacktrace: at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_75, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 268821320 bytes (256 MB) / 444596224 bytes (424 MB) up to 954728448 bytes (910 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.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1448 5 mods loaded, 5 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar) UCHIJAAAA Forge{10.13.4.1448} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar) UCHIJAAAA Tec2Mod_NegaBlox{0.1.0} [Tec Mod 2] (bin) UCHIJAAAA examplemod{1.0} [Example Mod] (bin) GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread. Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 1 / 8; [EntityPlayerMP['LoztInSpace'/247, l='Test', x=-559.12, y=4.00, z=-197.03]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' Here is the code: Main Class: package io.github.mrnegablox.tecmod; import io.github.mrnegablox.tecmod.item.ModItems; import net.minecraft.entity.EntityTracker; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; 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.network.simpleimpl.SimpleNetworkWrapper; @Mod(modid = Tec2Mod.MODID, name = Tec2Mod.MODNAME, version = Tec2Mod.VERSION) public class Tec2Mod { public static final String MODID = "Tec2Mod_NegaBlox"; public static final String MODNAME = "Tec Mod 2"; public static final String VERSION = "0.1.0"; @SidedProxy(clientSide = "io.github.mrnegablox.tecmod.ClientProxy", serverSide = "io.github.mrnegablox.tecmod.ServerProxy") public static CommonProxy proxy; //public static SimpleNetworkWrapper network; @Instance public static Tec2Mod instance = new Tec2Mod(); @EventHandler public void preInit(FMLPreInitializationEvent e) { //network = NetworkRegistry.INSTANCE.newSimpleChannel("TecTalk"); //network.registerMessage(MyMessage.Handler.class, MyMessage.class, 0, Side.SERVER); ModItems.init(); } @EventHandler public void init(FMLInitializationEvent e) { } @EventHandler public void postInit(FMLPostInitializationEvent e) { } } The Problem Item: package io.github.mrnegablox.tecmod.item; import io.github.mrnegablox.tecmod.Tec2Mod; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.ChatComponentText; import net.minecraft.world.World; public class GPS extends Item { public double savedTargetX = 0; public double savedTargetY = 0; public double savedTargetZ = 0; public NBTTagCompound compound; public GPS() { setMaxStackSize(1); } @Override public boolean onItemUse(ItemStack itemstack, EntityPlayer player, World world, int x, int y, int z, int l, float f, float f1, float f2) { if(world.isRemote) return true; player.addChatComponentMessage(new ChatComponentText("Target saved")); savedTargetX = x + 0.5; savedTargetY = y; savedTargetZ = z + 0.5; compound = itemstack.getTagCompound(); compound.setDouble("TargetX", savedTargetX); compound.setDouble("TargetY", savedTargetY); compound.setDouble("TargetZ", savedTargetZ); itemstack.stackTagCompound = compound; player.addChatComponentMessage(new ChatComponentText("X - " + savedTargetX)); // entityplayer.addChatMessage("Y - " + savedTargetY); player.addChatComponentMessage(new ChatComponentText("Z - " + savedTargetZ)); // entityplayer.addChatMessage("BlockID - " + world.getBlockId(i, j, k)); return true; } @Override public void onCreated(ItemStack item, World world, EntityPlayer player) { item.stackTagCompound = new NBTTagCompound(); } } If it is packets, what do I send? a packet that tells Forge that NBT is being edited? BONUS: I have been trying to figure out how packets work. I have seen things like diesieben's tutorial. But how would I update a server on something like an entities location?
  3. Okay, so I set two longs in the NBT. setting the nbt initally worked. I then had it spit out the UUID, but the server and client bring up different UUID's. I get a Null Pointer Exception when it reads the NBT. Stacktrace: ---- Minecraft Crash Report ---- // I just don't know what went wrong Time: 7/7/15 6:40 PM Description: Unexpected error java.lang.NullPointerException: Unexpected error at java.security.MessageDigest.update(Unknown Source) at java.security.MessageDigest.digest(Unknown Source) at java.util.UUID.nameUUIDFromBytes(Unknown Source) at io.github.mrnegablox.minefortress.item.ItemStaff.onItemUse(ItemStaff.java:38) at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:143) at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:403) at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1529) at net.minecraft.client.Minecraft.runTick(Minecraft.java:2044) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039) at net.minecraft.client.Minecraft.run(Minecraft.java:962) 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(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 java.security.MessageDigest.update(Unknown Source) at java.security.MessageDigest.digest(Unknown Source) at java.util.UUID.nameUUIDFromBytes(Unknown Source) at io.github.mrnegablox.minefortress.item.ItemStaff.onItemUse(ItemStaff.java:38) at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:143) at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:403) at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1529) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['LoztInSpace'/218, l='MpServer', x=-820.85, y=5.62, z=503.85]] Chunk stats: MultiplayerChunkCache: 625, 625 Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: Level spawn location: World: (-780,4,518), Chunk: (at 4,0,6 in -49,32; contains blocks -784,0,512 to -769,255,527), Region: (-2,1; contains chunks -64,32 to -33,63, blocks -1024,0,512 to -513,255,1023) Level time: 35909 game time, 10691 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 75 total; [EntitySlime['Slime'/128, l='MpServer', x=-768.10, y=4.00, z=448.14], EntityCow['Cow'/129, l='MpServer', x=-780.81, y=4.00, z=561.59], EntityCow['Cow'/130, l='MpServer', x=-783.56, y=4.00, z=571.97], EntityClientPlayerMP['LoztInSpace'/218, l='MpServer', x=-820.85, y=5.62, z=503.85], EntitySlime['Slime'/9, l='MpServer', x=-884.17, y=4.61, z=584.41], EntitySlime['Slime'/14, l='MpServer', x=-896.84, y=4.55, z=447.81], EntitySlime['Slime'/143, l='MpServer', x=-745.84, y=4.00, z=454.55], EntitySheep['Sheep'/15, l='MpServer', x=-889.09, y=4.00, z=518.06], EntitySlime['Slime'/144, l='MpServer', x=-741.77, y=4.47, z=516.92], EntitySheep['Sheep'/145, l='MpServer', x=-767.88, y=4.00, z=538.94], EntitySlime['Slime'/146, l='MpServer', x=-746.93, y=4.00, z=580.51], EntityChicken['Chicken'/24, l='MpServer', x=-868.41, y=4.00, z=465.59], EntitySlime['Slime'/25, l='MpServer', x=-882.32, y=4.61, z=482.45], EntityChicken['Chicken'/26, l='MpServer', x=-867.63, y=4.00, z=482.47], EntitySheep['Sheep'/27, l='MpServer', x=-871.81, y=4.00, z=486.31], EntitySlime['Slime'/155, l='MpServer', x=-759.65, y=4.55, z=496.37], EntitySheep['Sheep'/28, l='MpServer', x=-873.53, y=4.00, z=483.56], EntitySlime['Slime'/29, l='MpServer', x=-885.44, y=4.00, z=503.31], EntitySlime['Slime'/157, l='MpServer', x=-748.16, y=4.00, z=541.44], EntitySlime['Slime'/30, l='MpServer', x=-880.90, y=4.00, z=505.72], EntitySlime['Slime'/44446, l='MpServer', x=-857.55, y=4.47, z=483.05], EntitySheep['Sheep'/31, l='MpServer', x=-865.78, y=4.00, z=514.56], EntitySlime['Slime'/32, l='MpServer', x=-876.26, y=4.00, z=539.52], EntitySlime['Slime'/33, l='MpServer', x=-885.09, y=4.47, z=555.53], EntitySlime['Slime'/34, l='MpServer', x=-875.49, y=4.00, z=556.46], EntitySlime['Slime'/35, l='MpServer', x=-893.59, y=4.58, z=545.21], EntitySlime['Slime'/37, l='MpServer', x=-864.38, y=4.00, z=582.33], EntitySlime['Slime'/49, l='MpServer', x=-870.76, y=4.61, z=455.34], EntitySlime['Slime'/50, l='MpServer', x=-871.98, y=4.00, z=462.59], EntityChicken['Chicken'/51, l='MpServer', x=-868.41, y=4.00, z=479.41], EntitySlime['Slime'/52, l='MpServer', x=-858.38, y=4.00, z=450.13], EntitySlime['Slime'/53, l='MpServer', x=-874.44, y=4.00, z=472.53], EntitySheep['Sheep'/54, l='MpServer', x=-861.50, y=4.00, z=501.19], EntityChicken['Chicken'/55, l='MpServer', x=-849.89, y=4.00, z=505.79], EntitySheep['Sheep'/56, l='MpServer', x=-856.44, y=4.00, z=559.47], EntitySlime['Slime'/57, l='MpServer', x=-864.37, y=4.18, z=565.79], EntitySlime['Slime'/34107, l='MpServer', x=-797.18, y=4.00, z=448.70], EntitySlime['Slime'/73, l='MpServer', x=-822.23, y=4.00, z=434.95], EntitySlime['Slime'/74, l='MpServer', x=-835.73, y=4.47, z=432.81], EntitySlime['Slime'/75, l='MpServer', x=-819.62, y=4.00, z=441.92], EntitySlime['Slime'/76, l='MpServer', x=-848.45, y=4.00, z=444.19], EntitySheep['Sheep'/77, l='MpServer', x=-846.69, y=4.00, z=469.22], EntitySlime['Slime'/13645, l='MpServer', x=-842.40, y=4.00, z=433.16], EntitySlime['Slime'/78, l='MpServer', x=-830.63, y=4.00, z=499.38], EntitySlime['Slime'/79, l='MpServer', x=-832.00, y=4.55, z=511.67], EntitySheep['Sheep'/80, l='MpServer', x=-833.25, y=4.00, z=575.38], EntitySlime['Slime'/81, l='MpServer', x=-853.10, y=4.00, z=583.15], EntitySlime['Slime'/44118, l='MpServer', x=-837.49, y=4.00, z=578.34], EntitySheep['Sheep'/87, l='MpServer', x=-819.09, y=4.00, z=450.19], EntitySlime['Slime'/88, l='MpServer', x=-832.28, y=4.00, z=480.47], EntitySlime['Slime'/89, l='MpServer', x=-803.22, y=4.00, z=523.38], EntityDwarf['entity.Dwarf.name'/90, l='MpServer', x=-815.97, y=4.00, z=510.72], EntityHorse['Horse'/91, l='MpServer', x=-831.84, y=4.00, z=509.75], EntitySlime['Slime'/92, l='MpServer', x=-812.72, y=4.00, z=562.47], EntitySheep['Sheep'/93, l='MpServer', x=-828.94, y=4.00, z=564.03], EntitySpider['Spider'/98, l='MpServer', x=-804.03, y=4.00, z=448.50], EntitySlime['Slime'/99, l='MpServer', x=-807.26, y=4.00, z=475.97], EntitySlime['Slime'/100, l='MpServer', x=-811.69, y=4.00, z=476.22], EntitySlime['Slime'/101, l='MpServer', x=-797.12, y=4.00, z=484.73], EntitySlime['Slime'/102, l='MpServer', x=-800.07, y=4.00, z=497.50], EntitySheep['Sheep'/103, l='MpServer', x=-807.75, y=4.00, z=558.41], EntityCow['Cow'/104, l='MpServer', x=-809.41, y=4.00, z=582.78], EntitySlime['Slime'/82536, l='MpServer', x=-806.13, y=4.00, z=459.25], EntitySlime['Slime'/108, l='MpServer', x=-814.57, y=4.00, z=479.49], EntitySlime['Slime'/109, l='MpServer', x=-773.00, y=4.58, z=489.27], EntitySlime['Slime'/110, l='MpServer', x=-772.88, y=4.00, z=514.28], EntityHorse['Horse'/111, l='MpServer', x=-793.00, y=4.00, z=552.88], EntityCow['Cow'/112, l='MpServer', x=-786.97, y=4.00, z=574.03], EntitySlime['Slime'/15729, l='MpServer', x=-835.16, y=4.47, z=429.13], EntityHorse['Horse'/114, l='MpServer', x=-787.19, y=4.00, z=576.91], EntitySlime['Slime'/87543, l='MpServer', x=-835.90, y=4.00, z=457.10], EntityChicken['Chicken'/122, l='MpServer', x=-776.44, y=4.00, z=428.44], EntityChicken['Chicken'/123, l='MpServer', x=-776.22, y=4.00, z=430.81], EntityCow['Cow'/125, l='MpServer', x=-771.84, y=4.00, z=434.25], EntitySlime['Slime'/127, l='MpServer', x=-763.95, y=4.00, z=445.58]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2566) at net.minecraft.client.Minecraft.run(Minecraft.java:991) 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(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_45, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 487448120 bytes (464 MB) / 781189120 bytes (745 MB) up to 1903689728 bytes (1815 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.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1448 5 mods loaded, 5 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar) UCHIJAAAA Forge{10.13.4.1448} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar) UCHIJAAAA minefortress{1.0.0} [Mine Fortress] (bin) UCHIJAAAA examplemod{1.0} [Example Mod] (bin) GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.4.0 NVIDIA 344.60' Renderer: 'GeForce GT 740/PCIe/SSE2' Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: GeForce GT 740/PCIe/SSE2 GL version 4.4.0 NVIDIA 344.60, 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) Code //How the NBT is set @Override public boolean interact(EntityPlayer player) { System.out.println("interact start"); ItemStack cei=player.getCurrentEquippedItem(); if(cei !=null && cei.getItem() == ModItems.staff){ System.out.println("interact called"); if (cei.stackTagCompound == null){ cei.setTagCompound(new NBTTagCompound()); } cei.stackTagCompound.setLong("targetUUIDLeast", this.getPersistentID().getLeastSignificantBits()); cei.stackTagCompound.setLong("targetUUIDMost", this.getPersistentID().getMostSignificantBits()); System.out.println(this.getPersistentID().toString()); } return super.interact(player); } //When it is read @Override public void onCreated(ItemStack item, World world, EntityPlayer player) { item.stackTagCompound = new NBTTagCompound(); item.stackTagCompound.setString("targetUUID", null); item.stackTagCompound.setLong("targetLeast", 0); item.stackTagCompound.setLong("targetMost", 0); } @Override public boolean onItemUse(ItemStack Item, EntityPlayer Player, World world, int x, int y, int z, int side, float hitx, float hity, float hitz) { System.out.println("ItemUseCalled"); // if(Player.getCurrentEquippedItem() == new ItemStack(ModItems.staff) // && Player.getCurrentEquippedItem() != null) { //try{ UUID targetUUID = UUID.nameUUIDFromBytes(LongstoBytes( Item.stackTagCompound.getLong("targetLeast"), Item.stackTagCompound.getLong("targetMost"))); if (targetUUID != null) { Entity target = getEntityfromUUID(targetUUID, world); /** * if(target instanceof EntityDwarf){ ((EntityDwarf) * target).setTargetPos(x, y+1, z); * * ((EntityDwarf) target).setgoingToWaypoint(true); } **/ if (target != null) { ((EntityDwarf) target).getNavigator().tryMoveToXYZ(x, y + 1, z, 1.3D); if (((EntityDwarf) target).getNavigator().tryMoveToXYZ(x, y + 1, z, 1.3D)) { System.out.println("can go"); } } // } } /*} catch(Exception e) { System.out.println("Houston, We have a problem"); return false; }*/ return false; } private byte[] LongstoBytes(long long1, long long2) { if (long1 != 0 && long2 != 0) { ByteBuffer buffer = ByteBuffer.allocate(Long.BYTES); buffer.putLong(long2); buffer.putLong(long1); return buffer.array(); } return null;
  4. So I was trying to change my entity from EntityMob to EntityTameable then to EntityAgeable. This suddenly caused it's speed to spike and it practically teleports when it walks. I have absolutely no idea why this is happening as I even set the AI Move speed and the attribute. package io.github.mrnegablox.minefortress.entity; import java.io.Console; import scala.collection.concurrent.Debug; import io.github.mrnegablox.minefortress.ai.EntityAIGoToWaypoint; import io.github.mrnegablox.minefortress.item.ModItems; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.EntityPlayerSP; import net.minecraft.entity.EntityAgeable; import net.minecraft.entity.EntityLiving; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.EntityAIAttackOnCollide; import net.minecraft.entity.ai.EntityAIFollowOwner; import net.minecraft.entity.ai.EntityAILookIdle; import net.minecraft.entity.ai.EntityAIMoveIndoors; import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction; import net.minecraft.entity.ai.EntityAIOpenDoor; import net.minecraft.entity.ai.EntityAIRestrictOpenDoor; import net.minecraft.entity.ai.EntityAISwimming; import net.minecraft.entity.ai.EntityAIWander; import net.minecraft.entity.ai.EntityAIWatchClosest; import net.minecraft.entity.monster.EntityMob; import net.minecraft.entity.passive.EntityTameable; import net.minecraft.entity.passive.EntityWolf; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.world.World; public class EntityDwarf extends EntityAgeable { private boolean goingToWaypoint; private int targetX; private int targetY; private int targetZ; public EntityDwarf(World par1World) { super(par1World); this.setAIMoveSpeed(0.1F); this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.5d); this.getNavigator().setEnterDoors(true); this.getNavigator().setBreakDoors(true); this.tasks.addTask(1, new EntityAISwimming(this)); this.tasks.addTask(2, new EntityAIGoToWaypoint(this)); //this.tasks.addTask(3, new EntityAIFollowOwner(this, 1.0D, 10.0F, 2.0F)); this.tasks.addTask(3, new EntityAIMoveIndoors(this)); this.tasks.addTask(4, new EntityAIRestrictOpenDoor(this)); this.tasks.addTask(5, new EntityAIOpenDoor(this, true)); this.tasks.addTask(6, new EntityAIMoveTowardsRestriction(this, 0.3F)); this.tasks.addTask(7, new EntityAIWander(this, 1.0D)); this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F)); this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityDwarf.class, 8.0F)); this.tasks.addTask(9, new EntityAILookIdle(this)); this.setSize(1.0F,0.5F); } @Override public boolean interact(EntityPlayer player) { System.out.println("interact start"); ItemStack cei=player.getCurrentEquippedItem(); if(cei !=null && cei.getItem() == ModItems.staff){ System.out.println("interact called"); if (cei.stackTagCompound == null){ cei.setTagCompound(new NBTTagCompound()); } cei.stackTagCompound.setInteger("target", this.getEntityId()); System.out.println(this.getEntityId()); } return super.interact(player); } public boolean isgoingToWaypoint(){ return goingToWaypoint; } public void setgoingToWaypoint(boolean gotow){ goingToWaypoint = gotow; } public boolean isAIEnabled() { return true; } public int gettargetX(){ return targetX; } public int gettargetY(){ return targetY; } public int gettargetZ(){ return targetZ; } public void setTargetPos(int x, int y,int z){ targetX = x; targetY = y; targetZ = z; } @Override public void readFromNBT(NBTTagCompound nbt) { super.readFromNBT(nbt); goingToWaypoint = nbt.getBoolean("goingToWaypoint"); targetX = nbt.getInteger("targetX"); targetY = nbt.getInteger("targetY"); targetZ = nbt.getInteger("targetZ"); } @Override public void writeToNBT(NBTTagCompound nbt) { super.writeToNBT(nbt); nbt.setBoolean("goingToWaypoint", goingToWaypoint); nbt.setInteger("targetX", targetX); nbt.setInteger("targetY", targetY); nbt.setInteger("targetZ", targetZ); } @Override public EntityAgeable createChild(EntityAgeable p_90011_1_) { // TODO Auto-generated method stub return null; } }
  5. so what should I use to keep track of the entity in nbt? UUID?
  6. So I am trying to have an item that can link to a mob and have it go to a set point. But I am getting a null point exception. The Problem Function: @Override protected boolean interact(EntityPlayer player) { if(player.getCurrentEquippedItem().getItem() == ModItems.staff){ System.out.println("interact called"); player.getCurrentEquippedItem().stackTagCompound.setInteger("target", this.getEntityId()); // the problem line } return super.interact(player); } Stacktrace: ---- Minecraft Crash Report ---- // But it works on my machine. Time: 7/6/15 10:46 AM Description: Unexpected error java.lang.NullPointerException: Unexpected error at io.github.mrnegablox.minefortress.entity.EntityDwarf.interact(EntityDwarf.java:46) at net.minecraft.entity.EntityLiving.interactFirst(EntityLiving.java:1158) at net.minecraft.entity.player.EntityPlayer.interactWith(EntityPlayer.java:1267) at net.minecraft.client.multiplayer.PlayerControllerMP.interactWithEntitySendPacket(PlayerControllerMP.java:472) at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1513) at net.minecraft.client.Minecraft.runTick(Minecraft.java:2044) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039) at net.minecraft.client.Minecraft.run(Minecraft.java:962) 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(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 io.github.mrnegablox.minefortress.entity.EntityDwarf.interact(EntityDwarf.java:46) at net.minecraft.entity.EntityLiving.interactFirst(EntityLiving.java:1158) at net.minecraft.entity.player.EntityPlayer.interactWith(EntityPlayer.java:1267) at net.minecraft.client.multiplayer.PlayerControllerMP.interactWithEntitySendPacket(PlayerControllerMP.java:472) at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1513) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['LoztInSpace'/215, l='MpServer', x=-758.65, y=5.62, z=510.90]] Chunk stats: MultiplayerChunkCache: 345, 345 Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: Level spawn location: World: (-780,4,518), Chunk: (at 4,0,6 in -49,32; contains blocks -784,0,512 to -769,255,527), Region: (-2,1; contains chunks -64,32 to -33,63, blocks -1024,0,512 to -513,255,1023) Level time: 6032 game time, 6032 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 73 total; [EntitySlime['Slime'/136, l='MpServer', x=-755.80, y=4.48, z=472.35], EntitySlime['Slime'/137, l='MpServer', x=-747.34, y=4.00, z=476.06], EntitySlime['Slime'/138, l='MpServer', x=-747.92, y=4.00, z=489.25], EntitySlime['Slime'/139, l='MpServer', x=-752.61, y=4.09, z=509.45], EntitySlime['Slime'/140, l='MpServer', x=-742.22, y=4.00, z=514.50], EntitySlime['Slime'/141, l='MpServer', x=-750.26, y=4.18, z=518.54], EntitySlime['Slime'/142, l='MpServer', x=-741.32, y=4.18, z=561.28], EntitySlime['Slime'/143, l='MpServer', x=-753.02, y=4.00, z=591.46], EntitySlime['Slime'/147, l='MpServer', x=-726.62, y=4.00, z=490.68], EntitySlime['Slime'/148, l='MpServer', x=-730.53, y=4.65, z=533.54], EntitySlime['Slime'/149, l='MpServer', x=-727.70, y=4.65, z=548.05], EntityPig['Pig'/159, l='MpServer', x=-706.88, y=4.00, z=435.72], EntitySlime['Slime'/160, l='MpServer', x=-715.63, y=4.00, z=493.47], EntitySlime['Slime'/161, l='MpServer', x=-716.50, y=4.00, z=587.31], EntityPig['Pig'/168, l='MpServer', x=-693.94, y=4.00, z=431.88], EntityHorse['Horse'/169, l='MpServer', x=-695.44, y=4.00, z=431.28], EntityPig['Pig'/170, l='MpServer', x=-692.44, y=4.00, z=442.09], EntityChicken['Chicken'/42, l='MpServer', x=-833.59, y=4.00, z=490.41], EntityHorse['Horse'/171, l='MpServer', x=-697.28, y=4.00, z=442.50], EntitySheep['Sheep'/43, l='MpServer', x=-836.78, y=4.00, z=503.19], EntityChicken['Chicken'/172, l='MpServer', x=-694.56, y=4.00, z=437.53], EntityCow['Cow'/173, l='MpServer', x=-691.69, y=4.00, z=437.47], EntitySlime['Slime'/174, l='MpServer', x=-702.70, y=4.65, z=513.45], EntitySlime['Slime'/46, l='MpServer', x=-834.52, y=4.00, z=519.15], EntitySlime['Slime'/175, l='MpServer', x=-683.35, y=4.00, z=538.66], EntitySlime['Slime'/176, l='MpServer', x=-700.00, y=4.65, z=539.35], EntityCow['Cow'/177, l='MpServer', x=-698.19, y=4.00, z=571.81], EntityCow['Cow'/178, l='MpServer', x=-698.16, y=4.00, z=587.59], EntityCow['Cow'/179, l='MpServer', x=-703.50, y=4.00, z=579.50], EntitySheep['Sheep'/51, l='MpServer', x=-837.44, y=4.00, z=583.19], EntitySheep['Sheep'/181, l='MpServer', x=-689.78, y=4.00, z=580.09], EntityChicken['Chicken'/59, l='MpServer', x=-832.75, y=4.00, z=522.19], EntitySlime['Slime'/60, l='MpServer', x=-825.01, y=4.00, z=516.41], EntityCow['Cow'/188, l='MpServer', x=-679.81, y=4.00, z=440.75], EntitySheep['Sheep'/189, l='MpServer', x=-685.81, y=4.00, z=439.88], EntitySlime['Slime'/190, l='MpServer', x=-681.09, y=4.00, z=534.96], EntitySlime['Slime'/63, l='MpServer', x=-814.56, y=4.00, z=494.94], EntityChicken['Chicken'/191, l='MpServer', x=-684.59, y=4.00, z=577.63], EntitySlime['Slime'/64, l='MpServer', x=-808.65, y=4.69, z=522.21], EntitySlime['Slime'/65, l='MpServer', x=-800.55, y=4.83, z=540.08], EntitySlime['Slime'/66, l='MpServer', x=-810.15, y=4.84, z=531.74], EntitySlime['Slime'/67, l='MpServer', x=-809.93, y=4.00, z=544.55], EntitySlime['Slime'/72, l='MpServer', x=-796.09, y=4.00, z=435.30], EntitySlime['Slime'/73, l='MpServer', x=-783.09, y=4.00, z=479.22], EntitySlime['Slime'/74, l='MpServer', x=-789.99, y=4.00, z=485.29], EntitySlime['Slime'/75, l='MpServer', x=-797.61, y=4.00, z=513.83], EntitySlime['Slime'/76, l='MpServer', x=-793.55, y=4.40, z=506.94], EntitySlime['Slime'/77, l='MpServer', x=-780.92, y=4.00, z=539.67], EntityHorse['Horse'/78, l='MpServer', x=-787.56, y=4.00, z=539.72], EntityCow['Cow'/79, l='MpServer', x=-784.50, y=4.00, z=551.56], EntityHorse['Horse'/80, l='MpServer', x=-789.78, y=4.00, z=558.06], EntitySlime['Slime'/81, l='MpServer', x=-787.12, y=4.00, z=572.23], EntitySheep['Sheep'/82, l='MpServer', x=-791.59, y=4.00, z=574.09], EntityCow['Cow'/83, l='MpServer', x=-797.78, y=4.00, z=566.61], EntityCow['Cow'/84, l='MpServer', x=-787.81, y=4.00, z=583.13], EntityCow['Cow'/85, l='MpServer', x=-789.88, y=4.00, z=579.81], EntitySlime['Slime'/94, l='MpServer', x=-779.70, y=4.18, z=481.58], EntitySheep['Sheep'/95, l='MpServer', x=-782.50, y=4.00, z=559.78], EntitySheep['Sheep'/96, l='MpServer', x=-773.91, y=4.00, z=568.84], EntityHorse['Horse'/97, l='MpServer', x=-776.78, y=4.00, z=560.22], EntitySlime['Slime'/98, l='MpServer', x=-787.23, y=4.92, z=578.27], EntitySlime['Slime'/114, l='MpServer', x=-756.06, y=4.00, z=462.41], EntitySlime['Slime'/4466, l='MpServer', x=-824.01, y=4.48, z=518.11], EntitySlime['Slime'/115, l='MpServer', x=-766.59, y=4.00, z=470.09], EntityClientPlayerMP['LoztInSpace'/215, l='MpServer', x=-758.65, y=5.62, z=510.90], EntitySlime['Slime'/116, l='MpServer', x=-765.06, y=4.48, z=489.04], EntitySlime['Slime'/117, l='MpServer', x=-767.45, y=4.69, z=498.91], EntityDwarf['entity.Dwarf.name'/118, l='MpServer', x=-758.84, y=4.00, z=512.41], EntitySlime['Slime'/119, l='MpServer', x=-754.84, y=4.00, z=538.69], EntitySheep['Sheep'/120, l='MpServer', x=-763.19, y=4.00, z=544.06], EntitySlime['Slime'/121, l='MpServer', x=-758.10, y=4.69, z=556.86], EntitySlime['Slime'/122, l='MpServer', x=-767.68, y=4.69, z=583.42], EntitySlime['Slime'/123, l='MpServer', x=-769.72, y=4.92, z=585.73]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2566) at net.minecraft.client.Minecraft.run(Minecraft.java:991) 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(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_45, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 184130008 bytes (175 MB) / 828899328 bytes (790 MB) up to 1903689728 bytes (1815 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.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1448 5 mods loaded, 5 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar) UCHIJAAAA Forge{10.13.4.1448} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar) UCHIJAAAA minefortress{1.0.0} [Mine Fortress] (bin) UCHIJAAAA examplemod{1.0} [Example Mod] (bin) GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.4.0 NVIDIA 344.60' Renderer: 'GeForce GT 740/PCIe/SSE2' Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: GeForce GT 740/PCIe/SSE2 GL version 4.4.0 NVIDIA 344.60, 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) Thank you in advance
  7. MultiMC version: 0.4.5 Minecraft folder is: C:/Users/Noah/Documents/MultiMC/instances/1.7.10/minecraft Java path is: C:/Program Files/Java/jdk1.7.0_71/bin/javaw.exe Java Arguments: [-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump, -Xms512m, -Xmx2048m, -Duser.language=en, -jar, C:/Users/Noah/Documents/MultiMC/jars/NewLaunch.jar] Using onesix launcher. Main Class: net.minecraft.launchwrapper.Launch Native path: C:/Users/Noah/Documents/MultiMC/instances/1.7.10/natives Traits: [] Libraries: C:/Users/Noah/Documents/MultiMC/libraries/net/minecraftforge/forge/1.7.10-10.13.2.1270/forge-1.7.10-10.13.2.1270-universal.jar C:/Users/Noah/Documents/MultiMC/libraries/net/minecraft/launchwrapper/1.11/launchwrapper-1.11.jar C:/Users/Noah/Documents/MultiMC/libraries/org/ow2/asm/asm-all/5.0.3/asm-all-5.0.3.jar C:/Users/Noah/Documents/MultiMC/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar C:/Users/Noah/Documents/MultiMC/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar C:/Users/Noah/Documents/MultiMC/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar C:/Users/Noah/Documents/MultiMC/libraries/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar C:/Users/Noah/Documents/MultiMC/libraries/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar C:/Users/Noah/Documents/MultiMC/libraries/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar C:/Users/Noah/Documents/MultiMC/libraries/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar C:/Users/Noah/Documents/MultiMC/libraries/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar C:/Users/Noah/Documents/MultiMC/libraries/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar C:/Users/Noah/Documents/MultiMC/libraries/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar C:/Users/Noah/Documents/MultiMC/libraries/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar C:/Users/Noah/Documents/MultiMC/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar C:/Users/Noah/Documents/MultiMC/libraries/com/mojang/realms/1.3.5/realms-1.3.5.jar C:/Users/Noah/Documents/MultiMC/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar C:/Users/Noah/Documents/MultiMC/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar C:/Users/Noah/Documents/MultiMC/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar C:/Users/Noah/Documents/MultiMC/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar C:/Users/Noah/Documents/MultiMC/libraries/java3d/vecmath/1.3.1/vecmath-1.3.1.jar C:/Users/Noah/Documents/MultiMC/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar C:/Users/Noah/Documents/MultiMC/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar C:/Users/Noah/Documents/MultiMC/libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar C:/Users/Noah/Documents/MultiMC/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar C:/Users/Noah/Documents/MultiMC/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar C:/Users/Noah/Documents/MultiMC/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar C:/Users/Noah/Documents/MultiMC/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar C:/Users/Noah/Documents/MultiMC/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar C:/Users/Noah/Documents/MultiMC/libraries/io/netty/netty-all/4.0.10.Final/netty-all-4.0.10.Final.jar C:/Users/Noah/Documents/MultiMC/libraries/com/google/guava/guava/16.0/guava-16.0.jar C:/Users/Noah/Documents/MultiMC/libraries/org/apache/commons/commons-lang3/3.2.1/commons-lang3-3.2.1.jar C:/Users/Noah/Documents/MultiMC/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar C:/Users/Noah/Documents/MultiMC/libraries/commons-codec/commons-codec/1.9/commons-codec-1.9.jar C:/Users/Noah/Documents/MultiMC/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar C:/Users/Noah/Documents/MultiMC/libraries/com/mojang/authlib/1.5.16/authlib-1.5.16.jar C:/Users/Noah/Documents/MultiMC/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar C:/Users/Noah/Documents/MultiMC/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar C:/Users/Noah/Documents/MultiMC/libraries/tv/twitch/twitch/5.16/twitch-5.16.jar C:/Users/Noah/Documents/MultiMC/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar C:/Users/Noah/Documents/MultiMC/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar C:/Users/Noah/Documents/MultiMC/libraries/org/lwjgl/lwjgl/lwjgl/2.9.1/lwjgl-2.9.1.jar C:/Users/Noah/Documents/MultiMC/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.1/lwjgl_util-2.9.1.jar C:/Users/Noah/Documents/MultiMC/versions/1.7.10/1.7.10.jar Params: [--username, <PROFILE NAME>, --version, 1.7.10, --gameDir, C:/Users/Noah/Documents/MultiMC/instances/1.7.10/minecraft, --assetsDir, C:/Users/Noah/Documents/MultiMC/assets, --assetIndex, 1.7.10, --uuid, <PROFILE ID>, --accessToken, <ACCESS TOKEN>, --userProperties, {}, --userType, legacy, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker] Window size: 854 x 480 Preparing native libraries... Extracting twitch-platform-5.16-natives-windows-64.jar Extracting twitch-external-platform-4.5-natives-windows-64.jar Extracting jinput-platform-2.0.5-natives-windows.jar Extracting lwjgl-platform-2.9.1-natives-windows.jar [17:41:47] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [17:41:47] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [17:41:47] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [17:41:47] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1270 for Minecraft 1.7.10 loading [17:41:47] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_71, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jdk1.7.0_71\jre [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.NoClassDefFoundError: net/minecraftforge/fml/relauncher/IFMLLoadingPlugin [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.ClassLoader.defineClass1(Native Method) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.net.URLClassLoader.access$100(URLClassLoader.java:71) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.net.URLClassLoader$1.run(URLClassLoader.java:361) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.net.URLClassLoader$1.run(URLClassLoader.java:355) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.security.AccessController.doPrivileged(Native Method) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.net.URLClassLoader.findClass(URLClassLoader.java:354) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:117) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.ClassLoader.loadClass(ClassLoader.java:425) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.Class.forName0(Native Method) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.Class.forName(Class.java:274) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:417) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:346) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:214) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:67) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:34) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:126) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.reflect.Method.invoke(Method.java:606) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:286) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:376) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.multimc.EntryPoint.listen(EntryPoint.java:165) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.multimc.EntryPoint.main(EntryPoint.java:54) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: java.lang.ClassNotFoundException: net.minecraftforge.fml.relauncher.IFMLLoadingPlugin [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.ClassLoader.loadClass(ClassLoader.java:425) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: ... 31 more [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: java.lang.NullPointerException [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: ... 33 more [17:41:48] [main/ERROR] [FML]: An error occurred trying to configure the minecraft home at C:\Users\Noah\Documents\MultiMC\instances\1.7.10\minecraft for Forge Mod Loader java.lang.NoClassDefFoundError: net/minecraftforge/fml/relauncher/IFMLLoadingPlugin at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_71] at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_71] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_71] at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) ~[?:1.7.0_71] at java.net.URLClassLoader.access$100(URLClassLoader.java:71) ~[?:1.7.0_71] at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[?:1.7.0_71] at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[?:1.7.0_71] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_71] at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[?:1.7.0_71] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:117) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_71] at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_71] at java.lang.Class.forName0(Native Method) ~[?:1.7.0_71] at java.lang.Class.forName(Class.java:274) ~[?:1.7.0_71] at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:417) ~[forge-1.7.10-10.13.2.1270-universal.jar:?] at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:346) ~[forge-1.7.10-10.13.2.1270-universal.jar:?] at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:214) ~[forge-1.7.10-10.13.2.1270-universal.jar:?] at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90) [forge-1.7.10-10.13.2.1270-universal.jar:?] at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:67) [forge-1.7.10-10.13.2.1270-universal.jar:?] at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:34) [forge-1.7.10-10.13.2.1270-universal.jar:?] at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:126) [forge-1.7.10-10.13.2.1270-universal.jar:?] at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_71] at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:286) [NewLaunch.jar:?] at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:376) [NewLaunch.jar:?] at org.multimc.EntryPoint.listen(EntryPoint.java:165) [NewLaunch.jar:?] at org.multimc.EntryPoint.main(EntryPoint.java:54) [NewLaunch.jar:?] Caused by: java.lang.ClassNotFoundException: net.minecraftforge.fml.relauncher.IFMLLoadingPlugin at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_71] at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_71] ... 31 more Caused by: java.lang.NullPointerException at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_71] at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_71] ... 31 more [17:41:48] [main/INFO] [sTDERR]: [org.multimc.onesix.OneSixLauncher:launchWithMainClass:289]: Failed to start Minecraft: [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.reflect.InvocationTargetException [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.reflect.Method.invoke(Method.java:606) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:286) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:376) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.multimc.EntryPoint.listen(EntryPoint.java:165) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.multimc.EntryPoint.main(EntryPoint.java:54) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: java.lang.NoClassDefFoundError: net/minecraftforge/fml/relauncher/IFMLLoadingPlugin [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.ClassLoader.defineClass1(Native Method) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.net.URLClassLoader.access$100(URLClassLoader.java:71) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.net.URLClassLoader$1.run(URLClassLoader.java:361) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.net.URLClassLoader$1.run(URLClassLoader.java:355) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.security.AccessController.doPrivileged(Native Method) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.net.URLClassLoader.findClass(URLClassLoader.java:354) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:117) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.ClassLoader.loadClass(ClassLoader.java:425) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.Class.forName0(Native Method) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.Class.forName(Class.java:274) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:417) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:346) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:214) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:67) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:34) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:126) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: ... 8 more [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: java.lang.ClassNotFoundException: net.minecraftforge.fml.relauncher.IFMLLoadingPlugin [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.ClassLoader.loadClass(ClassLoader.java:425) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: ... 31 more [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: java.lang.NullPointerException [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: ... 33 more [17:41:48] [main/INFO] [sTDOUT]: [org.multimc.EntryPoint:main:57]: Exiting with -1 [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.ArrayIndexOutOfBoundsException: 5 [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:21) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.SecurityManager.checkExit(SecurityManager.java:761) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.Runtime.exit(Runtime.java:107) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.System.exit(System.java:962) [17:41:48] [main/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.multimc.EntryPoint.main(EntryPoint.java:58) Exception in thread "main" Minecraft exited with exitcode 1. So this modpack I am trying to assemble, I am able to get Everything else to work without NEI, but I need NEI. I always get this crash. I am not sure if it is my Java version, or if it just some weird glitch. I don't know what else to say... so please help
  8. So I managed to add the enchiridion API to my mod but I am having a lot of trouble figuring out how to work it. Can someone please tell me how?
  9. I think I fixed the imageshttp://minecraftforge.net/forum/Smileys/default/cool.gif
  10. How does one decompile a mod, specifically Enchiridion? I am trying to make my own custom book but I can't get Forge to recognize it as a mod when I use decompilers. It would also help if someone taught me how to use the Enchiridion API.
  11. When I launch my game, I would hold my Item and multiple iterations of the same model in wierd areas and not rendering in first person. Third Person http://s18.postimg.org/4jaxgqe8l/2014_12_18_18_42_17.png[/img] http://s18.postimg.org/p4pp8mvth/2014_12_18_18_42_21.png[/img] I don't get why this happens. Please excuse me for being new to coding Model: // Date: 12/13/2014 7:48:41 AM // Template version 1.1 // Java generated by Techne // Keep in mind that you still need to fill in some blanks // - ZeuX package io.github.mrnegablox.mythos.render; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class ModelSoulJar extends ModelBase { //fields public ModelRenderer Top; public ModelRenderer Side_3; public ModelRenderer Side_1; public ModelRenderer Side_2; public ModelRenderer Side_4; public ModelRenderer Base; public ModelRenderer Cap; public ModelRenderer Shape1; public ModelSoulJar() { textureWidth = 64; textureHeight = 32; Top = new ModelRenderer(this, 0, 0); Top.addBox(0F, 0F, 0F, 9, 1, 9); Top.setRotationPoint(-1F, -11F, -1F); Top.setTextureSize(64, 32); Top.mirror = true; setRotation(Top, 0F, 0F, 0F); Side_3 = new ModelRenderer(this, 36, 0); Side_3.addBox(0F, 0F, 0F, 7, 10, 0); Side_3.setRotationPoint(0F, -10F, 0F); Side_3.setTextureSize(64, 32); Side_3.mirror = true; setRotation(Side_3, 0F, 0F, 0F); Side_1 = new ModelRenderer(this, 36, 0); Side_1.addBox(0F, 0F, 0F, 7, 10, 0); Side_1.setRotationPoint(0F, -10F, 7F); Side_1.setTextureSize(64, 32); Side_1.mirror = true; setRotation(Side_1, 0F, 0F, 0F); Side_2 = new ModelRenderer(this, 36, -7); Side_2.addBox(0F, 0F, 0F, 0, 10, 7); Side_2.setRotationPoint(0F, -10F, 0F); Side_2.setTextureSize(64, 32); Side_2.mirror = true; setRotation(Side_2, 0F, 0F, 0F); Side_4 = new ModelRenderer(this, 36, -7); Side_4.addBox(0F, 0F, 0F, 0, 10, 7); Side_4.setRotationPoint(7F, -10F, 0F); Side_4.setTextureSize(64, 32); Side_4.mirror = true; setRotation(Side_4, 0F, 0F, 0F); Base = new ModelRenderer(this, 0, 0); Base.addBox(0F, 0F, 0F, 9, 1, 9); Base.setRotationPoint(-1F, 0F, -1F); Base.setTextureSize(64, 32); Base.mirror = true; setRotation(Base, 0F, 0F, 0F); Cap = new ModelRenderer(this, 0, 10); Cap.addBox(0F, 0F, 0F, 5, 1, 5); Cap.setRotationPoint(1F, -12F, 1F); Cap.setTextureSize(64, 32); Cap.mirror = true; setRotation(Cap, 0F, 0F, 0F); Shape1 = new ModelRenderer(this, 20, 10); Shape1.addBox(0F, 0F, 0F, 5, 8, 5); Shape1.setRotationPoint(1F, -9F, 1F); Shape1.setTextureSize(64, 32); Shape1.mirror = true; setRotation(Shape1, 0F, 0F, 0F); } public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { super.render(entity, f, f1, f2, f3, f4, f5); setRotationAngles(f, f1, f2, f3, f4, f5, entity); Top.render(f5); Side_3.render(f5); Side_1.render(f5); Side_2.render(f5); Side_4.render(f5); Base.render(f5); Cap.render(f5); } private void setRotation(ModelRenderer model, float x, float y, float z) { model.rotateAngleX = x; model.rotateAngleY = y; model.rotateAngleZ = z; } public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity ent) { super.setRotationAngles(f, f1, f2, f3, f4, f5, ent); } } Render: package io.github.mrnegablox.mythos.render; import javax.swing.Icon; import io.github.mrnegablox.mythos.Main; import io.github.mrnegablox.mythos.items.ModItems; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL12; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.inventory.GuiContainerCreative; import net.minecraft.client.gui.inventory.GuiInventory; import net.minecraft.client.renderer.ItemRenderer; import net.minecraft.client.renderer.RenderBlocks; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.entity.RenderItem; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.client.renderer.texture.TextureManager; import net.minecraft.client.renderer.texture.TextureUtil; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraft.util.IIcon; import net.minecraft.util.ResourceLocation; import net.minecraftforge.client.ForgeHooksClient; import net.minecraftforge.client.IItemRenderer; public class RenderSoulJar implements IItemRenderer{ public boolean isKappa; protected ModelSoulJar souljarmodel; protected ModelSoulJar souljarmodel2; private static RenderItem renderItem = new RenderItem(); private Minecraft mc; private RenderBlocks renderBlocksIr = new RenderBlocks(); public RenderSoulJar(){ souljarmodel = new ModelSoulJar(); souljarmodel2 = new ModelSoulJar(); mc = Minecraft.getMinecraft(); } @Override public boolean handleRenderType(ItemStack item, ItemRenderType type) { // TODO Auto-generated method stub return type == ItemRenderType.EQUIPPED || type == ItemRenderType.EQUIPPED_FIRST_PERSON || type == ItemRenderType.ENTITY || type == ItemRenderType.INVENTORY; } @Override public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { if(type != ItemRenderType.EQUIPPED){ return item.getItem() == ModItems.ItemSoulJar; } return false; } @Override public void renderItem(ItemRenderType type, ItemStack item, Object... data) { switch(type) { case EQUIPPED: { GL11.glPushMatrix(); GL11.glEnable(GL11.GL_BLEND);; GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA); Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(Main.MODID, "textures/model/ModelSoulJar.png")); GL11.glRotatef(180F, 0F, 1.0F, 0.0F); GL11.glRotatef(90F, 0.0F, 0.0F, 1.0F); GL11.glRotatef(15F, 1F, 0.0F, 0F); GL11.glTranslatef(0.0f, 1.5F, -0.4f); souljarmodel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); GL11.glPopMatrix(); } case INVENTORY: { //IIcon icon = Items.beef.getIconIndex(new ItemStack(Items.beef)); // Use vanilla code to render the icon in a 16x16 square of inventory slot //renderItem.renderIcon(0, 0, icon, 16, 16); } case EQUIPPED_FIRST_PERSON: { GL11.glPushMatrix(); GL11.glEnable(GL11.GL_BLEND);; GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA); GL11.glRotatef(90, 0, 1, 0); Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(Main.MODID, "textures/model/ModelSoulJar.png")); souljarmodel.render(null, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); GL11.glPopMatrix(); } case ENTITY: { GL11.glPushMatrix(); GL11.glEnable(GL11.GL_BLEND);; GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA); Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(Main.MODID, "textures/model/ModelSoulJar.png")); GL11.glRotatef(90F, 0F, 1.0F, 0.0F); GL11.glRotatef(90F, 0.0F, 0.0F, 1.0F); GL11.glRotatef(15F, 1F, 0.0F, 0F); GL11.glTranslatef(1.0f, 0.5F, -0.4f); souljarmodel.render(null, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); GL11.glPopMatrix(); } default: break; } } private void drawAs2D(ItemRenderType type, ItemStack item) { Tessellator tessellator = Tessellator.instance; tessellator.startDrawingQuads(); IIcon icon1 = Items.potionitem.getIconIndex(new ItemStack(Items.potionitem)); double minU1 = (double)icon1.getMinU(); double minV1 = (double)icon1.getMinV(); double maxU1 = (double)icon1.getMaxU(); double maxV1 = (double)icon1.getMaxV(); tessellator.addVertexWithUV(16.0, 16.0, 0.0, maxU1, maxV1); tessellator.addVertexWithUV(16.0, 0.0, 0.0, maxU1, minV1); tessellator.addVertexWithUV( 0.0, 0.0, 0.0, minU1, minV1); tessellator.addVertexWithUV( 0.0, 16.0, 0.0, minU1, maxV1); tessellator.draw(); } }
  12. So I am getting a crash when I attempt to render a model in two cases. I seriously don't see anything wrong. I am rather new so forgive me. Thank you in advance! Render package io.github.mrnegablox.mythos.render; import javax.swing.Icon; import io.github.mrnegablox.mythos.Main; import io.github.mrnegablox.mythos.items.ModItems; import org.lwjgl.opengl.GL11; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.inventory.GuiContainerCreative; import net.minecraft.client.gui.inventory.GuiInventory; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.entity.RenderItem; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraft.util.IIcon; import net.minecraft.util.ResourceLocation; import net.minecraftforge.client.IItemRenderer; public class RenderSoulJar implements IItemRenderer{ public boolean isKappa; protected ModelSoulJar souljarmodel; protected ModelSoulJar souljarmodel2; private static RenderItem renderItem = new RenderItem(); public RenderSoulJar(){ souljarmodel = new ModelSoulJar(); souljarmodel2 = new ModelSoulJar(); } @Override public boolean handleRenderType(ItemStack item, ItemRenderType type) { // TODO Auto-generated method stub switch(type) { case FIRST_PERSON_MAP: return true; case EQUIPPED: return true; case INVENTORY: return true; case ENTITY: return true; default: return false; } } @Override public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { switch(type){ case ENTITY: break; case EQUIPPED: break; case EQUIPPED_FIRST_PERSON: break; case FIRST_PERSON_MAP: break; case INVENTORY: break; default: break; } return false; } @Override public void renderItem(ItemRenderType type, ItemStack item, Object... data) { switch(type) { case EQUIPPED: { GL11.glPushMatrix(); GL11.glEnable(GL11.GL_BLEND);; GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA); Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(Main.MODID, "textures/model/ModelSoulJar.png")); GL11.glRotatef(180F, 0F, 1.0F, 0.0F); GL11.glRotatef(90F, 0.0F, 0.0F, 1.0F); GL11.glRotatef(15F, 1F, 0.0F, 0F); GL11.glTranslatef(0.0f, 1.5F, -0.4f); souljarmodel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); GL11.glPopMatrix(); } case INVENTORY: { IIcon icon = ModItems.ItemSoulJar.getIconIndex(new ItemStack(ModItems.ItemSoulJar)); // Use vanilla code to render the icon in a 16x16 square of inventory slot renderItem.renderIcon(0, 0, icon, 16, 16); } case FIRST_PERSON_MAP: { GL11.glPushMatrix(); GL11.glEnable(GL11.GL_BLEND);; GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA); Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(Main.MODID, "textures/model/ModelSoulJar.png")); GL11.glRotatef(180F, 0F, 1.0F, 0.0F); GL11.glRotatef(90F, 0.0F, 0.0F, 1.0F); GL11.glRotatef(15F, 1F, 0.0F, 0F); GL11.glTranslatef(0.0f, 1.5F, -0.4f); souljarmodel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); GL11.glPopMatrix(); } default: break; } } private void drawAs2D(ItemRenderType type, ItemStack item) { Tessellator tessellator = Tessellator.instance; tessellator.startDrawingQuads(); IIcon icon1 = Items.potionitem.getIconIndex(new ItemStack(Items.potionitem)); double minU1 = (double)icon1.getMinU(); double minV1 = (double)icon1.getMinV(); double maxU1 = (double)icon1.getMaxU(); double maxV1 = (double)icon1.getMaxV(); tessellator.addVertexWithUV(16.0, 16.0, 0.0, maxU1, maxV1); tessellator.addVertexWithUV(16.0, 0.0, 0.0, maxU1, minV1); tessellator.addVertexWithUV( 0.0, 0.0, 0.0, minU1, minV1); tessellator.addVertexWithUV( 0.0, 16.0, 0.0, minU1, maxV1); tessellator.draw(); } } Model: // Date: 12/13/2014 7:48:41 AM // Template version 1.1 // Java generated by Techne // Keep in mind that you still need to fill in some blanks // - ZeuX package io.github.mrnegablox.mythos.render; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class ModelSoulJar extends ModelBase { //fields public ModelRenderer Top; public ModelRenderer Side_3; public ModelRenderer Side_1; public ModelRenderer Side_2; public ModelRenderer Side_4; public ModelRenderer Base; public ModelRenderer Cap; public ModelRenderer Shape1; public ModelSoulJar() { textureWidth = 64; textureHeight = 32; Top = new ModelRenderer(this, 0, 0); Top.addBox(0F, 0F, 0F, 9, 1, 9); Top.setRotationPoint(-1F, -11F, -1F); Top.setTextureSize(64, 32); Top.mirror = true; setRotation(Top, 0F, 0F, 0F); Side_3 = new ModelRenderer(this, 36, 0); Side_3.addBox(0F, 0F, 0F, 7, 10, 0); Side_3.setRotationPoint(0F, -10F, 0F); Side_3.setTextureSize(64, 32); Side_3.mirror = true; setRotation(Side_3, 0F, 0F, 0F); Side_1 = new ModelRenderer(this, 36, 0); Side_1.addBox(0F, 0F, 0F, 7, 10, 0); Side_1.setRotationPoint(0F, -10F, 7F); Side_1.setTextureSize(64, 32); Side_1.mirror = true; setRotation(Side_1, 0F, 0F, 0F); Side_2 = new ModelRenderer(this, 36, -7); Side_2.addBox(0F, 0F, 0F, 0, 10, 7); Side_2.setRotationPoint(0F, -10F, 0F); Side_2.setTextureSize(64, 32); Side_2.mirror = true; setRotation(Side_2, 0F, 0F, 0F); Side_4 = new ModelRenderer(this, 36, -7); Side_4.addBox(0F, 0F, 0F, 0, 10, 7); Side_4.setRotationPoint(7F, -10F, 0F); Side_4.setTextureSize(64, 32); Side_4.mirror = true; setRotation(Side_4, 0F, 0F, 0F); Base = new ModelRenderer(this, 0, 0); Base.addBox(0F, 0F, 0F, 9, 1, 9); Base.setRotationPoint(-1F, 0F, -1F); Base.setTextureSize(64, 32); Base.mirror = true; setRotation(Base, 0F, 0F, 0F); Cap = new ModelRenderer(this, 0, 10); Cap.addBox(0F, 0F, 0F, 5, 1, 5); Cap.setRotationPoint(1F, -12F, 1F); Cap.setTextureSize(64, 32); Cap.mirror = true; setRotation(Cap, 0F, 0F, 0F); Shape1 = new ModelRenderer(this, 20, 10); Shape1.addBox(0F, 0F, 0F, 5, 8, 5); Shape1.setRotationPoint(1F, -9F, 1F); Shape1.setTextureSize(64, 32); Shape1.mirror = true; setRotation(Shape1, 0F, 0F, 0F); } public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { super.render(entity, f, f1, f2, f3, f4, f5); setRotationAngles(f, f1, f2, f3, f4, f5, entity); Top.render(f5); Side_3.render(f5); Side_1.render(f5); Side_2.render(f5); Side_4.render(f5); Base.render(f5); Cap.render(f5); } private void setRotation(ModelRenderer model, float x, float y, float z) { model.rotateAngleX = x; model.rotateAngleY = y; model.rotateAngleZ = z; } public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity ent) { super.setRotationAngles(f, f1, f2, f3, f4, f5, ent); } } Stacktrace: ---- Minecraft Crash Report ---- // I feel sad now Time: 12/15/14 8:58 PM Description: Rendering item java.lang.ArrayIndexOutOfBoundsException: 1 at io.github.mrnegablox.mythos.render.RenderSoulJar.renderItem(RenderSoulJar.java:114) at net.minecraftforge.client.ForgeHooksClient.renderInventoryItem(ForgeHooksClient.java:202) at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:583) at net.minecraft.client.gui.GuiIngame.renderInventorySlot(GuiIngame.java:973) at net.minecraftforge.client.GuiIngameForge.renderHotbar(GuiIngameForge.java:209) at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:144) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1114) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1057) at net.minecraft.client.Minecraft.run(Minecraft.java:951) 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 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 GradleStart.bounce(GradleStart.java:107) at GradleStart.startClient(GradleStart.java:100) at GradleStart.main(GradleStart.java:65) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at io.github.mrnegablox.mythos.render.RenderSoulJar.renderItem(RenderSoulJar.java:114) at net.minecraftforge.client.ForgeHooksClient.renderInventoryItem(ForgeHooksClient.java:202) -- Item being rendered -- Details: Item Type: io.github.mrnegablox.mythos.items.ItemSoulJar@11030cfb Item Aux: 0 Item NBT: null Item Foil: false Stacktrace: at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:583) at net.minecraft.client.gui.GuiIngame.renderInventorySlot(GuiIngame.java:973) at net.minecraftforge.client.GuiIngameForge.renderHotbar(GuiIngameForge.java:209) at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:144) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['lozmastermind'/343, l='MpServer', x=-13.70, y=70.62, z=201.35]] Chunk stats: MultiplayerChunkCache: 80, 80 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (-12,64,200), Chunk: (at 4,4,8 in -1,12; contains blocks -16,0,192 to -1,255,207), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Level time: 39684 game time, 1209 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 201 total; [EntitySquid['Squid'/275, l='MpServer', x=42.54, y=37.00, z=174.82], EntitySquid['Squid'/274, l='MpServer', x=46.09, y=37.35, z=167.78], EntitySquid['Squid'/273, l='MpServer', x=45.31, y=37.29, z=172.79], EntitySquid['Squid'/272, l='MpServer', x=40.75, y=37.32, z=175.61], EntitySquid['Squid'/279, l='MpServer', x=36.05, y=37.32, z=182.28], EntitySquid['Squid'/278, l='MpServer', x=39.83, y=37.00, z=182.59], EntitySquid['Squid'/277, l='MpServer', x=44.59, y=37.00, z=185.26], EntitySquid['Squid'/276, l='MpServer', x=36.47, y=36.33, z=178.08], EntitySquid['Squid'/283, l='MpServer', x=37.78, y=37.00, z=186.11], EntitySquid['Squid'/282, l='MpServer', x=40.58, y=37.00, z=190.08], EntitySquid['Squid'/281, l='MpServer', x=45.53, y=37.00, z=179.45], EntitySquid['Squid'/280, l='MpServer', x=45.54, y=37.00, z=188.37], EntitySquid['Squid'/287, l='MpServer', x=35.51, y=37.00, z=182.60], EntitySquid['Squid'/286, l='MpServer', x=38.60, y=37.14, z=189.01], EntitySquid['Squid'/285, l='MpServer', x=43.80, y=37.17, z=179.49], EntitySquid['Squid'/284, l='MpServer', x=42.07, y=37.30, z=185.25], EntitySquid['Squid'/256, l='MpServer', x=16.50, y=32.32, z=264.97], EntitySquid['Squid'/257, l='MpServer', x=15.65, y=32.45, z=262.40], EntitySquid['Squid'/20, l='MpServer', x=-76.08, y=35.23, z=154.94], EntitySquid['Squid'/23, l='MpServer', x=-73.00, y=35.03, z=165.36], EntitySquid['Squid'/22, l='MpServer', x=-77.07, y=35.37, z=161.00], EntitySquid['Squid'/25, l='MpServer', x=-73.27, y=35.37, z=161.71], EntitySquid['Squid'/24, l='MpServer', x=-74.60, y=35.04, z=165.71], EntitySquid['Squid'/27, l='MpServer', x=-75.81, y=35.14, z=163.46], EntitySquid['Squid'/26, l='MpServer', x=-76.12, y=35.18, z=165.55], EntitySquid['Squid'/29, l='MpServer', x=-71.53, y=37.01, z=206.55], EntitySquid['Squid'/270, l='MpServer', x=42.17, y=37.13, z=174.87], EntitySquid['Squid'/271, l='MpServer', x=40.76, y=37.02, z=173.75], EntityChicken['Chicken'/31, l='MpServer', x=-77.44, y=62.49, z=206.56], EntitySquid['Squid'/30, l='MpServer', x=-68.38, y=37.00, z=207.47], EntityBat['Bat'/35, l='MpServer', x=-75.59, y=33.10, z=246.78], EntitySquid['Squid'/304, l='MpServer', x=44.20, y=35.00, z=253.20], EntitySquid['Squid'/32, l='MpServer', x=-70.33, y=37.36, z=207.47], EntitySquid['Squid'/33, l='MpServer', x=-71.12, y=37.00, z=208.53], EntitySpider['Spider'/38, l='MpServer', x=-55.80, y=14.08, z=202.28], EntitySkeleton['Skeleton'/39, l='MpServer', x=-56.96, y=13.47, z=201.42], EntityChicken['Chicken'/36, l='MpServer', x=-59.44, y=64.00, z=188.53], EntityZombie['Zombie'/37, l='MpServer', x=-61.69, y=11.00, z=193.69], EntitySkeleton['Skeleton'/42, l='MpServer', x=-56.94, y=12.00, z=197.50], EntityZombie['Zombie'/43, l='MpServer', x=-58.50, y=12.00, z=198.41], EntitySkeleton['Skeleton'/40, l='MpServer', x=-60.72, y=11.00, z=192.88], EntitySkeleton['Skeleton'/41, l='MpServer', x=-61.63, y=13.00, z=197.91], EntityZombie['Zombie'/46, l='MpServer', x=-49.56, y=16.00, z=201.72], EntityZombie['Zombie'/47, l='MpServer', x=-48.53, y=28.00, z=217.03], EntityZombie['Zombie'/44, l='MpServer', x=-48.59, y=30.00, z=203.66], EntitySkeleton['Skeleton'/45, l='MpServer', x=-50.31, y=16.00, z=202.72], EntitySquid['Squid'/51, l='MpServer', x=-53.20, y=36.09, z=242.95], EntitySquid['Squid'/288, l='MpServer', x=37.74, y=37.27, z=183.57], EntitySkeleton['Skeleton'/50, l='MpServer', x=-61.66, y=16.00, z=240.06], EntitySquid['Squid'/289, l='MpServer', x=47.53, y=37.25, z=188.53], EntitySquid['Squid'/49, l='MpServer', x=-50.36, y=36.34, z=236.71], EntitySquid['Squid'/290, l='MpServer', x=44.30, y=37.00, z=175.49], EntityZombie['Zombie'/48, l='MpServer', x=-50.09, y=16.00, z=208.09], EntitySquid['Squid'/291, l='MpServer', x=38.81, y=37.06, z=177.48], EntitySquid['Squid'/292, l='MpServer', x=37.70, y=37.35, z=175.40], EntitySquid['Squid'/293, l='MpServer', x=40.42, y=37.22, z=176.50], EntitySquid['Squid'/53, l='MpServer', x=-50.59, y=36.19, z=253.32], EntityCreeper['Creeper'/294, l='MpServer', x=35.44, y=18.00, z=193.03], EntitySquid['Squid'/52, l='MpServer', x=-56.49, y=36.00, z=240.87], EntitySquid['Squid'/295, l='MpServer', x=44.53, y=37.27, z=193.88], EntitySkeleton['Skeleton'/59, l='MpServer', x=-35.50, y=21.00, z=138.50], EntitySkeleton['Skeleton'/296, l='MpServer', x=41.30, y=11.15, z=214.47], EntitySkeleton['Skeleton'/58, l='MpServer', x=-34.91, y=22.00, z=134.31], EntitySkeleton['Skeleton'/297, l='MpServer', x=33.11, y=13.00, z=213.90], EntityZombie['Zombie'/298, l='MpServer', x=38.13, y=12.00, z=221.38], EntityEnderman['Enderman'/299, l='MpServer', x=37.47, y=16.00, z=233.09], EntitySquid['Squid'/300, l='MpServer', x=45.11, y=34.17, z=252.47], EntitySkeleton['Skeleton'/63, l='MpServer', x=-41.16, y=20.00, z=169.47], EntitySquid['Squid'/301, l='MpServer', x=40.75, y=34.34, z=247.66], EntityCreeper['Creeper'/62, l='MpServer', x=-40.69, y=19.00, z=165.31], EntityZombie['Zombie'/61, l='MpServer', x=-35.69, y=22.00, z=135.41], EntitySquid['Squid'/302, l='MpServer', x=39.31, y=34.00, z=248.24], EntitySkeleton['Skeleton'/60, l='MpServer', x=-36.44, y=22.00, z=136.16], EntitySquid['Squid'/303, l='MpServer', x=39.57, y=34.48, z=246.43], EntitySquid['Squid'/68, l='MpServer', x=-39.43, y=36.00, z=175.22], EntitySquid['Squid'/69, l='MpServer', x=-35.85, y=36.14, z=174.67], EntitySquid['Squid'/70, l='MpServer', x=-43.10, y=36.34, z=175.73], EntitySquid['Squid'/71, l='MpServer', x=-38.59, y=36.00, z=174.22], EntitySquid['Squid'/64, l='MpServer', x=-37.06, y=36.02, z=174.80], EntitySquid['Squid'/65, l='MpServer', x=-38.92, y=37.00, z=171.54], EntitySquid['Squid'/66, l='MpServer', x=-40.46, y=36.22, z=174.86], EntitySquid['Squid'/67, l='MpServer', x=-39.10, y=36.00, z=173.90], EntitySquid['Squid'/76, l='MpServer', x=-34.93, y=36.17, z=176.50], EntitySquid['Squid'/77, l='MpServer', x=-35.50, y=36.19, z=178.53], EntitySquid['Squid'/78, l='MpServer', x=-44.45, y=36.27, z=176.50], EntitySquid['Squid'/79, l='MpServer', x=-39.43, y=36.43, z=176.53], EntitySquid['Squid'/72, l='MpServer', x=-36.97, y=36.16, z=175.48], EntityZombie['Zombie'/73, l='MpServer', x=-38.59, y=22.00, z=182.00], EntityClientPlayerMP['lozmastermind'/343, l='MpServer', x=-13.70, y=70.62, z=201.35], EntitySquid['Squid'/74, l='MpServer', x=-45.53, y=36.11, z=176.53], EntitySquid['Squid'/75, l='MpServer', x=-42.29, y=36.47, z=176.53], EntityBat['Bat'/85, l='MpServer', x=-34.25, y=24.10, z=199.75], EntitySkeleton['Skeleton'/327, l='MpServer', x=50.56, y=22.00, z=248.94], EntitySquid['Squid'/84, l='MpServer', x=-40.90, y=36.00, z=176.03], EntityZombie['Zombie'/87, l='MpServer', x=-41.75, y=16.00, z=204.56], EntitySkeleton['Skeleton'/86, l='MpServer', x=-39.31, y=16.00, z=202.66], EntityEnderman['Enderman'/322, l='MpServer', x=64.00, y=12.00, z=203.69], EntitySquid['Squid'/81, l='MpServer', x=-38.18, y=36.33, z=175.78], EntitySquid['Squid'/323, l='MpServer', x=49.19, y=38.00, z=197.54], EntitySquid['Squid'/80, l='MpServer', x=-36.29, y=36.31, z=176.65], EntitySquid['Squid'/83, l='MpServer', x=-35.47, y=36.00, z=177.99], EntitySquid['Squid'/82, l='MpServer', x=-38.47, y=36.09, z=176.53], EntityCreeper['Creeper'/93, l='MpServer', x=-47.50, y=19.00, z=236.63], EntityZombie['Zombie'/92, l='MpServer', x=-38.38, y=31.00, z=213.03], EntitySquid['Squid'/95, l='MpServer', x=-35.00, y=36.40, z=226.51], EntitySquid['Squid'/94, l='MpServer', x=-42.47, y=36.02, z=225.16], EntitySkeleton['Skeleton'/89, l='MpServer', x=-37.09, y=17.00, z=196.44], EntityZombie['Zombie'/88, l='MpServer', x=-40.16, y=16.00, z=202.63], EntitySkeleton['Skeleton'/91, l='MpServer', x=-44.88, y=16.00, z=209.38], EntitySkeleton['Skeleton'/90, l='MpServer', x=-44.91, y=16.00, z=207.97], EntitySquid['Squid'/102, l='MpServer', x=-39.29, y=35.15, z=261.46], EntitySquid['Squid'/103, l='MpServer', x=-33.49, y=35.00, z=258.47], EntitySquid['Squid'/100, l='MpServer', x=-38.71, y=36.00, z=250.12], EntitySquid['Squid'/101, l='MpServer', x=-40.31, y=35.24, z=259.56], EntitySquid['Squid'/98, l='MpServer', x=-37.53, y=36.00, z=225.31], EntitySquid['Squid'/99, l='MpServer', x=-32.08, y=36.00, z=249.47], EntitySquid['Squid'/96, l='MpServer', x=-32.40, y=36.11, z=227.43], EntitySquid['Squid'/97, l='MpServer', x=-32.79, y=36.00, z=229.53], EntitySquid['Squid'/110, l='MpServer', x=-17.48, y=35.16, z=141.01], EntitySquid['Squid'/111, l='MpServer', x=-16.89, y=35.00, z=144.26], EntitySquid['Squid'/109, l='MpServer', x=-21.52, y=35.22, z=142.91], EntitySquid['Squid'/104, l='MpServer', x=-34.45, y=35.38, z=260.07], EntitySkeleton['Skeleton'/119, l='MpServer', x=-28.50, y=30.00, z=207.25], EntityBat['Bat'/118, l='MpServer', x=-25.75, y=24.10, z=197.66], EntityBat['Bat'/117, l='MpServer', x=-31.25, y=24.10, z=186.75], EntityBat['Bat'/116, l='MpServer', x=-17.31, y=13.10, z=183.75], EntityChicken['Chicken'/115, l='MpServer', x=-28.44, y=62.47, z=168.34], EntitySquid['Squid'/114, l='MpServer', x=-27.79, y=37.00, z=153.45], EntitySquid['Squid'/113, l='MpServer', x=-18.83, y=35.02, z=151.98], EntityCreeper['Creeper'/112, l='MpServer', x=-22.59, y=21.00, z=156.03], EntitySquid['Squid'/127, l='MpServer', x=-16.07, y=35.32, z=243.64], EntitySquid['Squid'/126, l='MpServer', x=-27.88, y=36.23, z=228.82], EntityZombie['Zombie'/125, l='MpServer', x=-16.69, y=27.00, z=228.50], EntitySpider['Spider'/124, l='MpServer', x=-24.28, y=28.05, z=228.28], EntitySquid['Squid'/123, l='MpServer', x=-31.96, y=36.00, z=222.09], EntityChicken['Chicken'/122, l='MpServer', x=-29.59, y=62.45, z=194.81], EntitySkeleton['Skeleton'/121, l='MpServer', x=-16.88, y=27.00, z=206.50], EntitySkeleton['Skeleton'/120, l='MpServer', x=-31.91, y=20.00, z=194.50], EntitySquid['Squid'/131, l='MpServer', x=-20.49, y=35.15, z=256.65], EntitySquid['Squid'/130, l='MpServer', x=-24.62, y=35.47, z=264.93], EntityChicken['Chicken'/152, l='MpServer', x=-1.09, y=62.46, z=131.44], EntityBat['Bat'/153, l='MpServer', x=-10.56, y=15.10, z=144.25], EntitySquid['Squid'/154, l='MpServer', x=-13.45, y=35.14, z=145.79], EntitySquid['Squid'/156, l='MpServer', x=-15.04, y=35.47, z=144.51], EntityChicken['Chicken'/157, l='MpServer', x=-11.56, y=62.51, z=149.53], EntitySlime['Slime'/158, l='MpServer', x=-7.63, y=24.47, z=194.63], EntityEnderman['Enderman'/159, l='MpServer', x=-9.70, y=22.00, z=200.56], EntityBat['Bat'/144, l='MpServer', x=-9.22, y=15.10, z=143.75], EntitySquid['Squid'/146, l='MpServer', x=-11.91, y=35.40, z=141.25], EntitySquid['Squid'/147, l='MpServer', x=-9.02, y=35.00, z=145.03], EntitySquid['Squid'/151, l='MpServer', x=-16.13, y=35.40, z=139.22], EntitySkeleton['Skeleton'/169, l='MpServer', x=-4.91, y=17.00, z=268.41], EntitySquid['Squid'/168, l='MpServer', x=-15.82, y=35.34, z=252.02], EntityCreeper['Creeper'/163, l='MpServer', x=-1.56, y=45.00, z=216.34], EntitySkeleton['Skeleton'/162, l='MpServer', x=-7.06, y=28.00, z=209.53], EntityBat['Bat'/161, l='MpServer', x=-0.28, y=30.10, z=210.25], EntitySpider['Spider'/160, l='MpServer', x=-0.93, y=45.05, z=205.30], EntitySquid['Squid'/167, l='MpServer', x=-4.49, y=34.26, z=251.14], EntitySpider['Spider'/166, l='MpServer', x=-15.28, y=28.15, z=228.46], EntitySkeleton['Skeleton'/165, l='MpServer', x=-6.75, y=30.00, z=233.03], EntityCreeper['Creeper'/164, l='MpServer', x=-8.13, y=30.00, z=234.13], EntitySkeleton['Skeleton'/205, l='MpServer', x=15.50, y=17.00, z=155.88], EntityWitch['Witch'/207, l='MpServer', x=1.88, y=30.00, z=189.47], EntitySquid['Squid'/206, l='MpServer', x=8.47, y=35.00, z=144.53], EntitySquid['Squid'/201, l='MpServer', x=13.99, y=34.00, z=140.69], EntitySquid['Squid'/200, l='MpServer', x=10.75, y=34.40, z=141.53], EntitySquid['Squid'/196, l='MpServer', x=11.51, y=34.37, z=138.37], EntitySquid['Squid'/199, l='MpServer', x=13.50, y=34.36, z=141.97], EntitySquid['Squid'/193, l='MpServer', x=11.49, y=34.34, z=142.44], EntitySquid['Squid'/195, l='MpServer', x=12.55, y=34.00, z=143.53], EntitySquid['Squid'/194, l='MpServer', x=14.56, y=34.00, z=141.81], EntitySquid['Squid'/216, l='MpServer', x=13.52, y=32.11, z=260.32], EntitySquid['Squid'/217, l='MpServer', x=14.33, y=32.35, z=259.46], EntityZombie['Zombie'/212, l='MpServer', x=6.53, y=47.00, z=225.03], EntityItem['item.item.dyePowder.black'/213, l='MpServer', x=6.31, y=33.13, z=247.38], EntitySquid['Squid'/214, l='MpServer', x=10.49, y=33.00, z=250.07], EntitySquid['Squid'/215, l='MpServer', x=14.00, y=32.00, z=262.10], EntityChicken['Chicken'/208, l='MpServer', x=8.38, y=11.96, z=201.84], EntityCreeper['Creeper'/209, l='MpServer', x=3.88, y=31.00, z=199.50], EntityZombie['Zombie'/210, l='MpServer', x=4.69, y=28.00, z=222.00], EntitySkeleton['Skeleton'/211, l='MpServer', x=1.30, y=29.17, z=233.30], EntitySquid['Squid'/239, l='MpServer', x=22.94, y=35.38, z=142.50], EntitySquid['Squid'/235, l='MpServer', x=16.52, y=35.00, z=143.57], EntityEnderman['Enderman'/234, l='MpServer', x=30.31, y=23.00, z=131.97], EntityZombie['Zombie'/233, l='MpServer', x=31.94, y=24.00, z=128.53], EntitySquid['Squid'/254, l='MpServer', x=17.53, y=32.29, z=252.30], EntitySquid['Squid'/255, l='MpServer', x=16.30, y=32.00, z=260.34], EntitySquid['Squid'/252, l='MpServer', x=17.53, y=32.29, z=251.58], EntitySquid['Squid'/253, l='MpServer', x=17.30, y=32.00, z=249.35], EntitySquid['Squid'/250, l='MpServer', x=19.24, y=32.00, z=249.53], EntitySquid['Squid'/251, l='MpServer', x=18.65, y=32.00, z=247.95], EntityZombie['Zombie'/248, l='MpServer', x=18.25, y=28.00, z=237.47], EntitySquid['Squid'/249, l='MpServer', x=18.49, y=32.00, z=248.33], EntitySkeleton['Skeleton'/246, l='MpServer', x=23.09, y=28.00, z=235.47], EntitySkeleton['Skeleton'/247, l='MpServer', x=25.94, y=17.00, z=226.50], EntitySquid['Squid'/244, l='MpServer', x=28.64, y=39.00, z=208.29], EntityZombie['Zombie'/245, l='MpServer', x=17.00, y=22.00, z=219.38], EntitySquid['Squid'/242, l='MpServer', x=27.77, y=37.11, z=184.47], EntitySquid['Squid'/243, l='MpServer', x=30.42, y=37.00, z=182.25], EntitySquid['Squid'/240, l='MpServer', x=16.53, y=34.21, z=144.53], EntityChicken['Chicken'/241, l='MpServer', x=21.97, y=62.40, z=144.53]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2556) at net.minecraft.client.Minecraft.run(Minecraft.java:972) 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 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 GradleStart.bounce(GradleStart.java:107) at GradleStart.startClient(GradleStart.java:100) at GradleStart.main(GradleStart.java:65) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_72, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 329501384 bytes (314 MB) / 621805568 bytes (593 MB) up to 1903165440 bytes (1815 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: 12, tallocated: 94 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->Post-initialized->Available->Available->Available->Available FML{7.10.85.1230} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.13.2.1230} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available mythosnega{1.0.0} [Mythos] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: ATI Radeon HD 5450 GL version 4.2.12217 Compatibility Profile Context 12.104.0.0, ATI Technologies Inc. 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)
  13. Hi, so I'm making a custom model for an item. But when I launch the game, I merely get the black and purple error texture on a flat square. I think it may be something wrong with my proxies. I am rather new to coding so please forgive me of any stupid mistakes. Main.class package io.github.mrnegablox.mythos; import net.minecraft.client.Minecraft; import net.minecraftforge.common.MinecraftForge; 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.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import io.github.mrnegablox.mythos.gui.GuiBook; import io.github.mrnegablox.mythos.gui.GuiHandler; import io.github.mrnegablox.mythos.items.ModItems; import io.github.mrnegablox.mythos.omnomicon.CatagoriesBase; @Mod(modid = Main.MODID, name = Main.MODNAME, version = Main.VERSION) public class Main { //public CatagoriesBase bc = CatagoriesBase.Instance; public static final String MODID = "mythosnega"; public static final String MODNAME = "Mythos"; public static final String VERSION = "1.0.0"; @Instance public static Main instance = new Main(); @SidedProxy(clientSide="io.github.mrnegablox.mythos.ClientProxy", serverSide="io.github.mrnegablox.mythos.ServerProxy") public static CommonProxy proxy; /** * Run before anything else. Read your config, create blocks, items, etc, and * register them with the GameRegistry. */ @EventHandler public void preInit(FMLPreInitializationEvent e) { ModItems.init(); } /** * Do your mod setup. Build whatever data structures you care about. Register recipes. */ @EventHandler public void init(FMLInitializationEvent e) { proxy.registerRenderers(); //bc.RegisterCatagories(); } /** * Handle interaction with other mods, complete your setup based on this. */ @EventHandler public void postInit(FMLPostInitializationEvent e) { NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandler()); } } Common Proxy package io.github.mrnegablox.mythos; import io.github.mrnegablox.mythos.items.ItemOmnomicon; import io.github.mrnegablox.mythos.items.ItemSoulJar; import io.github.mrnegablox.mythos.render.RenderSoulJar; import net.minecraftforge.client.IItemRenderer; import net.minecraftforge.client.MinecraftForgeClient; public class CommonProxy { private ItemSoulJar isj; public void registerRenderers(){ MinecraftForgeClient.registerItemRenderer(isj, (IItemRenderer)new RenderSoulJar()); } } Client Proxy package io.github.mrnegablox.mythos; import io.github.mrnegablox.mythos.items.ItemOmnomicon; import io.github.mrnegablox.mythos.items.ItemSoulJar; import io.github.mrnegablox.mythos.render.RenderSoulJar; import net.minecraftforge.client.IItemRenderer; import net.minecraftforge.client.MinecraftForgeClient; import cpw.mods.fml.client.registry.ClientRegistry; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; public class ClientProxy extends CommonProxy { private ItemSoulJar isj; public ClientProxy(){ isj = new ItemSoulJar(); } @Override public void registerRenderers(){ MinecraftForgeClient.registerItemRenderer(isj, (IItemRenderer)new RenderSoulJar()); } } Item package io.github.mrnegablox.mythos.items; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import io.github.mrnegablox.mythos.Main; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.IIcon; public class ItemSoulJar extends Item { public ItemSoulJar() { } @Override @SideOnly(Side.CLIENT) public void registerIcons(IIconRegister iconRegister) { itemIcon = iconRegister.registerIcon(Main.MODID + ":textures/model/ModelSoulJar.png"); } } ModItems package io.github.mrnegablox.mythos.items; import io.github.mrnegablox.mythos.Main; import cpw.mods.fml.common.registry.GameRegistry; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class ModItems { public static Item ItemOmnomicon; public static Item ItemSoulJar; public static void init(){ ItemOmnomicon = new ItemOmnomicon().setFull3D().setUnlocalizedName("mythosomnomicon").setCreativeTab(CreativeTabs.tabMisc).setTextureName(Main.MODID + ":mythosomnomicon"); ItemSoulJar = new ItemSoulJar().setFull3D().setCreativeTab(CreativeTabs.tabMisc).setUnlocalizedName("mythossouljar").setTextureName(Main.MODID + ":mythosOmnomicon"); RegisterItems(); } private static void RegisterItems() { GameRegistry.registerItem(ItemOmnomicon, "mythosonomicon"); GameRegistry.registerItem(ItemSoulJar, "mythossouljar"); } } Renderer package io.github.mrnegablox.mythos.render; import io.github.mrnegablox.mythos.Main; import org.lwjgl.opengl.GL11; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.entity.RenderItem; import net.minecraft.entity.Entity; import net.minecraft.item.ItemStack; import net.minecraft.util.ResourceLocation; import net.minecraftforge.client.IItemRenderer; public class RenderSoulJar implements IItemRenderer{ protected ModelSoulJar souljarmodel; private static RenderItem renderItem = new RenderItem(); public RenderSoulJar(){ souljarmodel = new ModelSoulJar(); } @Override public boolean handleRenderType(ItemStack item, ItemRenderType type) { // TODO Auto-generated method stub switch(type) { case EQUIPPED: return true; default: return false; } } @Override public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { return false; } @Override public void renderItem(ItemRenderType type, ItemStack item, Object... data) { System.out.println("render!"); switch(type) { case EQUIPPED: { GL11.glPushMatrix(); Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(Main.MODID, "textures/model/ModelSoulJar.png")); souljarmodel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); GL11.glPopMatrix(); } default: break; } } } model // Date: 12/13/2014 7:48:41 AM // Template version 1.1 // Java generated by Techne // Keep in mind that you still need to fill in some blanks // - ZeuX package io.github.mrnegablox.mythos.render; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class ModelSoulJar extends ModelBase { //fields public ModelRenderer Top; public ModelRenderer Side_3; public ModelRenderer Side_1; public ModelRenderer Side_2; public ModelRenderer Side_4; public ModelRenderer Base; public ModelRenderer Cap; public ModelRenderer Shape1; public ModelSoulJar() { textureWidth = 64; textureHeight = 32; Top = new ModelRenderer(this, 0, 0); Top.addBox(0F, 0F, 0F, 9, 1, 9); Top.setRotationPoint(-1F, -11F, -1F); Top.setTextureSize(64, 32); Top.mirror = true; setRotation(Top, 0F, 0F, 0F); Side_3 = new ModelRenderer(this, 36, 0); Side_3.addBox(0F, 0F, 0F, 7, 10, 0); Side_3.setRotationPoint(0F, -10F, 0F); Side_3.setTextureSize(64, 32); Side_3.mirror = true; setRotation(Side_3, 0F, 0F, 0F); Side_1 = new ModelRenderer(this, 36, 0); Side_1.addBox(0F, 0F, 0F, 7, 10, 0); Side_1.setRotationPoint(0F, -10F, 7F); Side_1.setTextureSize(64, 32); Side_1.mirror = true; setRotation(Side_1, 0F, 0F, 0F); Side_2 = new ModelRenderer(this, 36, -7); Side_2.addBox(0F, 0F, 0F, 0, 10, 7); Side_2.setRotationPoint(0F, -10F, 0F); Side_2.setTextureSize(64, 32); Side_2.mirror = true; setRotation(Side_2, 0F, 0F, 0F); Side_4 = new ModelRenderer(this, 36, -7); Side_4.addBox(0F, 0F, 0F, 0, 10, 7); Side_4.setRotationPoint(7F, -10F, 0F); Side_4.setTextureSize(64, 32); Side_4.mirror = true; setRotation(Side_4, 0F, 0F, 0F); Base = new ModelRenderer(this, 0, 0); Base.addBox(0F, 0F, 0F, 9, 1, 9); Base.setRotationPoint(-1F, 0F, -1F); Base.setTextureSize(64, 32); Base.mirror = true; setRotation(Base, 0F, 0F, 0F); Cap = new ModelRenderer(this, 0, 10); Cap.addBox(0F, 0F, 0F, 5, 1, 5); Cap.setRotationPoint(1F, -12F, 1F); Cap.setTextureSize(64, 32); Cap.mirror = true; setRotation(Cap, 0F, 0F, 0F); Shape1 = new ModelRenderer(this, 20, 10); Shape1.addBox(0F, 0F, 0F, 5, 8, 5); Shape1.setRotationPoint(1F, -9F, 1F); Shape1.setTextureSize(64, 32); Shape1.mirror = true; setRotation(Shape1, 0F, 0F, 0F); } public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { super.render(entity, f, f1, f2, f3, f4, f5); setRotationAngles(f, f1, f2, f3, f4, f5, entity); Top.render(f5); Side_3.render(f5); Side_1.render(f5); Side_2.render(f5); Side_4.render(f5); Base.render(f5); Cap.render(f5); } private void setRotation(ModelRenderer model, float x, float y, float z) { model.rotateAngleX = x; model.rotateAngleY = y; model.rotateAngleZ = z; } public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity ent) { super.setRotationAngles(f, f1, f2, f3, f4, f5, ent); } } Thank you in advance
  14. Main: package io.github.mrnegablox.conquestcore; import io.github.mrnegablox.conquestcore.blocks.ModBlocks; 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.registry.GameRegistry; @Mod(modid = Main.MODID, name = Main.MODNAME, version = Main.VERSION) public class Main { public static final String MODID = "conquestnega"; public static final String MODNAME = "Reign and Dominate"; public static final String VERSION = "1.0.0"; @Instance public static Main instance = new Main(); @SidedProxy(clientSide="io.github.mrnegablox.conquestcore.ClientProxy", serverSide="io.github.mrnegablox.conquestcore.ServerProxy") public static CommonProxy proxy; /** * Run before anything else. Read your config, create blocks, items, etc, and * register them with the GameRegistry. */ @EventHandler public void preInit(FMLPreInitializationEvent e) { ModBlocks.init(); } /** * Do your mod setup. Build whatever data structures you care about. Register recipes. */ @EventHandler public void init(FMLInitializationEvent e) { io.github.mrnegablox.conquestcore.CommonProxy.registerRenderThings(); GameRegistry.registerTileEntity(io.github.mrnegablox.conquestcore.tile.BannerTile.class, "tileEntityBanner"); } /** * Handle interaction with other mods, complete your setup based on this. */ @EventHandler public void postInit(FMLPostInitializationEvent e) { } } Common Proxy: package io.github.mrnegablox.conquestcore; import io.github.mrnegablox.conquestcore.render.BannerRender; import cpw.mods.fml.client.registry.ClientRegistry; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; public class CommonProxy { public static void registerRenderThings(){ ClientRegistry.bindTileEntitySpecialRenderer(io.github.mrnegablox.conquestcore.tile.BannerTile.class, new BannerRender()); } public void preInit(FMLPreInitializationEvent e) { } public void init(FMLInitializationEvent e) { } public void postInit(FMLPostInitializationEvent e) { } } Client Proxy: package io.github.mrnegablox.conquestcore; import io.github.mrnegablox.conquestcore.render.BannerRender; import cpw.mods.fml.client.registry.ClientRegistry; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; public class ClientProxy extends CommonProxy { @Override public void preInit(FMLPreInitializationEvent e) { super.preInit(e); } public static void registerRenderThings() { ClientRegistry.bindTileEntitySpecialRenderer(io.github.mrnegablox.conquestcore.tile.BannerTile.class, new BannerRender()); } @Override public void init(FMLInitializationEvent e) { super.init(e); } @Override public void postInit(FMLPostInitializationEvent e) { super.postInit(e); } } Block: package io.github.mrnegablox.conquestcore.blocks; import io.github.mrnegablox.conquestcore.Main; import io.github.mrnegablox.conquestcore.tile.BannerTile; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.tileentity.TileEntity; import net.minecraft.world.World; public class ConquestBanner extends Block{ public String ItemName = "Banner"; protected ConquestBanner(Material p_i45394_1_) { super(Material.carpet); this.setBlockName(ItemName); this.setCreativeTab(CreativeTabs.tabMisc); this.setBlockTextureName(Main.MODID + ":tutorialBlock"); } public TileEntity createTileEntity(World world, int metadata) { return new BannerTile(); } //You don't want the normal render type, or it wont render properly. @Override public int getRenderType() { return -1; } //It's not an opaque cube, so you need this. @Override public boolean isOpaqueCube() { return false; } //It's not a normal block, so you need this too. public boolean renderAsNormalBlock() { return false; } } RenderClass: package io.github.mrnegablox.conquestcore.render; import org.lwjgl.opengl.GL11; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.texture.TextureManager; import net.minecraft.client.renderer.texture.TextureMap; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.ResourceLocation; public class BannerRender extends TileEntitySpecialRenderer{ TextureManager render = Minecraft.getMinecraft().renderEngine; ResourceLocation texture; public BannerRender(){ texture = new ResourceLocation("conquestnega", "tutorialBlock"); } @Override public void renderTileEntityAt(TileEntity tile, double x, double y, double z, float scale) { System.out.print("Renderout"); Minecraft.getMinecraft().renderEngine.bindTexture(texture); Tessellator tessellator = Tessellator.instance; GL11.glPushMatrix(); GL11.glTranslated(x, y, z); // +1 so that our "drawing" appears 1 block over our block (to get a better view) tessellator.startDrawingQuads(); tessellator.addVertexWithUV(0, 0, 0, 0, 0); tessellator.addVertexWithUV(0, 1, 0, 0, 1); tessellator.addVertexWithUV(1, 1, 0, 1, 1); tessellator.addVertexWithUV(1, 0, 0, 1, 0); tessellator.addVertexWithUV(0, 0, 0, 0, 0); tessellator.addVertexWithUV(1, 0, 0, 1, 0); tessellator.addVertexWithUV(1, 1, 0, 1, 1); tessellator.addVertexWithUV(0, 1, 0, 0, 1); tessellator.draw(); GL11.glPopMatrix(); } } Tile: package io.github.mrnegablox.conquestcore.tile; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.tileentity.TileEntity; public class BannerTile extends TileEntity{ //public String OwnerName; /**public void writetoNBT(NBTTagCompound par1){ super.writeToNBT(par1); par1.setString("OwnerName", OwnerName); } public void readfromNBT(NBTTagCompound par1) { super.readFromNBT(par1); this.OwnerName = par1.getString("OwnerName"); } **/ }
  15. No! I changed my code, I have the method being called, its still not working
×
×
  • Create New...

Important Information

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