Jump to content

1.11.2 error


4010311

Recommended Posts

hi guys . I dont know English . By the way I dont understand . whatever .. I need your Help guys. Error:

 

Spoiler

---- Minecraft Crash Report ----

WARNING: coremods are present:
  CXLibraryCore (CXLibrary-1.11.2.jar)
  Inventory Tweaks Coremod (Inventory-Tweaks-Mod-1.11.2.jar)
  DLFMLCorePlugin (DynamicLights-1.11.2.jar)
  DLFMLCorePlugin (DynamicLights_dummy.jar)
  IC2core (Industrial-Craft-2-Mod-Experimental-1.11.2.jar)
Contact their authors BEFORE contacting forge

// Don't be sad. I'll do better next time, I promise!

Time: 2/18/18 7:47 PM
Description: Rendering screen

java.lang.NullPointerException: Rendering screen
    at buildcraft.builders.item.ItemSnapshot.getHeader(ItemSnapshot.java:55)
    at buildcraft.builders.BCBuildersEventDist.onRenderTooltipPostText(BCBuildersEventDist.java:101)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_31_BCBuildersEventDist_onRenderTooltipPostText_PostText.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
    at net.minecraftforge.fml.client.config.GuiUtils.drawHoveringText(GuiUtils.java:399)
    at mezz.jei.gui.TooltipRenderer.drawHoveringText(TooltipRenderer.java:28)
    at mezz.jei.gui.TooltipRenderer.drawHoveringText(TooltipRenderer.java:23)
    at mezz.jei.gui.TooltipRenderer.drawHoveringText(TooltipRenderer.java:15)
    at mezz.jei.GuiEventHandler.onDrawScreenEventPost(GuiEventHandler.java:101)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_198_GuiEventHandler_onDrawScreenEventPost_Post.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
    at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:383)
    at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1115)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1077)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:372)
    at net.minecraft.client.main.Main.main(SourceFile:124)
    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 --
Thread: Client thread
Stacktrace:
    at buildcraft.builders.item.ItemSnapshot.getHeader(ItemSnapshot.java:55)
    at buildcraft.builders.BCBuildersEventDist.onRenderTooltipPostText(BCBuildersEventDist.java:101)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_31_BCBuildersEventDist_onRenderTooltipPostText_PostText.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
    at net.minecraftforge.fml.client.config.GuiUtils.drawHoveringText(GuiUtils.java:399)
    at mezz.jei.gui.TooltipRenderer.drawHoveringText(TooltipRenderer.java:28)
    at mezz.jei.gui.TooltipRenderer.drawHoveringText(TooltipRenderer.java:23)
    at mezz.jei.gui.TooltipRenderer.drawHoveringText(TooltipRenderer.java:15)
    at mezz.jei.GuiEventHandler.onDrawScreenEventPost(GuiEventHandler.java:101)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_198_GuiEventHandler_onDrawScreenEventPost_Post.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
    at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:383)

-- Screen render details --
Details:
    Screen name: net.minecraft.client.gui.inventory.GuiFurnace
    Mouse location: Scaled: (334, 151). Absolute: (1004, 625)
    Screen size: Scaled: (640, 360). Absolute: (1920, 1080). Scale factor of 3

