Jump to content

[1.12.2] Slot problems


The_SlayerMC

Recommended Posts

Hi ive been trying for the life of me to get this to work properly but something is really wrong, This block is like a crafting table that detects whats in the slots and replaces them if all conditions are met, however the slots are so glitchy and i dont know why

 

Container

Block

Tile Entity

 

 

Edited by The_SlayerMC

Former developer for DivineRPG, Pixelmon and now the maker of Essence of the Gods

Link to comment
Share on other sites

Not sure why this is happening now when i try to render my slots

 

Also code is updated on git, and when i remove my slots the player inventory still does the same thing

 

net.minecraft.util.ReportedException: Rendering screen
    at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1204) ~[EntityRenderer.class:?]
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1209) ~[Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:442) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_221]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_221]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_221]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_221]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:25) [start/:?]
Caused by: java.lang.RuntimeException: Slot 1 not in valid range - [0,1)
    at net.minecraftforge.items.ItemStackHandler.validateSlotIndex(ItemStackHandler.java:214) ~[ItemStackHandler.class:?]
    at net.minecraftforge.items.ItemStackHandler.getStackInSlot(ItemStackHandler.java:73) ~[ItemStackHandler.class:?]
    at net.minecraftforge.items.SlotItemHandler.getStack(SlotItemHandler.java:79) ~[SlotItemHandler.class:?]
    at net.minecraft.client.gui.inventory.GuiContainer.drawSlot(GuiContainer.java:234) ~[GuiContainer.class:?]
    at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:116) ~[GuiContainer.class:?]
    at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:396) ~[ForgeHooksClient.class:?]
    at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1177) ~[EntityRenderer.class:?]
    ... 15 more
[23:13:31] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: ---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.

Time: 11/4/19 11:13 PM
Description: Rendering screen

java.lang.RuntimeException: Slot 1 not in valid range - [0,1)
    at net.minecraftforge.items.ItemStackHandler.validateSlotIndex(ItemStackHandler.java:214)
    at net.minecraftforge.items.ItemStackHandler.getStackInSlot(ItemStackHandler.java:73)
    at net.minecraftforge.items.SlotItemHandler.getStack(SlotItemHandler.java:79)
    at net.minecraft.client.gui.inventory.GuiContainer.drawSlot(GuiContainer.java:234)
    at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:116)
    at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:396)
    at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1177)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1209)
    at net.minecraft.client.Minecraft.run(Minecraft.java:442)
    at net.minecraft.client.main.Main.main(Main.java:118)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:25)


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

-- Head --
Thread: Client thread
Stacktrace:
    at net.minecraftforge.items.ItemStackHandler.validateSlotIndex(ItemStackHandler.java:214)
    at net.minecraftforge.items.ItemStackHandler.getStackInSlot(ItemStackHandler.java:73)
    at net.minecraftforge.items.SlotItemHandler.getStack(SlotItemHandler.java:79)
    at net.minecraft.client.gui.inventory.GuiContainer.drawSlot(GuiContainer.java:234)
    at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:116)
    at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:396)

-- Screen render details --
Details:
    Screen name: net.journey.client.render.gui.GuiSummoningTable
    Mouse location: Scaled: (213, 119). Absolute: (427, 240)
    Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2

