Jump to content

Recommended Posts

Posted

Currently, I'm running Forge 1.12.2 (with Optifine) and it works great! However, I want to be able to use another version of Forge along with the version I currently have installed. The reason I installed Forge in the first place was because I couldn't load Optifine by itself for some reason, and I still don't understand why. Anyway, is it possible to have two versions of Forge installed at the same time? I've already tried doing this with multiple versions, but to no avail; Forge crashes everytime. When I go back and look in the launch options, those versions of Forge are still there, even though I've deleted the files off of my computer. If there's no way to have two versions installed at the same time, is the any way to guarantee that the other version of Forge will work properly if I can rid of the version I already have installed?

Thanks!

Posted

What launcher are you using? Please provide a screenshot.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

It is possible to install different versions of forge.

You can delete a version of forge by going to the version folder in your Minecraft path and delete the corresponding version.

Some tips:

  Reveal hidden contents

 

Posted
  On 4/27/2019 at 2:51 AM, DavidM said:

It is possible to install different versions of forge.

You can delete a version of forge by going to the version folder in your Minecraft path and delete the corresponding version.

Expand  

Are you saying that if I delete my current version of Forge, I should be able to install a different version with no problems?

Posted

You should not have to delete any version to install more.

Can you provide logs for the versions that crash, and please verify that the crashing versions are versions you have not removed the files for.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted
  On 4/27/2019 at 6:01 AM, DaemonUmbra said:

You should not have to delete any version to install more.

Can you provide logs for the versions that crash, and please verify that the crashing versions are versions you have not removed the files for.

Expand  

I ran the recommended version of 1.8.9 three times, and this is what I got.

pic1.PNG

pic2.PNG

pic3.PNG

Posted

Those are not logs and 1.8.9 is no longer supported due to its age.

If you wish to receive further support please update to a modern version and provide logs (more info in my forum signature).

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted
  On 4/27/2019 at 6:43 PM, DaemonUmbra said:

Those are not logs and 1.8.9 is no longer supported due to its age.

If you wish to receive further support please update to a modern version and provide logs (more info in my forum signature).

Expand  

Well, I've downloaded the installer for 1.13.2 and it's a .jar file, but I can't open it for some reason. I've downloaded the newest version of Forge 1.13.2 a few times and it never opens. I just can't get the .jar files open. Every time I click on the icon the command prompt pops up (I'm running Windows 10) for a brief moment before going away, and nothing happens. Why does it do this? My previous computer had no problems opening .jar files.

Posted

Try running the jar with the command prompt and post the output.

Some tips:

  Reveal hidden contents

 

Posted
  On 4/27/2019 at 11:55 PM, DavidM said:

Try running the jar with the command prompt and post the output.

Expand  

It simply says 'The system cannot find the file specified.' I looked up how to run a .jar file and it didn't work at all.

Posted (edited)
  On 4/28/2019 at 2:36 PM, Plugin said:

It simply says 'The system cannot find the file specified.' I looked up how to run a .jar file and it didn't work at all.

Expand  

That means you did something wrong.

Try again. Search up how to run a jar in the command prompt.

Edited by DavidM

Some tips:

  Reveal hidden contents

 

Posted (edited)

Having the same problem as David.   I am using Win10 with Winrar (since I do some resource mods).   However this Forge 1.13.2  is driving me insane to get it to work.  I have Java  jre1.8.0-161 and 8.0-211.  I even changed the properties of jar files to open with java; command window then gone in a flash.  

Then tried it as javaw: nothing happens

to javaws: gives this report as Unable to launch the application

Details:

