Jump to content

[MC 1.3.2][MCP 7.2][Forge #200]Errors when the forge setup recompiles Minecraft


Recommended Posts

Posted

What I did:

1. Downloaded MCP 7.2 and extracted it to "AppData/Roaming".

2. Downloaded Forge source build 200 from jenkins and extracted it to the mcp72 folder.

3. Downloaded Minecraft 1.3.2 again (I saw the version number in the top left corner).

4. Downloaded minecraft_server.jar (I ran this one too to see that it was version 1.3.2).

5. Copied the bin and resources folders as well as the minecraft_server.jar to the mcp72/jars folder.

6. Ran "install.cmd" and got the following log: (for some reason it did not want to use a bigger sized buffer so I had to run it twice and combine the results).

================ Forge ModLoader Setup Start ===================
Setting up MCP
> Restoring commands.py backup
Patching file C:\Users\Martin\AppData\Roaming\mcp72\runtime\commands.py
patching file commands.py
Commands patch applied successfully
Copying FML conf
Fixing MCP Workspace
== MCP 7.2 (data: 7.2, client: 1.3.2, server: 1.3.2) ==
# found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, ast
yle, astyle config
> Creating Retroguard config files
== Decompiling client using fernflower ==
> Creating SRGs
> Applying Retroguard
> Compiling AccessTransformer
> Compiling MCPMerger
> Running MCPMerger
> Running AccessTransformer
> Really Applying Retroguard
> Applying MCInjector
> Unpacking jar
> Copying classes
> Decompiling
> Copying sources
> Applying fernflower fixes
> Applying patches
> Cleaning comments
- Done in 77.43 seconds
== Reformating client ==
> Cleaning sources
> Replacing OpenGL constants
> Reformating sources
- Done in 7.72 seconds
!! renaming disabled !!
== Decompiling server using fernflower ==
> Creating SRGs
> Applying Retroguard
> Running AccessTransformer
> Really Applying Retroguard
> Applying MCInjector
> Unpacking jar
> Copying classes
> Decompiling
> Copying sources
> Applying fernflower fixes
> Applying patches
> Cleaning comments
- Done in 59.97 seconds
== Reformating server ==
> Cleaning sources
> Reformating sources
- Done in 4.71 seconds
!! renaming disabled !!
!! recompile disabled !!
Stripping META-INF from minecraft.jar
Skipping: META-INF/MANIFEST.MF
Skipping: META-INF/MOJANG_C.SF
Skipping: META-INF/MOJANG_C.DSA
== MCP 7.2 (data: 7.2, client: 1.3.2, server: 1.3.2) ==
# found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, ast
yle, astyle config
== Recompiling client ==
> Cleaning bin
> Recompiling
- Done in 7.75 seconds
> Generating client md5s
== Recompiling server ==
> Cleaning bin
> Recompiling
Server side recompiling skipped, this is normal
- Done in 0.00 seconds
> Generating server md5s
Deleting common/cpw: C:\Users\Martin\AppData\Roaming\mcp72\src\common\cpw
Applying Forge ModLoader patches
patching file 'minecraft\net\minecraft\client\ClientBrandRetriever.java'
patching file 'minecraft\net\minecraft\client\Minecraft.java'
patching file 'minecraft\net\minecraft\client\MinecraftApplet.java'
patching file 'minecraft\net\minecraft\src\GuiCreateWorld.java'
patching file 'minecraft\net\minecraft\src\GuiMainMenu.java'
patching file 'minecraft\net\minecraft\src\IntegratedServer.java'
patching file 'minecraft\net\minecraft\src\MemoryConnection.java'
patching file 'minecraft\net\minecraft\src\NetClientHandler.java'
patching file 'minecraft\net\minecraft\src\RenderBlocks.java'
patching file 'minecraft\net\minecraft\src\RenderEngine.java'
patching file 'minecraft\net\minecraft\src\TextureCompassFX.java'
patching file 'minecraft\net\minecraft\src\TextureFlamesFX.java'
patching file 'minecraft\net\minecraft\src\TextureLavaFlowFX.java'
patching file 'minecraft\net\minecraft\src\TextureLavaFX.java'
patching file 'minecraft\net\minecraft\src\TexturePortalFX.java'
patching file 'minecraft\net\minecraft\src\TextureWatchFX.java'
patching file 'minecraft\net\minecraft\src\TextureWaterFlowFX.java'
patching file 'minecraft\net\minecraft\src\TextureWaterFX.java'
patching file 'common\net\minecraft\server\MinecraftServer.java'
patching file 'common\net\minecraft\src\BlockDispenser.java'
patching file 'common\net\minecraft\src\ChunkProviderServer.java'
patching file 'common\net\minecraft\src\DedicatedServer.java'
patching file 'common\net\minecraft\src\EntityPlayer.java'
patching file 'common\net\minecraft\src\EntitySlime.java'
patching file 'common\net\minecraft\src\EntityTracker.java'
patching file 'common\net\minecraft\src\EntityTrackerEntry.java'
patching file 'common\net\minecraft\src\GenLayerBiome.java'
patching file 'common\net\minecraft\src\NetHandler.java'
patching file 'common\net\minecraft\src\NetLoginHandler.java'
patching file 'common\net\minecraft\src\NetServerHandler.java'
patching file 'common\net\minecraft\src\NetworkListenThread.java'
patching file 'common\net\minecraft\src\ServerConfigurationManager.java'
patching file 'common\net\minecraft\src\ServerListenThread.java'
patching file 'common\net\minecraft\src\SlotCrafting.java'
patching file 'common\net\minecraft\src\SlotFurnace.java'
patching file 'common\net\minecraft\src\StringTranslate.java'
patching file 'common\net\minecraft\src\TcpConnection.java'
patching file 'common\net\minecraft\src\TileEntityFurnace.java'
patching file 'common\net\minecraft\src\World.java'
patching file 'common\net\minecraft\src\WorldProvider.java'
patching file 'common\net\minecraft\src\WorldType.java'
== MCP 7.2 (data: 7.2, client: 1.3.2, server: 1.3.2) ==
== Updating client ==
> Adding javadoc
> Renaming sources
- Done in 6.10 seconds
== Updating server ==
> Adding javadoc
> Renaming sources
- Done in 4.59 seconds
== MCP 7.2 (data: 7.2, client: 1.3.2, server: 1.3.2) ==
== Recompiling client ==
> Cleaning bin
> Recompiling
- Done in 11.56 seconds
> Generating client md5s
== Recompiling server ==
> Cleaning bin
> Recompiling
Server side recompiling skipped, this is normal
- Done in 0.00 seconds
> Generating server md5s
================  Forge ModLoader Setup End  ===================
=============================== Minecraft Forge Setup Start ====================
=================
Applying forge patches
Applying Minecraft Forge patches
patching file 'minecraft\net\minecraft\client\ClientBrandRetriever.java'
patching file 'minecraft\net\minecraft\client\Minecraft.java'
patching file 'minecraft\net\minecraft\src\EffectRenderer.java'
patching file 'minecraft\net\minecraft\src\EntityRenderer.java'
patching file 'minecraft\net\minecraft\src\GuiAchievements.java'
patching file 'minecraft\net\minecraft\src\GuiControls.java'
patching file 'minecraft\net\minecraft\src\GuiIngame.java'
patching file 'minecraft\net\minecraft\src\GuiStatsComponent.java'
patching file 'minecraft\net\minecraft\src\IntegratedServer.java'
patching file 'minecraft\net\minecraft\src\ItemRenderer.java'
patching file 'minecraft\net\minecraft\src\NetClientHandler.java'
patching file 'minecraft\net\minecraft\src\PlayerControllerMP.java'
patching file 'minecraft\net\minecraft\src\RenderBiped.java'
patching file 'minecraft\net\minecraft\src\RenderBlocks.java'
patching file 'minecraft\net\minecraft\src\RenderEngine.java'
patching file 'minecraft\net\minecraft\src\RenderGlobal.java'
patching file 'minecraft\net\minecraft\src\RenderItem.java'
patching file 'minecraft\net\minecraft\src\RenderManager.java'
patching file 'minecraft\net\minecraft\src\RenderPlayer.java'
patching file 'minecraft\net\minecraft\src\RenderSnowMan.java'
patching file 'minecraft\net\minecraft\src\SoundManager.java'
patching file 'minecraft\net\minecraft\src\SoundPool.java'
patching file 'minecraft\net\minecraft\src\Tessellator.java'
Hunk #3 succeeded at 115 with fuzz 1.
patching file 'minecraft\net\minecraft\src\TileEntityRenderer.java'
patching file 'minecraft\net\minecraft\src\TileEntityRendererPiston.java'
patching file 'minecraft\net\minecraft\src\WorldRenderer.java'
patching file 'common\net\minecraft\server\MinecraftServer.java'
patching file 'common\net\minecraft\src\AnvilChunkLoader.java'
patching file 'common\net\minecraft\src\AnvilSaveHandler.java'
patching file 'common\net\minecraft\src\Block.java'
patching file 'common\net\minecraft\src\BlockButton.java'
patching file 'common\net\minecraft\src\BlockChest.java'
patching file 'common\net\minecraft\src\BlockContainer.java'
patching file 'common\net\minecraft\src\BlockCrops.java'
patching file 'common\net\minecraft\src\BlockDoor.java'
patching file 'common\net\minecraft\src\BlockFire.java'
patching file 'common\net\minecraft\src\BlockLadder.java'
patching file 'common\net\minecraft\src\BlockLeaves.java'
patching file 'common\net\minecraft\src\BlockLever.java'
patching file 'common\net\minecraft\src\BlockLog.java'
patching file 'common\net\minecraft\src\BlockNetherStalk.java'
patching file 'common\net\minecraft\src\BlockPistonBase.java'
patching file 'common\net\minecraft\src\BlockRail.java'
patching file 'common\net\minecraft\src\BlockRedstoneWire.java'
patching file 'common\net\minecraft\src\BlockSnow.java'
patching file 'common\net\minecraft\src\BlockTallGrass.java'
patching file 'common\net\minecraft\src\BlockTorch.java'
patching file 'common\net\minecraft\src\BlockTrapDoor.java'
patching file 'common\net\minecraft\src\BlockTripWireSource.java'
patching file 'common\net\minecraft\src\BlockVine.java'
patching file 'common\net\minecraft\src\Chunk.java'
patching file 'common\net\minecraft\src\CommandHandler.java'
patching file 'common\net\minecraft\src\ContainerFurnace.java'
patching file 'common\net\minecraft\src\CraftingManager.java'
patching file 'common\net\minecraft\src\DedicatedServer.java'
patching file 'common\net\minecraft\src\Enchantment.java'
patching file 'common\net\minecraft\src\EnchantmentHelper.java'
patching file 'common\net\minecraft\src\Entity.java'
patching file 'common\net\minecraft\src\EntityItem.java'
patching file 'common\net\minecraft\src\EntityLiving.java'
patching file 'common\net\minecraft\src\EntityMinecart.java'
Hunk #2 succeeded at 39 with fuzz 2.
patching file 'common\net\minecraft\src\EntityMooshroom.java'
patching file 'common\net\minecraft\src\EntityOcelot.java'
patching file 'common\net\minecraft\src\EntityPlayer.java'
patching file 'common\net\minecraft\src\EntitySheep.java'
patching file 'common\net\minecraft\src\Explosion.java'
patching file 'common\net\minecraft\src\FurnaceRecipes.java'
patching file 'common\net\minecraft\src\Item.java'
patching file 'common\net\minecraft\src\ItemBlock.java'
patching file 'common\net\minecraft\src\ItemBow.java'
patching file 'common\net\minecraft\src\ItemBucket.java'
patching file 'common\net\minecraft\src\ItemDye.java'
patching file 'common\net\minecraft\src\ItemHoe.java'
patching file 'common\net\minecraft\src\ItemInWorldManager.java'
patching file 'common\net\minecraft\src\ItemMap.java'
patching file 'common\net\minecraft\src\ItemShears.java'
patching file 'common\net\minecraft\src\ItemTool.java'
patching file 'common\net\minecraft\src\MovingObjectPosition.java'
patching file 'common\net\minecraft\src\NetServerHandler.java'
patching file 'common\net\minecraft\src\RailLogic.java'
patching file 'common\net\minecraft\src\ServerConfigurationManager.java'
patching file 'common\net\minecraft\src\SlotCrafting.java'
patching file 'common\net\minecraft\src\SpawnerAnimals.java'
patching file 'common\net\minecraft\src\StatList.java'
patching file 'common\net\minecraft\src\TileEntity.java'
patching file 'common\net\minecraft\src\TileEntityBrewingStand.java'
patching file 'common\net\minecraft\src\TileEntityFurnace.java'
patching file 'common\net\minecraft\src\World.java'
patching file 'common\net\minecraft\src\WorldGenBigMushroom.java'
patching file 'common\net\minecraft\src\WorldGenDeadBush.java'
patching file 'common\net\minecraft\src\WorldGenDungeons.java'
patching file 'common\net\minecraft\src\WorldGenForest.java'
patching file 'common\net\minecraft\src\WorldGenHugeTrees.java'
patching file 'common\net\minecraft\src\WorldGenMinable.java'
patching file 'common\net\minecraft\src\WorldGenShrub.java'
patching file 'common\net\minecraft\src\WorldGenSwamp.java'
patching file 'common\net\minecraft\src\WorldGenTaiga1.java'
patching file 'common\net\minecraft\src\WorldGenTaiga2.java'
patching file 'common\net\minecraft\src\WorldGenTallGrass.java'
patching file 'common\net\minecraft\src\WorldGenTrees.java'
patching file 'common\net\minecraft\src\WorldProvider.java'
patching file 'common\net\minecraft\src\WorldServer.java'
== MCP 7.2 (data: 7.2, client: 1.3.2, server: 1.3.2) ==
== Updating client ==
> Adding javadoc
> Renaming sources
- Done in 6.43 seconds
== Updating server ==
> Adding javadoc
> Renaming sources
- Done in 5.63 seconds
== MCP 7.2 (data: 7.2, client: 1.3.2, server: 1.3.2) ==
== Recompiling client ==
> Cleaning bin
> Recompiling
'"C:\Program Files\Java\jdk1.7.0_02\bin\javac" -Xlint:-options -deprecation -g -
source 1.6 -target 1....' failed : 1

== ERRORS FOUND ==

src\common\net\minecraftforge\common\ISpecialArmor.java:170: error: carryoverDam
age has protected access in EntityLiving
            damage += entity.carryoverDamage;
                            ^

src\common\net\minecraftforge\common\ISpecialArmor.java:175: error: carryoverDam
age has protected access in EntityLiving
            entity.carryoverDamage = (int)damage % 25;
                  ^

src\minecraft\net\minecraftforge\client\ForgeHooksClient.java:93: error: isDrawi
ng has private access in Tessellator
            if (Tessellator.instance.isDrawing)
                                    ^

src\minecraft\net\minecraftforge\client\ForgeHooksClient.java:95: error: drawMod
e has private access in Tessellator
                int mode = Tessellator.instance.drawMode;
                                               ^

src\minecraft\net\minecraftforge\client\ForgeHooksClient.java:114: error: cannot
assign a value to final variable instance
            Tessellator.instance = defaultTessellator;
                       ^

src\minecraft\net\minecraftforge\client\ForgeHooksClient.java:118: error: isDraw
ing has private access in Tessellator
            if (Tessellator.instance.isDrawing)
                                    ^

src\minecraft\net\minecraftforge\client\ForgeHooksClient.java:120: error: drawMo
de has private access in Tessellator
                int mode = Tessellator.instance.drawMode;
                                               ^

src\minecraft\net\minecraftforge\client\ForgeHooksClient.java:150: error: xOffse
t has private access in Tessellator
            tess.setTranslation(defaultTessellator.xOffset, defaultTessellator.y
Offset, defaultTessellator.zOffset);
                                                  ^

src\minecraft\net\minecraftforge\client\ForgeHooksClient.java:150: error: yOffse
t has private access in Tessellator
            tess.setTranslation(defaultTessellator.xOffset, defaultTessellator.y
Offset, defaultTessellator.zOffset);
                                                                              ^

src\minecraft\net\minecraftforge\client\ForgeHooksClient.java:150: error: zOffse
t has private access in Tessellator
            tess.setTranslation(defaultTessellator.xOffset, defaultTessellator.y
Offset, defaultTessellator.zOffset);

                          ^

src\minecraft\net\minecraftforge\client\ForgeHooksClient.java:153: error: cannot
assign a value to final variable instance
        Tessellator.instance = tess;
                   ^

src\minecraft\net\minecraftforge\client\ForgeHooksClient.java:182: error: cannot
assign a value to final variable instance
                Tessellator.instance = tess;
                           ^

src\minecraft\net\minecraftforge\client\ForgeHooksClient.java:190: error: cannot
assign a value to final variable instance
        Tessellator.instance = defaultTessellator;
                   ^

src\minecraft\net\minecraftforge\client\ModCompatibilityClient.java:63: error: s
oundPoolSounds has private access in SoundManager
        audioModLoadModAudio("resources/mod/sound", mngr.soundPoolSounds);
                                                        ^

src\minecraft\net\minecraftforge\client\ModCompatibilityClient.java:64: error: s
oundPoolStreaming has private access in SoundManager
        audioModLoadModAudio("resources/mod/streaming", mngr.soundPoolStreaming)
;
                                                            ^

src\minecraft\net\minecraftforge\client\ModCompatibilityClient.java:65: error: s
oundPoolMusic has private access in SoundManager
        audioModLoadModAudio("resources/mod/music", mngr.soundPoolMusic);
                                                        ^

src\common\net\minecraftforge\common\ForgeHooks.java:149: error: blocksEffective
Against has private access in ItemPickaxe
        for (Block block : ItemPickaxe.blocksEffectiveAgainst)
                                      ^

src\common\net\minecraftforge\common\ForgeHooks.java:154: error: blocksEffective
Against has private access in ItemSpade
        for (Block block : ItemSpade.blocksEffectiveAgainst)
                                    ^

src\common\net\minecraftforge\common\ForgeHooks.java:159: error: blocksEffective
Against has private access in ItemAxe
        for (Block block : ItemAxe.blocksEffectiveAgainst)
                                  ^

src\common\net\minecraftforge\common\MinecraftForge.java:196: error: carriableBl
ocks has private access in EntityEnderman
       for (int x = 0; x < EntityEnderman.carriableBlocks.length; x++)
                                         ^

src\common\net\minecraftforge\common\MinecraftForge.java:198: error: carriableBl
ocks has private access in EntityEnderman
           temp[x] = EntityEnderman.carriableBlocks[x];
                                   ^

src\common\net\minecraftforge\common\MinecraftForge.java:200: error: carriableBl
ocks has private access in EntityEnderman
       EntityEnderman.carriableBlocks = temp;
                     ^

22 errors
==================

Client recompile failed, correct source then rerun updatemd5
== Recompiling server ==
> Cleaning bin
> Recompiling
Server side recompiling skipped, this is normal
- Done in 0.00 seconds
> Generating server md5s
=============================== Minecraft Forge Setup Finished =================
================
Press any key to continue . . .

Posted

Thats caused by it not being able to find mcp/forge/common/forge_at.cfg

Make sure you've extracted forge to the proper directly and you're running it from the /forge/ directory.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Thanks it works now. I had named the "forge" folder to "forge 200" to be able to save all the mcps and forge sources in one folder. It never gave me an error in the past so i tought it was not important.

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • @Tsuk1 Also, new note, you can use blockbench to make the custom item model for when it is not on the head.   EDIT: Funny story, I am making a mod similar to yours! Mine is called NorseMC.
    • @Nood_dev Could you send a screenshot of your weapon code? Here is the one I made (for a dagger): The specific UUID does not matter, just that it is the same every time, which is why UUID#randomUUID does not work public class DaggerItem extends TieredItem implements Vanishable { protected static final double REACH_MODIFIER = -1.5D; protected final Multimap<Attribute, AttributeModifier> defaultModifiers; protected final UUID BASE_ATTACK_REACH_UUID = UUID.fromString("6fe75b5c-9d1b-4e83-9eea-a1d5a94e8dd5") public DaggerItem(Tier pTier, int pAttackDamageModifier, float pAttackSpeedModifier, Properties pProperties) { super(pTier, pAttackDamageModifier, pAttackSpeedModifier, pProperties); this.attackDamage = (float) pAttackDamageModifier + pTier.getAttackDamageBonus(); ImmutableMultimap.Builder<Attribute, AttributeModifier> builder = ImmutableMultimap.builder(); builder.put(Attributes.ATTACK_DAMAGE, new AttributeModifier(BASE_ATTACK_DAMAGE_UUID, "Weapon modifier", this.attackDamage, AttributeModifier.Operation.ADDITION)); builder.put(Attributes.ATTACK_SPEED, new AttributeModifier(BASE_ATTACK_SPEED_UUID, "Weapon modifier", pAttackSpeedModifier, AttributeModifier.Operation.ADDITION)); // THE ONE YOU WANT: builder.put(ForgeMod.ENTITY_REACH.get(), new AttributeModifier(BASE_ATTACK_REACH_UUID, "Weapon modifier", REACH_MODIFIER, AttributeModifier.Operation.ADDITION)); this.defaultModifiers = builder.build(); } @Override public Multimap<Attribute, AttributeModifier> getDefaultAttributeModifiers(EquipmentSlot pEquipmentSlot) { return pEquipmentSlot == EquipmentSlot.MAINHAND ? this.defaultModifiers : super.getDefaultAttributeModifiers(pEquipmentSlot); } }
    • https://images.app.goo.gl/1PxFKdxByTgkxvSu6
    • That's what we'll try out. I could never figure out how to recreate the crash, so I'll just have to wait and see.
    • Ok, I updated to the latest version and now the models are visible, the problem now is that the glowing eyes are not rendered nor any texture I render there when using shaders, even using the default Minecraft eyes RenderType, I use entityTranslucent and entityCutout, but it still won't render. Something I noticed when using shaders is that a texture, instead of appearing at the world position, would appear somewhere on the screen, following a curved path, it was strange, I haven't been able to reproduce it again. I thought it could be that since I render the texture in the AFTER ENTITIES stage which is posted after the batches used for entity rendering are finished, maybe that was the reason why the render types were not being drawn correctly, so I tried injecting code before finishing the batches but it still didn't work, plus the model was invisible when using shaders, there was a bug where if I look at the model from above it is visible but if I look at it from below it is invisible. So in summary, models are now visible but glowing eyes and textures are not rendered, that hasn't changed.
  • Topics

×
×
  • Create New...

Important Information

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