MCreator Problems

Started by RaolTheBest on Tue, 06/27/2017 - 10:34

Topic category: Bugs and solutions

Last seen on 19:55, 28. Sep 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
MCreator Problems
Mon, 10/09/2017 - 18:22 (edited)

For not making a topic for every problem that I have with mcreator, here is a topic for all my future problems.

S=Solved

Problem 1 S - Textures are saying Bye-bye

I had a black-out when I was recompiling my mod. The day after all the textures in the inventory were gone.

So I decided to reinstall MCreator for trying to fix the problem.

When I try to install it, an error appears. The installation folder is different from the old mcreator folder (I wrote C:\Pylo\MCreator175new).

The bug is when Mcreator is downloading extra files, and not in the installer.

Code of the install error: Uh sorry... For copying the destination folder, I've deleted the code... Now I need to wait MCreator installation...

EDIT: Error code:    
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Versione 10.0.15063]
(c) 2017 Microsoft Corporation. Tutti i diritti sono riservati.
C:\Pylo\MCreator175new>cd forge
C:\Pylo\MCreator175new\forge>SET "JAVA_HOME=C:\Pylo\MCreator175new\jdk32\"
C:\Pylo\MCreator175new\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator175new\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator175new\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-eb2e450        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:cleanCache
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
:extractDependencyATs SKIPPED
:extractMcpData
:extractMcpMappings
:genSrgs
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
:decompileMc
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap
:decompileMc FAILED
FAILURE: Build failed with an exception.
BUILD FAILED
* WhatExecution faiTotal time: 2 mins 17.607 secs
led for task ':decompileMc'.
 went wrong:
> Process 'command 'C:\Pylo\MCreator175new\jdk32\bin\java.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator175new\forge>
Task completed with return code 0 in 138098 milliseconds EDIT 2: it was only a Firewall problem

Problem 2 S - The Darkstone Lamp is Evil

 I've made a thing like a redstone lamp and I've made 2 blocks for it. In the first I made a redstone on event that makes the 2nd block and in the 2nd I made a redstone off event that makes the first. The recompilation sayed that the 2nd block was bugged (it sayed something eith else and if). I can't code, but I went to the error and I've tried to edit it by simply closing the code to mcreator, copying the @override etc. part of the first in the 2nd,deleting the old @override of the 2nd, sobstituiting the > in the power part with an = and changing the id of the block to make. Now it says an abnormal error. 

Lit Lamp Edited Code: https://pastebin.com/jUZPQqAL 

Lit Lamp Original Code:  https://pastebin.com/SP7qdv2r

Problem 3 S - The Barrel thinks that is a wood container

I've a 3d model problem: I've made a barrel. It can be filled with water and later used to make juices. The empty barrel works fine, the problem is in all the filled barrels (water barrel, cherry juice barrel, etc.). It should use two textures :the wood texture and the texture of the water/juice. It uses the wood texture for everything. So the water is... A wood block. I've tried to make a new nit animated texture for water, but it still doesn't work. The texture 0 is wood planks and the texture 2 water/cherry juice.

Link of the model: http://www.mediafire.com/file/yj5fq8685iqdclx/barrelfull2.json

Images: https://ibb.co/kypNFb
https://ibb.co/dDV7gG

lol "waater instead of water"

Code of the Barrel:

package mod.mcreator;

import net.minecraftforge.fml.relauncher.SideOnly;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;

import net.minecraft.world.World;
import net.minecraft.world.IBlockAccess;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.EnumHand;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.BlockRenderLayer;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.Item;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.client.Minecraft;
import net.minecraft.block.state.IBlockState;
import net.minecraft.block.material.Material;
import net.minecraft.block.SoundType;
import net.minecraft.block.Block;

import java.util.Random;

public class mcreator_filledbarrel {

    public mcreator_filledbarrel() {
    }

    public static BlockFilledbarrel block;

    public static Object instance;

    public int addFuel(ItemStack fuel) {
        return 0;
    }

    public void serverLoad(FMLServerStartingEvent event) {
    }

    public void preInit(FMLPreInitializationEvent event) {
        block.setRegistryName("filledbarrel");
        GameRegistry.register(block);
        GameRegistry.register(new ItemBlock(block).setRegistryName(block.getRegistryName()));
    }