-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [EntityPlayerSP['AllShamNoWow101'/135, l='MpServer', x=-411.47, y=4.00, z=-1000.00]]
    Chunk stats: MultiplayerChunkCache: 531, 531
    Level seed: 0
    Level generator: ID 01 - flat, ver 0. Features enabled: false
    Level generator options: 
    Level spawn location: World: (-412,4,-999), Chunk: (at 4,0,9 in -26,-63; contains blocks -416,0,-1008 to -401,255,-993), Region: (-1,-2; contains chunks -32,-64 to -1,-33, blocks -512,0,-1024 to -1,255,-513)
    Level time: 104213 game time, 104213 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: 97 total; [EntityTurducken['Turducken'/3, l='MpServer', x=-523.08, y=4.00, z=-1034.19], EntityFloro['Floro'/4, l='MpServer', x=-523.50, y=4.00, z=-1030.50], EntityFloro['Floro'/8, l='MpServer', x=-520.50, y=4.00, z=-970.50], EntityFloro['Floro'/9, l='MpServer', x=-521.50, y=4.00, z=-970.50], EntityPlayerSP['AllShamNoWow101'/135, l='MpServer', x=-411.47, y=4.00, z=-1000.00], EntityFloro['Floro'/11, l='MpServer', x=-501.10, y=4.00, z=-1041.58], EntityTurducken['Turducken'/12, l='MpServer', x=-496.99, y=4.00, z=-1031.69], EntityTurducken['Turducken'/13, l='MpServer', x=-510.31, y=4.00, z=-1023.04], EntityFloro['Floro'/16, l='MpServer', x=-496.50, y=4.00, z=-975.50], EntityVillager['Villager'/17, l='MpServer', x=-487.53, y=4.00, z=-923.43], EntityCow['Cow'/19, l='MpServer', x=-485.71, y=4.00, z=-960.82], EntityChicken['Chicken'/20, l='MpServer', x=-490.61, y=4.00, z=-971.02], EntityVillager['Villager'/22, l='MpServer', x=-485.31, y=6.00, z=-945.28], EntityVillager['Villager'/23, l='MpServer', x=-480.38, y=5.00, z=-945.70], EntityVillager['Villager'/24, l='MpServer', x=-480.56, y=5.00, z=-944.91], EntityVillager['Villager'/25, l='MpServer', x=-485.01, y=5.00, z=-943.38], EntityFloro['Floro'/26, l='MpServer', x=-472.50, y=4.00, z=-1069.50], EntityFloro['Floro'/27, l='MpServer', x=-472.50, y=4.00, z=-1070.50], EntityTurducken['Turducken'/28, l='MpServer', x=-471.29, y=4.00, z=-1032.18], EntityDonkey['Donkey'/29, l='MpServer', x=-470.60, y=4.00, z=-1009.38], EntityTurducken['Turducken'/30, l='MpServer', x=-464.50, y=4.00, z=-1022.50], EntityDonkey['Donkey'/31, l='MpServer', x=-470.69, y=4.00, z=-1004.71], EntityVillager['Villager'/32, l='MpServer', x=-479.52, y=5.00, z=-945.43], EntityCaveling['Caveling'/33, l='MpServer', x=-466.50, y=10.00, z=-948.50], EntityCaveling['Caveling'/34, l='MpServer', x=-476.50, y=9.00, z=-939.50], EntityVillager['Villager'/35, l='MpServer', x=-479.67, y=4.00, z=-934.68], EntityTurducken['Turducken'/36, l='MpServer', x=-474.50, y=4.00, z=-923.50], EntityTurducken['Turducken'/37, l='MpServer', x=-477.50, y=4.00, z=-923.50], EntityFloro['Floro'/39, l='MpServer', x=-476.06, y=3.94, z=-909.02], EntityFloro['Floro'/40, l='MpServer', x=-455.60, y=4.00, z=-1036.12], EntityFloro['Floro'/41, l='MpServer', x=-451.50, y=4.00, z=-1026.50], EntityTurducken['Turducken'/42, l='MpServer', x=-456.22, y=4.00, z=-1024.14], EntityTurducken['Turducken'/43, l='MpServer', x=-451.50, y=4.00, z=-1028.50], EntityTurducken['Turducken'/44, l='MpServer', x=-452.50, y=4.00, z=-1028.50], EntityTurducken['Turducken'/45, l='MpServer', x=-451.50, y=4.00, z=-1027.50], EntityTurducken['Turducken'/46, l='MpServer', x=-455.44, y=4.00, z=-1002.68], EntityDonkey['Donkey'/47, l='MpServer', x=-461.94, y=4.00, z=-986.85], EntityFloro['Floro'/49, l='MpServer', x=-450.28, y=4.00, z=-988.12], EntityFloro['Floro'/50, l='MpServer', x=-437.30, y=4.00, z=-971.66], EntityTurducken['Turducken'/51, l='MpServer', x=-444.50, y=4.00, z=-957.50], EntityFloro['Floro'/53, l='MpServer', x=-424.50, y=4.00, z=-1114.50], EntityTurducken['Turducken'/54, l='MpServer', x=-423.50, y=4.00, z=-1091.50], EntityTurducken['Turducken'/55, l='MpServer', x=-424.96, y=4.00, z=-1091.74], EntityTurducken['Turducken'/56, l='MpServer', x=-424.50, y=4.00, z=-1072.50], EntityTurducken['Turducken'/57, l='MpServer', x=-427.26, y=4.00, z=-1078.10], EntityTurducken['Turducken'/58, l='MpServer', x=-427.04, y=4.00, z=-1067.67], EntityTurducken['Turducken'/59, l='MpServer', x=-422.59, y=4.00, z=-1072.60], EntityTurducken['Turducken'/60, l='MpServer', x=-424.24, y=4.00, z=-1070.67], EntitySlime['Slime'/61, l='MpServer', x=-434.47, y=4.14, z=-1039.24], EntityFloro['Floro'/62, l='MpServer', x=-417.78, y=4.00, z=-1000.01], EntityTurducken['Turducken'/63, l='MpServer', x=-426.05, y=4.00, z=-1005.06], EntityTurducken['Turducken'/64, l='MpServer', x=-420.08, y=4.00, z=-967.05], EntityFloro['Floro'/68, l='MpServer', x=-401.01, y=4.00, z=-1078.27], EntityTurducken['Turducken'/69, l='MpServer', x=-415.50, y=4.00, z=-1074.50], EntitySheep['Sheep'/70, l='MpServer', x=-411.36, y=4.00, z=-1050.43], EntityTurducken['Turducken'/71, l='MpServer', x=-405.72, y=4.00, z=-1030.46], EntityItem['item.item.corallatororb'/72, l='MpServer', x=-410.52, y=4.00, z=-1003.33], EntityItem['item.item.enchantedterrastar'/73, l='MpServer', x=-411.02, y=4.00, z=-1003.73], EntityTurducken['Turducken'/74, l='MpServer', x=-405.72, y=4.00, z=-990.03], EntityCow['Cow'/79, l='MpServer', x=-386.09, y=4.00, z=-1056.03], EntityCow['Cow'/80, l='MpServer', x=-399.35, y=4.00, z=-1057.21], EntityTurducken['Turducken'/81, l='MpServer', x=-398.50, y=4.00, z=-1068.50], EntityFloro['Floro'/82, l='MpServer', x=-392.50, y=4.00, z=-1054.50], EntitySpider['Spider'/83, l='MpServer', x=-392.07, y=4.00, z=-1009.94], EntityCow['Cow'/84, l='MpServer', x=-389.79, y=4.00, z=-921.34], EntityTurducken['Turducken'/87, l='MpServer', x=-396.50, y=4.00, z=-890.50], EntityTurducken['Turducken'/88, l='MpServer', x=-394.50, y=4.00, z=-889.50], EntityTurducken['Turducken'/89, l='MpServer', x=-391.50, y=4.00, z=-886.50], EntityTurducken['Turducken'/90, l='MpServer', x=-396.50, y=4.00, z=-888.50], EntityFloro['Floro'/91, l='MpServer', x=-373.50, y=4.00, z=-1105.50], EntityFloro['Floro'/92, l='MpServer', x=-382.51, y=4.00, z=-1041.07], EntityFloro['Floro'/93, l='MpServer', x=-383.50, y=4.00, z=-1020.50], EntityFloro['Floro'/94, l='MpServer', x=-382.50, y=4.00, z=-1017.50], EntityFloro['Floro'/95, l='MpServer', x=-380.50, y=4.00, z=-1021.50], EntityCow['Cow'/96, l='MpServer', x=-376.80, y=4.00, z=-983.52], EntityFloro['Floro'/97, l='MpServer', x=-375.18, y=4.00, z=-976.15], EntityCow['Cow'/98, l='MpServer', x=-378.96, y=4.00, z=-973.45], EntityCow['Cow'/99, l='MpServer', x=-377.60, y=4.00, z=-970.44], EntityFloro['Floro'/100, l='MpServer', x=-377.17, y=4.00, z=-933.61], EntityFloro['Floro'/103, l='MpServer', x=-357.50, y=4.00, z=-1043.50], EntityChicken['Chicken'/104, l='MpServer', x=-359.87, y=4.00, z=-977.11], EntityFloro['Floro'/105, l='MpServer', x=-364.50, y=4.00, z=-985.50], EntityFloro['Floro'/106, l='MpServer', x=-364.50, y=4.00, z=-986.50], EntityItem['item.item.egg'/107, l='MpServer', x=-366.26, y=4.00, z=-971.19], EntityFloro['Floro'/108, l='MpServer', x=-365.09, y=4.00, z=-974.06], EntityTurducken['Turducken'/112, l='MpServer', x=-337.50, y=4.00, z=-1030.50], EntityTurducken['Turducken'/113, l='MpServer', x=-338.50, y=4.00, z=-1028.50], EntityCow['Cow'/114, l='MpServer', x=-337.32, y=4.00, z=-996.17], EntityCow['Cow'/115, l='MpServer', x=-341.07, y=4.00, z=-978.71], EntityTurducken['Turducken'/116, l='MpServer', x=-347.50, y=4.00, z=-944.50], EntityCow['Cow'/117, l='MpServer', x=-336.32, y=4.00, z=-1053.64], EntityFloro['Floro'/118, l='MpServer', x=-335.15, y=4.00, z=-1009.14], EntityFloro['Floro'/120, l='MpServer', x=-329.50, y=4.00, z=-912.50], EntityFloro['Floro'/121, l='MpServer', x=-328.29, y=4.00, z=-910.45], EntityFloro['Floro'/124, l='MpServer', x=-310.15, y=4.00, z=-1022.19], EntityFloro['Floro'/132, l='MpServer', x=-300.20, y=4.00, z=-1017.66], EntityFloro['Floro'/133, l='MpServer', x=-294.70, y=4.00, z=-1012.37]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:461)
    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2889)
    at net.minecraft.client.Minecraft.run(Minecraft.java:463)
    at net.minecraft.client.main.Main.main(Main.java:118)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:25)

