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

Bacuse

Members
  • Posts

    24
  • Joined

  • Last visited

Posts posted by Bacuse

  1. ---- Minecraft Crash Report ----

    // Quite honestly, I wouldn't worry myself about that.

     

    Time: 3/28/16 11:10 PM

    Description: Unexpected error

     

    java.lang.NullPointerException: Unexpected error

    at cpw.mods.fml.common.network.NetworkRegistry.getLocalGuiContainer(NetworkRegistry.java:265)

    at cpw.mods.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:93)

    at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2501)

    at mimohad.helpfulmod.craftingtable.HelpFulTable.onBlockActivated(HelpFulTable.java:18)

    at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:376)

    at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1529)

    at net.minecraft.client.Minecraft.runTick(Minecraft.java:2044)

    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039)

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

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

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

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

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

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

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

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

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

    at GradleStart.main(Unknown Source)

     

     

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

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

     

    -- Head --

    Stacktrace:

    at cpw.mods.fml.common.network.NetworkRegistry.getLocalGuiContainer(NetworkRegistry.java:265)

    at cpw.mods.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:93)

    at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2501)

    at mimohad.helpfulmod.craftingtable.HelpFulTable.onBlockActivated(HelpFulTable.java:18)

    at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:376)

    at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1529)

     

    -- Affected level --

    Details:

    Level name: MpServer

    All players: 1 total; [EntityClientPlayerMP['Player378'/291, l='MpServer', x=-19.52, y=64.62, z=193.67]]

    Chunk stats: MultiplayerChunkCache: 602, 602

    Level seed: 0

    Level generator: ID 00 - default, ver 1. Features enabled: false

    Level generator options:

    Level spawn location: World: (12,64,256), Chunk: (at 12,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: 598967 game time, 1152 day time

    Level dimension: 0

    Level storage version: 0x00000 - Unknown?

    Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)

    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false

    Forced entities: 71 total; [EntityHagresorus['Hagresorus'/129, l='MpServer', x=-17.03, y=63.00, z=201.97], EntityBat['Bat'/128, l='MpServer', x=-27.50, y=55.10, z=202.53], EntityBat['Bat'/131, l='MpServer', x=-25.50, y=59.10, z=219.25], EntityBat['Bat'/130, l='MpServer', x=-25.00, y=58.10, z=218.78], EntityBat['Bat'/133, l='MpServer', x=-26.34, y=58.10, z=219.34], EntityBat['Bat'/132, l='MpServer', x=-24.41, y=58.10, z=210.91], EntityBat['Bat'/134, l='MpServer', x=-23.50, y=58.10, z=217.75], EntityHagresorus['Hagresorus'/152, l='MpServer', x=-11.97, y=64.00, z=205.03], EntityHagresorus['Hagresorus'/153, l='MpServer', x=-4.97, y=65.00, z=219.97], EntityPig['Pig'/148, l='MpServer', x=-2.03, y=64.00, z=156.03], EntityCreeper['Creeper'/149, l='MpServer', x=-4.00, y=63.00, z=158.50], EntityBat['Bat'/31, l='MpServer', x=-99.16, y=46.10, z=162.53], EntityBat['Bat'/150, l='MpServer', x=0.71, y=41.26, z=175.47], EntityBat['Bat'/151, l='MpServer', x=-0.75, y=42.10, z=177.50], EntitySkeleton['Skeleton'/35, l='MpServer', x=-98.50, y=51.00, z=269.50], EntityBat['Bat'/38, l='MpServer', x=-92.00, y=47.10, z=157.44], EntityBat['Bat'/39, l='MpServer', x=-97.35, y=46.79, z=162.33], EntityWitch['Witch'/36, l='MpServer', x=-98.50, y=69.00, z=269.50], EntityZombie['Zombie'/42, l='MpServer', x=-93.50, y=20.00, z=246.50], EntityWitch['Witch'/43, l='MpServer', x=-93.50, y=20.00, z=245.50], EntityCreeper['Creeper'/40, l='MpServer', x=-97.93, y=29.00, z=212.28], EntityZombie['Zombie'/41, l='MpServer', x=-90.50, y=20.00, z=246.50], EntityCreeper['Creeper'/167, l='MpServer', x=8.50, y=23.00, z=231.50], EntityBat['Bat'/166, l='MpServer', x=3.25, y=38.22, z=176.25], EntityZombie['Zombie'/165, l='MpServer', x=7.00, y=65.00, z=144.44], EntitySkeleton['Skeleton'/44, l='MpServer', x=-88.09, y=68.00, z=270.47], EntityPig['Pig'/164, l='MpServer', x=8.47, y=66.00, z=133.13], EntitySkeleton['Skeleton'/45, l='MpServer', x=-80.50, y=69.00, z=266.88], EntitySkeleton['Skeleton'/50, l='MpServer', x=-79.50, y=68.00, z=270.50], EntitySkeleton['Skeleton'/184, l='MpServer', x=20.56, y=24.00, z=232.50], EntityWitch['Witch'/49, l='MpServer', x=-71.38, y=70.00, z=172.94], EntitySkeleton['Skeleton'/59, l='MpServer', x=-61.50, y=21.00, z=190.50], EntityPig['Pig'/178, l='MpServer', x=25.13, y=81.00, z=146.94], EntityZombie['Zombie'/179, l='MpServer', x=19.50, y=11.00, z=162.50], EntitySquid['Squid'/177, l='MpServer', x=25.50, y=61.00, z=132.50], EntityZombie['Zombie'/63, l='MpServer', x=-53.00, y=64.00, z=187.56], EntityCreeper['Creeper'/62, l='MpServer', x=-57.69, y=19.00, z=188.69], EntityBat['Bat'/183, l='MpServer', x=15.07, y=14.78, z=212.51], EntityCreeper['Creeper'/61, l='MpServer', x=-57.72, y=19.00, z=187.69], EntityPig['Pig'/180, l='MpServer', x=20.31, y=65.00, z=164.50], EntityCreeper['Creeper'/60, l='MpServer', x=-58.70, y=19.00, z=187.30], EntitySlime['Slime'/181, l='MpServer', x=20.31, y=36.00, z=180.38], EntityCow['Cow'/205, l='MpServer', x=55.22, y=67.00, z=153.22], EntityPig['Pig'/207, l='MpServer', x=57.94, y=63.00, z=182.94], EntityZombie['Zombie'/206, l='MpServer', x=53.50, y=29.00, z=187.50], EntityZombie['Zombie'/64, l='MpServer', x=-47.88, y=66.00, z=203.69], EntitySkeleton['Skeleton'/201, l='MpServer', x=36.50, y=18.00, z=222.50], EntityCreeper['Creeper'/200, l='MpServer', x=47.50, y=56.00, z=183.50], EntityClientPlayerMP['Player378'/291, l='MpServer', x=-19.52, y=64.62, z=193.67], EntityZombie['Zombie'/197, l='MpServer', x=38.59, y=59.00, z=153.00], EntitySkeleton['Skeleton'/196, l='MpServer', x=37.50, y=59.00, z=153.88], EntityBat['Bat'/199, l='MpServer', x=43.69, y=29.10, z=185.63], EntityCreeper['Creeper'/198, l='MpServer', x=45.50, y=29.00, z=188.50], EntitySquid['Squid'/195, l='MpServer', x=32.50, y=61.38, z=136.50], EntityPig['Pig'/194, l='MpServer', x=43.50, y=67.00, z=127.31], EntitySlime['Slime'/87, l='MpServer', x=-45.69, y=25.00, z=153.69], EntityZombie['Zombie'/208, l='MpServer', x=60.56, y=24.00, z=199.88], EntitySkeleton['Skeleton'/89, l='MpServer', x=-37.44, y=63.00, z=185.21], EntityCreeper['Creeper'/88, l='MpServer', x=-43.00, y=64.00, z=190.53], EntitySkeleton['Skeleton'/211, l='MpServer', x=59.50, y=28.00, z=248.50], EntityZombie['Zombie'/111, l='MpServer', x=-29.50, y=15.00, z=115.50], EntitySkeleton['Skeleton'/114, l='MpServer', x=-31.50, y=35.00, z=116.50], EntitySpider['Spider'/113, l='MpServer', x=-25.97, y=16.00, z=117.72], EntitySkeleton['Skeleton'/112, l='MpServer', x=-17.31, y=17.00, z=115.28], EntityBat['Bat'/127, l='MpServer', x=-28.25, y=57.10, z=204.50], EntitySquid['Squid'/126, l='MpServer', x=-17.78, y=61.31, z=131.16], EntitySquid['Squid'/125, l='MpServer', x=-12.03, y=61.09, z=133.53], EntitySquid['Squid'/124, l='MpServer', x=-20.69, y=61.25, z=135.75], EntitySquid['Squid'/123, l='MpServer', x=-23.81, y=61.34, z=134.97], EntitySquid['Squid'/122, l='MpServer', x=-23.41, y=61.00, z=138.91], EntitySquid['Squid'/121, l='MpServer', x=-19.03, y=61.34, z=133.94]]

    Retry entities: 0 total; []

    Server brand: fml,forge

    Server type: Integrated singleplayer server

    Stacktrace:

    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415)

    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2566)

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

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

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

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

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

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

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

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

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

    at GradleStart.main(Unknown Source)

     

    -- System Details --

    Details:

    Minecraft Version: 1.7.10

    Operating System: Windows 8.1 (amd64) version 6.3

    Java Version: 1.7.0_79, Oracle Corporation

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

    Memory: 618621200 bytes (589 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)

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

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

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

    FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1517 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] (forgeSrc-1.7.10-10.13.4.1517-1.7.10.jar)

    UCHIJAAAA Forge{10.13.4.1517} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1517-1.7.10.jar)

    UCHIJAAAA hm{7.0} [HelpFul Mod] (bin)

    GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 10.18.10.4276' Renderer: 'Intel® HD Graphics 4000'

    Launched Version: 1.7.10

    LWJGL: 2.9.1

    OpenGL: Intel® HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.4276, 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)

  2. Help when i right click my custom crafting table it crashes me

     

     

    GuiHandler

     

    package mimohad.helpfulmod;

     

    import mimohad.helpfulmod.craftingtable.container.ContainerHelpFulTable;

    import mimohad.helpfulmod.craftingtable.gui.GuiHelpFulTable;

    import net.minecraft.entity.player.EntityPlayer;

    import net.minecraft.world.World;

    import cpw.mods.fml.common.network.IGuiHandler;

     

     

     

    public class GuiHandler implements IGuiHandler {

     

    @Override

    public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {

     

    if(ID == HelpFulMod.guiIDHelpFulTable)

    return ID == HelpFulMod.guiIDHelpFulTable && world.getBlock(x, y, z) == HelpFulMod.HelpFulTable ? new ContainerHelpFulTable(player.inventory, world, x, y, z) : null;

     

     

    return null;

    }

     

    @Override

    public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {

     

    if(ID == HelpFulMod.guiIDHelpFulTable)

    return ID == HelpFulMod.guiIDHelpFulTable && world.getBlock(x, y, z) == HelpFulMod.HelpFulTable ? new GuiHelpFulTable(player.inventory, world, x, y, z) : null;

     

    return null;

     

    }

     

    }

     

  3. Its ok here it is

     

    package mimohad.helpfulmod;

     

    import mimohad.helpfulmod.craftingtable.container.ContainerHelpFulTable;

    import mimohad.helpfulmod.craftingtable.gui.GuiHelpFulTable;

    import net.minecraft.entity.player.EntityPlayer;

    import net.minecraft.world.World;

    import cpw.mods.fml.common.network.IGuiHandler;

     

     

     

    public class GuiHandler implements IGuiHandler {

     

    @Override

    public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {

     

    if(ID == HelpFulMod.guiIDHelpFulTable)

    return ID == HelpFulMod.guiIDHelpFulTable && world.getBlock(x, y, z) == HelpFulMod.HelpFulTable ? new ContainerHelpFulTable(player.inventory, world, x, y, z) : null;

     

     

    return null;

    }

     

    @Override

    public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {

     

    if(ID == HelpFulMod.guiIDHelpFulTable)

    return ID == HelpFulMod.guiIDHelpFulTable && world.getBlock(x, y, z) == HelpFulMod.HelpFulTable ? new GuiHelpFulTable(player.inventory, world, x, y, z) : null;

     

    return null;

     

    }

     

    }

     

  4. Block Class

     

    package mimohad.helpfulmod.craftingtable;

     

    import mimohad.helpfulmod.HelpFulMod;

    import net.minecraft.block.Block;

    import net.minecraft.block.material.Material;

    import net.minecraft.entity.player.EntityPlayer;

    import net.minecraft.world.World;

     

    public class HelpFulTable extends Block {

     

    public HelpFulTable() {

    super(Material.wood);

    }

     

    public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int q, float a, float b, float c) {

     

    if (!player.isSneaking()) {

    player.openGui(HelpFulMod.modInstance, HelpFulMod.guiIDHelpFulTable, world, x, y, z);

    return true;

    } else {

    return false;

     

    }

    }

     

    }

     

  5. Container Class

    package mimohad.helpfulmod.craftingtable.container;

     

    import mimohad.helpfulmod.HelpFulMod;

    import mimohad.helpfulmod.craftingtable.craftingmanager.HelpFulTableCraftingManager;

    import net.minecraft.entity.player.EntityPlayer;

    import net.minecraft.entity.player.InventoryPlayer;

    import net.minecraft.inventory.Container;

    import net.minecraft.inventory.IInventory;

    import net.minecraft.inventory.InventoryCraftResult;

    import net.minecraft.inventory.InventoryCrafting;

    import net.minecraft.inventory.Slot;

    import net.minecraft.inventory.SlotCrafting;

    import net.minecraft.item.ItemStack;

    import net.minecraft.world.World;

     

    public class ContainerHelpFulTable extends Container {

     

    public InventoryCrafting craftMatrix;

    public IInventory craftResult;

    private World worldObj;

    private int posX;

    private int posY;

    private int posZ;

     

     

    public ContainerHelpFulTable(InventoryPlayer invPlayer, World world, int x, int y, int z) {

    craftMatrix = new InventoryCrafting(this, 5, 5);

    craftResult = new InventoryCraftResult();

    worldObj = world;

    posX = x;

    posY = y;

    posZ = z;

     

    this.addSlotToContainer(new SlotCrafting(invPlayer.player, craftMatrix, craftResult, 0, 131, 36));

     

    for (int i = 0; i < 5; i++) {

    for (int k = 0; k < 5; k++) {

    this.addSlotToContainer(new Slot(craftMatrix, k + i * 5, 4 + k * 18, 3 + i * 18));

     

    }

     

    }

     

    for (int i = 0; i < 3; i++) {

    for (int k = 0; k < 9; k++) {

    this.addSlotToContainer(new Slot(invPlayer, k - i * 9 + 9, 8 + k * 15, 94 + i * 18));

     

    }

    }

     

    for (int i = 0; i < 9; i++) {

    this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 148));

    }

     

    onCraftMatrixChanged(craftMatrix);

    }

     

    public void onCraftMatrixChanged(IInventory iinventory) {

    //craftMatrix.setInventorySlotContents(0, HelpFulTableCraftingManager.getInstance().findMatchingRecipe(craftMatrix, worldObj));

    }

     

    @Override

    public boolean canInteractWith(EntityPlayer player) {

    if(worldObj.getBlock(posX, posY, posZ) != HelpFulMod.HelpFulTable) {

    return false;

    } else {

    return player.getDistanceSq((double)posX + 0.5D, (double)posY + 0.5D, (double)posZ + 0.5D) <= 64.0D;

    }

    }

     

    public void onContainerClosed(EntityPlayer p_75134_1_)

        {

            super.onContainerClosed(p_75134_1_);

     

            if (!this.worldObj.isRemote)

            {

                for (int i = 0; i < 9; ++i)

                {

                    ItemStack itemstack = this.craftMatrix.getStackInSlotOnClosing(i);

     

                    if (itemstack != null)

                    {

                        p_75134_1_.dropPlayerItemWithRandomChoice(itemstack, false);

                    }

                }

            }

        }

     

    public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int p_82846_2_)

        {

            ItemStack itemstack = null;

            Slot slot = (Slot)this.inventorySlots.get(p_82846_2_);

     

            if (slot != null && slot.getHasStack())

            {

                ItemStack itemstack1 = slot.getStack();

                itemstack = itemstack1.copy();

     

                if (p_82846_2_ == 0)

                {

                    if (!this.mergeItemStack(itemstack1, 10, 46, true))

                    {

                        return null;

                    }

     

                    slot.onSlotChange(itemstack1, itemstack);

                }

                else if (p_82846_2_ >= 10 && p_82846_2_ < 37)

                {

                    if (!this.mergeItemStack(itemstack1, 37, 46, false))

                    {

                        return null;

                    }

                }

                else if (p_82846_2_ >= 37 && p_82846_2_ < 46)

                {

                    if (!this.mergeItemStack(itemstack1, 10, 37, false))

                    {

                        return null;

                    }

                }

                else if (!this.mergeItemStack(itemstack1, 10, 46, false))

                {

                    return null;

                }

     

                if (itemstack1.stackSize == 0)

                {

                    slot.putStack((ItemStack)null);

                }

                else

                {

                    slot.onSlotChanged();

                }

     

                if (itemstack1.stackSize == itemstack.stackSize)

                {

                    return null;

                }

     

                slot.onPickupFromSlot(p_82846_1_, itemstack1);

            }

     

            return itemstack;

        }

     

    }

     

  6. Help when i right click my custom crafting table it crashes directly

     

    crash report:

     

    ---- Minecraft Crash Report ----

    // Quite honestly, I wouldn't worry myself about that.

     

    Time: 3/28/16 11:10 PM

    Description: Unexpected error

     

    java.lang.NullPointerException: Unexpected error

    at cpw.mods.fml.common.network.NetworkRegistry.getLocalGuiContainer(NetworkRegistry.java:265)

    at cpw.mods.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:93)

    at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2501)

    at mimohad.helpfulmod.craftingtable.HelpFulTable.onBlockActivated(HelpFulTable.java:18)

    at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:376)

    at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1529)

    at net.minecraft.client.Minecraft.runTick(Minecraft.java:2044)

    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039)

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

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

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

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

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

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

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

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

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

    at GradleStart.main(Unknown Source)

     

     

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

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

     

    -- Head --

    Stacktrace:

    at cpw.mods.fml.common.network.NetworkRegistry.getLocalGuiContainer(NetworkRegistry.java:265)

    at cpw.mods.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:93)

    at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2501)

    at mimohad.helpfulmod.craftingtable.HelpFulTable.onBlockActivated(HelpFulTable.java:18)

    at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:376)

    at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1529)

     

    -- Affected level --

    Details:

    Level name: MpServer

    All players: 1 total; [EntityClientPlayerMP['Player378'/291, l='MpServer', x=-19.52, y=64.62, z=193.67]]

    Chunk stats: MultiplayerChunkCache: 602, 602

    Level seed: 0

    Level generator: ID 00 - default, ver 1. Features enabled: false

    Level generator options:

    Level spawn location: World: (12,64,256), Chunk: (at 12,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: 598967 game time, 1152 day time

    Level dimension: 0

    Level storage version: 0x00000 - Unknown?

    Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)

    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false

    Forced entities: 71 total; [EntityHagresorus['Hagresorus'/129, l='MpServer', x=-17.03, y=63.00, z=201.97], EntityBat['Bat'/128, l='MpServer', x=-27.50, y=55.10, z=202.53], EntityBat['Bat'/131, l='MpServer', x=-25.50, y=59.10, z=219.25], EntityBat['Bat'/130, l='MpServer', x=-25.00, y=58.10, z=218.78], EntityBat['Bat'/133, l='MpServer', x=-26.34, y=58.10, z=219.34], EntityBat['Bat'/132, l='MpServer', x=-24.41, y=58.10, z=210.91], EntityBat['Bat'/134, l='MpServer', x=-23.50, y=58.10, z=217.75], EntityHagresorus['Hagresorus'/152, l='MpServer', x=-11.97, y=64.00, z=205.03], EntityHagresorus['Hagresorus'/153, l='MpServer', x=-4.97, y=65.00, z=219.97], EntityPig['Pig'/148, l='MpServer', x=-2.03, y=64.00, z=156.03], EntityCreeper['Creeper'/149, l='MpServer', x=-4.00, y=63.00, z=158.50], EntityBat['Bat'/31, l='MpServer', x=-99.16, y=46.10, z=162.53], EntityBat['Bat'/150, l='MpServer', x=0.71, y=41.26, z=175.47], EntityBat['Bat'/151, l='MpServer', x=-0.75, y=42.10, z=177.50], EntitySkeleton['Skeleton'/35, l='MpServer', x=-98.50, y=51.00, z=269.50], EntityBat['Bat'/38, l='MpServer', x=-92.00, y=47.10, z=157.44], EntityBat['Bat'/39, l='MpServer', x=-97.35, y=46.79, z=162.33], EntityWitch['Witch'/36, l='MpServer', x=-98.50, y=69.00, z=269.50], EntityZombie['Zombie'/42, l='MpServer', x=-93.50, y=20.00, z=246.50], EntityWitch['Witch'/43, l='MpServer', x=-93.50, y=20.00, z=245.50], EntityCreeper['Creeper'/40, l='MpServer', x=-97.93, y=29.00, z=212.28], EntityZombie['Zombie'/41, l='MpServer', x=-90.50, y=20.00, z=246.50], EntityCreeper['Creeper'/167, l='MpServer', x=8.50, y=23.00, z=231.50], EntityBat['Bat'/166, l='MpServer', x=3.25, y=38.22, z=176.25], EntityZombie['Zombie'/165, l='MpServer', x=7.00, y=65.00, z=144.44], EntitySkeleton['Skeleton'/44, l='MpServer', x=-88.09, y=68.00, z=270.47], EntityPig['Pig'/164, l='MpServer', x=8.47, y=66.00, z=133.13], EntitySkeleton['Skeleton'/45, l='MpServer', x=-80.50, y=69.00, z=266.88], EntitySkeleton['Skeleton'/50, l='MpServer', x=-79.50, y=68.00, z=270.50], EntitySkeleton['Skeleton'/184, l='MpServer', x=20.56, y=24.00, z=232.50], EntityWitch['Witch'/49, l='MpServer', x=-71.38, y=70.00, z=172.94], EntitySkeleton['Skeleton'/59, l='MpServer', x=-61.50, y=21.00, z=190.50], EntityPig['Pig'/178, l='MpServer', x=25.13, y=81.00, z=146.94], EntityZombie['Zombie'/179, l='MpServer', x=19.50, y=11.00, z=162.50], EntitySquid['Squid'/177, l='MpServer', x=25.50, y=61.00, z=132.50], EntityZombie['Zombie'/63, l='MpServer', x=-53.00, y=64.00, z=187.56], EntityCreeper['Creeper'/62, l='MpServer', x=-57.69, y=19.00, z=188.69], EntityBat['Bat'/183, l='MpServer', x=15.07, y=14.78, z=212.51], EntityCreeper['Creeper'/61, l='MpServer', x=-57.72, y=19.00, z=187.69], EntityPig['Pig'/180, l='MpServer', x=20.31, y=65.00, z=164.50], EntityCreeper['Creeper'/60, l='MpServer', x=-58.70, y=19.00, z=187.30], EntitySlime['Slime'/181, l='MpServer', x=20.31, y=36.00, z=180.38], EntityCow['Cow'/205, l='MpServer', x=55.22, y=67.00, z=153.22], EntityPig['Pig'/207, l='MpServer', x=57.94, y=63.00, z=182.94], EntityZombie['Zombie'/206, l='MpServer', x=53.50, y=29.00, z=187.50], EntityZombie['Zombie'/64, l='MpServer', x=-47.88, y=66.00, z=203.69], EntitySkeleton['Skeleton'/201, l='MpServer', x=36.50, y=18.00, z=222.50], EntityCreeper['Creeper'/200, l='MpServer', x=47.50, y=56.00, z=183.50], EntityClientPlayerMP['Player378'/291, l='MpServer', x=-19.52, y=64.62, z=193.67], EntityZombie['Zombie'/197, l='MpServer', x=38.59, y=59.00, z=153.00], EntitySkeleton['Skeleton'/196, l='MpServer', x=37.50, y=59.00, z=153.88], EntityBat['Bat'/199, l='MpServer', x=43.69, y=29.10, z=185.63], EntityCreeper['Creeper'/198, l='MpServer', x=45.50, y=29.00, z=188.50], EntitySquid['Squid'/195, l='MpServer', x=32.50, y=61.38, z=136.50], EntityPig['Pig'/194, l='MpServer', x=43.50, y=67.00, z=127.31], EntitySlime['Slime'/87, l='MpServer', x=-45.69, y=25.00, z=153.69], EntityZombie['Zombie'/208, l='MpServer', x=60.56, y=24.00, z=199.88], EntitySkeleton['Skeleton'/89, l='MpServer', x=-37.44, y=63.00, z=185.21], EntityCreeper['Creeper'/88, l='MpServer', x=-43.00, y=64.00, z=190.53], EntitySkeleton['Skeleton'/211, l='MpServer', x=59.50, y=28.00, z=248.50], EntityZombie['Zombie'/111, l='MpServer', x=-29.50, y=15.00, z=115.50], EntitySkeleton['Skeleton'/114, l='MpServer', x=-31.50, y=35.00, z=116.50], EntitySpider['Spider'/113, l='MpServer', x=-25.97, y=16.00, z=117.72], EntitySkeleton['Skeleton'/112, l='MpServer', x=-17.31, y=17.00, z=115.28], EntityBat['Bat'/127, l='MpServer', x=-28.25, y=57.10, z=204.50], EntitySquid['Squid'/126, l='MpServer', x=-17.78, y=61.31, z=131.16], EntitySquid['Squid'/125, l='MpServer', x=-12.03, y=61.09, z=133.53], EntitySquid['Squid'/124, l='MpServer', x=-20.69, y=61.25, z=135.75], EntitySquid['Squid'/123, l='MpServer', x=-23.81, y=61.34, z=134.97], EntitySquid['Squid'/122, l='MpServer', x=-23.41, y=61.00, z=138.91], EntitySquid['Squid'/121, l='MpServer', x=-19.03, y=61.34, z=133.94]]

    Retry entities: 0 total; []

    Server brand: fml,forge

    Server type: Integrated singleplayer server

    Stacktrace:

    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415)

    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2566)

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

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

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

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

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

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

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

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

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

    at GradleStart.main(Unknown Source)

  7. Hi i was working on my code and then it keeps on crashing please help

     

    here is the crash report:

     

    ---- Minecraft Crash Report ----

    // But it works on my machine.

     

    Time: 12/30/15 2:44 PM

    Description: There was a severe problem during mod loading that has caused the game to fail

     

    cpw.mods.fml.common.LoaderException: java.lang.IllegalStateException: Can't free registry slot 214 occupied by net.minecraft.item.ItemBlock@4c03b022

    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:239)

    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)

    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)

    at mimohad.helpfulmod.HelpFulMod.preInit(HelpFulMod.java:971)

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

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

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

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

    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)

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

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

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

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

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

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

    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)

    at com.google.common.eventbus.EventBus.post(EventBus.java:275)

    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)

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

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

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

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

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

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

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

    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)

    at com.google.common.eventbus.EventBus.post(EventBus.java:275)

    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)

    at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)

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

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

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

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

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

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

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

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

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

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

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

    at GradleStart.main(Unknown Source)

    Caused by: java.lang.IllegalStateException: Can't free registry slot 214 occupied by net.minecraft.item.ItemBlock@4c03b022

    at cpw.mods.fml.common.registry.GameData.freeSlot(GameData.java:933)

    at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:839)

    at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:808)

    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:232)

    ... 42 more

     

     

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

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

     

    -- System Details --

    Details:

    Minecraft Version: 1.7.10

    Operating System: Windows 8.1 (amd64) version 6.3

    Java Version: 1.7.0_79, Oracle Corporation

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

    Memory: 857094136 bytes (817 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)

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

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

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

    FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1517 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

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

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

    UCH Forge{10.13.4.1517} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1517-1.7.10.jar)

    UCE hm{7.0} [HelpFul Mod] (bin)

    GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 10.18.10.4276' Renderer: 'Intel® HD Graphics 4000'

  8. ---- Minecraft Crash Report ----

    // Why did you do that?

     

    Time: 10/23/15 8:29 AM

    Description: Exception ticking world

     

    java.lang.IllegalArgumentException: n must be positive

    at java.util.Random.nextInt(Random.java:300)

    at mimohad.helpfulmod.OresGeneration.generateOre(OresGeneration.java:56)

    at mimohad.helpfulmod.OresGeneration.generateOverworld(OresGeneration.java:38)

    at mimohad.helpfulmod.OresGeneration.generate(OresGeneration.java:22)

    at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:112)

    at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:314)

    at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1147)

    at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:52)

    at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:12)

    at net.minecraftforge.common.util.AsynchronousExecutor$Task.finish(AsynchronousExecutor.java:189)

    at net.minecraftforge.common.util.AsynchronousExecutor$Task.get(AsynchronousExecutor.java:165)

    at net.minecraftforge.common.util.AsynchronousExecutor.skipQueue(AsynchronousExecutor.java:341)

    at net.minecraftforge.common.util.AsynchronousExecutor.getSkipQueue(AsynchronousExecutor.java:302)

    at net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:12)

    at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:144)

    at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:119)

    at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:221)

    at net.minecraft.world.World.getChunkFromChunkCoords(World.java:482)

    at net.minecraft.world.WorldServer.func_147456_g(WorldServer.java:330)

    at net.minecraft.world.WorldServer.tick(WorldServer.java:191)

    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:692)

    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614)

    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485)

    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)

     

     

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

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

     

    -- Head --

    Stacktrace:

    at java.util.Random.nextInt(Random.java:300)

    at mimohad.helpfulmod.OresGeneration.generateOre(OresGeneration.java:56)

    at mimohad.helpfulmod.OresGeneration.generateOverworld(OresGeneration.java:38)

    at mimohad.helpfulmod.OresGeneration.generate(OresGeneration.java:22)

    at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:112)

    at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:314)

    at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1147)

    at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:52)

    at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:12)

    at net.minecraftforge.common.util.AsynchronousExecutor$Task.finish(AsynchronousExecutor.java:189)

    at net.minecraftforge.common.util.AsynchronousExecutor$Task.get(AsynchronousExecutor.java:165)

    at net.minecraftforge.common.util.AsynchronousExecutor.skipQueue(AsynchronousExecutor.java:341)

    at net.minecraftforge.common.util.AsynchronousExecutor.getSkipQueue(AsynchronousExecutor.java:302)

    at net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:12)

    at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:144)

    at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:119)

    at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:221)

    at net.minecraft.world.World.getChunkFromChunkCoords(World.java:482)

    at net.minecraft.world.WorldServer.func_147456_g(WorldServer.java:330)

    at net.minecraft.world.WorldServer.tick(WorldServer.java:191)

     

    -- Affected level --

    Details:

    Level name: MimoMOd

    All players: 1 total; [EntityPlayerMP['Player93'/362, l='MimoMOd', x=-19.56, y=69.00, z=432.04]]

    Chunk stats: ServerChunkCache: 921 Drop: 0

    Level seed: 1804282447970088278

    Level generator: ID 00 - default, ver 1. Features enabled: true

    Level generator options:

    Level spawn location: World: (12,64,256), Chunk: (at 12,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: 38937 game time, 3190 day time

    Level dimension: 0

    Level storage version: 0x04ABD - Anvil

    Level weather: Rain time: 8130 (now: false), thunder time: 115883 (now: false)

    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true

    Stacktrace:

    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:692)

    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614)

    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485)

    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)

     

    -- System Details --

    Details:

    Minecraft Version: 1.7.10

    Operating System: Windows 8.1 (amd64) version 6.3

    Java Version: 1.7.0_79, Oracle Corporation

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

    Memory: 822219264 bytes (784 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)

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

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

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

    FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1517 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] (forgeSrc-1.7.10-10.13.4.1517-1.7.10.jar)

    UCHIJAAAA Forge{10.13.4.1517} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1517-1.7.10.jar)

    UCHIJAAAA hm{3.0} [HelpFul Mod] (bin)

    GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.

    Profiler Position: N/A (disabled)

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

    Player Count: 1 / 8; [EntityPlayerMP['Player93'/362, l='MimoMOd', x=-19.56, y=69.00, z=432.04]]

    Type: Integrated Server (map_client.txt)

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

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.