    public void registerRenderers() {
    }

    public void load(FMLInitializationEvent event) {
        if (event.getSide() == Side.CLIENT) {
            Minecraft.getMinecraft().getRenderItem().getItemModelMesher()
                    .register(Item.getItemFromBlock(block), 0, new ModelResourceLocation("testenvironmentmod:filledbarrel", "inventory"));
        }
    }

    static {

        block = (BlockFilledbarrel) (new BlockFilledbarrel().setHardness(2.0F).setResistance(10.0F).setLightLevel(0.0F)
                .setUnlocalizedName("Filledbarrel").setLightOpacity(0).setCreativeTab(mcreator_raolblocks.tab));
        block.setHarvestLevel("axe", 0);
    }

    public void generateSurface(World world, Random random, int chunkX, int chunkZ) {
    }

    public void generateNether(World world, Random random, int chunkX, int chunkZ) {
    }

    static class BlockFilledbarrel extends Block {

        int a1 = 0, a2 = 0, a3 = 0, a4 = 0, a5 = 0, a6 = 0;

        boolean red = false;

        protected BlockFilledbarrel() {
            super(Material.WOOD);

            setSoundType(SoundType.WOOD);

        }

        @Override
        public void onBlockAdded(World world, BlockPos pos, IBlockState state) {
            int i = pos.getX();
            int j = pos.getY();
            int k = pos.getZ();
            world.scheduleUpdate(new BlockPos(i, j, k), this, this.tickRate(world));

        }

        @Override
        public int getWeakPower(IBlockState blockState, IBlockAccess blockAccess, BlockPos pos, EnumFacing side) {
            return red ? 15 : 0;
        }

        @Override
        public int getStrongPower(IBlockState blockState, IBlockAccess blockAccess, BlockPos pos, EnumFacing side) {
            return red ? 15 : 0;
        }

        @Override
        public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer entity, EnumHand hand, EnumFacing side,
                float hitX, float hitY, float hitZ) {
            int i = pos.getX();
            int j = pos.getY();
            int k = pos.getZ();
            if (entity.inventory.getCurrentItem() != null && entity.inventory.getCurrentItem().getItem() == mcreator_emptyglass.block) {

                if (true) {
                    if (entity instanceof EntityPlayer)
                        ((EntityPlayer) entity).inventory.clearMatchingItems(mcreator_emptyglass.block, -1, 1, null);
                }

                if (true) {
                    if (entity instanceof EntityPlayer)
                        ((EntityPlayer) entity).inventory.addItemStackToInventory(new ItemStack(mcreator_waterglass.block, 1));
                }

                if (true) {
                    world.setBlockState(new BlockPos(i, j, k), mcreator_emptybarrel.block.getDefaultState(), 3);
                }

            }

            if (entity.inventory.getCurrentItem() != null && entity.inventory.getCurrentItem().getItem() == mcreator_cherryerryerry.block) {

                if (true) {
                    if (entity instanceof EntityPlayer)
                        ((EntityPlayer) entity).inventory.clearMatchingItems(mcreator_cherryerryerry.block, -1, 1, null);
                }

                if (true) {
                    world.setBlockState(new BlockPos(i, j, k), mcreator_cherrybarrel.block.getDefaultState(), 3);
                }

            }

            return true;
        }

        @Override
        public boolean isOpaqueCube(IBlockState state) {
            return false;
        }

        @SideOnly(Side.CLIENT)
        @Override
        public BlockRenderLayer getBlockLayer() {
            return BlockRenderLayer.CUTOUT;
        }

        @Override
        public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) {
            return new AxisAlignedBB(0.0D, 0.0D, 0.0D, 1.0D, 1.0D, 1.0D);
        }

        @Override
        public int tickRate(World world) {
            return 10;
        }

        @Override
        public int quantityDropped(Random par1Random) {
            return 1;
        }

        @Override
        public Item getItemDropped(IBlockState state, Random par2Random, int par3) {
            return new ItemStack(mcreator_emptybarrel.block).getItem();
        }
    }
}

 

Problem 4 S - Minecraft doesn't want to start