-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [EntityPlayerSP['Burak'/220, l='MpServer', x=-359.53, y=59.00, z=-318.49]]
    Chunk stats: MultiplayerChunkCache: 285, 285
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: 
    Level spawn location: World: (46,64,0), Chunk: (at 14,4,0 in 2,0; contains blocks 32,0,0 to 47,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 47076 game time, 30992 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: survival (ID 0). Hardcore: false. Cheats: false
    Forced entities: 105 total; [EntityFishCod['Cod'/515, l='MpServer', x=-299.50, y=11.00, z=-270.50], EntityFishCod['Cod'/516, l='MpServer', x=-313.50, y=26.74, z=-254.50], EntityZombie['Zombi'/517, l='MpServer', x=-311.20, y=27.00, z=-245.52], EntitySheep['Koyun'/280, l='MpServer', x=-433.59, y=71.00, z=-299.74], EntityZombie['Zombi'/283, l='MpServer', x=-425.31, y=55.00, z=-324.18], EntityPlayerSP['Burak'/220, l='MpServer', x=-359.53, y=59.00, z=-318.49], EntitySheep['Koyun'/284, l='MpServer', x=-429.71, y=69.00, z=-313.49], EntityCreeper['Creeper'/294, l='MpServer', x=-432.50, y=31.00, z=-256.50], EntityCreeper['Creeper'/295, l='MpServer', x=-434.42, y=30.00, z=-256.17], EntityCow['İnek'/296, l='MpServer', x=-429.53, y=79.00, z=-248.83], EntityCow['İnek'/297, l='MpServer', x=-434.55, y=82.00, z=-269.68], EntityZombie['Zombi'/305, l='MpServer', x=-422.52, y=13.00, z=-280.24], EntityCreeper['Creeper'/306, l='MpServer', x=-421.50, y=53.00, z=-291.17], EntitySheep['Koyun'/307, l='MpServer', x=-430.26, y=71.00, z=-292.51], EntityCreeper['Creeper'/311, l='MpServer', x=-435.41, y=30.00, z=-256.22], EntityCreeper['Creeper'/319, l='MpServer', x=-432.50, y=31.00, z=-252.50], EntityCow['İnek'/320, l='MpServer', x=-436.50, y=80.00, z=-245.02], EntityZombie['Zombi'/329, l='MpServer', x=-386.26, y=52.00, z=-272.50], EntityZombie['Zombi'/336, l='MpServer', x=-412.51, y=41.00, z=-243.57], EntitySheep['Koyun'/341, l='MpServer', x=-370.55, y=69.00, z=-249.54], EntityBat['Yarasa'/365, l='MpServer', x=-341.25, y=22.10, z=-244.39], EntityBat['Yarasa'/366, l='MpServer', x=-339.75, y=22.99, z=-247.98], EntitySheep['Koyun'/367, l='MpServer', x=-357.45, y=65.00, z=-239.76], EntityFishCod['Cod'/391, l='MpServer', x=-413.50, y=24.19, z=-376.50], EntityZombie['Zombi'/392, l='MpServer', x=-422.49, y=58.00, z=-339.20], EntitySheep['Koyun'/393, l='MpServer', x=-430.19, y=71.00, z=-346.34], EntitySheep['Koyun'/394, l='MpServer', x=-417.79, y=69.00, z=-345.51], EntityFishCod['Cod'/650, l='MpServer', x=-382.50, y=11.00, z=-275.50], EntitySheep['Koyun'/395, l='MpServer', x=-427.44, y=70.00, z=-343.45], EntityFishCod['Cod'/651, l='MpServer', x=-381.50, y=11.00, z=-275.50], EntitySheep['Koyun'/396, l='MpServer', x=-429.79, y=70.00, z=-336.59], EntityFishCod['Cod'/652, l='MpServer', x=-382.50, y=11.00, z=-277.50], EntitySheep['Koyun'/402, l='MpServer', x=-401.50, y=89.00, z=-386.50], EntitySheep['Koyun'/403, l='MpServer', x=-403.55, y=91.00, z=-388.50], EntitySheep['Koyun'/404, l='MpServer', x=-403.55, y=86.00, z=-391.48], EntitySheep['Koyun'/405, l='MpServer', x=-403.49, y=93.00, z=-385.20], EntityWitch['Cadı'/408, l='MpServer', x=-364.53, y=31.00, z=-385.22], EntitySquid['Mürekkep Balığı'/410, l='MpServer', x=-391.41, y=60.42, z=-341.66], EntityCreeper['Creeper'/413, l='MpServer', x=-362.55, y=49.00, z=-392.69], EntityFishCod['Cod'/415, l='MpServer', x=-350.48, y=62.13, z=-339.53], EntityZombie['Zombi'/417, l='MpServer', x=-340.63, y=45.00, z=-388.50], EntityCreeper['Creeper'/418, l='MpServer', x=-346.19, y=48.00, z=-389.52], EntityCreeper['Creeper'/419, l='MpServer', x=-346.18, y=48.00, z=-387.84], EntityCreeper['Creeper'/420, l='MpServer', x=-319.50, y=25.00, z=-356.15], EntitySkeleton['İskelet'/421, l='MpServer', x=-322.50, y=23.00, z=-345.89], EntitySkeleton['İskelet'/422, l='MpServer', x=-321.29, y=33.00, z=-356.51], EntityFishCod['Cod'/423, l='MpServer', x=-350.50, y=27.00, z=-340.50], EntityFishCod['Cod'/427, l='MpServer', x=-349.50, y=62.00, z=-301.36], EntityFishCod['Cod'/428, l='MpServer', x=-337.54, y=62.00, z=-303.48], EntityMinecartChest['Sandıklı Vagon'/429, l='MpServer', x=-285.50, y=33.06, z=-358.50], EntityFishCod['Cod'/430, l='MpServer', x=-310.50, y=36.00, z=-320.53], EntitySkeleton['İskelet'/431, l='MpServer', x=-334.50, y=25.00, z=-304.50], EntityFishCod['Cod'/432, l='MpServer', x=-331.53, y=62.00, z=-311.54], EntityFishCod['Cod'/433, l='MpServer', x=-321.53, y=62.00, z=-310.52], EntityFishCod['Cod'/434, l='MpServer', x=-333.17, y=62.00, z=-314.75], EntityFishCod['Cod'/435, l='MpServer', x=-323.48, y=62.00, z=-321.51], EntityFishCod['Cod'/436, l='MpServer', x=-333.50, y=62.00, z=-313.47], EntityFishCod['Cod'/437, l='MpServer', x=-327.50, y=62.00, z=-313.46], EntityFishCod['Cod'/438, l='MpServer', x=-337.53, y=62.00, z=-304.50], EntityFishCod['Cod'/448, l='MpServer', x=-291.50, y=12.26, z=-366.50], EntityMinecartChest['Sandıklı Vagon'/449, l='MpServer', x=-317.50, y=25.06, z=-351.50], EntityCreeper['Creeper'/450, l='MpServer', x=-321.50, y=26.00, z=-326.19], EntityCreeper['Creeper'/451, l='MpServer', x=-321.37, y=34.00, z=-320.84], EntityZombie['Zombi'/452, l='MpServer', x=-326.51, y=35.00, z=-334.41], EntityZombie['Zombi'/453, l='MpServer', x=-327.47, y=37.00, z=-325.81], EntityFishCod['Cod'/454, l='MpServer', x=-338.12, y=62.00, z=-328.42], EntityFishCod['Cod'/455, l='MpServer', x=-329.50, y=62.00, z=-322.50], EntityFishCod['Cod'/456, l='MpServer', x=-330.48, y=62.00, z=-327.51], EntityFishCod['Cod'/457, l='MpServer', x=-324.47, y=62.00, z=-328.49], EntityFishCod['Cod'/458, l='MpServer', x=-335.45, y=62.00, z=-315.53], EntityFishCod['Cod'/459, l='MpServer', x=-336.53, y=62.00, z=-329.52], EntityFishCod['Cod'/460, l='MpServer', x=-337.53, y=62.00, z=-315.43], EntityFishCod['Cod'/461, l='MpServer', x=-336.47, y=62.00, z=-310.55], EntityFishCod['Cod'/462, l='MpServer', x=-336.51, y=62.00, z=-309.50], EntityFishCod['Cod'/463, l='MpServer', x=-339.45, y=62.00, z=-314.47], EntityFishCod['Cod'/464, l='MpServer', x=-336.52, y=62.00, z=-302.54], EntitySheep['Koyun'/465, l='MpServer', x=-343.15, y=76.00, z=-269.07], EntitySkeleton['İskelet'/466, l='MpServer', x=-284.70, y=45.00, z=-333.82], EntityCreeper['Creeper'/467, l='MpServer', x=-322.40, y=24.00, z=-294.19], EntityFishCod['Cod'/468, l='MpServer', x=-320.53, y=62.00, z=-303.48], EntityFishCod['Cod'/469, l='MpServer', x=-328.69, y=62.00, z=-301.60], EntityFishCod['Cod'/470, l='MpServer', x=-333.46, y=62.00, z=-299.54], EntityFishCod['Cod'/471, l='MpServer', x=-331.47, y=62.00, z=-300.55], EntityFishCod['Cod'/472, l='MpServer', x=-329.48, y=62.00, z=-299.44], EntitySheep['Koyun'/473, l='MpServer', x=-345.11, y=76.00, z=-273.74], EntityMinecartChest['Sandıklı Vagon'/475, l='MpServer', x=-281.50, y=31.06, z=-341.50], EntityFishCod['Cod'/480, l='MpServer', x=-285.50, y=18.00, z=-292.50], EntityFishCod['Cod'/482, l='MpServer', x=-286.41, y=28.00, z=-299.59], EntityFishCod['Cod'/486, l='MpServer', x=-287.50, y=42.93, z=-301.50], EntitySkeleton['İskelet'/488, l='MpServer', x=-300.74, y=22.00, z=-282.48], EntitySkeleton['İskelet'/489, l='MpServer', x=-301.50, y=22.00, z=-279.50], EntitySkeleton['İskelet'/490, l='MpServer', x=-301.09, y=22.00, z=-281.50], EntityZombie['Zombi'/491, l='MpServer', x=-289.45, y=36.00, z=-273.19], EntityCreeper['Creeper'/492, l='MpServer', x=-305.30, y=21.02, z=-259.70], EntityFishCod['Cod'/493, l='MpServer', x=-315.50, y=42.00, z=-262.50], EntitySheep['Koyun'/494, l='MpServer', x=-325.26, y=71.00, z=-267.49], EntitySheep['Koyun'/495, l='MpServer', x=-331.80, y=66.00, z=-240.50], EntitySquid['Mürekkep Balığı'/498, l='MpServer', x=-297.87, y=27.00, z=-300.79], EntitySkeleton['İskelet'/499, l='MpServer', x=-303.49, y=22.00, z=-291.31], EntityFishCod['Cod'/500, l='MpServer', x=-295.48, y=27.00, z=-302.48], EntityFishCod['Cod'/501, l='MpServer', x=-291.53, y=27.13, z=-304.46], EntityFishCod['Cod'/502, l='MpServer', x=-288.48, y=28.92, z=-297.54], EntityFishCod['Cod'/503, l='MpServer', x=-302.48, y=62.00, z=-296.49], EntitySpider['Örümcek'/504, l='MpServer', x=-318.50, y=22.00, z=-280.50], EntityFishCod['Cod'/511, l='MpServer', x=-299.50, y=53.00, z=-251.50]]
    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:415)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2655)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:393)
    at net.minecraft.client.main.Main.main(SourceFile:124)
    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.11.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_161, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 466589176 bytes (444 MB) / 1044398080 bytes (996 MB) up to 1060372480 bytes (1011 MB)
    JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
    IntCache: cache: 0, tcache: 0, allocated: 15, tallocated: 95
    FML: MCP 9.38 Powered by Forge 13.20.1.2386 39 mods loaded, 39 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJAAAA    minecraft{1.11.2} [Minecraft] (minecraft.jar) 
    UCHIJAAAA    mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
    UCHIJAAAA    FML{8.0.99.99} [Forge Mod Loader] (forge-1.11.2-13.20.1.2386.jar) 
    UCHIJAAAA    forge{13.20.1.2386} [Minecraft Forge] (forge-1.11.2-13.20.1.2386.jar) 
    UCHIJAAAA    mercurius_updater{1.0} [mercurius_updater] (MercuriusUpdater-1.11.2.jar) 
    UCHIJAAAA    buildcraftlib{7.99.8.1} [BuildCraft Lib] (BuildCraft-Mod-1.11.2.jar) 
    UCHIJAAAA    buildcraftcore{7.99.8.1} [BuildCraft] (BuildCraft-Mod-1.11.2.jar) 
    UCHIJAAAA    buildcraftbuilders{7.99.8.1} [BC Builders] (BuildCraft-Mod-1.11.2.jar) 
    UCHIJAAAA    buildcraftenergy{7.99.8.1} [BC Energy] (BuildCraft-Mod-1.11.2.jar) 
    UCHIJAAAA    buildcraftfactory{7.99.8.1} [BC Factory] (BuildCraft-Mod-1.11.2.jar) 
    UCHIJAAAA    buildcraftrobotics{7.99.8.1} [BC Robotics] (BuildCraft-Mod-1.11.2.jar) 
    UCHIJAAAA    buildcraftsilicon{7.99.8.1} [BC Silicon] (BuildCraft-Mod-1.11.2.jar) 
    UCHIJAAAA    buildcrafttransport{7.99.8.1} [BC Transport] (BuildCraft-Mod-1.11.2.jar) 
    UCHIJAAAA    cxlibrary{1.4.0} [CXLibrary] (CXLibrary-1.11.2.jar) 
    UCHIJAAAA    doggytalents{v1.12.1b} [Doggy Talents] (DoggyTalents-1.11.2-v1.12.1b-universal.jar) 
    UCHIJAAAA    dynamiclights{1.4.6} [Dynamic Lights] (DynamicLights-1.11.2.jar) 
    UCHIJAAAA    dynamiclights_onfire{1.0.7} [Dynamic Lights on burning] (DynamicLights-1.11.2.jar) 
    UCHIJAAAA    dynamiclights_creepers{1.0.6} [Dynamic Lights on Creepers] (DynamicLights-1.11.2.jar) 
    UCHIJAAAA    dynamiclights_dropitems{1.1.0} [Dynamic Lights on ItemEntities] (DynamicLights-1.11.2.jar) 
    UCHIJAAAA    dynamiclights_entityclasses{1.0.1} [Dynamic Lights on specified Entities] (DynamicLights-1.11.2.jar) 
    UCHIJAAAA    dynamiclights_mobequipment{1.1.0} [Dynamic Lights on Mob Equipment] (DynamicLights-1.11.2.jar) 
    UCHIJAAAA    dynamiclights_flamearrows{1.0.1} [Dynamic Lights on Flame enchanted Arrows] (DynamicLights-1.11.2.jar) 
    UCHIJAAAA    dynamiclights_floodlights{1.0.3} [Dynamic Lights Flood Light] (DynamicLights-1.11.2.jar) 
    UCHIJAAAA    dynamiclights_otherplayers{1.0.9} [Dynamic Lights Other Player Light] (DynamicLights-1.11.2.jar) 
    UCHIJAAAA    dynamiclights_theplayer{1.1.3} [Dynamic Lights Player Light] (DynamicLights-1.11.2.jar) 
    UCHIJAAAA    ic2{2.7.81-ex111} [IndustrialCraft 2] (Industrial-Craft-2-Mod-Experimental-1.11.2.jar) 
    UCHIJAAAA    inventorytweaks{1.62+release.90.40cf8fc} [Inventory Tweaks] (Inventory-Tweaks-Mod-1.11.2.jar) 
    UCHIJAAAA    ironbackpacks{1.11.2-3.0.2-3} [Iron Backpacks] (IronBackpacks-1.11.2-3.0.2-3.jar) 
    UCHIJAAAA    ironchest{1.11.2-7.0.18.800} [Iron Chest] (ironchest-1.11.2-7.0.18.800.jar) 
    UCHIJAAAA    jei{4.2.4.230} [Just Enough Items] (jei_1.11.2-4.2.4.230.jar) 
    UCHIJAAAA    jaff{1.6.1_for_1.11.2} [Just a Few Fish] (JustAFewFish-1.6.1_for_1.11.2.jar) 
    UCHIJAAAA    morefurnaces{1.9.5} [More Furnaces] (MoreFurnaces-1.11.2-1.9.5.jar) 
    UCHIJAAAA    personalcars{1.2} [Personal Cars] (PersonalCars-1.2.jar) 
    UCHIJAAAA    r2s_c{1.3.0} [r2s_core] (r2s-Core-1.11.X-1.3.0.RELEASE.jar) 
    UCHIJAAAA    subcommonlib{1.2.0.1} [Subaraki's Common Library] (SubLib-1.11.2.jar) 
    UCHIJAAAA    telepads{1.11.2-1.0.2.1} [Telepads] (TelePads-Mod-1.11.2.jar) 
    UCHIJAAAA    torohealthmod{1.11.2-11} [ToroHealth Damage Indicators] (torohealth-1.11.2-11.jar) 
    UCHIJAAAA    vc{4.22.0} [ViesCraft] (ViesCraft-1.11.2-4.22.0.jar) 
    UCHIJAAAA    xaerominimap{1.12.3} [Xaero's Minimap] (Xaeros_Minimap_1.12.3_Forge_1.11.jar) 
    Loaded coremods (and transformers): 
CXLibraryCore (CXLibrary-1.11.2.jar)
  cubex2.cxlibrary.CoreModTransformer
Inventory Tweaks Coremod (Inventory-Tweaks-Mod-1.11.2.jar)
  invtweaks.forge.asm.ContainerTransformer
DLFMLCorePlugin (DynamicLights-1.11.2.jar)
  atomicstryker.dynamiclights.common.DLTransformer
DLFMLCorePlugin (DynamicLights_dummy.jar)
  atomicstryker.dynamiclights.common.DLTransformer
IC2core (Industrial-Craft-2-Mod-Experimental-1.11.2.jar)
  
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 382.05' Renderer: 'GeForce GTX 1050 Ti/PCIe/SSE2'
    Launched Version: 1.11.2-forge1.11.2-13.20.1.2386
    LWJGL: 2.9.4
    OpenGL: GeForce GTX 1050 Ti/PCIe/SSE2 GL version 4.5.0 NVIDIA 382.05, NVIDIA Corporation
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: Türkçe (Türkiye)
    Profiler Position: N/A (disabled)
    CPU: 4x Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I made a block entity in forge 1.20.1, I want to prevent hopper from taking input slot item, i tried to override the extractItem method, it prevented hopper from taking input slot item, but the player also unable to take/change the item in input slot unless the slot is empty. public class FluidSeparatorBlockEntity extends BlockEntity implements MenuProvider { private static final int INPUT_SLOT = 0; private final CustomItemHandler itemHandler = new CustomItemHandler(3){ @Override protected void onContentsChanged(int slot) { setChanged(); } @Override public boolean isItemValid(int slot, @NotNull ItemStack stack) { return slot == INPUT_SLOT; } @Override public @NotNull ItemStack extractItem(int slot, int amount, boolean simulate) { if (slot == INPUT_SLOT) { return ItemStack.EMPTY; } return super.extractItem(slot, amount, simulate); } }; private LazyOptional<IItemHandler> lazyItemHandler = LazyOptional.empty(); protected final ContainerData data; private int progress = 0; private int maxProgress = 78; public FluidSeparatorBlockEntity(BlockPos pPos, BlockState pBlockState) { super(ModBlockEntities.FLUID_SEPARATOR_BE.get(), pPos, pBlockState); this.data = new ContainerData() { @Override public int get(int pIndex) { return switch (pIndex) { case 0 -> FluidSeparatorBlockEntity.this.progress; case 1, 2 -> FluidSeparatorBlockEntity.this.maxProgress; default -> 0; }; } @Override public void set(int pIndex, int pValue) { switch (pIndex) { case 0 -> FluidSeparatorBlockEntity.this.progress = pValue; case 1, 2 -> FluidSeparatorBlockEntity.this.maxProgress = pValue; } } @Override public int getCount() { return 3; } }; } @Override public @NotNull <T> LazyOptional<T> getCapability(@NotNull Capability<T> cap, @Nullable Direction side) { if(cap == ForgeCapabilities.ITEM_HANDLER) { return lazyItemHandler.cast(); } return super.getCapability(cap, side); } @Override public void onLoad() { super.onLoad(); lazyItemHandler = LazyOptional.of(() -> itemHandler); } @Override public void invalidateCaps() { super.invalidateCaps(); lazyItemHandler.invalidate(); } public void drops() { SimpleContainer inventory = new SimpleContainer(itemHandler.getSlots()); for(int i = 0; i < itemHandler.getSlots(); i++) { inventory.setItem(i, itemHandler.getStackInSlot(i)); } Containers.dropContents(this.level, this.worldPosition, inventory); } @Override public Component getDisplayName() { return Component.translatable("block.chemmaster.fluid_separator"); } @Nullable @Override public AbstractContainerMenu createMenu(int pContainerId, Inventory pPlayerInventory, Player pPlayer) { return new FluidSeparatorMenu(pContainerId, pPlayerInventory, this, this.data); } @Override protected void saveAdditional(CompoundTag pTag) { pTag.put("inventory", itemHandler.serializeNBT()); pTag.putInt("fluid_separator.progress", progress); super.saveAdditional(pTag); } @Override public void load(CompoundTag pTag) { super.load(pTag); itemHandler.deserializeNBT(pTag.getCompound("inventory")); progress = pTag.getInt("fluid_separator.progress"); } public void tick(Level pLevel, BlockPos pPos, BlockState pState) { ItemStack inputStack = this.itemHandler.getStackInSlot(INPUT_SLOT); if (inputStack.getCount() < 2) { resetProgress(); return; } if(hasRecipe()) { increaseCraftingProgress(); setChanged(pLevel, pPos, pState); if(hasProgressFinished()) { craftItem(); resetProgress(); } } else { resetProgress(); } } private void resetProgress() { progress = 0; } private void craftItem() { Optional<FluidSeparatingRecipe> recipe = getCurrentRecipe(); if (recipe.isPresent()) { List<ItemStack> results = recipe.get().getOutputs(); ItemStack inputStack = this.itemHandler.getStackInSlot(INPUT_SLOT); if (inputStack.getCount() < 2) { // If there are not enough items, do not proceed with crafting return; } // Extract the input item from the input slot this.itemHandler.internalExtractItem(INPUT_SLOT, 2, false); // Loop through each result item and find suitable output slots for (ItemStack result : results) { int outputSlot = findSuitableOutputSlot(result); if (outputSlot != -1) { this.itemHandler.setStackInSlot(outputSlot, new ItemStack(result.getItem(), this.itemHandler.getStackInSlot(outputSlot).getCount() + result.getCount())); } else { // Handle the case where no suitable output slot is found // This can be logging an error, throwing an exception, or any other handling logic System.err.println("No suitable output slot found for item: " + result); } } } } private int findSuitableOutputSlot(ItemStack result) { // Implement logic to find a suitable output slot for the given result // Return the slot index or -1 if no suitable slot is found for (int i = 0; i < this.itemHandler.getSlots(); i++) { // Ensure we do not place the output item in the input slot if (i == INPUT_SLOT) { continue; } ItemStack stackInSlot = this.itemHandler.getStackInSlot(i); if (stackInSlot.isEmpty() || (stackInSlot.getItem() == result.getItem() && stackInSlot.getCount() + result.getCount() <= stackInSlot.getMaxStackSize())) { return i; } } return -1; } private boolean hasRecipe() { Optional<FluidSeparatingRecipe> recipe = getCurrentRecipe(); if (recipe.isEmpty()) { return false; } List<ItemStack> results = recipe.get().getOutputs(); for (ItemStack result : results) { if (!canInsertAmountIntoOutputSlot(result) || !canInsertItemIntoOutputSlot(result.getItem())) { return false; } } return true; } private Optional<FluidSeparatingRecipe> getCurrentRecipe(){ SimpleContainer inventory = new SimpleContainer(this.itemHandler.getSlots()); for (int i = 0; i < itemHandler.getSlots(); i++) { inventory.setItem(i, this.itemHandler.getStackInSlot(i)); } return this.level.getRecipeManager().getRecipeFor(FluidSeparatingRecipe.Type.INSTANCE, inventory, level); } private boolean canInsertAmountIntoOutputSlot(ItemStack result) { for (int i = 1; i < this.itemHandler.getSlots(); i++) { ItemStack stackInSlot = this.itemHandler.getStackInSlot(i); if (stackInSlot.isEmpty() || (stackInSlot.getItem() == result.getItem() && stackInSlot.getCount() + result.getCount() <= stackInSlot.getMaxStackSize())) { return true; } } return false; } private boolean canInsertItemIntoOutputSlot(Item item) { for (int i = 1; i < this.itemHandler.getSlots(); i++) { ItemStack stackInSlot = this.itemHandler.getStackInSlot(i); if (stackInSlot.isEmpty() || stackInSlot.getItem() == item) { return true; } } return false; } private boolean hasProgressFinished() { return progress >= maxProgress; } private void increaseCraftingProgress() { progress++; } }  
    • No dice. Unfortunately this fix didn't work, thank you though.
    • Maybe you need a rayon mod. https://www.curseforge.com/minecraft/mc-mods/rayon
    • Not sure what's going on the logs are making even less sense than usual to me. Any help would be much appreciated.   https://paste.ee/p/KBHyP#s=0
  • Topics

×
×
  • Create New...

Important Information

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