Jump to content

[1.8.9] Custom TNT rendering?


nicolas1410

Recommended Posts

Sorry for the inactivity, I was in vacancy.

 

 

So here's the class TNT that extends BlockTNT

http://pastebin.com/PRgQw4KR

 

The EntityNukePrimed

http://pastebin.com/RVnhJcut

 

+ In the main class :

 

@EventHandler

public void init(FMLInitializationEvent e) {

proxy.init(e);

EntityRegistry.registerModEntity(EntityNukePrimed.class, "Nuke", 3601, this.instance, 256, 1, false);

 

 

Link to comment
Share on other sites

Can you tell me if that is correct now ?

 

If it this, I get the problem that I don't get the block texture ingame. I only get the Item texture

 

 

package TheMod;

 

import net.minecraft.block.BlockTNT;

import net.minecraft.block.properties.PropertyBool;

import net.minecraft.block.state.IBlockState;

import net.minecraft.client.Minecraft;

import net.minecraft.client.resources.model.ModelResourceLocation;

import net.minecraft.entity.EntityLivingBase;

import net.minecraft.item.Item;

import net.minecraft.util.BlockPos;

import net.minecraft.world.Explosion;

import net.minecraft.world.World;

import net.minecraftforge.client.model.ModelLoader;

import net.minecraftforge.fml.common.registry.GameRegistry;

 

 

 

public class TNT extends BlockTNT {

 

    public static final PropertyBool EXPLODE = PropertyBool.create("explode");

 

    public TNT(String name) {

        super();

        this.setCreativeTab(Main.tabTheMod);

        this.setHardness(0.0F);

        this.setUnlocalizedName(name);

 

        System.out.println("INITIALIZING BLOCK: " + name);

        GameRegistry.registerBlock(this, name);

    }

 

    public void RegisterRenderer(String modelName) {

 

        System.out.println("REGISTERING BLOCK RENDERER: " + modelName);

        ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(Main.Nuke), 0, new ModelResourceLocation(Main.MODID + ":" + modelName, "inventory"));

        Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(Main.Nuke), 0, new ModelResourceLocation(Main.MODID + ":" + modelName, "inventory"));

    }

    public void explode(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase igniter)

    {

        if (!worldIn.isRemote)

        {

            if (((Boolean)state.getValue(EXPLODE)).booleanValue())

            {

                EntityNukePrimed entityNukePrimed = new EntityNukePrimed(worldIn, (double)((float)pos.getX() + 0.5F), (double)pos.getY(), (double)((float)pos.getZ() + 0.5F), igniter);

                worldIn.spawnEntityInWorld(entityNukePrimed);

                worldIn.playSoundAtEntity(entityNukePrimed, "game.tnt.primed", 1.0F, 1.0F);

            }

        }

    }

    public void onBlockDestroyedByExplosion(World worldIn, BlockPos pos, Explosion explosionIn)

    {

        if (!worldIn.isRemote)

        {

            EntityNukePrimed entityNukePrimed = new EntityNukePrimed(worldIn, (double)((float)pos.getX() + 0.5F), (double)pos.getY(), (double)((float)pos.getZ() + 0.5F), explosionIn.getExplosivePlacedBy());

            entityNukePrimed.fuse = worldIn.rand.nextInt(entityNukePrimed.fuse / 4) + entityNukePrimed.fuse / 8;

            worldIn.spawnEntityInWorld(entityNukePrimed);

        }

    }

 

}

 

 

 

Link to comment
Share on other sites

Sure. Thx for your answer.

 

resources path : \src\main\resources\assets\tm

 

The Blockstate "\src\main\resources\assets\tm\blockstates" :

http://pastebin.com/QgGQnAi1

 

The Block Model "\src\main\resources\assets\tm\models\block":

http://pastebin.com/B65bw3up

 

The Item Model "\src\main\resources\assets\tm\models\item":

http://pastebin.com/tQydB4KW

 

+ My class entity

http://pastebin.com/iwxLK4dG

 

Link to comment
Share on other sites

Hi. Thank you for your help.

 

 

So my TNT class look like this:

 

package TheMod;

 

import net.minecraft.block.BlockTNT;

import net.minecraft.block.properties.PropertyBool;

import net.minecraft.block.state.IBlockState;