When I try to do RunClient, an unknown error appears. (I've Just Enough Items in the mods folder, but it worked before in the runclient)

Error log:
  
Executing gradle command: clean runClient
Microsoft Windows [Versione 10.0.15063]
(c) 2017 Microsoft Corporation. Tutti i diritti sono riservati.
C:\Pylo\MCreator175last>cd forge
C:\Pylo\MCreator175last\forge>SET "JAVA_HOME=C:\Pylo\MCreator175last\jdk64\"
C:\Pylo\MCreator175last\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator175last\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator175last\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1641m" clean runClient
This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-d13a6c8       
  https://github.com/MinecraftForge/ForgeGradle 
#################################################
               Powered by MCP unknown              
             http://modcoderpack.com            
         by: Searge, ProfMobius, Fesh0r,        
         R4wk, ZeuX, IngisKahn, bspkrs          
#################################################
:clean
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
:processResources
:classes
:jar
:getVersionJson
:extractNatives SKIPPED
:extractUserdev UP-TO-DATE
:getAssetIndex UP-TO-DATE
:getAssets
Current status: 113/1196   9%
Current status: 188/1196   15%
Current status: 275/1196   22%
Current status: 435/1196   36%
Current status: 548/1196   45%
Current status: 672/1196   56%
Current status: 829/1196   69%
Current status: 934/1196   78%
Current status: 1010/1196   84%
Current status: 1123/1196   93%
:makeStart
:runClient
2017-10-09 18:14:34,779 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-10-09 18:14:34,782 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[18:14:34] [main/INFO] [GradleStart]: Extra: []
[18:14:35] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Admin/.gradle/caches/minecraft/assets, --assetIndex, 1.11, --accessToken{REDACTED}, --version, 1.11.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[18:14:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[18:14:35] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[18:14:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[18:14:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[18:14:35] [main/INFO] [FML]: Forge Mod Loader version 13.20.1.2386 for Minecraft 1.11.2 loading
[18:14:35] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_101, running on Windows 10:amd64:10.0, installed at C:\Pylo\MCreator175last\jdk64\jre
[18:14:35] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[18:14:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[18:14:35] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[18:14:35] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[18:14:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:14:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[18:14:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[18:14:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:14:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:14:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
2017-10-09 18:14:36,045 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-10-09 18:14:36,100 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-10-09 18:14:36,104 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[18:14:36] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[18:14:38] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[18:14:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:14:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[18:14:39] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[18:14:40] [main/INFO] [GradleStart]: Remapping AccessTransformer rules...
[18:14:40] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[18:14:40] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[18:14:40] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[18:14:43] [Client thread/INFO]: Setting user: Player49
[18:14:50] [Client thread/WARN]: Skipping bad option: lastServer:
[18:14:50] [Client thread/INFO]: LWJGL Version: 2.9.4
[18:14:53] [Client thread/INFO] [FML]: -- System Details --
Details:
   Minecraft Version: 1.11.2
   Operating System: Windows 10 (amd64) version 10.0
   Java Version: 1.8.0_101, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 144784472 bytes (138 MB) / 487063552 bytes (464 MB) up to 1430257664 bytes (1364 MB)
   JVM Flags: 0 total;
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
   FML:
   Loaded coremods (and transformers):
   GL info: ' Vendor: 'ATI Technologies Inc.' Version: '3.3.11672 Compatibility Profile Context' Renderer: 'ATI Radeon HD 4300/4500 Series'
[18:14:54] [Client thread/INFO] [FML]: MinecraftForge v13.20.1.2386 Initialized
[18:14:54] [Client thread/INFO] [FML]: Replaced 232 ore recipes
[18:14:54] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[18:14:54] [Client thread/INFO] [FML]: Searching C:\Pylo\MCreator175last\forge\run\mods for mods
[18:14:56] [Thread-6/INFO] [FML]: Using sync timing. 200 frames of Display.update took 672212180 nanos
[18:15:00] [Client thread/INFO] [testenvironmentmod]: Mod testenvironmentmod is missing the required element 'name'. Substituting testenvironmentmod
[18:15:01] [Client thread/INFO] [FML]: Forge Mod Loader has identified 6 mods to load
[18:15:02] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, testenvironmentmod, jei] at CLIENT
[18:15:02] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, testenvironmentmod, jei] at SERVER
[18:15:12] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:testenvironmentmod, FMLFileResourcePack:Just Enough Items
[18:15:12] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[18:15:13] [Client thread/INFO] [FML]: Found 445 ObjectHolder annotations
[18:15:13] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[18:15:13] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[18:15:13] [Client thread/INFO] [FML]: Applying holder lookups
[18:15:13] [Client thread/INFO] [FML]: Holder lookups applied
[18:15:13] [Client thread/INFO] [FML]: Applying holder lookups
[18:15:13] [Client thread/INFO] [FML]: Holder lookups applied
[18:15:13] [Client thread/INFO] [FML]: Applying holder lookups
[18:15:13] [Client thread/INFO] [FML]: Holder lookups applied
[18:15:13] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[18:15:13] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotio…
[18:15:13] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Found status: UP_TO_DATE Target: null
[18:15:14] [Client thread/INFO] [FML]: Applying holder lookups
[18:15:14] [Client thread/INFO] [FML]: Holder lookups applied
[18:15:14] [Client thread/INFO] [FML]: Injecting itemstacks
[18:15:14] [Client thread/INFO] [FML]: Itemstack injection complete
[18:15:35] [Sound Library Loader/INFO]: Starting up SoundSystem...
[18:15:35] [Thread-8/INFO]: Initializing LWJGL OpenAL
[18:15:35] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[18:15:36] [Thread-8/INFO]: OpenAL initialized.
[18:15:36] [Sound Library Loader/INFO]: Sound engine started
[18:15:41] [Client thread/INFO] [FML]: Max texture size: 8192
[18:15:41] [Client thread/INFO]: Created: 16x16 textures-atlas
[18:15:42] [Client thread/INFO] [FML]: OBJLoader: Domain testenvironmentmod has been added.
[18:15:42] [Client thread/FATAL] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue
[18:15:42] [Client thread/FATAL] [FML]:
   States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
   UCHI   minecraft{1.11.2} [Minecraft] (minecraft.jar)
AL lib: (EE) alc_cleanup: 1 device not closed
   UCHI   mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
   UCHI   FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.1.2386.jar)
   UCHI   forge{13.20.1.2386} [Minecraft Forge] (forgeSrc-1.11.2-13.20.1.2386.jar)
   UCHE   testenvironmentmod{1.0} [testenvironmentmod] (modid-1.0.jar)
   UCHI   jei{4.2.10.248} [Just Enough Items] (jei_1.11.2-4.2.10.248.jar)
[18:15:42] [Client thread/FATAL] [FML]: The following problems were captured during this phase
[18:15:42] [Client thread/ERROR] [FML]: Caught exception from testenvironmentmod (java.lang.ArrayIndexOutOfBoundsException: 3)
[18:15:42] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600
// Oh - I know what I did wrong!
Time: 10/9/17 6:15 PM
Description: There was a severe problem during mod loading that has caused the game to fail
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from testenvironmentmod (testenvironmentmod)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
   at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:234)
   at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:282)
   at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:277)
   at mod.mcreator.mcreator_emptybarrel.load(mcreator_emptybarrel.java:62)
   at mod.mcreator.TestEnvironmentMod.load(TestEnvironmentMod.java:7295)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:649)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
   at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
   at com.google.common.eventbus.EventBus.post(EventBus.java:275)
   at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:253)
   at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:231)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
   at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
   at com.google.common.eventbus.EventBus.post(EventBus.java:275)
   at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:148)
   at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:828)
   at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:357)
   at net.minecraft.client.Minecraft.init(Minecraft.java:562)
   at net.minecraft.client.Minecraft.run(Minecraft.java:387)
   at net.minecraft.client.main.Main.main(Main.java:118)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   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(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
   at GradleStart.main(GradleStart.java:26)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
   Minecraft Version: 1.11.2
   Operating System: Windows 10 (amd64) version 10.0
   Java Version: 1.8.0_101, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 238036232 bytes (227 MB) / 661651456 bytes (631 MB) up to 1430257664 bytes (1364 MB)
   JVM Flags: 0 total;
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
   FML: MCP 9.38 Powered by Forge 13.20.1.2386 6 mods loaded, 6 mods active
   States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
   UCHI   minecraft{1.11.2} [Minecraft] (minecraft.jar)
   UCHI   mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
   UCHI   FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.1.2386.jar)
   UCHI   forge{13.20.1.2386} [Minecraft Forge] (forgeSrc-1.11.2-13.20.1.2386.jar)
   UCHE   testenvironmentmod{1.0} [testenvironmentmod] (modid-1.0.jar)
   UCHI   jei{4.2.10.248} [Just Enough Items] (jei_1.11.2-4.2.10.248.jar)
   Loaded coremods (and transformers):
   GL info: ' Vendor: 'ATI Technologies Inc.' Version: '3.3.11672 Compatibility Profile Context' Renderer: 'ATI Radeon HD 4300/4500 Series'
