I've posted the problem on Crayfish's forum but who knows. He's also busy with University. Anyway I think I narrowed down all my problems so far to just mismatched names for items to their corresponding blocks. I don't know what your code does to decide what the proper item is for the corresponding block in the schematic but for Crayfish's wooden chair it can't seem to make the connection. It works fine for the wooden table, just not the chair.
Is there a way to view the code of minecraft plugins? If I could see what was going on I could report the problems to the respecting mod authors easier. I could see what he calls his wooden chair item/block and how your mod identifies the correspondence and then let MrCrayfish know that his IDs do not match up.
If anyone on here knows of a program, or whatever is required, to view the code of a Minecraft plugin? And by plugin I mean mod.
I can confirm that if the clone wants to place a torch and they have coal and a stick in their inventory, they will craft a torch by themselves. What they won't do is grab the stick and coal from a chest and then craft a torch. The stick and coal must be placed in their inventory by the user.
Woops! Ran into this crash when using the search bar to search for blocks to break.
---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.
Time: 7/26/15 12:12 AM
Description: Updating screen events
java.lang.ArrayIndexOutOfBoundsException: 5
at thermalexpansion.block.tank.ItemBlockTank.func_77667_c(ItemBlockTank.java:31)
at cofh.core.item.ItemBlockBase.func_77653_i(ItemBlockBase.java:25)
at net.minecraft.item.ItemStack.func_82833_r(ItemStack.java:427)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.getTransName(GuiScrollableBlocks.java:70)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.updateViewable(GuiScrollableBlocks.java:50)
at net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak.func_73869_a(GuiChooseBlocksToBreak.java:64)
at net.minecraft.client.gui.GuiScreen.func_146282_l(GuiScreen.java:319)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:276)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1628)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:961)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
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)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at thermalexpansion.block.tank.ItemBlockTank.func_77667_c(ItemBlockTank.java:31)
at cofh.core.item.ItemBlockBase.func_77653_i(ItemBlockBase.java:25)
at net.minecraft.item.ItemStack.func_82833_r(ItemStack.java:427)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.getTransName(GuiScrollableBlocks.java:70)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.updateViewable(GuiScrollableBlocks.java:50)
at net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak.func_73869_a(GuiChooseBlocksToBreak.java:64)
at net.minecraft.client.gui.GuiScreen.func_146282_l(GuiScreen.java:319)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:276)
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)
And this one, when scrolling too far down the list on blocks to break
---- Minecraft Crash Report ----
// Shall we play a game?
Time: 7/26/15 12:18 AM
Description: Rendering item
java.lang.NullPointerException: Rendering item
at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:217)
at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:402)
at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:565)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderItem(GuiScrollableBlocks.java:166)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderBlock(GuiScrollableBlocks.java:154)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderEntry(GuiScrollableBlocks.java:143)
at net.jamezo97.clonecraft.gui.GuiScrollable.doScrollDraw(GuiScrollable.java:421)
at net.jamezo97.clonecraft.gui.GuiScrollable.draw(GuiScrollable.java:297)
at net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak.func_73863_a(GuiChooseBlocksToBreak.java:44)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1358)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:989)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
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)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:217)
at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:402)
-- Item being rendered --
Details:
Item Type: null
Item Aux: ~~ERROR~~ NullPointerException: null
Item NBT: null
Item Foil: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:565)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderItem(GuiScrollableBlocks.java:166)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderBlock(GuiScrollableBlocks.java:154)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderEntry(GuiScrollableBlocks.java:143)
at net.jamezo97.clonecraft.gui.GuiScrollable.doScrollDraw(GuiScrollable.java:421)
at net.jamezo97.clonecraft.gui.GuiScrollable.draw(GuiScrollable.java:297)
at net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak.func_73863_a(GuiChooseBlocksToBreak.java:44)
Wait... If clones can farm, does that mean that clones can break blocks now? Woah!
Rollback Post to RevisionRollBack
Goodbye, Minecraft forums. If any of ya'll future people persons need to contact me for whatever dumb reason, my discord is EnderDude124#8340 as of 6/8/2019. Send me a message, I like a good chat.
Awesome, thank you everyone for the bugs
I've hopefully fixed them.
The carpenters blocks mod assumed, that because the world was a server world, the EntityPlayer class passed to it is of the type EntityPlayerMP.
However, it's not. I made an interface class, which masks the EntityClone class, so I can pretend that the clone is a player when I need to, However that's the super class, EntityPlayer, and EntityPlayerMP is a subclass of EntityPlayer, and can't be cast to unless if it is actually of that type.
So basically, I just told the game to ignore those errors, and print out / do the default action for that block.
THank you so much for all your bug reports. This is fantastic!
They should all be fixed now... Should being the operative word there.
One of them was because the server side was missing a method. So I just implemented it on both sides Server and Client, and that should fix that issue.
Another issue was the block renderer. Because I'm sort of 'hacking' into the minecraft code, and getting it to do things that it's not made to do, sometimes certain methods crash, just because they do, because they're not designed for what I'm making them do.
So basically I now catch the exceptions. They're not fatal errors, just missing block renders, or item names.
So if you can't find a block, or a block is missing an icon in the 'Blocks to Break' menu, then don't fret. It's just that block having a bad day, that's all.
There was another issue, where another mod assumes that because the World object is on the server side, the EntityPlayer object passed to it must be an instance of EntityPlayerMP. However, because my Clones don't differentiate between server and client (and creating a fake EntityPlayerMP is difficult, and required NetClientHandlers and whatnot) I just used the Super class EntityPlayer. Which then caused this issue, because once again I'm doing something that Minecraft isn't used to. Breaking the limits of programming here guys.
So yes, version 3.0.13 Beta is out, let me know how it all goes. Hopefully it doesn't crash. Any bug: you know the drill. Go github me up and I'll see what I can do (see the main post in the FAQ's section to see how to report bugs)
java.lang.NullPointerException: Ticking memory connection
at net.minecraft.world.World.func_72956_a(World.java:1258)
at net.jamezo97.clonecraft.item.ItemSpawnEgg.func_77648_a(ItemSpawnEgg.java:164)
at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:505)
at net.minecraft.item.ItemStack.func_77943_a(ItemStack.java:128)
at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:389)
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:556)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.world.World.func_72956_a(World.java:1258)
at net.jamezo97.clonecraft.item.ItemSpawnEgg.func_77648_a(ItemSpawnEgg.java:164)
at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:505)
at net.minecraft.item.ItemStack.func_77943_a(ItemStack.java:128)
at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:389)
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:556)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
-- Ticking connection --
Details:
Connection: net.minecraft.network.NetworkManager@1f31be9
Stacktrace:
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows NT (unknown) (x86) version 6.2
Java Version: 1.7.0-ea, Sun Microsystems Inc.
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
Memory: 271307008 bytes (258 MB) / 523501568 bytes (499 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
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.99.99 Minecraft Forge 10.13.4.1448 4 mods loaded, 4 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1448-1.7.10.jar)
UCHIJAAAA Forge{10.13.4.1448} [Minecraft Forge] (forge-1.7.10-10.13.4.1448-1.7.10.jar)
UCHIJAAAA clonecraft{3.0} [CloneCraft] (CloneCraft-vB3.0.13.-.MC1.7.10.jar)
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['Awesomeguy20000'/381, l='World o fun', x=200.17, y=72.52, z=555.01]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
Something cannot render in the blocks to break menu.
---- Minecraft Crash Report ----
// Ooh. Shiny.
Time: 8/5/15 6:09 PM
Description: Rendering item
java.lang.NullPointerException: Rendering item
at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:217)
at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:402)
at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:565)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderItem(GuiScrollableBlocks.java:163)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderBlock(GuiScrollableBlocks.java:151)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderEntry(GuiScrollableBlocks.java:141)
at net.jamezo97.clonecraft.gui.GuiScrollable.doScrollDraw(GuiScrollable.java:421)
at net.jamezo97.clonecraft.gui.GuiScrollable.draw(GuiScrollable.java:297)
at net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak.func_73863_a(GuiChooseBlocksToBreak.java:44)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1358)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:989)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
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)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:217)
at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:402)
-- Item being rendered --
Details:
Item Type: null
Item Aux: ~~ERROR~~ NullPointerException: null
Item NBT: null
Item Foil: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:565)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderItem(GuiScrollableBlocks.java:163)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderBlock(GuiScrollableBlocks.java:151)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderEntry(GuiScrollableBlocks.java:141)
at net.jamezo97.clonecraft.gui.GuiScrollable.doScrollDraw(GuiScrollable.java:421)
at net.jamezo97.clonecraft.gui.GuiScrollable.draw(GuiScrollable.java:297)
at net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak.func_73863_a(GuiChooseBlocksToBreak.java:44)
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)
I believe it is from the universal coins mod but I cannot be sure. The search function works fine though so I'm not all that bothered.
I am having another problem as well. A clone cannot find a certain item. I will post screenshots.
The clone is supposed to place a wooden chair from MrCrayfish's Furniture mod but cannot seem to find it in the chest (it is there). It can place the wooden table just fine but cannot find the chair to place. I contacted MrCrayfish but he believes that it is not a problem from his mod.
I am running into a problem with another mod and yours. CloneCraft has a feature where a clone can build something for you using items in a chest. You save an area and have the clone duplicate the saved area by building it using using items found in a chest.
Bottom line: When my clone attempts to find and place a Crayfish wooden table it works fine. But when my clone attempts to place a wooden chair it cannot find the required item in the chest.
Bottom Bottom line: I think that your item name for your wooden chair somehow does not correspond to your block name for your wooden chair. Or at least does not correspond in the same way as your wooden table's item and block ids.
All furniture in my mod is placed with items. What you have described is a fault by the mod author. The best way to get materials is by getting the pickblock item. Thiss is not a problem with my mod. "
Something cannot render in the blocks to break menu.
---- Minecraft Crash Report ----
// Ooh. Shiny.
Time: 8/5/15 6:09 PM
Description: Rendering item
java.lang.NullPointerException: Rendering item
at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:217)
at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:402)
at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:565)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderItem(GuiScrollableBlocks.java:163)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderBlock(GuiScrollableBlocks.java:151)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderEntry(GuiScrollableBlocks.java:141)
at net.jamezo97.clonecraft.gui.GuiScrollable.doScrollDraw(GuiScrollable.java:421)
at net.jamezo97.clonecraft.gui.GuiScrollable.draw(GuiScrollable.java:297)
at net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak.func_73863_a(GuiChooseBlocksToBreak.java:44)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1358)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:989)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
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)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:217)
at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:402)
-- Item being rendered --
Details:
Item Type: null
Item Aux: ~~ERROR~~ NullPointerException: null
Item NBT: null
Item Foil: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:565)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderItem(GuiScrollableBlocks.java:163)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderBlock(GuiScrollableBlocks.java:151)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderEntry(GuiScrollableBlocks.java:141)
at net.jamezo97.clonecraft.gui.GuiScrollable.doScrollDraw(GuiScrollable.java:421)
at net.jamezo97.clonecraft.gui.GuiScrollable.draw(GuiScrollable.java:297)
at net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak.func_73863_a(GuiChooseBlocksToBreak.java:44)
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)
I believe it is from the universal coins mod but I cannot be sure. The search function works fine though so I'm not all that bothered.
I am having another problem as well. A clone cannot find a certain item. I will post screenshots.
The clone is supposed to place a wooden chair from MrCrayfish's Furniture mod but cannot seem to find it in the chest (it is there). It can place the wooden table just fine but cannot find the chair to place. I contacted MrCrayfish but he believes that it is not a problem from his mod.
Here is his post in regard to my inquiry: "
All furniture in my mod is placed with items. What you have described is a fault by the mod author. The best way to get materials is by getting the pickblock item. Thiss is not a problem with my mod. "
This will be posted on github as well.
Ah yes that is my fault.
It's difficult...
In Minecraft you have your blocks and your items. The items on your hotbar/inventory, are called an ItemStack.
Some Blocks, when put into an ItemStack, are just represented by their block. i.e. Dirt, Stone, Wooden planks, all the simple blocks.
So that's all good, I can determine, "For that stone block, I need the stone ItemBlock". So that works fine.
However, for something like a door or a bed, it's different. You have the Door as a block, and the door as an item, and it's very difficult to figure out "For that Door block, I need the door Item". It sounds simple, but it's not. There's no linkage between the two things. I can’t ask Minecraft “What item do I use to place a ‘BlockDoor’?”. Because it says “I haven’t got a clue mate”.
So I've had to do my usual thing, and create a nasty work around.
At the moment, when CloneCraft is loaded, it creates a fake world, and a fake player. It then goes through every single item in the game, and tries to place the item in every possible direction and location in the fake world using the fake player. So it uses the “ItemDoor” and finds “Hey, when I place an ItemDoor, I get a BlockDoor”. It then remembers this mapping.
So then later on when the clone is building a structure and it comes across a “BlockDoor”, it looks up the block to item registry I’ve created, and says “Hey, when I placed an ItemDoor, I got a Block Door. So I need an ItemDoor to build this”.
This works okay. But obviously not perfectly, because it doesn’t detect that placing the ChairItem results in the ChairBlock. Instead, it asks for the chair block, which is why it has a weird name: you’re not meant to use the block form of it, so it doesn’t have a name localized for your language.
There is another method of grabbing the items associated to blocks. But it doesn’t work all the time.
When in creative mode, you can middle click on a block to select it in your hotbar.
Thing is though, that all happens on the client side. And, for whatever reason, Minecraft decided that this super useful function that would solve all of my problems, is only available on the client. So if I tried to use it on the server side, it crashes the game because the method doesn’t exist.
So the only way I can see this working, is if I somehow got that information from the client and sent it to the server when they connect.
But then you run into security issues. A programmer of medium experience could then abuse this system, connect to a server first, tell the server that diamond blocks are made using dirt blocks, and then go ahead and create diamonds from dirt using the clones.
SOOOOOOOOOOOOO
Yeah. It could be viable……
When you run an integrated server (i.e., just playing single player), then there are no worries. The server and client are integrated, so they share the same methods, and so the server side can use the client function to determine the correct block.
However the issue arises when you start up a dedicated server.
Hmm. The client polling thing could work. It wouldn’t need to know every block. Dirt, stone, diamond blocks etc can be found easily. It’s just the harders ones like doors that need to be sent to the server.
java.lang.NullPointerException: Ticking memory connection
at net.minecraft.world.World.func_72956_a(World.java:1258)
at net.jamezo97.clonecraft.item.ItemSpawnEgg.func_77648_a(ItemSpawnEgg.java:164)
at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:505)
at net.minecraft.item.ItemStack.func_77943_a(ItemStack.java:128)
at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:389)
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:556)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.world.World.func_72956_a(World.java:1258)
at net.jamezo97.clonecraft.item.ItemSpawnEgg.func_77648_a(ItemSpawnEgg.java:164)
at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:505)
at net.minecraft.item.ItemStack.func_77943_a(ItemStack.java:128)
at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:389)
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:556)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
-- Ticking connection --
Details:
Connection: net.minecraft.network.NetworkManager@1f31be9
Stacktrace:
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows NT (unknown) (x86) version 6.2
Java Version: 1.7.0-ea, Sun Microsystems Inc.
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
Memory: 271307008 bytes (258 MB) / 523501568 bytes (499 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
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.99.99 Minecraft Forge 10.13.4.1448 4 mods loaded, 4 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1448-1.7.10.jar)
UCHIJAAAA Forge{10.13.4.1448} [Minecraft Forge] (forge-1.7.10-10.13.4.1448-1.7.10.jar)
UCHIJAAAA clonecraft{3.0} [CloneCraft] (CloneCraft-vB3.0.13.-.MC1.7.10.jar)
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['Awesomeguy20000'/381, l='World o fun', x=200.17, y=72.52, z=555.01]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
how to fix this?
You ask a fantastic question sir.
It seems that for some reason, it couldn't spawn the entity. It then tries to place the spawn sound at the entity, however because it's null, it crashes.
So I think I fixed it. I'll upload the fixed version soonish, once I've implemented something to fix the above bug too.
Hey Jamezo! Tell me, do you want a banner for your mod? I can make one! Also, do you still want help with that house building thing? I know that clones spawning on their own is not going to happen for a while, but I could build some houses and send them to you, so you can have some preset houses for the building clones! (Houses that the clones can build, even if the user hasn't added anything themselves.) Also, the houses might be able to be used in clone villages to. Just saying.
The mod is really evolving! Great work!
Rollback Post to RevisionRollBack
Goodbye, Minecraft forums. If any of ya'll future people persons need to contact me for whatever dumb reason, my discord is EnderDude124#8340 as of 6/8/2019. Send me a message, I like a good chat.
Wow, you are awesome! But don't worry about MrCrayfish's furniture. It was just a stress test. I don't want to give you more work for something that would be an easy fix on my end (just put in the furniture my self).
I was thinking that I might create a program my self. I don't know, maybe one that opens up a web page, clicks a link, closes, reopens the web page, clicks the same link, closes, etc. Perhaps that link should be an adfly link, on a webpage that I seem to find myself on a lot. If you have any suggestions on how this might work let me know.
Wow, you are awesome! But don't worry about MrCrayfish's furniture. It was just a stress test. I don't want to give you more work for something that would be an easy fix on my end (just put in the furniture my self).
I was thinking that I might create a program my self. I don't know, maybe one that opens up a web page, clicks a link, closes, reopens the web page, clicks the same link, closes, etc. Perhaps that link should be an adfly link, on a webpage that I seem to find myself on a lot. If you have any suggestions on how this might work let me know.
Aha, thanks
Well, I've already made something that might fix the problem. Maybe.. I'll have to go over it and double check it's all working properly. But basically, it figures out as much as it can. And if there are any missing blocks, it will request them from a client when they first connect. That should work in theory....
I'll also add an option to the config file, so if someone decides to put this on a public server with extra mods and blocks that aren't registered, it won't request them from the client, as someone could potentially cheat the system. It'd take a bit of effort, but it's possible. So I'll add that safety feature so it doesn't happen...
Oh, and putting in the furniture yourself, that would work. But the problem is at the moment when a clone gets stuck, they just, stay stuck. I need to add a button somewhere which makes them skip the block and continue building.. That won't be too hard.
And the link clicker, my suggestion would be don't do it They probably keep track of what IP address clicks what link, and then ensures that the IP address only gives revenue for 1 click every day (I read that somewhere...). They also say that if I click the link myself in order to make myself money, or try and make other people click on the link just to make money, that they'll revoke my account.
So perhaps don't do that But it's a nice thought
Hey Jamezo! Tell me, do you want a banner for your mod? I can make one! Also, do you still want help with that house building thing? I know that clones spawning on their own is not going to happen for a while, but I could build some houses and send them to you, so you can have some preset houses for the building clones! (Houses that the clones can build, even if the user hasn't added anything themselves.) Also, the houses might be able to be used in clone villages to. Just saying.
The mod is really evolving! Great work!
Thanks!
If you want to make a banner, go for it. I wont stop you.
And if you want to build houses. Go for it. Like you said, I probably won't be using them for a while, but it can't hurt to have some on hand.
Problem is, I'm not quite sure how this town thing would actually work. Like, I need to somehow work out which way the house is facing, so when I generate a town I can place them in the right direction. I also need to know where the main door is. What space is the inside of the house. All villager houses are completely enclosed. That way the minecraft code can determine what is a house and what isn't. So If you build custom houses, they'd need to be.. detectable, to make clones live in them.
I'm not quite sure....
I was thinking it'd be good if they built towns using different materials depending on the biome. So sandstone houses in the desert, oak houses in oak forests, birch in birch forests, floating glass and wooden houses on the ocean?
So if you do make some houses, I can't guarentee that I'll use them all, I might have to one day modify them to get them to work. And no promises anywhere, because I seem to keep breaking them, but I'll give it a shot
Even if I had a way to change my IP for each click? Because I do. Well if they say they will revoke your account, then you would make no money and that would be bad, so I won't risk it. Anyway, the mod is looking great!
Alright. I'm on the banner, and the house making. I'll PM you a folder. When the buildings are done that is.
EDIT: forgot to put something in! XD
To be honest, which direction each building is facing, doesn't really matter. You should make the path, go to the doors. Like normal villages. And I understand not all will be used, and you will do some editing, but you could have some of the houses that will be used in clone villages, in the thing players use to make clones build.
Goodbye, Minecraft forums. If any of ya'll future people persons need to contact me for whatever dumb reason, my discord is EnderDude124#8340 as of 6/8/2019. Send me a message, I like a good chat.
Aha, thanks
Well, I've already made something that might fix the problem. Maybe.. I'll have to go over it and double check it's all working properly. But basically, it figures out as much as it can. And if there are any missing blocks, it will request them from a client when they first connect. That should work in theory....
I'll also add an option to the config file, so if someone decides to put this on a public server with extra mods and blocks that aren't registered, it won't request them from the client, as someone could potentially cheat the system. It'd take a bit of effort, but it's possible. So I'll add that safety feature so it doesn't happen...
Oh, and putting in the furniture yourself, that would work. But the problem is at the moment when a clone gets stuck, they just, stay stuck. I need to add a button somewhere which makes them skip the block and continue building.. That won't be too hard.
And the link clicker, my suggestion would be don't do it They probably keep track of what IP address clicks what link, and then ensures that the IP address only gives revenue for 1 click every day (I read that somewhere...). They also say that if I click the link myself in order to make myself money, or try and make other people click on the link just to make money, that they'll revoke my account.
So perhaps don't do that But it's a nice thought
Thanks!
If you want to make a banner, go for it. I wont stop you.
And if you want to build houses. Go for it. Like you said, I probably won't be using them for a while, but it can't hurt to have some on hand.
Problem is, I'm not quite sure how this town thing would actually work. Like, I need to somehow work out which way the house is facing, so when I generate a town I can place them in the right direction. I also need to know where the main door is. What space is the inside of the house. All villager houses are completely enclosed. That way the minecraft code can determine what is a house and what isn't. So If you build custom houses, they'd need to be.. detectable, to make clones live in them.
I'm not quite sure....
I was thinking it'd be good if they built towns using different materials depending on the biome. So sandstone houses in the desert, oak houses in oak forests, birch in birch forests, floating glass and wooden houses on the ocean?
So if you do make some houses, I can't guarentee that I'll use them all, I might have to one day modify them to get them to work. And no promises anywhere, because I seem to keep breaking them, but I'll give it a shot
Thanks!
i can make all sorts of buildings
from pubs to long houses
when you are ready to add buildings i can send you my schematics
There is a beta release on git hub if thats what your talking about.
Rollback Post to RevisionRollBack
Goodbye, Minecraft forums. If any of ya'll future people persons need to contact me for whatever dumb reason, my discord is EnderDude124#8340 as of 6/8/2019. Send me a message, I like a good chat.
I've posted the problem on Crayfish's forum but who knows. He's also busy with University. Anyway I think I narrowed down all my problems so far to just mismatched names for items to their corresponding blocks. I don't know what your code does to decide what the proper item is for the corresponding block in the schematic but for Crayfish's wooden chair it can't seem to make the connection. It works fine for the wooden table, just not the chair.
Is there a way to view the code of minecraft plugins? If I could see what was going on I could report the problems to the respecting mod authors easier. I could see what he calls his wooden chair item/block and how your mod identifies the correspondence and then let MrCrayfish know that his IDs do not match up.
If anyone on here knows of a program, or whatever is required, to view the code of a Minecraft plugin? And by plugin I mean mod.
I can confirm that if the clone wants to place a torch and they have coal and a stick in their inventory, they will craft a torch by themselves. What they won't do is grab the stick and coal from a chest and then craft a torch. The stick and coal must be placed in their inventory by the user.
Woops! Ran into this crash when using the search bar to search for blocks to break.
---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.
Time: 7/26/15 12:12 AM
Description: Updating screen events
java.lang.ArrayIndexOutOfBoundsException: 5
at thermalexpansion.block.tank.ItemBlockTank.func_77667_c(ItemBlockTank.java:31)
at cofh.core.item.ItemBlockBase.func_77653_i(ItemBlockBase.java:25)
at net.minecraft.item.ItemStack.func_82833_r(ItemStack.java:427)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.getTransName(GuiScrollableBlocks.java:70)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.updateViewable(GuiScrollableBlocks.java:50)
at net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak.func_73869_a(GuiChooseBlocksToBreak.java:64)
at net.minecraft.client.gui.GuiScreen.func_146282_l(GuiScreen.java:319)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:276)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1628)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:961)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
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)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at thermalexpansion.block.tank.ItemBlockTank.func_77667_c(ItemBlockTank.java:31)
at cofh.core.item.ItemBlockBase.func_77653_i(ItemBlockBase.java:25)
at net.minecraft.item.ItemStack.func_82833_r(ItemStack.java:427)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.getTransName(GuiScrollableBlocks.java:70)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.updateViewable(GuiScrollableBlocks.java:50)
at net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak.func_73869_a(GuiChooseBlocksToBreak.java:64)
at net.minecraft.client.gui.GuiScreen.func_146282_l(GuiScreen.java:319)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:276)
-- Affected screen --
Details:
Screen name: net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['MrBones1102'/287, l='MpServer', x=21.91, y=67.62, z=258.45]]
Chunk stats: MultiplayerChunkCache: 289, 298
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (4,64,256), Chunk: (at 4,4,0 in 0,16; contains blocks 0,0,256 to 15,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 213097 game time, 2344 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: 51 total; [EntityBat['Bat'/18709, l='MpServer', x=83.22, y=45.00, z=314.53], EntityCreeper['Creeper'/21275, l='MpServer', x=39.94, y=46.00, z=291.44], EntityCreeper['Creeper'/21276, l='MpServer', x=44.00, y=46.00, z=293.41], EntityBat['Bat'/18716, l='MpServer', x=-56.25, y=15.00, z=213.50], EntityClientPlayerMP['MrBones1102'/287, l='MpServer', x=21.91, y=67.62, z=258.45], EntityTrail['unknown'/568, l='MpServer', x=21.91, y=67.62, z=258.45], EntitySkeleton['Skeleton'/19002, l='MpServer', x=-34.50, y=49.00, z=242.50], EntityZombie['Zombie'/19773, l='MpServer', x=-58.50, y=16.00, z=311.50], EntityItem['item.item.rottenFlesh'/19014, l='MpServer', x=43.78, y=71.13, z=210.53], EntityItem['item.item.mobEssence'/19015, l='MpServer', x=43.91, y=71.13, z=211.91], EntityZombie['Zombie'/18772, l='MpServer', x=-48.50, y=32.00, z=203.50], EntitySkeleton['Skeleton'/14448, l='MpServer', x=-53.50, y=13.00, z=247.50], EntityHorse['Horse'/119, l='MpServer', x=-45.91, y=64.00, z=286.03], EntityHorse['Horse'/120, l='MpServer', x=-35.91, y=69.00, z=327.50], EntityHorse['Horse'/121, l='MpServer', x=-35.91, y=67.00, z=334.22], EntityHorse['Horse'/127, l='MpServer', x=-27.75, y=63.00, z=232.00], EntityHorse['Horse'/128, l='MpServer', x=-28.41, y=69.00, z=328.66], EntityHorse['Horse'/129, l='MpServer', x=-18.00, y=66.00, z=335.06], EntityHorse['Horse'/148, l='MpServer', x=-17.63, y=70.00, z=218.50], EntityHorse['Horse'/149, l='MpServer', x=-6.63, y=67.00, z=303.94], EntityHorse['Horse'/150, l='MpServer', x=-14.13, y=67.00, z=295.38], EntityHorse['Horse'/151, l='MpServer', x=-19.50, y=69.00, z=309.75], EntityHorse['Horse'/152, l='MpServer', x=-8.56, y=67.00, z=312.91], EntityHorse['Horse'/153, l='MpServer', x=-14.59, y=66.00, z=327.47], EntityHorse['Horse'/154, l='MpServer', x=-12.59, y=65.00, z=333.88], EntityHorse['Horse'/166, l='MpServer', x=7.94, y=67.00, z=198.03], EntityRobot['Robot'/174, l='MpServer', x=14.50, y=66.31, z=250.50], EntityHorse['Horse'/177, l='MpServer', x=5.53, y=65.00, z=255.34], EntityChicken['Chicken'/178, l='MpServer', x=11.63, y=64.00, z=317.41], EntityClone['Grace'/185, l='MpServer', x=22.69, y=66.00, z=256.25], EntityChicken['Chicken'/189, l='MpServer', x=22.69, y=64.00, z=318.41], EntityChicken['Chicken'/190, l='MpServer', x=28.59, y=64.00, z=315.38], EntityChicken['Chicken'/191, l='MpServer', x=43.53, y=63.00, z=293.53], EntityHorse['Horse'/192, l='MpServer', x=41.28, y=63.00, z=294.97], EntityHorse['Horse'/196, l='MpServer', x=62.22, y=63.00, z=286.09], EntityBat['Bat'/17104, l='MpServer', x=-37.56, y=27.00, z=266.03], EntityPig['Pig'/210, l='MpServer', x=76.69, y=67.00, z=255.50], EntityCreeper['Creeper'/18388, l='MpServer', x=-22.50, y=69.00, z=310.50], EntityBat['Bat'/17110, l='MpServer', x=-37.88, y=23.12, z=257.75], EntityHorse['Horse'/217, l='MpServer', x=80.81, y=67.00, z=244.28], EntityHorse['Horse'/218, l='MpServer', x=79.09, y=67.00, z=245.00], EntityHorse['Horse'/219, l='MpServer', x=87.72, y=68.00, z=247.19], EntitySpider['Spider'/18912, l='MpServer', x=-8.50, y=27.00, z=231.50], EntitySkeleton['Skeleton'/18657, l='MpServer', x=78.50, y=47.00, z=306.50], EntityHorse['Horse'/226, l='MpServer', x=97.09, y=67.00, z=234.34], EntityCreeper['Creeper'/21733, l='MpServer', x=54.50, y=46.00, z=317.50], EntityItem['item.item.rottenFlesh'/19177, l='MpServer', x=-14.59, y=66.13, z=221.91], EntityItem['item.item.mobEssence'/19178, l='MpServer', x=-14.44, y=66.13, z=221.19], EntityCreeper['Creeper'/21739, l='MpServer', x=56.50, y=46.00, z=317.50], EntityZombie['Zombie'/18926, l='MpServer', x=-45.50, y=27.00, z=253.50], EntityItem['item.item.mobEssence'/19955, l='MpServer', x=-32.72, y=70.13, z=315.47]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:373)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2432)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:909)
at net.minecraft.client.main.Main.main(SourceFile:148)
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)
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (x86) version 6.1
Java Version: 1.8.0_31, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 108103392 bytes (103 MB) / 523501568 bytes (499 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 96
FML: MCP v9.05 FML v7.10.85.1291 Minecraft Forge 10.13.2.1291 Optifine OptiFine_1.7.10_HD_U_B7 51 mods loaded, 51 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.1291} [Forge Mod Loader] (forge-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.13.2.1291} [Minecraft Forge] (forge-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CodeChickenCore{1.0.3.28} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
<CoFH ASM>{000} [CoFH ASM Data Initialization] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NotEnoughItems{1.0.3.60} [Not Enough Items] (Not-Enough-Items-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
PlayerAPI{1.1} [Player API] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
RenderPlayerAPI{1.0} [Render Player API] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartCore{1.0} [Smart Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SomniaCore{1.3.1.32} [SomniaCore] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenModsCore{@VERSION@} [OpenModsCore] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Trapcraft{v2.2.1a} [Trapcraft] ([1.7.10] Trapcraft - v2.3.0a.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Backpack{2.0.1} [Backpack] (backpack-2.0.1-1.7.x.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CoFHCore{1.7.10R3.0.0B9} [CoFH Core] (CoFHCore-[1.7.10]3.0.0B9-40.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Core{7.0.12} [BuildCraft] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Energy{7.0.12} [BC Energy] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Factory{7.0.12} [BC Factory] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Transport{7.0.12} [BC Transport] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Builders{7.0.12} [BC Builders] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Silicon{7.0.12} [BC Silicon] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Robotics{7.0.12} [BC Robotics] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CarpentersBlocks{3.3.6} [Carpenter's Blocks] (Carpenter's Blocks v3.3.6 - MC 1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
clonecraft{3.0} [CloneCraft] (CloneCraft-vB3.0.11.-.MC1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ThermalFoundation{1.7.10R1.0.0RC1} [Thermal Foundation] (ThermalFoundation-[1.7.10]1.0.0RC1-13.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ThermalExpansion{1.7.10R4.0.0B8} [Thermal Expansion] (ThermalExpansion-[1.7.10]4.0.0B8-23.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
evilcraft{0.7.2b} [EvilCraft] (EvilCraft-1.7.10-0.7.2b.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
flintlock_guns{1.6_5} [Flintlock Guns Mod] (Flintlock Guns Mod-1.7pre1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NBTEdit{1.7.2.2} [In-game NBTEdit] (Forge_NBTEditv1.7.2.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
HopperDuctMod{1.3.2} [Hopper Ducts] (hopperductmod-1.7.10-1.3.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
iChunUtil{4.1.0} [iChunUtil] (iChunUtil-4.1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
LunatriusCore{1.1.2.16} [LunatriusCore] (LunatriusCore-1.7.10-1.1.2.16-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MonsterSpawnHighlighter{1.4.1.29} [Monster Spawn Highlighter] (MonsterSpawnHighlighter-1.7.10-1.4.1.29-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Morph{0.9.1} [Morph] (Morph-Beta-0.9.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
cfm{3.4.7} [§9MrCrayfish's Furniture Mod] (MrCrayfishFurnitureModv3.4.7(1.7.10).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenMods{0.6} [OpenMods] (OpenModsLib-1.7.10-0.6-snapshot-223.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenBlocks{1.3} [OpenBlocks] (OpenBlocks-1.7.10-1.3-snapshot-430.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ReiMinimap{1.7.10} [Rei's Minimap] (Reis-Minimap-Mod-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Scenter{1.7.10-3.2.0} [Scenter] (scenter-1.7.10-3.2.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SlimevoidLib{2.0.4.6} [Slimevoid Library] (SlimevoidLibrary-2.0.4.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartMoving{15.2} [Smart Moving] (SmartMoving-1.7.10-15.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartRender{2.0} [Smart Render] (SmartRender-1.7.10-2.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SolarFlux{1.7.10-0.8a} [Solar Flux] (SolarFlux-1.7.10-0.8a.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Somnia{-au} [Somnia] (Somnia-1.4.2.32.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
spawnercraft{1.2.1-mc1.7.10} [SpawnerCraft] (SpawnerCraft-1.2.1-mc1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
tpmod{1.9.0} [Teleportation Mod] (teleportationmod19formc17104707644.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TF2Teleporter{1.7.10} [TF2 Teleporter] (TF2Teleporter-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
bspkrsCore{6.16} [bspkrsCore] ([1.7.10]bspkrsCore-universal-6.16.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Treecapitator{1.7.2} [Treecapitator] (Tree-Capitator-Mod-1.7.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
universalcoins{1.7.10-1.6.3} [Universal Coins] (UniversalCoins-1.7.10-1.6.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
WirelessRedstoneCore{1.8.0.0} [Wireless Redstone] (WirelessRedstoneCore-1.8.0.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
YALSM{2.1.3} [Yet Another Leather Smelting Mod] (Yet-Another-Leather-Smelting-Mod-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Launched Version: 1.7.10
LWJGL: 2.9.1
OpenGL: Intel(R) HD Graphics Family GL version 3.1.0 - Build 8.15.10.2476, Intel
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)
And this one, when scrolling too far down the list on blocks to break
---- Minecraft Crash Report ----
// Shall we play a game?
Time: 7/26/15 12:18 AM
Description: Rendering item
java.lang.NullPointerException: Rendering item
at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:217)
at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:402)
at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:565)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderItem(GuiScrollableBlocks.java:166)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderBlock(GuiScrollableBlocks.java:154)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderEntry(GuiScrollableBlocks.java:143)
at net.jamezo97.clonecraft.gui.GuiScrollable.doScrollDraw(GuiScrollable.java:421)
at net.jamezo97.clonecraft.gui.GuiScrollable.draw(GuiScrollable.java:297)
at net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak.func_73863_a(GuiChooseBlocksToBreak.java:44)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1358)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:989)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
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)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:217)
at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:402)
-- Item being rendered --
Details:
Item Type: null
Item Aux: ~~ERROR~~ NullPointerException: null
Item NBT: null
Item Foil: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:565)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderItem(GuiScrollableBlocks.java:166)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderBlock(GuiScrollableBlocks.java:154)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderEntry(GuiScrollableBlocks.java:143)
at net.jamezo97.clonecraft.gui.GuiScrollable.doScrollDraw(GuiScrollable.java:421)
at net.jamezo97.clonecraft.gui.GuiScrollable.draw(GuiScrollable.java:297)
at net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak.func_73863_a(GuiChooseBlocksToBreak.java:44)
-- Screen render details --
Details:
Screen name: net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak
Mouse location: Scaled: (292, 217). Absolute: (585, 45)
Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['MrBones1102'/282, l='MpServer', x=21.91, y=67.62, z=258.45]]
Chunk stats: MultiplayerChunkCache: 289, 298
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (4,64,256), Chunk: (at 4,4,0 in 0,16; contains blocks 0,0,256 to 15,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 216121 game time, 5368 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: 76 total; [EntityHorse['Horse'/128, l='MpServer', x=-35.56, y=70.00, z=320.13], EntityCreeper['Creeper'/2944, l='MpServer', x=-44.06, y=14.00, z=260.50], EntityHorse['Horse'/129, l='MpServer', x=-35.91, y=67.00, z=334.22], EntityHorse['Horse'/138, l='MpServer', x=-17.06, y=70.00, z=215.03], EntityCreeper['Creeper'/2954, l='MpServer', x=38.50, y=16.00, z=310.50], EntityHorse['Horse'/139, l='MpServer', x=-22.88, y=64.00, z=231.00], EntityHorse['Horse'/140, l='MpServer', x=-19.50, y=69.00, z=309.75], EntityZombie['Zombie'/3084, l='MpServer', x=-2.41, y=63.00, z=178.97], EntitySkeleton['Skeleton'/3085, l='MpServer', x=-55.50, y=17.00, z=313.50], EntityHorse['Horse'/142, l='MpServer', x=-28.41, y=69.00, z=328.66], EntityCreeper['Creeper'/2702, l='MpServer', x=39.50, y=12.00, z=292.50], EntitySkeleton['Skeleton'/3086, l='MpServer', x=-54.50, y=31.00, z=199.50], EntityHorse['Horse'/143, l='MpServer', x=-18.00, y=66.00, z=335.06], EntitySkeleton['Skeleton'/2959, l='MpServer', x=101.66, y=66.00, z=280.16], EntityZombie['Zombie'/3090, l='MpServer', x=-3.50, y=63.00, z=179.50], EntityCreeper['Creeper'/3091, l='MpServer', x=-57.03, y=21.00, z=249.63], EntityZombie['Zombie'/2973, l='MpServer', x=73.50, y=41.00, z=279.50], EntityClientPlayerMP['MrBones1102'/282, l='MpServer', x=21.91, y=67.62, z=258.45], EntityItem['item.item.mobEssence'/163, l='MpServer', x=-14.72, y=66.13, z=221.13], EntityEnderman['Enderman'/2723, l='MpServer', x=91.13, y=53.00, z=327.66], EntityItem['item.item.rottenFlesh'/164, l='MpServer', x=-14.88, y=66.13, z=221.97], EntitySkeleton['Skeleton'/804, l='MpServer', x=25.50, y=27.00, z=311.50], EntityHorse['Horse'/166, l='MpServer', x=-6.63, y=67.00, z=303.94], EntityHorse['Horse'/167, l='MpServer', x=-22.97, y=68.00, z=300.09], EntityHorse['Horse'/168, l='MpServer', x=-8.56, y=67.00, z=312.91], EntityHorse['Horse'/169, l='MpServer', x=-14.59, y=66.00, z=327.47], EntityHorse['Horse'/170, l='MpServer', x=-12.59, y=65.00, z=333.88], EntityTrail['unknown'/556, l='MpServer', x=21.91, y=67.62, z=258.45], EntityHorse['Horse'/182, l='MpServer', x=7.94, y=67.00, z=198.03], EntityBat['Bat'/310, l='MpServer', x=-52.84, y=44.00, z=285.47], EntityCreeper['Creeper'/2486, l='MpServer', x=-18.00, y=25.00, z=258.56], EntityRobot['Robot'/183, l='MpServer', x=14.50, y=66.31, z=250.50], EntityHorse['Horse'/184, l='MpServer', x=-8.44, y=65.00, z=262.97], EntityChicken['Chicken'/185, l='MpServer', x=11.63, y=64.00, z=317.41], EntityBat['Bat'/3004, l='MpServer', x=14.09, y=24.90, z=303.78], EntityCreeper['Creeper'/2877, l='MpServer', x=26.41, y=19.00, z=252.91], EntityClone['Grace'/190, l='MpServer', x=22.69, y=66.00, z=256.25], EntityZombie['Zombie'/1598, l='MpServer', x=-53.50, y=23.00, z=205.50], EntityChicken['Chicken'/191, l='MpServer', x=22.69, y=64.00, z=318.41], EntityZombie['Zombie'/2879, l='MpServer', x=85.50, y=21.00, z=190.50], EntityChicken['Chicken'/192, l='MpServer', x=28.59, y=64.00, z=315.38], EntityZombie['Zombie'/2880, l='MpServer', x=80.50, y=21.00, z=187.50], EntityZombie['Zombie'/2881, l='MpServer', x=33.03, y=18.00, z=253.44], EntityItem['item.item.mobEssence'/194, l='MpServer', x=44.19, y=71.13, z=211.97], EntityBat['Bat'/322, l='MpServer', x=-57.44, y=13.00, z=179.53], EntityItem['item.item.rottenFlesh'/195, l='MpServer', x=44.03, y=71.13, z=210.44], EntityZombie['Zombie'/3011, l='MpServer', x=-54.50, y=24.00, z=202.50], EntityZombie['Zombie'/3012, l='MpServer', x=-32.50, y=29.00, z=261.50], EntityChicken['Chicken'/198, l='MpServer', x=43.53, y=63.00, z=293.53], EntityHorse['Horse'/199, l='MpServer', x=41.28, y=63.00, z=294.97], EntityHorse['Horse'/203, l='MpServer', x=62.22, y=63.00, z=286.09], EntityZombie['Zombie'/2379, l='MpServer', x=80.50, y=41.00, z=322.50], EntityCreeper['Creeper'/3151, l='MpServer', x=37.07, y=49.08, z=288.53], EntitySkeleton['Skeleton'/3152, l='MpServer', x=-35.44, y=47.00, z=247.08], EntityZombie['Zombie'/2899, l='MpServer', x=-37.50, y=46.00, z=246.50], EntityCreeper['Creeper'/3031, l='MpServer', x=-47.50, y=25.00, z=247.50], EntityCreeper['Creeper'/2651, l='MpServer', x=-49.50, y=52.00, z=232.94], EntityPig['Pig'/224, l='MpServer', x=69.13, y=66.00, z=252.75], EntityHorse['Horse'/225, l='MpServer', x=70.34, y=66.00, z=245.00], EntityCreeper['Creeper'/2786, l='MpServer', x=9.34, y=15.00, z=254.53], EntityCreeper['Creeper'/2787, l='MpServer', x=92.50, y=15.00, z=322.50], EntityHorse['Horse'/231, l='MpServer', x=87.72, y=68.00, z=247.19], EntityHorse['Horse'/232, l='MpServer', x=83.66, y=67.00, z=244.16], EntitySkeleton['Skeleton'/2668, l='MpServer', x=11.72, y=16.00, z=254.69], EntityBat['Bat'/2542, l='MpServer', x=-47.25, y=42.00, z=239.34], EntityHorse['Horse'/241, l='MpServer', x=97.09, y=67.00, z=234.34], EntitySkeleton['Skeleton'/2549, l='MpServer', x=51.50, y=45.00, z=332.50], EntityCreeper['Creeper'/3189, l='MpServer', x=-36.47, y=50.00, z=241.73], EntityCreeper['Creeper'/3190, l='MpServer', x=-56.50, y=18.00, z=210.50], EntityZombie['Zombie'/2423, l='MpServer', x=-23.50, y=55.00, z=239.50], EntitySkeleton['Skeleton'/2424, l='MpServer', x=-9.50, y=24.00, z=260.50], EntitySkeleton['Skeleton'/3192, l='MpServer', x=92.50, y=25.00, z=278.50], EntityZombie['Zombie'/2557, l='MpServer', x=19.50, y=24.00, z=303.50], EntityHorse['Horse'/126, l='MpServer', x=-45.91, y=64.00, z=286.03], EntityItem['item.item.mobEssence'/127, l='MpServer', x=-32.72, y=70.13, z=315.47], EntitySkeleton['Skeleton'/2943, l='MpServer', x=98.91, y=66.00, z=280.44]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:373)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2432)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:909)
at net.minecraft.client.main.Main.main(SourceFile:148)
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)
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (x86) version 6.1
Java Version: 1.8.0_31, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 197776872 bytes (188 MB) / 523501568 bytes (499 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 96
FML: MCP v9.05 FML v7.10.85.1291 Minecraft Forge 10.13.2.1291 Optifine OptiFine_1.7.10_HD_U_B7 51 mods loaded, 51 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.1291} [Forge Mod Loader] (forge-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.13.2.1291} [Minecraft Forge] (forge-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CodeChickenCore{1.0.3.28} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
<CoFH ASM>{000} [CoFH ASM Data Initialization] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NotEnoughItems{1.0.3.60} [Not Enough Items] (Not-Enough-Items-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
PlayerAPI{1.1} [Player API] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
RenderPlayerAPI{1.0} [Render Player API] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartCore{1.0} [Smart Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SomniaCore{1.3.1.32} [SomniaCore] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenModsCore{@VERSION@} [OpenModsCore] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Trapcraft{v2.2.1a} [Trapcraft] ([1.7.10] Trapcraft - v2.3.0a.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Backpack{2.0.1} [Backpack] (backpack-2.0.1-1.7.x.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CoFHCore{1.7.10R3.0.0B9} [CoFH Core] (CoFHCore-[1.7.10]3.0.0B9-40.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Core{7.0.12} [BuildCraft] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Energy{7.0.12} [BC Energy] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Factory{7.0.12} [BC Factory] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Transport{7.0.12} [BC Transport] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Builders{7.0.12} [BC Builders] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Silicon{7.0.12} [BC Silicon] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Robotics{7.0.12} [BC Robotics] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CarpentersBlocks{3.3.6} [Carpenter's Blocks] (Carpenter's Blocks v3.3.6 - MC 1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
clonecraft{3.0} [CloneCraft] (CloneCraft-vB3.0.11.-.MC1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ThermalFoundation{1.7.10R1.0.0RC1} [Thermal Foundation] (ThermalFoundation-[1.7.10]1.0.0RC1-13.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ThermalExpansion{1.7.10R4.0.0B8} [Thermal Expansion] (ThermalExpansion-[1.7.10]4.0.0B8-23.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
evilcraft{0.7.2b} [EvilCraft] (EvilCraft-1.7.10-0.7.2b.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
flintlock_guns{1.6_5} [Flintlock Guns Mod] (Flintlock Guns Mod-1.7pre1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NBTEdit{1.7.2.2} [In-game NBTEdit] (Forge_NBTEditv1.7.2.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
HopperDuctMod{1.3.2} [Hopper Ducts] (hopperductmod-1.7.10-1.3.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
iChunUtil{4.1.0} [iChunUtil] (iChunUtil-4.1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
LunatriusCore{1.1.2.16} [LunatriusCore] (LunatriusCore-1.7.10-1.1.2.16-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MonsterSpawnHighlighter{1.4.1.29} [Monster Spawn Highlighter] (MonsterSpawnHighlighter-1.7.10-1.4.1.29-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Morph{0.9.1} [Morph] (Morph-Beta-0.9.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
cfm{3.4.7} [§9MrCrayfish's Furniture Mod] (MrCrayfishFurnitureModv3.4.7(1.7.10).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenMods{0.6} [OpenMods] (OpenModsLib-1.7.10-0.6-snapshot-223.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenBlocks{1.3} [OpenBlocks] (OpenBlocks-1.7.10-1.3-snapshot-430.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ReiMinimap{1.7.10} [Rei's Minimap] (Reis-Minimap-Mod-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Scenter{1.7.10-3.2.0} [Scenter] (scenter-1.7.10-3.2.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SlimevoidLib{2.0.4.6} [Slimevoid Library] (SlimevoidLibrary-2.0.4.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartMoving{15.2} [Smart Moving] (SmartMoving-1.7.10-15.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartRender{2.0} [Smart Render] (SmartRender-1.7.10-2.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SolarFlux{1.7.10-0.8a} [Solar Flux] (SolarFlux-1.7.10-0.8a.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Somnia{-au} [Somnia] (Somnia-1.4.2.32.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
spawnercraft{1.2.1-mc1.7.10} [SpawnerCraft] (SpawnerCraft-1.2.1-mc1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
tpmod{1.9.0} [Teleportation Mod] (teleportationmod19formc17104707644.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TF2Teleporter{1.7.10} [TF2 Teleporter] (TF2Teleporter-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
bspkrsCore{6.16} [bspkrsCore] ([1.7.10]bspkrsCore-universal-6.16.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Treecapitator{1.7.2} [Treecapitator] (Tree-Capitator-Mod-1.7.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
universalcoins{1.7.10-1.6.3} [Universal Coins] (UniversalCoins-1.7.10-1.6.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
WirelessRedstoneCore{1.8.0.0} [Wireless Redstone] (WirelessRedstoneCore-1.8.0.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
YALSM{2.1.3} [Yet Another Leather Smelting Mod] (Yet-Another-Leather-Smelting-Mod-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Launched Version: 1.7.10
LWJGL: 2.9.1
OpenGL: Intel(R) HD Graphics Family GL version 3.1.0 - Build 8.15.10.2476, Intel
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)
The Farming Ability works now! I'm so excited!
Wait... If clones can farm, does that mean that clones can break blocks now? Woah!
Goodbye, Minecraft forums. If any of ya'll future people persons need to contact me for whatever dumb reason, my discord is EnderDude124#8340 as of 6/8/2019. Send me a message, I like a good chat.
Awesome, thank you everyone for the bugs
I've hopefully fixed them.
The carpenters blocks mod assumed, that because the world was a server world, the EntityPlayer class passed to it is of the type EntityPlayerMP.
However, it's not. I made an interface class, which masks the EntityClone class, so I can pretend that the clone is a player when I need to, However that's the super class, EntityPlayer, and EntityPlayerMP is a subclass of EntityPlayer, and can't be cast to unless if it is actually of that type.
So basically, I just told the game to ignore those errors, and print out / do the default action for that block.
I've upload 3.0.12 to Github in the Beta section.
Cheers!
Yo
I would have said a Pastebin, considering that the guy had to paste over two(!) posts.
Hey everybody!
THank you so much for all your bug reports. This is fantastic!
They should all be fixed now... Should being the operative word there.
One of them was because the server side was missing a method. So I just implemented it on both sides Server and Client, and that should fix that issue.
Another issue was the block renderer. Because I'm sort of 'hacking' into the minecraft code, and getting it to do things that it's not made to do, sometimes certain methods crash, just because they do, because they're not designed for what I'm making them do.
So basically I now catch the exceptions. They're not fatal errors, just missing block renders, or item names.
So if you can't find a block, or a block is missing an icon in the 'Blocks to Break' menu, then don't fret. It's just that block having a bad day, that's all.
There was another issue, where another mod assumes that because the World object is on the server side, the EntityPlayer object passed to it must be an instance of EntityPlayerMP. However, because my Clones don't differentiate between server and client (and creating a fake EntityPlayerMP is difficult, and required NetClientHandlers and whatnot) I just used the Super class EntityPlayer. Which then caused this issue, because once again I'm doing something that Minecraft isn't used to. Breaking the limits of programming here guys.
So yes, version 3.0.13 Beta is out, let me know how it all goes. Hopefully it doesn't crash. Any bug: you know the drill. Go github me up and I'll see what I can do (see the main post in the FAQ's section to see how to report bugs)
Cheers everyone!
Oh, and here's 3.0.13:
https://github.com/Jamezo97/CloneCraft/releases/tag/v3.0.13-beta-mc1.7.10
If it all goes smoothly, I might try and update to 1.8.whatever on the weekend, perhaps next weekend, see how I'm running for time
Yo
Could you make it more compatible with the flans mod please i want to use it for my modpack
I Think I'm Having WAY To Much Fun With This Mod! XD
Pew Pew Firepea Firepea!
---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!
Time: 8/4/15 8:13 PM
Description: Ticking memory connection
java.lang.NullPointerException: Ticking memory connection
at net.minecraft.world.World.func_72956_a(World.java:1258)
at net.jamezo97.clonecraft.item.ItemSpawnEgg.func_77648_a(ItemSpawnEgg.java:164)
at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:505)
at net.minecraft.item.ItemStack.func_77943_a(ItemStack.java:128)
at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:389)
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:556)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.world.World.func_72956_a(World.java:1258)
at net.jamezo97.clonecraft.item.ItemSpawnEgg.func_77648_a(ItemSpawnEgg.java:164)
at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:505)
at net.minecraft.item.ItemStack.func_77943_a(ItemStack.java:128)
at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:389)
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:556)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
-- Ticking connection --
Details:
Connection: net.minecraft.network.NetworkManager@1f31be9
Stacktrace:
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows NT (unknown) (x86) version 6.2
Java Version: 1.7.0-ea, Sun Microsystems Inc.
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
Memory: 271307008 bytes (258 MB) / 523501568 bytes (499 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
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.99.99 Minecraft Forge 10.13.4.1448 4 mods loaded, 4 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1448-1.7.10.jar)
UCHIJAAAA Forge{10.13.4.1448} [Minecraft Forge] (forge-1.7.10-10.13.4.1448-1.7.10.jar)
UCHIJAAAA clonecraft{3.0} [CloneCraft] (CloneCraft-vB3.0.13.-.MC1.7.10.jar)
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['Awesomeguy20000'/381, l='World o fun', x=200.17, y=72.52, z=555.01]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
how to fix this?
Something cannot render in the blocks to break menu.
---- Minecraft Crash Report ----
// Ooh. Shiny.
Time: 8/5/15 6:09 PM
Description: Rendering item
java.lang.NullPointerException: Rendering item
at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:217)
at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:402)
at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:565)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderItem(GuiScrollableBlocks.java:163)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderBlock(GuiScrollableBlocks.java:151)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderEntry(GuiScrollableBlocks.java:141)
at net.jamezo97.clonecraft.gui.GuiScrollable.doScrollDraw(GuiScrollable.java:421)
at net.jamezo97.clonecraft.gui.GuiScrollable.draw(GuiScrollable.java:297)
at net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak.func_73863_a(GuiChooseBlocksToBreak.java:44)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1358)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:989)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
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)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:217)
at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:402)
-- Item being rendered --
Details:
Item Type: null
Item Aux: ~~ERROR~~ NullPointerException: null
Item NBT: null
Item Foil: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:565)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderItem(GuiScrollableBlocks.java:163)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderBlock(GuiScrollableBlocks.java:151)
at net.jamezo97.clonecraft.gui.GuiScrollableBlocks.renderEntry(GuiScrollableBlocks.java:141)
at net.jamezo97.clonecraft.gui.GuiScrollable.doScrollDraw(GuiScrollable.java:421)
at net.jamezo97.clonecraft.gui.GuiScrollable.draw(GuiScrollable.java:297)
at net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak.func_73863_a(GuiChooseBlocksToBreak.java:44)
-- Screen render details --
Details:
Screen name: net.jamezo97.clonecraft.gui.GuiChooseBlocksToBreak
Mouse location: Scaled: (346, 63). Absolute: (1039, 649)
Screen size: Scaled: (534, 280). Absolute: (1600, 838). Scale factor of 3
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['MrBones1102'/289, l='MpServer', x=27.03, y=66.62, z=247.65]]
Chunk stats: MultiplayerChunkCache: 289, 298
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (4,64,256), Chunk: (at 4,4,0 in 0,16; contains blocks 0,0,256 to 15,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 241598 game time, 3606 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: 83 total; [EntityBat['Bat'/1024, l='MpServer', x=27.00, y=28.00, z=305.75], EntityZombie['Zombie'/129, l='MpServer', x=-42.25, y=27.00, z=265.75], EntityZombie['Zombie'/513, l='MpServer', x=0.53, y=64.00, z=172.97], EntityHorse['Horse'/130, l='MpServer', x=-35.97, y=69.00, z=312.25], EntityZombie['Zombie'/1028, l='MpServer', x=23.50, y=14.00, z=285.50], EntityZombie['Zombie'/1029, l='MpServer', x=16.50, y=14.00, z=281.50], EntityBat['Bat'/1034, l='MpServer', x=4.63, y=15.26, z=250.25], EntityHorse['Horse'/139, l='MpServer', x=-18.97, y=71.00, z=214.09], EntitySquid['Squid'/1035, l='MpServer', x=-3.50, y=62.13, z=202.50], EntityHorse['Horse'/140, l='MpServer', x=-22.88, y=64.00, z=231.00], EntitySquid['Squid'/1036, l='MpServer', x=-4.50, y=62.31, z=201.22], EntityHorse['Horse'/141, l='MpServer', x=-16.09, y=65.00, z=249.00], EntitySquid['Squid'/1037, l='MpServer', x=-10.97, y=62.03, z=209.38], EntityHorse['Horse'/142, l='MpServer', x=-18.09, y=67.00, z=294.34], EntitySquid['Squid'/1038, l='MpServer', x=-9.78, y=60.06, z=203.50], EntityHorse['Horse'/143, l='MpServer', x=-19.50, y=69.00, z=309.75], EntityZombie['Zombie'/1054, l='MpServer', x=-44.50, y=14.00, z=260.50], EntityHorse['Horse'/163, l='MpServer', x=-3.88, y=68.00, z=286.34], EntitySkeleton['Skeleton'/1059, l='MpServer', x=-36.50, y=17.00, z=177.50], EntityHorse['Horse'/164, l='MpServer', x=-9.09, y=67.00, z=309.97], EntityZombie['Zombie'/932, l='MpServer', x=-44.50, y=32.00, z=211.50], EntityHorse['Horse'/165, l='MpServer', x=-14.59, y=66.00, z=327.47], EntityClientPlayerMP['MrBones1102'/289, l='MpServer', x=27.03, y=66.62, z=247.65], EntitySpider['Spider'/297, l='MpServer', x=93.50, y=42.00, z=326.50], EntitySlime['Slime'/299, l='MpServer', x=-23.31, y=27.00, z=256.23], EntityCreeper['Creeper'/1068, l='MpServer', x=-43.50, y=14.00, z=261.50], EntityCreeper['Creeper'/1069, l='MpServer', x=-44.50, y=14.00, z=262.50], EntityBat['Bat'/1453, l='MpServer', x=74.09, y=38.00, z=329.69], EntityCreeper['Creeper'/1070, l='MpServer', x=-45.50, y=14.00, z=262.50], EntityBat['Bat'/1454, l='MpServer', x=75.22, y=19.00, z=317.91], EntityBat['Bat'/1455, l='MpServer', x=73.78, y=19.00, z=317.03], EntityHorse['Horse'/177, l='MpServer', x=7.94, y=67.00, z=198.03], EntityRobot['Robot'/178, l='MpServer', x=14.50, y=66.31, z=250.50], EntityChicken['Chicken'/179, l='MpServer', x=7.56, y=64.00, z=326.38], EntityClone['Grace'/185, l='MpServer', x=28.50, y=65.00, z=246.72], EntityHorse['Horse'/186, l='MpServer', x=19.06, y=67.00, z=287.28], EntityChicken['Chicken'/187, l='MpServer', x=24.66, y=66.00, z=296.81], EntityItem['item.item.egg'/188, l='MpServer', x=28.16, y=66.13, z=289.72], EntityChicken['Chicken'/189, l='MpServer', x=28.59, y=64.00, z=315.38], EntityChicken['Chicken'/190, l='MpServer', x=21.47, y=65.00, z=313.47], EntityHorse['Horse'/191, l='MpServer', x=31.78, y=64.00, z=305.78], EntityItem['item.item.mobEssence'/192, l='MpServer', x=44.84, y=66.13, z=262.41], EntityItem['item.item.rottenFlesh'/193, l='MpServer', x=44.81, y=66.13, z=263.13], EntitySkeleton['Skeleton'/966, l='MpServer', x=-34.50, y=21.00, z=191.50], EntityHorse['Horse'/199, l='MpServer', x=62.22, y=63.00, z=286.09], EntityBat['Bat'/328, l='MpServer', x=25.38, y=28.00, z=306.53], EntityPig['Pig'/209, l='MpServer', x=75.16, y=66.00, z=244.03], EntityZombie['Zombie'/210, l='MpServer', x=79.50, y=19.35, z=309.40], EntityChicken['Chicken'/211, l='MpServer', x=79.50, y=19.00, z=309.50], EntityZombie['Zombie'/212, l='MpServer', x=75.58, y=42.35, z=308.79], EntityChicken['Chicken'/213, l='MpServer', x=75.56, y=42.00, z=308.69], EntityTrail['unknown'/597, l='MpServer', x=27.03, y=66.62, z=247.65], EntitySkeleton['Skeleton'/342, l='MpServer', x=78.50, y=42.00, z=319.50], EntityZombie['Zombie'/983, l='MpServer', x=-45.50, y=19.00, z=199.50], EntityZombie['Zombie'/344, l='MpServer', x=76.50, y=42.00, z=321.50], EntityZombie['Zombie'/984, l='MpServer', x=60.50, y=44.00, z=294.50], EntityHorse['Donkey'/217, l='MpServer', x=90.75, y=72.00, z=169.50], EntityHorse['Horse'/218, l='MpServer', x=95.91, y=67.00, z=237.06], EntityHorse['Horse'/219, l='MpServer', x=92.66, y=72.00, z=253.97], EntityCreeper['Creeper'/987, l='MpServer', x=-23.50, y=27.00, z=258.50], EntityHorse['Horse'/220, l='MpServer', x=83.66, y=67.00, z=244.16], EntityCreeper['Creeper'/988, l='MpServer', x=-24.50, y=27.00, z=256.50], EntityBat['Bat'/222, l='MpServer', x=83.38, y=20.00, z=307.28], EntityCreeper['Creeper'/479, l='MpServer', x=77.50, y=41.00, z=285.50], EntityWolf['Wolf'/227, l='MpServer', x=107.50, y=66.00, z=304.69], EntityWolf['Wolf'/228, l='MpServer', x=107.50, y=67.00, z=300.50], EntityWolf['Wolf'/230, l='MpServer', x=107.31, y=67.00, z=299.56], EntityCreeper['Creeper'/360, l='MpServer', x=92.75, y=45.00, z=301.09], EntityZombie['Zombie'/364, l='MpServer', x=46.50, y=51.00, z=315.50], EntityZombie['Zombie'/494, l='MpServer', x=-51.50, y=52.00, z=241.50], EntitySpider['Spider'/368, l='MpServer', x=75.50, y=42.00, z=278.50], EntityZombie['Zombie'/116, l='MpServer', x=-48.50, y=32.00, z=203.50], EntityCreeper['Creeper'/501, l='MpServer', x=101.50, y=65.00, z=281.50], EntityHorse['Horse'/117, l='MpServer', x=-48.66, y=64.00, z=280.16], EntityZombie['Zombie'/374, l='MpServer', x=-45.50, y=48.00, z=295.50], EntitySkeleton['Skeleton'/376, l='MpServer', x=76.50, y=19.00, z=313.50], EntityCreeper['Creeper'/1017, l='MpServer', x=61.50, y=44.00, z=294.50], EntitySkeleton['Skeleton'/506, l='MpServer', x=90.50, y=41.00, z=279.50], EntityZombie['Zombie'/508, l='MpServer', x=-50.50, y=31.00, z=192.50], EntityZombie['Zombie'/1021, l='MpServer', x=28.06, y=14.00, z=281.56], EntityZombie['Zombie'/125, l='MpServer', x=-39.25, y=17.35, z=176.27], EntityChicken['Chicken'/126, l='MpServer', x=-39.25, y=17.00, z=176.38], EntityBat['Bat'/127, l='MpServer', x=-43.28, y=25.99, z=257.09]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:373)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2432)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:909)
at net.minecraft.client.main.Main.main(SourceFile:148)
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)
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (x86) version 6.1
Java Version: 1.8.0_31, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 181170144 bytes (172 MB) / 523501568 bytes (499 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 96
FML: MCP v9.05 FML v7.10.85.1291 Minecraft Forge 10.13.2.1291 Optifine OptiFine_1.7.10_HD_U_B7 51 mods loaded, 51 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.1291} [Forge Mod Loader] (forge-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.13.2.1291} [Minecraft Forge] (forge-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CodeChickenCore{1.0.3.28} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
<CoFH ASM>{000} [CoFH ASM Data Initialization] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NotEnoughItems{1.0.3.60} [Not Enough Items] (Not-Enough-Items-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
PlayerAPI{1.1} [Player API] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
RenderPlayerAPI{1.0} [Render Player API] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartCore{1.0} [Smart Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SomniaCore{1.3.1.32} [SomniaCore] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenModsCore{@VERSION@} [OpenModsCore] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Trapcraft{v2.2.1a} [Trapcraft] ([1.7.10] Trapcraft - v2.3.0a.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Backpack{2.0.1} [Backpack] (backpack-2.0.1-1.7.x.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CoFHCore{1.7.10R3.0.0B9} [CoFH Core] (CoFHCore-[1.7.10]3.0.0B9-40.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Core{7.0.12} [BuildCraft] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Energy{7.0.12} [BC Energy] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Factory{7.0.12} [BC Factory] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Transport{7.0.12} [BC Transport] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Builders{7.0.12} [BC Builders] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Silicon{7.0.12} [BC Silicon] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Robotics{7.0.12} [BC Robotics] (buildcraft-7.0.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CarpentersBlocks{3.3.6} [Carpenter's Blocks] (Carpenter's Blocks v3.3.6 - MC 1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
clonecraft{3.0} [CloneCraft] (CloneCraft-vB3.0.13.-.MC1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ThermalFoundation{1.7.10R1.0.0RC1} [Thermal Foundation] (ThermalFoundation-[1.7.10]1.0.0RC1-13.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ThermalExpansion{1.7.10R4.0.0B8} [Thermal Expansion] (ThermalExpansion-[1.7.10]4.0.0B8-23.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
evilcraft{0.7.2b} [EvilCraft] (EvilCraft-1.7.10-0.7.2b.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
flintlock_guns{1.6_5} [Flintlock Guns Mod] (Flintlock Guns Mod-1.7pre1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NBTEdit{1.7.2.2} [In-game NBTEdit] (Forge_NBTEditv1.7.2.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
HopperDuctMod{1.3.2} [Hopper Ducts] (hopperductmod-1.7.10-1.3.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
iChunUtil{4.1.0} [iChunUtil] (iChunUtil-4.1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
LunatriusCore{1.1.2.16} [LunatriusCore] (LunatriusCore-1.7.10-1.1.2.16-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MonsterSpawnHighlighter{1.4.1.29} [Monster Spawn Highlighter] (MonsterSpawnHighlighter-1.7.10-1.4.1.29-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Morph{0.9.1} [Morph] (Morph-Beta-0.9.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
cfm{3.4.7} [§9MrCrayfish's Furniture Mod] (MrCrayfishFurnitureModv3.4.7(1.7.10).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenMods{0.6} [OpenMods] (OpenModsLib-1.7.10-0.6-snapshot-223.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenBlocks{1.3} [OpenBlocks] (OpenBlocks-1.7.10-1.3-snapshot-430.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ReiMinimap{1.7.10} [Rei's Minimap] (Reis-Minimap-Mod-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Scenter{1.7.10-3.2.0} [Scenter] (scenter-1.7.10-3.2.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SlimevoidLib{2.0.4.6} [Slimevoid Library] (SlimevoidLibrary-2.0.4.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartMoving{15.2} [Smart Moving] (SmartMoving-1.7.10-15.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartRender{2.0} [Smart Render] (SmartRender-1.7.10-2.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SolarFlux{1.7.10-0.8a} [Solar Flux] (SolarFlux-1.7.10-0.8a.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Somnia{-au} [Somnia] (Somnia-1.4.2.32.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
spawnercraft{1.2.1-mc1.7.10} [SpawnerCraft] (SpawnerCraft-1.2.1-mc1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
tpmod{1.9.0} [Teleportation Mod] (teleportationmod19formc17104707644.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TF2Teleporter{1.7.10} [TF2 Teleporter] (TF2Teleporter-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
bspkrsCore{6.16} [bspkrsCore] ([1.7.10]bspkrsCore-universal-6.16.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Treecapitator{1.7.2} [Treecapitator] (Tree-Capitator-Mod-1.7.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
universalcoins{1.7.10-1.6.3} [Universal Coins] (UniversalCoins-1.7.10-1.6.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
WirelessRedstoneCore{1.8.0.0} [Wireless Redstone] (WirelessRedstoneCore-1.8.0.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
YALSM{2.1.3} [Yet Another Leather Smelting Mod] (Yet-Another-Leather-Smelting-Mod-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Launched Version: 1.7.10
LWJGL: 2.9.1
OpenGL: Intel(R) HD Graphics Family GL version 3.1.0 - Build 8.15.10.2476, Intel
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)
I believe it is from the universal coins mod but I cannot be sure. The search function works fine though so I'm not all that bothered.
I am having another problem as well. A clone cannot find a certain item. I will post screenshots.
The clone is supposed to place a wooden chair from MrCrayfish's Furniture mod but cannot seem to find it in the chest (it is there). It can place the wooden table just fine but cannot find the chair to place. I contacted MrCrayfish but he believes that it is not a problem from his mod.
Here is his post in regard to my inquiry: "
All furniture in my mod is placed with items. What you have described is a fault by the mod author. The best way to get materials is by getting the pickblock item. Thiss is not a problem with my mod. "
This will be posted on github as well.
Ah yes that is my fault.
It's difficult...
In Minecraft you have your blocks and your items. The items on your hotbar/inventory, are called an ItemStack.
Some Blocks, when put into an ItemStack, are just represented by their block. i.e. Dirt, Stone, Wooden planks, all the simple blocks.
So that's all good, I can determine, "For that stone block, I need the stone ItemBlock". So that works fine.
However, for something like a door or a bed, it's different. You have the Door as a block, and the door as an item, and it's very difficult to figure out "For that Door block, I need the door Item". It sounds simple, but it's not. There's no linkage between the two things. I can’t ask Minecraft “What item do I use to place a ‘BlockDoor’?”. Because it says “I haven’t got a clue mate”.
So I've had to do my usual thing, and create a nasty work around.
At the moment, when CloneCraft is loaded, it creates a fake world, and a fake player. It then goes through every single item in the game, and tries to place the item in every possible direction and location in the fake world using the fake player. So it uses the “ItemDoor” and finds “Hey, when I place an ItemDoor, I get a BlockDoor”. It then remembers this mapping.
So then later on when the clone is building a structure and it comes across a “BlockDoor”, it looks up the block to item registry I’ve created, and says “Hey, when I placed an ItemDoor, I got a Block Door. So I need an ItemDoor to build this”.
This works okay. But obviously not perfectly, because it doesn’t detect that placing the ChairItem results in the ChairBlock. Instead, it asks for the chair block, which is why it has a weird name: you’re not meant to use the block form of it, so it doesn’t have a name localized for your language.
There is another method of grabbing the items associated to blocks. But it doesn’t work all the time.
When in creative mode, you can middle click on a block to select it in your hotbar.
Thing is though, that all happens on the client side. And, for whatever reason, Minecraft decided that this super useful function that would solve all of my problems, is only available on the client. So if I tried to use it on the server side, it crashes the game because the method doesn’t exist.
So the only way I can see this working, is if I somehow got that information from the client and sent it to the server when they connect.
But then you run into security issues. A programmer of medium experience could then abuse this system, connect to a server first, tell the server that diamond blocks are made using dirt blocks, and then go ahead and create diamonds from dirt using the clones.
SOOOOOOOOOOOOO
Yeah. It could be viable……
When you run an integrated server (i.e., just playing single player), then there are no worries. The server and client are integrated, so they share the same methods, and so the server side can use the client function to determine the correct block.
However the issue arises when you start up a dedicated server.
Hmm. The client polling thing could work. It wouldn’t need to know every block. Dirt, stone, diamond blocks etc can be found easily. It’s just the harders ones like doors that need to be sent to the server.
I’ll see what I can do…
Umm.W e'll see. Maybe one day. Maybe not one day. I'm currently back at university, about 40 hours a week. I have no free time. It's crazy stuff.
You ask a fantastic question sir.
It seems that for some reason, it couldn't spawn the entity. It then tries to place the spawn sound at the entity, however because it's null, it crashes.
So I think I fixed it. I'll upload the fixed version soonish, once I've implemented something to fix the above bug too.
Thanks everyone
Yo
Hey Jamezo! Tell me, do you want a banner for your mod? I can make one! Also, do you still want help with that house building thing? I know that clones spawning on their own is not going to happen for a while, but I could build some houses and send them to you, so you can have some preset houses for the building clones! (Houses that the clones can build, even if the user hasn't added anything themselves.) Also, the houses might be able to be used in clone villages to. Just saying.
The mod is really evolving! Great work!
Goodbye, Minecraft forums. If any of ya'll future people persons need to contact me for whatever dumb reason, my discord is EnderDude124#8340 as of 6/8/2019. Send me a message, I like a good chat.
Wow, you are awesome! But don't worry about MrCrayfish's furniture. It was just a stress test. I don't want to give you more work for something that would be an easy fix on my end (just put in the furniture my self).
I was thinking that I might create a program my self. I don't know, maybe one that opens up a web page, clicks a link, closes, reopens the web page, clicks the same link, closes, etc. Perhaps that link should be an adfly link, on a webpage that I seem to find myself on a lot. If you have any suggestions on how this might work let me know.
Aha, thanks
Well, I've already made something that might fix the problem. Maybe.. I'll have to go over it and double check it's all working properly. But basically, it figures out as much as it can. And if there are any missing blocks, it will request them from a client when they first connect. That should work in theory....
I'll also add an option to the config file, so if someone decides to put this on a public server with extra mods and blocks that aren't registered, it won't request them from the client, as someone could potentially cheat the system. It'd take a bit of effort, but it's possible. So I'll add that safety feature so it doesn't happen...
Oh, and putting in the furniture yourself, that would work. But the problem is at the moment when a clone gets stuck, they just, stay stuck. I need to add a button somewhere which makes them skip the block and continue building.. That won't be too hard.
And the link clicker, my suggestion would be don't do it They probably keep track of what IP address clicks what link, and then ensures that the IP address only gives revenue for 1 click every day (I read that somewhere...). They also say that if I click the link myself in order to make myself money, or try and make other people click on the link just to make money, that they'll revoke my account.
So perhaps don't do that But it's a nice thought
Thanks!
If you want to make a banner, go for it. I wont stop you.
And if you want to build houses. Go for it. Like you said, I probably won't be using them for a while, but it can't hurt to have some on hand.
Problem is, I'm not quite sure how this town thing would actually work. Like, I need to somehow work out which way the house is facing, so when I generate a town I can place them in the right direction. I also need to know where the main door is. What space is the inside of the house. All villager houses are completely enclosed. That way the minecraft code can determine what is a house and what isn't. So If you build custom houses, they'd need to be.. detectable, to make clones live in them.
I'm not quite sure....
I was thinking it'd be good if they built towns using different materials depending on the biome. So sandstone houses in the desert, oak houses in oak forests, birch in birch forests, floating glass and wooden houses on the ocean?
So if you do make some houses, I can't guarentee that I'll use them all, I might have to one day modify them to get them to work. And no promises anywhere, because I seem to keep breaking them, but I'll give it a shot
Thanks!
Yo
Even if I had a way to change my IP for each click? Because I do. Well if they say they will revoke your account, then you would make no money and that would be bad, so I won't risk it. Anyway, the mod is looking great!
Alright. I'm on the banner, and the house making. I'll PM you a folder. When the buildings are done that is.
EDIT: forgot to put something in! XD
To be honest, which direction each building is facing, doesn't really matter. You should make the path, go to the doors. Like normal villages. And I understand not all will be used, and you will do some editing, but you could have some of the houses that will be used in clone villages, in the thing players use to make clones build.
Goodbye, Minecraft forums. If any of ya'll future people persons need to contact me for whatever dumb reason, my discord is EnderDude124#8340 as of 6/8/2019. Send me a message, I like a good chat.
I can't figure out how to make them break blocks, mine, cut trees etc could i have help like a guide or something?
i can make all sorts of buildings
from pubs to long houses
when you are ready to add buildings i can send you my schematics
http://www.youtube.com/channel/UC3XczeHHUfA1We-qK5-ATpA
did u release it yet?
There is a beta release on git hub if thats what your talking about.
Goodbye, Minecraft forums. If any of ya'll future people persons need to contact me for whatever dumb reason, my discord is EnderDude124#8340 as of 6/8/2019. Send me a message, I like a good chat.