Former developer for DivineRPG, Pixelmon and now the maker of Essence of the Gods

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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • OLXTOTO - Bandar Togel Online Dan Slot Terbesar Di Indonesia OLXTOTO telah lama dikenal sebagai salah satu bandar online terkemuka di Indonesia, terutama dalam pasar togel dan slot. Dengan reputasi yang solid dan pengalaman bertahun-tahun, OLXTOTO menawarkan platform yang aman dan andal bagi para penggemar perjudian daring. DAFTAR OLXTOTO DISINI DAFTAR OLXTOTO DISINI DAFTAR OLXTOTO DISINI Beragam Permainan Togel Sebagai bandar online terbesar di Indonesia, OLXTOTO menawarkan berbagai macam permainan togel. Mulai dari togel Singapura, togel Hongkong, hingga togel Sidney, pemain memiliki banyak pilihan untuk mencoba keberuntungan mereka. Dengan sistem yang transparan dan hasil yang adil, OLXTOTO memastikan bahwa setiap taruhan diproses dengan cepat dan tanpa keadaan. Slot Online Berkualitas Selain togel, OLXTOTO juga menawarkan berbagai permainan slot online yang menarik. Dari slot klasik hingga slot video modern, pemain dapat menemukan berbagai opsi permainan yang sesuai dengan preferensi mereka. Dengan grafis yang memukau dan fitur bonus yang menggiurkan, pengalaman bermain slot di OLXTOTO tidak akan pernah membosankan. Keamanan dan Kepuasan Pelanggan Terjamin Keamanan dan kepuasan pelanggan merupakan prioritas utama di OLXTOTO. Mereka menggunakan teknologi enkripsi terbaru untuk melindungi data pribadi dan keuangan para pemain. Tim dukungan pelanggan yang ramah dan responsif siap membantu pemain dengan setiap pertanyaan atau masalah yang mereka hadapi. Promosi dan Bonus Menarik OLXTOTO sering menawarkan promosi dan bonus menarik kepada para pemainnya. Mulai dari bonus selamat datang hingga bonus deposit, pemain memiliki kesempatan untuk meningkatkan kemenangan mereka dengan memanfaatkan berbagai penawaran yang tersedia. Penutup Dengan reputasi yang solid, beragam permainan berkualitas, dan komitmen terhadap keamanan dan kepuasan pelanggan, OLXTOTO tetap menjadi salah satu pilihan utama bagi para pecinta judi online di Indonesia. Jika Anda mencari pengalaman berjudi yang menyenangkan dan terpercaya, OLXTOTO layak dipertimbangkan.
    • I have been having a problem with minecraft forge. Any version. Everytime I try to launch it it always comes back with error code 1. I have tried launching from curseforge, from the minecraft launcher. I have also tried resetting my computer to see if that would help. It works on my other computer but that one is too old to run it properly. I have tried with and without mods aswell. Fabric works, optifine works, and MultiMC works aswell but i want to use forge. If you can help with this issue please DM on discord my # is Haole_Dawg#6676
    • Add the latest.log (logs-folder) with sites like https://paste.ee/ and paste the link to it here  
    • I have no idea how a UI mod crashed a whole world but HUGE props to you man, just saved me +2 months of progress!  
    • So i know for a fact this has been asked before but Render stuff troubles me a little and i didnt find any answer for recent version. I have a custom nausea effect. Currently i add both my nausea effect and the vanilla one for the effect. But the problem is that when I open the inventory, both are listed, while I'd only want mine to show up (both in the inv and on the GUI)   I've arrived to the GameRender (on joined/net/minecraft/client) and also found shaders on client-extra/assets/minecraft/shaders/post and client-extra/assets/minecraft/shaders/program but I'm lost. I understand that its like a regular screen, where I'd render stuff "over" the game depending on data on the server, but If someone could point to the right client and server classes that i can read to see how i can manage this or any tip would be apreciated
  • Topics

×
×
  • Create New...

Important Information

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