[18:15:42] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600
:runClient FAILED
BUILD FAILED
FAILURE: Build failed with a* What went wrong:
n exception.
Execution failed for task ':runClient'.
Total time: 3 mins 52.622 secs
> Process 'command 'C:\Pylo\MCreator175last\jdk64\bin\java.exe'' finished with non-zero exit value -1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator175last\forge>
Task completed with return code 0 in 233490 milliseconds

 

Edited by RaolTheBest on Mon, 10/09/2017 - 18:22
Last seen on 00:07, 6. Apr 2018
Joined Mar 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Hmmm..... i think java died
Wed, 06/28/2017 - 18:57

Hmmm..... i think java died on you try deleteing the folder?

Last seen on 19:55, 28. Sep 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:Hmmm..... i think java died
Thu, 06/29/2017 - 16:10

@#1 What can I do for fixing this?

Last seen on 19:55, 28. Sep 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Please help me! This problem
Fri, 06/30/2017 - 16:33

Please help me! This problem is important and if it isn't fixed I won't be able to use Mcreator anymore! ?

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You can try, in case that you
Sun, 07/02/2017 - 12:45

You can try, in case that you are not using 64bit Java, install it and/or decrease allocated RAM for Minecraft and/or close all other applications. Also maybe creating an environment variable called _JAVA_OPTIONS could help. Or maybe you could try to load a backup folder of your MCreator, in case that Windows created some for you.