import net.minecraft.client.resources.model.ModelResourceLocation;

import net.minecraft.entity.EntityLivingBase;

import net.minecraft.item.Item;

import net.minecraft.util.BlockPos;

import net.minecraft.world.Explosion;

import net.minecraft.world.World;

import net.minecraftforge.client.model.ModelLoader;

import net.minecraftforge.fml.common.registry.GameRegistry;

 

 

public class TNT extends BlockTNT {

 

    public static final PropertyBool EXPLODE = PropertyBool.create("explode");

 

    public TNT(String name) {

        super();

        this.setCreativeTab(Main.tabTheMod);

        this.setHardness(0.0F);

        this.setUnlocalizedName(name);

 

        System.out.println("INITIALIZING BLOCK: " + name);

        GameRegistry.registerBlock(this, name);

    }

    public void RegisterRenderer(String modelName)

    {

        System.out.println("REGISTERING BLOCK RENDERER: " + modelName);

 

        ModelLoader.setCustomStateMapper(Block.getBlockFromName(modelName), (new StateMap.Builder()).ignore(new IProperty[] {TNT.EXPLODE}).build());

 

        ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, new ModelResourceLocation(Main.MODID + ":" + "Nuke", "inventory"));

 

    }

    public void explode(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase igniter)

    {

        if (!worldIn.isRemote)

        {

            if (((Boolean)state.getValue(EXPLODE)).booleanValue())

            {

                EntityNukePrimed entityNukePrimed = new EntityNukePrimed(worldIn, (double)((float)pos.getX() + 0.5F), (double)pos.getY(), (double)((float)pos.getZ() + 0.5F), igniter);

                worldIn.spawnEntityInWorld(entityNukePrimed);

                worldIn.playSoundAtEntity(entityNukePrimed, "game.tnt.primed", 1.0F, 1.0F);

            }

        }

    }

    public void onBlockDestroyedByExplosion(World worldIn, BlockPos pos, Explosion explosionIn)

    {

        if (!worldIn.isRemote)

        {

            EntityNukePrimed entityNukePrimed = new EntityNukePrimed(worldIn, (double)((float)pos.getX() + 0.5F), (double)pos.getY(), (double)((float)pos.getZ() + 0.5F), explosionIn.getExplosivePlacedBy());

            entityNukePrimed.fuse = worldIn.rand.nextInt(entityNukePrimed.fuse / 4) + entityNukePrimed.fuse / 8;

            worldIn.spawnEntityInWorld(entityNukePrimed);

        }

    }

 

}

 

 

 

In the ClientProxy

 

Main.Nuke.RegisterRenderer("Nuke");

 

 

But the textures still not in game + not even on the item anymore

Link to comment
Share on other sites

Ok. I'm trying

 

 

TNT CLASS

 

package TheMod;

 

import net.minecraft.block.BlockTNT;

import net.minecraft.block.properties.IProperty;

import net.minecraft.block.state.BlockState;

import net.minecraft.block.state.IBlockState;

import net.minecraft.client.renderer.block.statemap.StateMap;

import net.minecraft.client.resources.model.ModelResourceLocation;

import net.minecraft.entity.EntityLivingBase;

import net.minecraft.item.Item;

import net.minecraft.util.BlockPos;

import net.minecraft.world.Explosion;

import net.minecraft.world.World;

import net.minecraftforge.client.model.ModelLoader;

import net.minecraftforge.fml.common.registry.GameRegistry;

 

 

public class TNT extends BlockTNT {

 

    public TNT(String name) {

        super();

        this.setCreativeTab(Main.tabTheMod);

        this.setHardness(0.0F);

        this.setUnlocalizedName(name);

 

        System.out.println("INITIALIZING BLOCK: " + name);

        GameRegistry.registerBlock(this, name);

    }

    public void RegisterRenderer(String modelName)

    {

        System.out.println("REGISTERING BLOCK RENDERER: " + modelName);

        ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, new ModelResourceLocation(Main.MODID + ":" + "Nuke", "inventory"));

