SOLVED Savoir si un coffre est vide ou plein


  • (Re) Yellow !

    Je cherche à savoir si il est possible de savoir le contenu d’un coffre (basique) savoir si il contient un item ou un bloc ?

    Merci de votre aide !


  • @‘ZeAmateis’:

    (Re) Yellow !

    Je cherche à savoir si il est possible de savoir le contenu d’un coffre (basique) savoir si il contient un item ou un bloc ?

    Merci de votre aide !

    Je pense qu’il faudrait que tu regardes dans le Container du coffre

  • Administrateurs Rédacteurs Moddeurs confirmés

    Le tileEntity suffit.


  • Mais comment faire techniquement ?

    Il faut que je “get” le tileEntity ?


  • @‘ZeAmateis’:

    Mais comment faire techniquement ?

    Il faut que je “get” le tileEntity ?

    Oui t’as une fonction dans la classe pour get une TileEntity avec ses coordonées

  • Administrateurs Rédacteurs Moddeurs confirmés

    oui, avec world et les coordonnées. Ensuite il suffit de faire un boucle for avec tile.getInventorySize() et regarder si tile.getStackInSlot(i) n’est pas null.


  • TileEntityChest tile = (TileEntityChest)this.mc.theWorld.getTileEntity(blockpos);

    J’ai fais ça mais je vois pas comment faire après avec la boucle for

    Mon morceau de code pour les intéressés !

    MovingObjectPosition movingObjPos = this.mc.thePlayer.rayTrace(2D, event.partialTicks);
    
            int width = event.resolution.getScaledWidth();
            int height = event.resolution.getScaledHeight();
    
        if(movingObjPos != null && this.mc.theWorld != null && this.mc.thePlayer != null && movingObjPos.typeOfHit == MovingObjectPosition.MovingObjectType.BLOCK)
            {
                BlockPos blockpos = this.mc.objectMouseOver.getBlockPos();
                Block block = this.mc.theWorld.getBlockState(blockpos).getBlock();
    
            String getOpeningMessage = EnumChatFormatting.BOLD + "Right Click" + EnumChatFormatting.RESET + " to open";
    
            String getContainerBlockName = block.getLocalizedName();
            String getIfIsEmpty = "(Empty)";
    
            TileEntityChest tile = (TileEntityChest)this.mc.theWorld.getTileEntity(blockpos);
    
                if(block instanceof BlockChest)
                {
                this.drawCenteredString(this.mc.fontRendererObj, getOpeningMessage, width / 2 + 30, height / 2 + 8, new Color(255,255,255).getRGB());
                this.drawCenteredString(this.mc.fontRendererObj, getContainerBlockName, width / 2 + 30, height / 2 + 22, new Color(255,255,255).getRGB());
    
                if(/*Que mettre ici*/)
                {
    for(/*Que mettre ici*/)
    {
    this.drawCenteredString(this.mc.fontRendererObj, getIfIsEmpty, width / 2 + 30, height / 2 + 35, new Color(255,255,255).getRGB());
    
    }
    
                }
                }
            }
    

  • (petit conseil : pense à utiliser les fichiers de lang pour tes messages 😉 )

    boolean flag = true;
    for (int i = 0; i < tile.getSizeInventory; i++ {
    if (tile.getStackInslot(i) != null) flag = false;
    }
    if (flag) logger.info("container vide");
    else logger.info("container non-vide");
    
    

  • Merci je pense que ça fonctionne mais j’ai un crash quand je rentre In-Game

    Code:

    ​@SideOnly(Side.CLIENT)
    
        @SubscribeEvent
        public void renderContainerMessage(RenderGameOverlayEvent.Text event)
        {    
            MovingObjectPosition movingObjPos = this.mc.thePlayer.rayTrace(2D, event.partialTicks);
    
            int width = event.resolution.getScaledWidth(); //EntityRenderer
    
            int height = event.resolution.getScaledHeight();
    
            EntityPlayer player = Minecraft.getMinecraft().thePlayer;
            World world = Minecraft.getMinecraft().theWorld;
            MovingObjectPosition mov = player.rayTrace(2D, event.partialTicks);
    
            BlockPos blockpos = this.mc.objectMouseOver.getBlockPos();
            Block block = world.getBlockState(blockpos).getBlock();
    
            boolean flag = true;
    
            if(mov != null && mov.typeOfHit == MovingObjectType.BLOCK)
            {
            TileEntityChest tile = (TileEntityChest)this.mc.theWorld.getTileEntity(blockpos);
    
                if((block) instanceof BlockChest)
                {
                this.drawCenteredString(this.mc.fontRendererObj, "", width / 2 + 30, height / 2 + 8, new Color(255,255,255).getRGB());
                this.drawCenteredString(this.mc.fontRendererObj, "", width / 2 + 30, height / 2 + 22, new Color(255,255,255).getRGB());
    
                if(tile.isLocked())
                {
                this.drawCenteredString(this.mc.fontRendererObj, "", width / 2 - 20, height / 2 - 10, new Color(255,255,255).getRGB());
                }
                for (int i = 0; i < tile.getSizeInventory(); i++) 
                {
                if (tile.getStackInSlot(i) != null)
                {
                flag = false;
                }
                }
                if (flag) 
                    this.drawCenteredString(this.mc.fontRendererObj, "", width / 2 - 20, height / 2 - 10, new Color(255,255,255).getRGB());
                }
            }
        }
    

    Crash Report:

    [18:43:23] [main/INFO] [GradleStart]: username: ZeAmateis
    [18:43:23] [main/INFO] [GradleStart]: Extra: []
    [18:43:23] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --username, ZeAmateis, --accessToken, {REDACTED}, --assetIndex, 1.8, --assetsDir, C:/Users/Jean-Baptiste/.gradle/caches/minecraft/assets, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [18:43:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [18:43:23] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [18:43:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [18:43:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [18:43:23] [main/INFO] [FML]: Forge Mod Loader version 8.0.76.1402 for Minecraft 1.8 loading
    [18:43:23] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.7.0_60, running on Windows 8.1:x86:6.3, installed at C:\Program Files (x86)\Java\jre7
    [18:43:23] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [18:43:23] [main/WARN] [FML]: The coremod fr.zeamateis.tesm.atomicstryker.module.dynamiclights.common.DLFMLCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
    [18:43:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [18:43:23] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [18:43:23] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [18:43:23] [main/INFO] [GradleStart]: Injecting location in coremod fr.zeamateis.tesm.atomicstryker.module.dynamiclights.common.DLFMLCorePlugin
    [18:43:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [18:43:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [18:43:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [18:43:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [18:43:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [18:43:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [18:43:23] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [18:43:26] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [18:43:26] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [18:43:26] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [18:43:26] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [18:43:26] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [18:43:26] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [18:43:26] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [18:43:26] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [18:43:27] [main/INFO] [STDOUT]: [fr.zeamateis.tesm.atomicstryker.module.dynamiclights.common.DLTransformer:handleWorldTransform:65]: **************** Dynamic Lights transform running on World, obf: false ***********************
    [18:43:27] [main/INFO] [STDOUT]: [fr.zeamateis.tesm.atomicstryker.module.dynamiclights.common.DLTransformer:handleWorldTransform:78]: In target method getRawLight, Patching!
    [18:43:27] [main/INFO] [STDOUT]: [fr.zeamateis.tesm.atomicstryker.module.dynamiclights.common.DLTransformer:handleWorldTransform:115]: Found ASTORE Node, is writing variable number: 3
    Node org.objectweb.asm.tree.LabelNode@1c36215, opcode -1
    Node org.objectweb.asm.tree.LineNumberNode@5c5ce3, opcode -1
    Node org.objectweb.asm.tree.VarInsnNode@1d649a0, opcode 25
    Node org.objectweb.asm.tree.VarInsnNode@17be2c9, opcode 25
    Node org.objectweb.asm.tree.VarInsnNode@66386e, opcode 25
    Node org.objectweb.asm.tree.MethodInsnNode@102d8a2, opcode 182
    found target node, opcode: 182, net/minecraft/block/Block getLightValue (Lnet/minecraft/world/IBlockAccess;Lnet/minecraft/util/BlockPos;)I
    [18:43:27] [Client thread/INFO]: Setting user: ZeAmateis
    [18:43:31] [Client thread/INFO]: LWJGL Version: 2.9.3
    [18:43:31] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
    [18:43:31] [Client thread/INFO] [FML]: MinecraftForge v11.14.1.1402 Initialized
    [18:43:31] [Client thread/INFO] [FML]: Replaced 204 ore recipies
    [18:43:31] [Client thread/INFO] [FML]: Preloading CrashReport classes
    [18:43:31] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
    [18:43:32] [Client thread/INFO] [FML]: Searching C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\The Ender Scrolls - Minecraft 1.8\Forge\eclipse\mods for mods
    [18:43:35] [Client thread/INFO] [FML]: Forge Mod Loader has identified 15 mods to load
    [18:43:41] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, DynamicLights_floodLights, DynamicLights_otherPlayers, DynamicLights_thePlayer, tesm_dynLights, tesm, tesm_blocks, tesm_cinematicraft, tesm_interface, tesm_sounds, tesm_configurations, tesm_entity, tesm_items] at CLIENT
    [18:43:41] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, DynamicLights_floodLights, DynamicLights_otherPlayers, DynamicLights_thePlayer, tesm_dynLights, tesm, tesm_blocks, tesm_cinematicraft, tesm_interface, tesm_sounds, tesm_configurations, tesm_entity, tesm_items] at SERVER
    [18:43:41] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Dynamic Lights Flood Light, FMLFileResourcePack:Dynamic Lights Other Player Light, FMLFileResourcePack:Dynamic Lights Player Light, FMLFileResourcePack:[DynamicLights] The Ender Scrolls: Minecraft, FMLFileResourcePack:The Ender Scrolls; Minecraft, FMLFileResourcePack:[Block] The Ender Scrolls: Minecraft, FMLFileResourcePack:[CinematiCraft] The Ender Scrolls: Minecraft, FMLFileResourcePack:[Iterface] The Ender Scrolls: Minecraft, FMLFileResourcePack:[Sounds] The Ender Scrolls: Minecraft, FMLFileResourcePack:[Configurations Files] The Ender Scrolls: Minecraft, FMLFileResourcePack:[Entity] The Ender Scrolls: Minecraft, FMLFileResourcePack:[Item] The Ender Scrolls: Minecraft
    [18:43:42] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [18:43:42] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
    [18:43:42] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [18:43:42] [Client thread/INFO] [STDOUT]: [fr.zeamateis.tesm.module.cinematicraft.common.libs.VlcManager:print:143]: nativesDir=C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\Workspace\VideoPlayer\libs\lwjgl\natives
    [18:43:42] [Client thread/INFO] [STDOUT]: [fr.zeamateis.tesm.module.cinematicraft.common.libs.VlcManager:print:143]: os=WINDOWS
    [18:43:42] [Client thread/INFO] [STDOUT]: [fr.zeamateis.tesm.module.cinematicraft.common.libs.VlcManager:print:143]: arch=32
    [18:43:42] [Client thread/INFO] [STDOUT]: [fr.zeamateis.tesm.module.cinematicraft.common.libs.VlcManager:print:143]: Chargement des natives VLC depuis 'C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\Workspace\VideoPlayer\libs\lwjgl\natives\vlc\win-32\'.
    [18:43:44] [Client thread/INFO] [STDOUT]: [fr.zeamateis.tesm.module.cinematicraft.common.libs.VlcManager:print:143]: Successfully loaded VLC natives!
    [18:43:44] [Client thread/INFO] [STDOUT]: [fr.zeamateis.tesm.module.cinematicraft.common.libs.VlcManager:loadNatives:130]: C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\Workspace\VideoPlayer\libs\lwjgl\natives\vlc\win-32\plugins
    [18:43:44] [Client thread/INFO] [STDOUT]: [fr.zeamateis.tesm.module.cinematicraft.common.libs.VlcManager:loadNatives:131]: 2.2.0 Weatherwax
    [18:43:44] [Client thread/INFO] [STDOUT]: [fr.zeamateis.tesm.module.configurations.common.core.ConfigurationsFileCore:getConfigFile:31]:
    [The Ender Scrolls: Minecraft] [CONFIGURATIONS] Getting Configurations Files…
    
    [18:43:44] [Client thread/INFO] [STDOUT]: [fr.zeamateis.tesm.module.configurations.common.core.ConfigurationsFileCore:getConfigToLoad:43]:
    [The Ender Scrolls: Minecraft] [CONFIGURATIONS] Loading Configurations…
    
    [18:43:44] [Client thread/INFO] [STDOUT]: [fr.zeamateis.tesm.module.configurations.common.core.ConfigurationsFileCore:getConfigToInit:19]:
    [The Ender Scrolls: Minecraft] [CONFIGURATIONS] Initalizate Configurations…
    
    [18:43:44] [Client thread/INFO] [STDOUT]: [fr.zeamateis.tesm.module.configurations.common.core.ConfigurationsFileCore:getConfigToSave:55]:
    [The Ender Scrolls: Minecraft] [CONFIGURATIONS] Saving Configurations…
    
    [18:43:44] [Client thread/INFO] [STDOUT]: [fr.zeamateis.tesm.module.configurations.common.core.TESMFileCore:getTESMFileToWrite:23]:
    [The Ender Scrolls: Minecraft] [CONFIGURATIONS] Initalizate .tesm File(s)…
    
    [18:43:44] [Client thread/INFO] [FML]: Applying holder lookups
    [18:43:44] [Client thread/INFO] [FML]: Holder lookups applied
    [18:43:45] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [18:43:45] [Thread-7/INFO]: Initializing LWJGL OpenAL
    [18:43:45] [Thread-7/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [18:43:45] [Thread-7/INFO]: OpenAL initialized.
    [18:43:45] [Sound Library Loader/INFO]: Sound engine started
    [18:43:49] [Client thread/ERROR]: Using missing texture, unable to load tesm_items:textures/items/leatherStrips.png
    java.io.FileNotFoundException: tesm_items:textures/items/leatherStrips.png
    at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:70) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:116) [TextureMap.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadSprites(TextureMap.java:83) [TextureMap.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:96) [ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:124) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:508) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    [18:43:49] [Client thread/ERROR]: Using missing texture, unable to load tesm_items:textures/items/lockpick.png
    java.io.FileNotFoundException: tesm_items:textures/items/lockpick.png
    at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:70) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:116) [TextureMap.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadSprites(TextureMap.java:83) [TextureMap.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:96) [ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:124) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:508) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    [18:43:49] [Client thread/ERROR]: Using missing texture, unable to load tesm_items:textures/items/flawlessSapphire.png
    java.io.FileNotFoundException: tesm_items:textures/items/flawlessSapphire.png
    at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:70) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:116) [TextureMap.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadSprites(TextureMap.java:83) [TextureMap.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:96) [ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:124) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:508) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    [18:43:49] [Client thread/ERROR]: Using missing texture, unable to load tesm_items:textures/items/sapphire.png
    java.io.FileNotFoundException: tesm_items:textures/items/sapphire.png
    at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:70) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:116) [TextureMap.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadSprites(TextureMap.java:83) [TextureMap.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:96) [ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:124) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:508) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    [18:43:49] [Client thread/INFO]: Created: 512x512 textures-atlas
    [18:43:52] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 15 mods
    [18:43:52] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Dynamic Lights Flood Light, FMLFileResourcePack:Dynamic Lights Other Player Light, FMLFileResourcePack:Dynamic Lights Player Light, FMLFileResourcePack:[DynamicLights] The Ender Scrolls: Minecraft, FMLFileResourcePack:The Ender Scrolls; Minecraft, FMLFileResourcePack:[Block] The Ender Scrolls: Minecraft, FMLFileResourcePack:[CinematiCraft] The Ender Scrolls: Minecraft, FMLFileResourcePack:[Iterface] The Ender Scrolls: Minecraft, FMLFileResourcePack:[Sounds] The Ender Scrolls: Minecraft, FMLFileResourcePack:[Configurations Files] The Ender Scrolls: Minecraft, FMLFileResourcePack:[Entity] The Ender Scrolls: Minecraft, FMLFileResourcePack:[Item] The Ender Scrolls: Minecraft
    [18:43:52] [Client thread/INFO]: SoundSystem shutting down…
    [18:43:52] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    [18:43:52] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [18:43:52] [Thread-9/INFO]: Initializing LWJGL OpenAL
    [18:43:52] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [18:43:52] [Thread-9/INFO]: OpenAL initialized.
    [18:43:53] [Sound Library Loader/INFO]: Sound engine started
    [18:43:58] [Client thread/ERROR]: Using missing texture, unable to load tesm_items:textures/items/leatherStrips.png
    java.io.FileNotFoundException: tesm_items:textures/items/leatherStrips.png
    at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:70) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:116) [TextureMap.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadSprites(TextureMap.java:83) [TextureMap.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:96) [ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:768) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:306) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    [18:43:58] [Client thread/ERROR]: Using missing texture, unable to load tesm_items:textures/items/lockpick.png
    java.io.FileNotFoundException: tesm_items:textures/items/lockpick.png
    at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:70) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:116) [TextureMap.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadSprites(TextureMap.java:83) [TextureMap.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:96) [ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:768) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:306) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    [18:43:58] [Client thread/ERROR]: Using missing texture, unable to load tesm_items:textures/items/flawlessSapphire.png
    java.io.FileNotFoundException: tesm_items:textures/items/flawlessSapphire.png
    at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:70) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:116) [TextureMap.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadSprites(TextureMap.java:83) [TextureMap.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:96) [ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:768) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:306) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    [18:43:58] [Client thread/ERROR]: Using missing texture, unable to load tesm_items:textures/items/sapphire.png
    java.io.FileNotFoundException: tesm_items:textures/items/sapphire.png
    at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:70) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:116) [TextureMap.class:?]
    at net.minecraft.client.renderer.texture.TextureMap.loadSprites(TextureMap.java:83) [TextureMap.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:96) [ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:768) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:306) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    [18:43:58] [Client thread/INFO]: Created: 512x512 textures-atlas
    [18:44:54] [Server thread/INFO]: Starting integrated minecraft server version 1.8
    [18:44:54] [Server thread/INFO]: Generating keypair
    [18:44:54] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
    [18:44:54] [Server thread/INFO] [FML]: Applying holder lookups
    [18:44:54] [Server thread/INFO] [FML]: Holder lookups applied
    [18:44:55] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@18b90fc)
    [18:44:55] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@18b90fc)
    [18:44:55] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@18b90fc)
    [18:44:55] [Server thread/INFO]: Preparing start region for level 0
    [18:44:56] [Server thread/INFO]: Changing view distance to 7, from 10
    [18:44:57] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
    [18:44:57] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
    [18:44:57] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 15 mods : tesm_configurations@0.1,DynamicLights_thePlayer@0.1,DynamicLights_floodLights@0.1,Forge@11.14.1.1402,tesm_blocks@0.1,tesm_entity@0.1,tesm_items@0.3,tesm_dynLights@0.1,mcp@9.05,FML@8.0.76.1402,tesm_cinematicraft@0.0.1,DynamicLights_otherPlayers@0.1,tesm_sounds@0.2,tesm@0.9,tesm_interface@0.5
    [18:44:57] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
    [18:44:57] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
    [18:44:57] [Server thread/INFO]: ZeAmateis[local:E:a99790c0] logged in with entity id 91 at (-251.23837227214892, 4.016551501376247, 545.0830758360157)
    [18:44:57] [Server thread/INFO]: ZeAmateis joined the game
    [18:44:58] [Server thread/INFO]: Saving and pausing game…
    [18:44:58] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [18:44:58] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [18:44:58] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    [18:44:58] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@1b12136[id=858c22eb-998e-3b6e-bf5d-5bbed095e7e1,name=ZeAmateis,properties={},legacy=false]
    com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
    at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:158) [YggdrasilMinecraftSessionService.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:53) [YggdrasilMinecraftSessionService$1.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:50) [YggdrasilMinecraftSessionService$1.class:?]
    at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:148) [YggdrasilMinecraftSessionService.class:?]
    at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:138) [SkinManager$3.class:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_60]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_60]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.7.0_60]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.7.0_60]
    at java.lang.Thread.run(Unknown Source) [?:1.7.0_60]
    [18:44:59] [Client thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.client.event.RenderGameOverlayEvent$Text@1f70c25:
    java.lang.NullPointerException
    at net.minecraft.world.World.isValid(World.java:260) ~[World.class:?]
    at net.minecraft.world.World.getBlockState(World.java:899) ~[World.class:?]
    at fr.zeamateis.tesm.module.client.guis.client.gui.GuiInGame.renderContainerMessage(GuiInGame.java:65) ~[GuiInGame.class:?]
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_20_GuiInGame_renderContainerMessage_Text.invoke(.dynamic) ~[?:?]
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:55) ~[ASMEventHandler.class:?]
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:138) [EventBus.class:?]
    at net.minecraftforge.client.GuiIngameForge.renderHUDText(GuiIngameForge.java:676) [GuiIngameForge.class:?]
    at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:159) [GuiIngameForge.class:?]
    at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1082) [EntityRenderer.class:?]
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1108) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:376) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    [18:44:59] [Client thread/ERROR] [FML]: Index: 4 Listeners:
    [18:44:59] [Client thread/ERROR] [FML]: 0: HIGH
    [18:44:59] [Client thread/ERROR] [FML]: 1: ASM: fr.zeamateis.tesm.module.client.guis.client.gui.GuiInGame@1b98fb1 renderGameOverlay(Lnet/minecraftforge/client/event/RenderGameOverlayEvent;)V
    [18:44:59] [Client thread/ERROR] [FML]: 2: NORMAL
    [18:44:59] [Client thread/ERROR] [FML]: 3: ASM: fr.zeamateis.tesm.module.client.guis.client.gui.event.InGameOverlayEvent@378d27 renderDebugMessage(Lnet/minecraftforge/client/event/RenderGameOverlayEvent$Text;)V
    [18:44:59] [Client thread/ERROR] [FML]: 4: ASM: fr.zeamateis.tesm.module.client.guis.client.gui.GuiInGame@1b98fb1 renderContainerMessage(Lnet/minecraftforge/client/event/RenderGameOverlayEvent$Text;)V
    [18:44:59] [Client thread/ERROR] [FML]: 5: ASM: fr.zeamateis.tesm.module.client.guis.client.gui.GuiInGame@1b98fb1 renderDebugMessage(Lnet/minecraftforge/client/event/RenderGameOverlayEvent$Text;)V
    [18:44:59] [Client thread/ERROR] [FML]: 6: ASM: fr.zeamateis.tesm.module.client.guis.client.gui.event.InGameOverlayEvent@378d27 renderF3Menu(Lnet/minecraftforge/client/event/RenderGameOverlayEvent$Pre;)V
    [18:44:59] [Client thread/ERROR] [FML]: 7: ASM: fr.zeamateis.tesm.module.client.guis.client.gui.GuiInGame@1b98fb1 renderHUD(Lnet/minecraftforge/client/event/RenderGameOverlayEvent$Pre;)V
    [18:45:00] [Server thread/INFO]: Stopping server
    [18:45:00] [Server thread/INFO]: Saving players
    [18:45:00] [Server thread/INFO]: Saving worlds
    [18:45:00] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [18:45:00] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [18:45:00] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    [18:45:00] [Server thread/INFO] [FML]: Unloading dimension 0
    [18:45:00] [Server thread/INFO] [FML]: Unloading dimension -1
    [18:45:00] [Server thread/INFO] [FML]: Unloading dimension 1
    [18:45:00] [Server thread/INFO] [FML]: Applying holder lookups
    [18:45:00] [Server thread/INFO] [FML]: Holder lookups applied
    [18:45:01] [Client thread/FATAL]: Unreported exception thrown!
    java.lang.NullPointerException
    at net.minecraft.world.World.isValid(World.java:260) ~[World.class:?]
    at net.minecraft.world.World.getBlockState(World.java:899) ~[World.class:?]
    at fr.zeamateis.tesm.module.client.guis.client.gui.GuiInGame.renderContainerMessage(GuiInGame.java:65) ~[GuiInGame.class:?]
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_20_GuiInGame_renderContainerMessage_Text.invoke(.dynamic) ~[?:?]
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:55) ~[ASMEventHandler.class:?]
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:138) ~[EventBus.class:?]
    at net.minecraftforge.client.GuiIngameForge.renderHUDText(GuiIngameForge.java:676) ~[GuiIngameForge.class:?]
    at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:159) ~[GuiIngameForge.class:?]
    at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1082) ~[EntityRenderer.class:?]
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1108) ~[Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:376) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    at GradleStart.main(Unknown Source) [start/:?]
    [18:45:01] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:660]: –-- Minecraft Crash Report ----
    
    WARNING: coremods are present:
     DLFMLCorePlugin ([DynamicLights] The Ender Scrolls Minecraft.jar)
    Contact their authors BEFORE contacting forge
    
    // I'm sorry, Dave.
    
    Time: 17/05/15 18:45
    Description: Unexpected error
    
    java.lang.NullPointerException: Unexpected error
    at net.minecraft.world.World.isValid(World.java:260)
    at net.minecraft.world.World.getBlockState(World.java:899)
    at fr.zeamateis.tesm.module.client.guis.client.gui.GuiInGame.renderContainerMessage(GuiInGame.java:65)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_20_GuiInGame_renderContainerMessage_Text.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:55)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:138)
    at net.minecraftforge.client.GuiIngameForge.renderHUDText(GuiIngameForge.java:676)
    at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:159)
    at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1082)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1108)
    at net.minecraft.client.Minecraft.run(Minecraft.java:376)
    at net.minecraft.client.main.Main.main(Main.java:117)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    at GradleStart.main(Unknown Source)
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    –-------------------------------------------------------------------------------------
    
    -- Head --
    Stacktrace:
    at net.minecraft.world.World.isValid(World.java:260)
    at net.minecraft.world.World.getBlockState(World.java:899)
    at fr.zeamateis.tesm.module.client.guis.client.gui.GuiInGame.renderContainerMessage(GuiInGame.java:65)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_20_GuiInGame_renderContainerMessage_Text.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:55)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:138)
    at net.minecraftforge.client.GuiIngameForge.renderHUDText(GuiIngameForge.java:676)
    at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:159)
    
    -- Affected level --
    Details:
    Level name: MpServer
    All players: 1 total; [EntityPlayerSP['ZeAmateis'/91, l='MpServer', x=-251,24, y=4,02, z=545,08]]
    Chunk stats: MultiplayerChunkCache: 10, 10
    Level seed: 0
    Level generator: ID 01 - flat, ver 0\. Features enabled: false
    Level generator options:
    Level spawn location: -295,00,4,00,527,00 - World: (-295,4,527), Chunk: (at 9,0,15 in -19,32; contains blocks -304,0,512 to -289,255,527), Region: (-1,1; contains chunks -32,32 to -1,63, blocks -512,0,512 to -1,255,1023)
    Level time: 78533 game time, 4675 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: 6 total; [EntityItem['item.item.egg'/69, l='MpServer', x=-219,00, y=4,00, z=533,53], EntityChicken['Chicken'/70, l='MpServer', x=-219,63, y=4,00, z=534,28], EntityHorse['Donkey'/57, l='MpServer', x=-265,81, y=4,00, z=532,19], EntityChicken['Chicken'/63, l='MpServer', x=-236,53, y=4,00, z=558,31], EntityCow['Cow'/61, l='MpServer', x=-249,28, y=4,00, z=545,84], EntityPlayerSP['ZeAmateis'/91, l='MpServer', x=-251,24, y=4,02, z=545,08]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server
    Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:392)
    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2607)
    at net.minecraft.client.Minecraft.run(Minecraft.java:405)
    at net.minecraft.client.main.Main.main(Main.java:117)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    at GradleStart.main(Unknown Source)
    
    – System Details --
    Details:
    Minecraft Version: 1.8
    Operating System: Windows 8.1 (x86) version 6.3
    Java Version: 1.7.0_60, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    Memory: 876704264 bytes (836 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.10 FML v8.0.76.1402 Minecraft Forge 11.14.1.1402 15 mods loaded, 15 mods active
    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    FML{8.0.76.1402} [Forge Mod Loader] (forgeSrc-1.8-11.14.1.1402.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Forge{11.14.1.1402} [Minecraft Forge] (forgeSrc-1.8-11.14.1.1402.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    tesm_dynLights{0.1} [[DynamicLights] The Ender Scrolls: Minecraft] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    DynamicLights_floodLights{0.1} [Dynamic Lights Flood Light] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    DynamicLights_otherPlayers{0.1} [Dynamic Lights Other Player Light] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    DynamicLights_thePlayer{0.1} [Dynamic Lights Player Light] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    tesm{0.9} [The Ender Scrolls; Minecraft] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    tesm_blocks{0.1} [[Block] The Ender Scrolls: Minecraft] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    tesm_cinematicraft{0.0.1} [[CinematiCraft] The Ender Scrolls: Minecraft] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    tesm_interface{0.5} [[Iterface] The Ender Scrolls: Minecraft] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    tesm_sounds{0.2} [[Sounds] The Ender Scrolls: Minecraft] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    tesm_configurations{0.1} [[Configurations Files] The Ender Scrolls: Minecraft] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    tesm_entity{0.1} [[Entity] The Ender Scrolls: Minecraft] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    tesm_items{0.3} [[Item] The Ender Scrolls: Minecraft] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Loaded coremods (and transformers):
    DLFMLCorePlugin ([DynamicLights] The Ender Scrolls Minecraft.jar)
     fr.zeamateis.tesm.atomicstryker.module.dynamiclights.common.DLTransformer
    Launched Version: 1.8
    LWJGL: 2.9.3
    OpenGL: Intel(R) HD Graphics 3000 GL version 3.1.0 - Build 9.17.10.4101, Intel
    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: No
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: []
    Current Language: English (UK)
    Profiler Position: N/A (disabled)
    [18:45:01] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:660]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\The Ender Scrolls - Minecraft 1.8\Forge\eclipse\.\crash-reports\crash-2015-05-17_18.45.01-client.txt
    AL lib: (EE) alc_cleanup: 1 device not closed
    

  • Tu as un NPE car this.mc.objectMouseOver peut être null si tu ne regarde aucun block, il faut juste faire if(this.mc.objectMouseOver != null) {toncode}


  • @‘SCAREX’:

    (petit conseil : pense à utiliser les fichiers de lang pour tes messages 😉 )

    boolean flag = true;
    for (int i = 0; i < tile.getSizeInventory; i++ {
    if (tile.getStackInslot(i) != null) flag = false;
    }
    if (flag) logger.info("container vide");
    else logger.info("container non-vide");
    

    Ton code me retourne toujours “container vide” même si le coffre est plein, j’comprend pas

  • Administrateurs Rédacteurs Moddeurs confirmés

    Pourtant hormis une parenthèse manquante après le i++ sont code est bon.


  • Humm, c’est bizarre, je renvoie le code au cas où

    ​@SideOnly(Side.CLIENT)
    
        @SubscribeEvent
        public void renderContainerMessage(RenderGameOverlayEvent.Text event)
        {    
            MovingObjectPosition movingObjPos = this.mc.thePlayer.rayTrace(2D, event.partialTicks);
    
            int width = event.resolution.getScaledWidth(); //EntityRenderer
    
            int height = event.resolution.getScaledHeight();
    
            EntityPlayer player = Minecraft.getMinecraft().thePlayer;
            World world = Minecraft.getMinecraft().theWorld;
            MovingObjectPosition mov = player.rayTrace(2D, event.partialTicks);
    
            if(this.mc.objectMouseOver != null && mov != null && mov.typeOfHit == MovingObjectType.BLOCK)
            {
                BlockPos blockpos = this.mc.objectMouseOver.getBlockPos();
                Block block = world.getBlockState(blockpos).getBlock();
    
            String getOpeningMessage = EnumChatFormatting.BOLD + "Right Click" + EnumChatFormatting.RESET + " to open";
    
            String getContainerBlockName = block.getLocalizedName();
            String isEmpty = "(Empty)";
            String getIfIsLocked = EnumChatFormatting.DARK_RED + "Locked";
    
            TileEntityChest tile = (TileEntityChest)this.mc.theWorld.getTileEntity(blockpos);
            boolean flag = true;
    
                if((block) instanceof BlockChest)
                {
                this.drawCenteredString(this.mc.fontRendererObj, getOpeningMessage, width / 2 + 30, height / 2 + 8, new Color(255,255,255).getRGB());
                this.drawCenteredString(this.mc.fontRendererObj, getContainerBlockName, width / 2 + 30, height / 2 + 22, new Color(255,255,255).getRGB());
    
                if(tile.isLocked())
                {
                this.drawCenteredString(this.mc.fontRendererObj, getIfIsLocked, width / 2 - 20, height / 2 - 10, new Color(255,255,255).getRGB());
                }
                for (int i = 0; i < tile.getSizeInventory(); i++)
                {
                if (tile.getStackInSlot(i) != null) flag = false;
                }
                if (flag) System.out.println("container vide");
                else System.out.println("container non-vide");
    
                }
            }
        }
    
  • Administrateurs Rédacteurs Moddeurs confirmés

    Dans la double fait un print de tile.getStackInSlot(i)


  • ca crashe quand même (biensûr si tu entend i++ comme double)

  • Administrateurs Rédacteurs Moddeurs confirmés

    Envoie le rapport.


  • rayTrace(2D, event.partialTicks);

    2 c’est pas beaucoup, essaie avec quelque chose de plus grand ou rapproche toi de ton block


  • Le jeu fait juste un Ne répond pas Robin

    avec ça

    
    [21:34:10] [Server thread/INFO]: Saving and pausing game…
    [21:34:10] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [21:34:10] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [21:34:10] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    [21:34:10] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@5c8342[id=858c22eb-998e-3b6e-bf5d-5bbed095e7e1,name=ZeAmateis,properties={},legacy=false]
    com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
    at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:158) [YggdrasilMinecraftSessionService.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:53) [YggdrasilMinecraftSessionService$1.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:50) [YggdrasilMinecraftSessionService$1.class:?]
    at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:148) [YggdrasilMinecraftSessionService.class:?]
    at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:138) [SkinManager$3.class:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_60]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_60]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.7.0_60]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.7.0_60]
    at java.lang.Thread.run(Unknown Source) [?:1.7.0_60]
    
    
  • Administrateurs Rédacteurs Moddeurs confirmés

    Il y a une erreur avec le système d’auth de Minecraft, c’est étrange o_O


  • The client has sent too many requests within a certain amount of time
    

    Arrête pendant un petit bout de temps, mojang en a marre que tu redémarres ton jeu.