Last seen on 19:55, 28. Sep 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:You can try, in case that you
Sun, 07/02/2017 - 16:37

I don't remember what is the version of Java. I'm going to update it!
Thanks ?

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
To get rid of the error
Thu, 07/13/2017 - 19:16

To get rid of the error itself, just remove the else clause. But I really recommend you remove also the whole part about EntityPlayer, or else the code would not be able to run on multiplayer.

Last seen on 19:55, 28. Sep 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:To get rid of the error
Thu, 07/13/2017 - 19:26

And so? What do I need to do? I can't code and so I can't understand you very well...
For the EntityPlayer thing I think that lots of elements of my mod have this... This is because it isn't server compatible XD

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Just remove the word else.
Thu, 07/13/2017 - 21:11

Just remove the word else.

Last seen on 19:55, 28. Sep 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:Just remove the word else.
Fri, 07/14/2017 - 06:01

Ok thanks :D

Last seen on 17:13, 28. Sep 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:Just remove the word else.
Fri, 07/14/2017 - 10:09

@#7 This should fix the compilation problem yes, this was only a syntax error in the code.

Last seen on 19:55, 28. Sep 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:RE:Just remove the word else.
Fri, 07/14/2017 - 13:34

Thanks, @#7.1 it worked! :D

Last seen on 19:55, 28. Sep 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:Just remove the word else.
Fri, 07/14/2017 - 13:36

 @#7.1.1  Sorry wrong reply... I meant  @#7 XD

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ok, what's the way you have
Mon, 10/09/2017 - 16:19

Ok, what's the way you have imported the model to your mod? If you look in MCreator\user\json\models\block\your_model.json , I guess that all the textures are a wooden plank. If so, just replace the content of the file with the content of the original one.

Last seen on 19:55, 28. Sep 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:Ok, what's the way you have
Mon, 10/09/2017 - 16:24

@#9 Yes, you are right. Thanks for helping!