        ModelLoader.setCustomStateMapper(Main.Nuke, (new StateMap.Builder()).ignore(new IProperty[] {BlockTNT.EXPLODE}).build());

 

    }

    public void explode(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase igniter)

    {

        if (!worldIn.isRemote)

        {

            if (((Boolean)state.getValue(EXPLODE)).booleanValue())

            {

                EntityNukePrimed entityNukePrimed = new EntityNukePrimed(worldIn, (double)((float)pos.getX() + 0.5F), (double)pos.getY(), (double)((float)pos.getZ() + 0.5F), igniter);

                worldIn.spawnEntityInWorld(entityNukePrimed);

                worldIn.playSoundAtEntity(entityNukePrimed, "game.tnt.primed", 1.0F, 1.0F);

            }

        }

    }

    public void onBlockDestroyedByExplosion(World worldIn, BlockPos pos, Explosion explosionIn)

    {

        if (!worldIn.isRemote)

        {

            EntityNukePrimed entityNukePrimed = new EntityNukePrimed(worldIn, (double)((float)pos.getX() + 0.5F), (double)pos.getY(), (double)((float)pos.getZ() + 0.5F), explosionIn.getExplosivePlacedBy());

            entityNukePrimed.fuse = worldIn.rand.nextInt(entityNukePrimed.fuse / 4) + entityNukePrimed.fuse / 8;

            worldIn.spawnEntityInWorld(entityNukePrimed);

        }

    }

    public IBlockState getStateFromMeta(int meta)

    {

        return this.getDefaultState().withProperty(EXPLODE, Boolean.valueOf((meta & 1) > 0));

    }

   

    public int getMetaFromState(IBlockState state)

    {

        return ((Boolean)state.getValue(EXPLODE)).booleanValue() ? 1 : 0;

    }

 

    protected BlockState createBlockState()

    {

        return new BlockState(this, new IProperty[] {EXPLODE});

    }

}

 

 

 

 

And my jsons are all named "Nuke.json"

 

 

 

 

Link to comment
Share on other sites

resources path : \src\main\resources\assets\tm

 

The Blockstate "\src\main\resources\assets\tm\blockstates" :

http://pastebin.com/QgGQnAi1

 

The Block Model "\src\main\resources\assets\tm\models\block":

http://pastebin.com/B65bw3up

 

The Item Model "\src\main\resources\assets\tm\models\item":

http://pastebin.com/tQydB4KW

 

 

Client -

http://pastebin.com/5Ai5W4wZ

 

 

Main -

http://pastebin.com/1i84DHUu

Link to comment
Share on other sites

I get this error when I write all of Init to PreInit clientproxy

 

 

[20:55:37] [Client thread/ERROR]: Caught exception from tm

java.lang.NullPointerException

at TheMod.ClientProxy.preInit(ClientProxy.java:14) ~[WorkSpace/:?]

at TheMod.Main.preInit(Main.java:137) ~[WorkSpace/:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forgeSrc-1.8.9-11.15.1.1738.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]

at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) ~[forgeSrc-1.8.9-11.15.1.1738.jar:?]

at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[forgeSrc-1.8.9-11.15.1.1738.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]

at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?]

at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?]

at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:451) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]

at GradleStart.main(GradleStart.java:26) [start/:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]

at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) [idea_rt.jar:?]

[20:55:38] [Client thread/INFO]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: ---- Minecraft Crash Report ----

// Why is it breaking :(

 

Time: 23/02/16 20:55

Description: Initializing game

 

java.lang.NullPointerException: Initializing game

at TheMod.ClientProxy.preInit(ClientProxy.java:14)

at TheMod.Main.preInit(Main.java:137)

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:497)

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)

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:497)

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:211)

at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)

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:497)

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:118)

at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556)

at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)

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

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

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

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:497)

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:497)

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)

at GradleStart.main(GradleStart.java:26)

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:497)

at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

 

 

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

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

 

-- Head --

Stacktrace:

at TheMod.ClientProxy.preInit(ClientProxy.java:14)

at TheMod.Main.preInit(Main.java:137)

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:497)

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)

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:497)

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:211)

at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)

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:497)

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:118)

at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556)

at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)

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

 

-- Initialization --

Details:

Stacktrace:

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

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

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:497)

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:497)

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)

at GradleStart.main(GradleStart.java:26)

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:497)

at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

 

 

Link to comment
Share on other sites

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

Announcements



×
×
  • Create New...

Important Information

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