CouldNotLoadArgumentException[ Could not load file/URL specified: E:\Games\Minecraft\MINECRAFT - Core Mod Styles\v1.13.2\Tools\forge-1.13.2-25.0.191-installer.jar]
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main.access$000(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: File too large
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    ... 5 more

 

So which java app works?   I even ran the look for in java panel and it only just picks up Minecraft Installer program.

I have limited knowledge on this stuff.  I been trying to update to 13.2 since a lot of my favorite mods are now up to 13.2.  I been using the substitute for Forge on 13.2 but now that Forge is out they won't be updating (actually they never updated since their release)

 

I JUST FIXED IT AND INSTALLED still :  if at all can Forge have the easy button for Windows?  since that never gave me any issues

 

 

DAVIDM:

 

okay, what I did was this:

1st:  Move Forge to Desktop

2nd: click on the forge without opening it!

3rd: hit Window Icon on keybroad + X 

4th: Choose Command prompt with Admin

5th Type in                     java -jar (file location*)    then enter

*Location should be at C:\Users\xxxx*\Desktop\forge-1.13.2-25.0.191-installer.jar

**user is the person profile

 

6th: Forge should prop up!

7th: you can move forge back to where you save files

 

Hope this works for you and anyone else!

 

Edited by Iteries
Posted
  On 5/1/2019 at 1:01 AM, Iteries said:

Having the same problem as David.

Expand  

I didn't have a problem in this thread though...

The OP is @Plugin.

 

I'm glad that you are trying to help others; however, the problem you are encountering is not exactly the same as what the OP is asking help for. In the future, please create a new thread for your problem, as having multiple problems in one thread can cause confusions.

Some tips:

  Reveal hidden contents

 

  • 1 year later...
Posted

if you have the newest version of the minecraft launcher put ther forge on en try it if it works delete the forge version with the minecraft launcher(this is not permanent) then set a the other version with forge on the new minecraft launcher if that works make a new installation en do this  go hier ||                                                                                                                                                                                              \/                                                                                                                                                                                             \/

image.png

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • To prevent dependency errors, yes  
    • dynamictrees and dtneapolitan are the last mentioned mod - remove these
    • https://mclo.gs/9y5ciD2 anyone ever had this issue?  Internal exception illegal argument exception: unable to fit 3194354 into 3
    • Hi! I'm trying to add my custom models/textures renderer like this: public class PonyPlayerWrapperRenderer extends EntityRenderer<Player> { // wrapper class under my LivingEntityRenderer class implementation private final PonyPlayerRenderer innerRenderer; private final PonyPlayerRenderer innerSlimRenderer; public PonyPlayerWrapperRenderer(final EntityRendererProvider.Context context) { super(context); System.out.println("creating new PonyPlayerWrapperRenderer"); this.innerRenderer = new PonyPlayerRenderer(context, false); this.innerSlimRenderer = new PonyPlayerRenderer(context, true); } @Override public void render(final Player entity, final float yaw, final float partialTicks, final PoseStack poseStack, final MultiBufferSource bufferSource, final int packedLight) { System.out.println("PonyPlayerWrapperRenderer render: " + entity.toString()); if (entity instanceof AbstractClientPlayer clientPlayer) { if (clientPlayer.getModelName().contains("slim")) { innerSlimRenderer.render(clientPlayer, yaw, partialTicks, poseStack, bufferSource, packedLight); } else { innerRenderer.render(clientPlayer, yaw, partialTicks, poseStack, bufferSource, packedLight); } } } @Override public ResourceLocation getTextureLocation(final Player player) { System.out.println("PonyPlayerWrapperRenderer getTextureLocation"); if (player instanceof AbstractClientPlayer clientPlayer) { return clientPlayer.getSkinTextureLocation(); } System.out.println("player instanceof AbstractClientPlayer is false"); return getDefaultSkin(player.getUUID()); } } public class PonyPlayerRenderer extends LivingEntityRenderer<AbstractClientPlayer, PlayerModel<AbstractClientPlayer>> { private final PlayerModel<AbstractClientPlayer> earthModel; private final PlayerModel<AbstractClientPlayer> pegasusModel; private final PlayerModel<AbstractClientPlayer> unicornModel; public PonyPlayerRenderer(final EntityRendererProvider.Context context, final boolean slim) { super( context, slim ? new PonyModelSlim(context.bakeLayer(PonyModelSlim.LAYER_LOCATION)) : new PonyModel(context.bakeLayer(PonyModel.LAYER_LOCATION)), 0.5f ); System.out.println("creating new PonyPlayerRenderer"); this.earthModel = slim ? new PonyModelSlim(context.bakeLayer(PonyModelSlim.LAYER_LOCATION)) : new PonyModel(context.bakeLayer(PonyModel.LAYER_LOCATION)); this.pegasusModel = new PegasusModel(context.bakeLayer(PegasusModel.LAYER_LOCATION)); this.unicornModel = new UnicornModel(context.bakeLayer(UnicornModel.LAYER_LOCATION)); } @Override public void render(final AbstractClientPlayer player, final float entityYaw, final float partialTicks, final PoseStack poseStack, final MultiBufferSource buffer, final int packedLight) { final PonyRace race = player.getCapability(PONY_DATA) .map(data -> ofNullable(data.getRace()).orElse(PonyRace.EARTH)) .orElse(PonyRace.EARTH); this.model = switch (race) { case PEGASUS -> pegasusModel; case UNICORN -> unicornModel; case EARTH -> earthModel; }; super.render(player, entityYaw, partialTicks, poseStack, buffer, packedLight); } @Override public ResourceLocation getTextureLocation(final AbstractClientPlayer player) { final PonyRace race = player.getCapability(PONY_DATA) .map(data -> ofNullable(data.getRace()).orElse(PonyRace.EARTH)) .orElse(PonyRace.EARTH); return switch (race) { case EARTH -> fromNamespaceAndPath(MODID, "textures/entity/earth_pony.png"); case PEGASUS -> fromNamespaceAndPath(MODID, "textures/entity/pegasus.png"); case UNICORN -> fromNamespaceAndPath(MODID, "textures/entity/unicorn.png"); }; } } @Mod.EventBusSubscriber(modid = MODID, bus = MOD, value = CLIENT) public class ClientRenderers { // mod bus render registration config @SubscribeEvent public static void onRegisterLayerDefinitions(final EntityRenderersEvent.RegisterLayerDefinitions event) { event.registerLayerDefinition(PonyModel.LAYER_LOCATION, PonyModel::createBodyLayer); event.registerLayerDefinition(PonyModelSlim.LAYER_LOCATION, PonyModelSlim::createBodyLayer); event.registerLayerDefinition(PegasusModel.LAYER_LOCATION, PegasusModel::createBodyLayer); event.registerLayerDefinition(UnicornModel.LAYER_LOCATION, UnicornModel::createBodyLayer); event.registerLayerDefinition(InnerPonyArmorModel.LAYER_LOCATION, InnerPonyArmorModel::createBodyLayer); event.registerLayerDefinition(OuterPonyArmorModel.LAYER_LOCATION, OuterPonyArmorModel::createBodyLayer); } @SubscribeEvent public static void onRegisterRenderers(final EntityRenderersEvent.RegisterRenderers event) { event.registerEntityRenderer(EntityType.PLAYER, PonyPlayerWrapperRenderer::new); System.out.println("onRegisterRenderers end"); } } Method onRegisterRenderers() is called and I can see it being logged. But when I enter the world, my PonyWrapperRenderer render() method doesn't ever seem to be called. I also tried to put my renderer to EntityRenderDispatcher's playerRenderers via reflection: @Mod.EventBusSubscriber(modid = MODID, bus = MOD, value = CLIENT) public class ClientRenderers { @SubscribeEvent public static void onRegisterLayerDefinitions(final EntityRenderersEvent.RegisterLayerDefinitions event) { event.registerLayerDefinition(PonyModel.LAYER_LOCATION, PonyModel::createBodyLayer); event.registerLayerDefinition(PonyModelSlim.LAYER_LOCATION, PonyModelSlim::createBodyLayer); event.registerLayerDefinition(PegasusModel.LAYER_LOCATION, PegasusModel::createBodyLayer); event.registerLayerDefinition(UnicornModel.LAYER_LOCATION, UnicornModel::createBodyLayer); event.registerLayerDefinition(InnerPonyArmorModel.LAYER_LOCATION, InnerPonyArmorModel::createBodyLayer); event.registerLayerDefinition(OuterPonyArmorModel.LAYER_LOCATION, OuterPonyArmorModel::createBodyLayer); } @SubscribeEvent public static void onClientSetup(final FMLClientSetupEvent event) { event.enqueueWork(() -> { try { final EntityRenderDispatcher dispatcher = Minecraft.getInstance().getEntityRenderDispatcher(); final Field renderersField = getEntityRenderDispatcherField("playerRenderers"); final Field itemInHandRenderer = getEntityRenderDispatcherField("itemInHandRenderer"); @SuppressWarnings("unchecked") final Map<String, EntityRenderer<? extends Player>> playerRenderers = (Map<String, EntityRenderer<? extends Player>>)renderersField.get(dispatcher); final PonyPlayerWrapperRenderer renderer = new PonyPlayerWrapperRenderer( new EntityRendererProvider.Context( dispatcher, Minecraft.getInstance().getItemRenderer(), Minecraft.getInstance().getBlockRenderer(), (ItemInHandRenderer)itemInHandRenderer.get(dispatcher), Minecraft.getInstance().getResourceManager(), Minecraft.getInstance().getEntityModels(), Minecraft.getInstance().font ) ); playerRenderers.put("default", renderer); playerRenderers.put("slim", renderer); System.out.println("Player renderers replaced"); } catch (final Exception e) { throw new RuntimeException("Failed to replace player renderers", e); } }); } private static Field getEntityRenderDispatcherField(final String fieldName) throws NoSuchFieldException { final Field field = EntityRenderDispatcher.class.getDeclaredField(fieldName); field.setAccessible(true); return field; } } But I receive the error before Minecraft Client appears (RuntimeException: Failed to replace player renderers - from ClientRenderers onClientSetup() method - and its cause below): java.lang.IllegalArgumentException: No model for layer anotherlittlepony:earth_pony#main at net.minecraft.client.model.geom.EntityModelSet.bakeLayer(EntityModelSet.java:18) ~[forge-1.20.1-47.4.0_mapped_official_1.20.1-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.entity.EntityRendererProvider$Context.bakeLayer(EntityRendererProvider.java:69) ~[forge-1.20.1-47.4.0_mapped_official_1.20.1-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at com.thuggeelya.anotherlittlepony.client.renderer.pony.PonyPlayerRenderer.<init>(PonyPlayerRenderer.java:32) ~[main/:?] {re:classloading} at com.thuggeelya.anotherlittlepony.client.renderer.pony.PonyPlayerWrapperRenderer.<init>(PonyPlayerWrapperRenderer.java:24) ~[main/:?] {re:classloading} at com.thuggeelya.anotherlittlepony.client.renderer.ClientRenderers.lambda$onClientSetup$0(ClientRenderers.java:79) ~[main/:?] {re:classloading} ... 33 more Problem appears when EntityRendererProvider context tries to bakeLayer with my model layer location: new PonyModel(context.bakeLayer(PonyModel.LAYER_LOCATION)); // PonyPlayerRenderer.java:32 public class PonyModel extends PlayerModel<AbstractClientPlayer> { // the model class itself public static final ModelLayerLocation LAYER_LOCATION = new ModelLayerLocation( ResourceLocation.fromNamespaceAndPath(MODID, "earth_pony"), "main" ); public PonyModel(final ModelPart root) { super(root, false); } public static LayerDefinition createBodyLayer() { // some CubeListBuilder stuff for model appearance } } Textures PNGs are placed at: resources/assets/[my mod id]/textures/entity. My forge version is 1.20.1. Would appreciate any help.
  • Topics

×
×
  • Create New...

Important Information

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