Jump to content

Recommended Posts

Posted

 

=================================== Minecraft Forge Setup Start ================

=================

Downloaded Fernflower successfully

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

# found jad, ff, jad patches, ff patches, osx patches, srgs, name csvs, doc csvs

, param csvs, astyle, astyle config

!! Updates available. Please run updatemcp to get them. !!

> Creating Retroguard config files

!! Modified jar detected. Unpredictable results !!

== Decompiling client using fernflower ==

> Creating SRGs

> Applying Retroguard

> Applying MCInjector

> Unpacking jar

> Copying classes

> Decompiling

> Copying sources

> Applying fernflower fixes

> Applying patches

> Cleaning comments

- Done in 117.45 seconds

== Reformating client ==

> Cleaning sources

> Replacing OpenGL constants

> Reformating sources

- Done in 9.38 seconds

!! renaming disabled !!

!! Missing server jar file. Aborting !!

!! recompile disabled !!

Stripping META-INF from minecraft.jar

Applying Forge ModLoader patches

patching file minecraft/net/minecraft/client/Minecraft.java

patching file minecraft/net/minecraft/src/BlockDispenser.java

Hunk #2 FAILED at 143.

1 out of 2 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/Bl

ockDispense#

patching file minecraft/net/minecraft/src/ChunkProvider.java

Hunk #2 FAILED at 164.

1 out of 2 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/Ch

unkProvider#

patching file minecraft/net/minecraft/src/EntityItem.java

patching file minecraft/net/minecraft/src/EntityList.java

patching file minecraft/net/minecraft/src/GenLayerBiome.java

Hunk #1 FAILED at 7.

1 out of 1 hunk FAILED -- saving rejects to file minecraft/net/minecraft/src/Gen

LayerBiome#

patching file minecraft/net/minecraft/src/GuiCreateWorld.java

patching file minecraft/net/minecraft/src/GuiMainMenu.java

patching file minecraft/net/minecraft/src/NetClientHandler.java

Hunk #2 FAILED at 61.

Hunk #3 succeeded at 516 with fuzz 2 (offset 3 lines).

Hunk #4 succeeded at 1034 with fuzz 2 (offset 4 lines).

1 out of 4 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/Ne

tClientHand#

patching file minecraft/net/minecraft/src/PanelCrashReport.java

Hunk #1 FAILED at 9.

Hunk #2 FAILED at 50.

2 out of 2 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/Pa

nelCrashRep#

patching file minecraft/net/minecraft/src/RenderBlocks.java

Hunk #1 FAILED at 4.

Hunk #2 FAILED at 129.

Hunk #3 FAILED at 202.

Hunk #4 FAILED at 343.

Hunk #5 FAILED at 417.

Hunk #6 FAILED at 500.

Hunk #7 FAILED at 590.

Hunk #8 FAILED at 693.

Hunk #9 FAILED at 716.

Hunk #10 FAILED at 739.

Hunk #11 FAILED at 769.

Hunk #12 FAILED at 2740.

Hunk #13 FAILED at 3272.

Hunk #14 FAILED at 3395.

Hunk #15 FAILED at 3518.

Hunk #16 FAILED at 3641.

Hunk #17 FAILED at 3665.

Hunk #18 FAILED at 3747.

Hunk #19 FAILED at 3763.

Hunk #20 FAILED at 3779.

Hunk #21 FAILED at 3795.

Hunk #22 succeeded at 5310 with fuzz 2 (offset 7 lines).

Hunk #23 FAILED at 5370.

22 out of 23 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/

RenderBlocks.#

patching file minecraft/net/minecraft/src/RenderEngine.java

patching file minecraft/net/minecraft/src/RenderManager.java

Hunk #1 succeeded at 184 (offset 1 line).

patching file minecraft/net/minecraft/src/RenderPlayer.java

patching file minecraft/net/minecraft/src/SlotCrafting.java

Hunk #2 succeeded at 87 (offset 2 lines).

patching file minecraft/net/minecraft/src/SlotFurnace.java

Hunk #2 succeeded at 46 with fuzz 2 (offset 1 line).

patching file minecraft/net/minecraft/src/StringTranslate.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/TexturePackList.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 minecraft/net/minecraft/src/TileEntity.java

patching file minecraft/net/minecraft/src/TileEntityFurnace.java

Hunk #2 FAILED at 254.

1 out of 2 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/Ti

leEntityFur#

patching file minecraft/net/minecraft/src/TileEntityRenderer.java

patching file minecraft/net/minecraft/src/World.java

patching file minecraft/net/minecraft/src/WorldProvider.java

Hunk #1 FAILED at 32.

Hunk #2 FAILED at 150.

2 out of 2 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/Wo

rldProvider#

patching file minecraft/net/minecraft/src/WorldType.java

Hunk #2 FAILED at 15.

Hunk #3 succeeded at 116 with fuzz 2 (offset 25 lines).

1 out of 3 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/Wo

rldType.jav#

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

== Updating client ==

> Adding javadoc

> Renaming sources

- Done in 10.72 seconds

Applying forge patches

patching file minecraft/net/minecraft/client/Minecraft.java

patching file minecraft/net/minecraft/src/AnvilChunkLoader.java

patching file minecraft/net/minecraft/src/AnvilSaveHandler.java

patching file minecraft/net/minecraft/src/Block.java

patching file minecraft/net/minecraft/src/BlockButton.java

patching file minecraft/net/minecraft/src/BlockChest.java

patching file minecraft/net/minecraft/src/BlockContainer.java

patching file minecraft/net/minecraft/src/BlockCrops.java

patching file minecraft/net/minecraft/src/BlockDoor.java

patching file minecraft/net/minecraft/src/BlockFire.java

patching file minecraft/net/minecraft/src/BlockLadder.java

patching file minecraft/net/minecraft/src/BlockLeaves.java

patching file minecraft/net/minecraft/src/BlockLever.java

patching file minecraft/net/minecraft/src/BlockLog.java

patching file minecraft/net/minecraft/src/BlockNetherStalk.java

patching file minecraft/net/minecraft/src/BlockPistonBase.java

patching file minecraft/net/minecraft/src/BlockPressurePlate.java

patching file minecraft/net/minecraft/src/BlockRail.java

patching file minecraft/net/minecraft/src/BlockRedstoneRepeater.java

patching file minecraft/net/minecraft/src/BlockRedstoneWire.java

patching file minecraft/net/minecraft/src/BlockSnow.java

patching file minecraft/net/minecraft/src/BlockTallGrass.java

patching file minecraft/net/minecraft/src/BlockTorch.java

patching file minecraft/net/minecraft/src/BlockTrapDoor.java

patching file minecraft/net/minecraft/src/BlockVine.java

patching file minecraft/net/minecraft/src/Chunk.java

patching file minecraft/net/minecraft/src/ChunkProvider.java

patching file minecraft/net/minecraft/src/ContainerCreative.java

patching file minecraft/net/minecraft/src/ContainerFurnace.java

patching file minecraft/net/minecraft/src/CraftingManager.java

patching file minecraft/net/minecraft/src/EffectRenderer.java

patching file minecraft/net/minecraft/src/Enchantment.java

patching file minecraft/net/minecraft/src/EnchantmentHelper.java

patching file minecraft/net/minecraft/src/Entity.java

patching file minecraft/net/minecraft/src/EntityEnderman.java

patching file minecraft/net/minecraft/src/EntityItem.java

patching file minecraft/net/minecraft/src/EntityLiving.java

patching file minecraft/net/minecraft/src/EntityMinecart.java

patching file minecraft/net/minecraft/src/EntityMooshroom.java

patching file minecraft/net/minecraft/src/EntityOcelot.java

patching file minecraft/net/minecraft/src/EntityPlayer.java

patching file minecraft/net/minecraft/src/EntityRenderer.java

patching file minecraft/net/minecraft/src/EntitySheep.java

patching file minecraft/net/minecraft/src/Explosion.java

patching file minecraft/net/minecraft/src/FurnaceRecipes.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/Item.java

patching file minecraft/net/minecraft/src/ItemBow.java

patching file minecraft/net/minecraft/src/ItemBucket.java

patching file minecraft/net/minecraft/src/ItemDye.java

patching file minecraft/net/minecraft/src/ItemHoe.java

patching file minecraft/net/minecraft/src/ItemMap.java

patching file minecraft/net/minecraft/src/ItemRenderer.java

patching file minecraft/net/minecraft/src/ItemShears.java

patching file minecraft/net/minecraft/src/ItemTool.java

patching file minecraft/net/minecraft/src/MovingObjectPosition.java

patching file minecraft/net/minecraft/src/NetClientHandler.java

Hunk #3 FAILED at 87.

Hunk #6 succeeded at 509 with fuzz 2.

Hunk #7 FAILED at 573.

Hunk #10 succeeded at 863 (offset 1 line).

Hunk #12 succeeded at 1058 (offset 1 line).

Hunk #13 succeeded at 1172 (offset 5 lines).

2 out of 13 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/N

etClientHand#

patching file minecraft/net/minecraft/src/NetworkManager.java

patching file minecraft/net/minecraft/src/Packet53BlockChange.java

patching file minecraft/net/minecraft/src/PlayerController.java

patching file minecraft/net/minecraft/src/PlayerControllerCreative.java

patching file minecraft/net/minecraft/src/PlayerControllerMP.java

patching file minecraft/net/minecraft/src/PlayerControllerSP.java

patching file minecraft/net/minecraft/src/RailLogic.java

patching file minecraft/net/minecraft/src/RenderBiped.java

patching file minecraft/net/minecraft/src/RenderBlocks.java

Hunk #1 succeeded at 424 (offset -32 lines).

Hunk #2 succeeded at 1385 with fuzz 2.

Hunk #3 succeeded at 1373 with fuzz 2 (offset -32 lines).

Hunk #4 succeeded at 1417 with fuzz 2.

Hunk #5 succeeded at 1397 with fuzz 2 (offset -32 lines).

Hunk #6 succeeded at 1441 with fuzz 2.

Hunk #7 succeeded at 1421 with fuzz 2 (offset -32 lines).

Hunk #8 succeeded at 3611 (offset 2 lines).

Hunk #9 succeeded at 3700 (offset -32 lines).

Hunk #10 succeeded at 3857 (offset 2 lines).

Hunk #11 succeeded at 3946 (offset -32 lines).

Hunk #12 FAILED at 4058.

Hunk #13 FAILED at 4074.

Hunk #14 FAILED at 4090.

Hunk #15 FAILED at 4106.

4 out of 15 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/R

enderBlocks.#

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

Hunk #1 succeeded at 125 (offset 1 line).

patching file minecraft/net/minecraft/src/RenderPlayer.java

patching file minecraft/net/minecraft/src/RenderSnowMan.java

patching file minecraft/net/minecraft/src/SlotCrafting.java

Hunk #2 succeeded at 104 (offset 2 lines).

patching file minecraft/net/minecraft/src/SoundManager.java

patching file minecraft/net/minecraft/src/SoundPool.java

patching file minecraft/net/minecraft/src/SpawnerAnimals.java

patching file minecraft/net/minecraft/src/StatList.java

patching file minecraft/net/minecraft/src/Teleporter.java

patching file minecraft/net/minecraft/src/Tessellator.java

patching file minecraft/net/minecraft/src/TileEntity.java

patching file minecraft/net/minecraft/src/TileEntityBrewingStand.java

patching file minecraft/net/minecraft/src/TileEntityFurnace.java

Hunk #2 succeeded at 285 (offset 7 lines).

Hunk #3 succeeded at 294 with fuzz 2.

Hunk #4 FAILED at 327.

Hunk #5 succeeded at 369 (offset 8 lines).

1 out of 5 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/Ti

leEntityFur#

patching file minecraft/net/minecraft/src/TileEntityRendererPiston.java

patching file minecraft/net/minecraft/src/World.java

patching file minecraft/net/minecraft/src/WorldGenBigMushroom.java

patching file minecraft/net/minecraft/src/WorldGenDeadBush.java

patching file minecraft/net/minecraft/src/WorldGenDungeons.java

patching file minecraft/net/minecraft/src/WorldGenForest.java

patching file minecraft/net/minecraft/src/WorldGenHugeTrees.java

patching file minecraft/net/minecraft/src/WorldGenMinable.java

patching file minecraft/net/minecraft/src/WorldGenShrub.java

patching file minecraft/net/minecraft/src/WorldGenSwamp.java

patching file minecraft/net/minecraft/src/WorldGenTaiga1.java

patching file minecraft/net/minecraft/src/WorldGenTaiga2.java

patching file minecraft/net/minecraft/src/WorldGenTallGrass.java

patching file minecraft/net/minecraft/src/WorldGenTrees.java

patching file minecraft/net/minecraft/src/WorldProvider.java

patching file minecraft/net/minecraft/src/WorldProviderEnd.java

patching file minecraft/net/minecraft/src/WorldProviderHell.java

patching file minecraft/net/minecraft/src/WorldProviderSurface.java

patching file minecraft/net/minecraft/src/WorldRenderer.java

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

== Updating MCP ==

New version found for : conf/methods.csv

New version found for : conf/fields.csv

Retrieving file from server : conf/methods.csv

Retrieving file from server : conf/fields.csv

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

== Updating client ==

> Adding javadoc

> Renaming sources

- Done in 10.69 seconds

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

== Recompiling client ==

> Cleaning bin

> Recompiling

'"C:\Programme\Java\jdk1.6.0_25\bin\javac" -Xlint:-options -deprecation -g -sour

ce 1.6 -target 1.6 -c...' failed : 1

 

== ERRORS FOUND ==

 

src\minecraft\net\minecraft\src\RenderBlocks.java:5659: 'else' without 'if'

            else

            ^

 

1 error

==================

 

Client recompile failed, correct source then rerun updatemd5

!! Can not find server sources, try decompiling !!

=================================== Minecraft Forge Setup Finished =============

====================

Drücken Sie eine beliebige Taste . . .

 

 

what im doing wrong?

Crazy Brain...

Posted

1) Dont dev for 1.2.5 anymore and

2)

!! Modified jar detected. Unpredictable results !!

Thats what you're doing wrong.

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

3.3.8 is for 1.2.5 or why does it work on it? i don't like fml. i got to much problems with it. I update to 1.3 when it seem me stabel enough and i finished my mod. got lots of work. got a Darkmatter pick. with metadata items. only that it get damage is now but got help only tests are needet.

Crazy Brain...

Posted

without modloader and a new jar of 1.2.5 and minecraft forge 3.3.7

 

 

=================================== Minecraft Forge Setup Start ==========================

=======

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

WARNING:

The cleanup script will delete all folders created by MCP, including the

src folder which may contain changes you made to the code, along with any

saved worlds from the client or server.

If you really want to clean up, enter "Yes" yes

!! Updates available. Please run updatemcp to get them. !!

> Cleaning temp

> Cleaning src

> Cleaning bin

> Cleaning reobf

> Cleaning jars

> Cleaning logs

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

# found jad, ff, jad patches, ff patches, osx patches, srgs, name csvs, doc csvs, param cs

vs, astyle, astyle config

!! Updates available. Please run updatemcp to get them. !!

> Creating Retroguard config files

!! Modified jar detected. Unpredictable results !!

== Decompiling client using fernflower ==

> Creating SRGs

> Applying Retroguard

> Applying MCInjector

> Unpacking jar

> Copying classes

> Decompiling

> Copying sources

> Applying fernflower fixes

> Applying patches

> Cleaning comments

- Done in 96.89 seconds

== Reformating client ==

> Cleaning sources

> Replacing OpenGL constants

> Reformating sources

- Done in 10.59 seconds

!! renaming disabled !!

!! Missing server jar file. Aborting !!

!! recompile disabled !!

Stripping META-INF from minecraft.jar

Applying Forge ModLoader patches

patching file minecraft/net/minecraft/client/Minecraft.java

patching file minecraft/net/minecraft/src/BlockDispenser.java

Hunk #2 FAILED at 143.

1 out of 2 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/BlockDispens

e#

patching file minecraft/net/minecraft/src/ChunkProvider.java

Hunk #2 FAILED at 164.

1 out of 2 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/ChunkProvide

r#

patching file minecraft/net/minecraft/src/EntityItem.java

patching file minecraft/net/minecraft/src/EntityList.java

patching file minecraft/net/minecraft/src/GenLayerBiome.java

Hunk #1 FAILED at 7.

1 out of 1 hunk FAILED -- saving rejects to file minecraft/net/minecraft/src/GenLayerBiome

#

patching file minecraft/net/minecraft/src/GuiMainMenu.java

patching file minecraft/net/minecraft/src/NetClientHandler.java

Hunk #2 FAILED at 61.

Hunk #3 succeeded at 516 with fuzz 2 (offset 3 lines).

Hunk #4 succeeded at 1034 with fuzz 2 (offset 4 lines).

1 out of 4 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/NetClientHan

d#

patching file minecraft/net/minecraft/src/PanelCrashReport.java

Hunk #1 FAILED at 9.

Hunk #2 FAILED at 50.

2 out of 2 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/PanelCrashRe

p#

patching file minecraft/net/minecraft/src/RenderBlocks.java

Hunk #1 FAILED at 4.

Hunk #2 FAILED at 129.

Hunk #3 FAILED at 202.

Hunk #4 FAILED at 343.

Hunk #5 FAILED at 417.

Hunk #6 FAILED at 500.

Hunk #7 FAILED at 590.

Hunk #8 FAILED at 693.

Hunk #9 FAILED at 716.

Hunk #10 FAILED at 739.

Hunk #11 FAILED at 769.

Hunk #12 FAILED at 2740.

Hunk #13 FAILED at 3272.

Hunk #14 FAILED at 3395.

Hunk #15 FAILED at 3518.

Hunk #16 FAILED at 3641.

Hunk #17 FAILED at 3665.

Hunk #18 FAILED at 3747.

Hunk #19 FAILED at 3763.

Hunk #20 FAILED at 3779.

Hunk #21 FAILED at 3795.

Hunk #22 succeeded at 5310 with fuzz 2 (offset 7 lines).

Hunk #23 FAILED at 5370.

22 out of 23 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/RenderBloc

ks.#

patching file minecraft/net/minecraft/src/RenderEngine.java

patching file minecraft/net/minecraft/src/RenderManager.java

Hunk #1 succeeded at 184 (offset 1 line).

patching file minecraft/net/minecraft/src/RenderPlayer.java

patching file minecraft/net/minecraft/src/SlotCrafting.java

Hunk #2 succeeded at 87 (offset 2 lines).

patching file minecraft/net/minecraft/src/SlotFurnace.java

Hunk #2 succeeded at 46 with fuzz 2 (offset 1 line).

patching file minecraft/net/minecraft/src/StringTranslate.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/TexturePackList.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 minecraft/net/minecraft/src/TileEntity.java

patching file minecraft/net/minecraft/src/TileEntityFurnace.java

Hunk #2 FAILED at 254.

1 out of 2 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/TileEntityFu

r#

patching file minecraft/net/minecraft/src/TileEntityRenderer.java

patching file minecraft/net/minecraft/src/WorldProvider.java

Hunk #1 FAILED at 32.

Hunk #2 FAILED at 150.

2 out of 2 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/WorldProvide

r#

patching file minecraft/net/minecraft/src/WorldType.java

Hunk #2 FAILED at 15.

Hunk #4 succeeded at 116 with fuzz 2 (offset 25 lines).

1 out of 4 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/WorldType.ja

v#

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

== Updating client ==

> Adding javadoc

> Renaming sources

- Done in 10.97 seconds

Applying forge patches

patching file minecraft/net/minecraft/client/Minecraft.java

patching file minecraft/net/minecraft/src/AnvilChunkLoader.java

patching file minecraft/net/minecraft/src/AnvilSaveHandler.java

patching file minecraft/net/minecraft/src/Block.java

patching file minecraft/net/minecraft/src/BlockButton.java

patching file minecraft/net/minecraft/src/BlockChest.java

patching file minecraft/net/minecraft/src/BlockContainer.java

patching file minecraft/net/minecraft/src/BlockCrops.java

patching file minecraft/net/minecraft/src/BlockDoor.java

patching file minecraft/net/minecraft/src/BlockFire.java

patching file minecraft/net/minecraft/src/BlockLadder.java

patching file minecraft/net/minecraft/src/BlockLeaves.java

patching file minecraft/net/minecraft/src/BlockLever.java

patching file minecraft/net/minecraft/src/BlockLog.java

patching file minecraft/net/minecraft/src/BlockNetherStalk.java

patching file minecraft/net/minecraft/src/BlockPistonBase.java

patching file minecraft/net/minecraft/src/BlockPressurePlate.java

patching file minecraft/net/minecraft/src/BlockRail.java

patching file minecraft/net/minecraft/src/BlockRedstoneRepeater.java

patching file minecraft/net/minecraft/src/BlockRedstoneWire.java

patching file minecraft/net/minecraft/src/BlockSnow.java

patching file minecraft/net/minecraft/src/BlockTallGrass.java

patching file minecraft/net/minecraft/src/BlockTorch.java

patching file minecraft/net/minecraft/src/BlockTrapDoor.java

patching file minecraft/net/minecraft/src/BlockVine.java

patching file minecraft/net/minecraft/src/Chunk.java

patching file minecraft/net/minecraft/src/ChunkProvider.java

patching file minecraft/net/minecraft/src/ContainerCreative.java

patching file minecraft/net/minecraft/src/ContainerFurnace.java

patching file minecraft/net/minecraft/src/CraftingManager.java

patching file minecraft/net/minecraft/src/EffectRenderer.java

patching file minecraft/net/minecraft/src/Enchantment.java

patching file minecraft/net/minecraft/src/EnchantmentHelper.java

patching file minecraft/net/minecraft/src/Entity.java

patching file minecraft/net/minecraft/src/EntityItem.java

patching file minecraft/net/minecraft/src/EntityLiving.java

patching file minecraft/net/minecraft/src/EntityMinecart.java

patching file minecraft/net/minecraft/src/EntityMooshroom.java

patching file minecraft/net/minecraft/src/EntityOcelot.java

patching file minecraft/net/minecraft/src/EntityPlayer.java

patching file minecraft/net/minecraft/src/EntityRenderer.java

patching file minecraft/net/minecraft/src/EntitySheep.java

patching file minecraft/net/minecraft/src/Explosion.java

patching file minecraft/net/minecraft/src/FurnaceRecipes.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/Item.java

patching file minecraft/net/minecraft/src/ItemBow.java

patching file minecraft/net/minecraft/src/ItemBucket.java

patching file minecraft/net/minecraft/src/ItemDye.java

patching file minecraft/net/minecraft/src/ItemHoe.java

patching file minecraft/net/minecraft/src/ItemRenderer.java

patching file minecraft/net/minecraft/src/ItemShears.java

patching file minecraft/net/minecraft/src/ItemTool.java

patching file minecraft/net/minecraft/src/MovingObjectPosition.java

patching file minecraft/net/minecraft/src/NetClientHandler.java

Hunk #3 FAILED at 87.

Hunk #5 succeeded at 509 with fuzz 2.

Hunk #6 FAILED at 573.

Hunk #9 succeeded at 863 (offset 1 line).

Hunk #11 succeeded at 1058 (offset 1 line).

Hunk #12 succeeded at 1172 (offset 5 lines).

2 out of 12 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/NetClientHa

nd#

patching file minecraft/net/minecraft/src/NetworkManager.java

patching file minecraft/net/minecraft/src/PlayerController.java

patching file minecraft/net/minecraft/src/PlayerControllerCreative.java

patching file minecraft/net/minecraft/src/PlayerControllerMP.java

patching file minecraft/net/minecraft/src/PlayerControllerSP.java

patching file minecraft/net/minecraft/src/RailLogic.java

patching file minecraft/net/minecraft/src/RenderBiped.java

patching file minecraft/net/minecraft/src/RenderBlocks.java

Hunk #1 succeeded at 424 (offset -32 lines).

Hunk #2 succeeded at 1385 with fuzz 2.

Hunk #3 succeeded at 1373 with fuzz 2 (offset -32 lines).

Hunk #4 succeeded at 1417 with fuzz 2.

Hunk #5 succeeded at 1397 with fuzz 2 (offset -32 lines).

Hunk #6 succeeded at 1441 with fuzz 2.

Hunk #7 succeeded at 1421 with fuzz 2 (offset -32 lines).

Hunk #8 succeeded at 3611 (offset 2 lines).

Hunk #9 succeeded at 3700 (offset -32 lines).

Hunk #10 succeeded at 3857 (offset 2 lines).

Hunk #11 succeeded at 3946 (offset -32 lines).

Hunk #12 FAILED at 4058.

Hunk #13 FAILED at 4074.

Hunk #14 FAILED at 4090.

Hunk #15 FAILED at 4106.

4 out of 15 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/RenderBlock

s.#

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

Hunk #1 succeeded at 125 (offset 1 line).

patching file minecraft/net/minecraft/src/RenderPlayer.java

patching file minecraft/net/minecraft/src/RenderSnowMan.java

patching file minecraft/net/minecraft/src/SlotCrafting.java

Hunk #2 succeeded at 104 (offset 2 lines).

patching file minecraft/net/minecraft/src/SoundManager.java

patching file minecraft/net/minecraft/src/SoundPool.java

patching file minecraft/net/minecraft/src/SpawnerAnimals.java

patching file minecraft/net/minecraft/src/Tessellator.java

patching file minecraft/net/minecraft/src/TileEntity.java

patching file minecraft/net/minecraft/src/TileEntityBrewingStand.java

patching file minecraft/net/minecraft/src/TileEntityFurnace.java

Hunk #2 succeeded at 285 (offset 7 lines).

Hunk #3 succeeded at 294 with fuzz 2.

Hunk #4 FAILED at 333.

Hunk #5 succeeded at 369 (offset 8 lines).

1 out of 5 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/TileEntityFu

r#

patching file minecraft/net/minecraft/src/TileEntityRendererPiston.java

patching file minecraft/net/minecraft/src/World.java

patching file minecraft/net/minecraft/src/WorldGenBigMushroom.java

patching file minecraft/net/minecraft/src/WorldGenDeadBush.java

patching file minecraft/net/minecraft/src/WorldGenDungeons.java

patching file minecraft/net/minecraft/src/WorldGenForest.java

patching file minecraft/net/minecraft/src/WorldGenHugeTrees.java

patching file minecraft/net/minecraft/src/WorldGenMinable.java

patching file minecraft/net/minecraft/src/WorldGenShrub.java

patching file minecraft/net/minecraft/src/WorldGenSwamp.java

patching file minecraft/net/minecraft/src/WorldGenTaiga1.java

patching file minecraft/net/minecraft/src/WorldGenTaiga2.java

patching file minecraft/net/minecraft/src/WorldGenTallGrass.java

patching file minecraft/net/minecraft/src/WorldGenTrees.java

patching file minecraft/net/minecraft/src/WorldProvider.java

patching file minecraft/net/minecraft/src/WorldProviderEnd.java

patching file minecraft/net/minecraft/src/WorldProviderHell.java

patching file minecraft/net/minecraft/src/WorldProviderSurface.java

patching file minecraft/net/minecraft/src/WorldRenderer.java

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

== Updating MCP ==

New version found for : conf/methods.csv

New version found for : conf/fields.csv

Retrieving file from server : conf/methods.csv

Retrieving file from server : conf/fields.csv

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

== Updating client ==

> Adding javadoc

> Renaming sources

- Done in 11.47 seconds

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

== Recompiling client ==

> Cleaning bin

> Recompiling

'"C:\Programme\Java\jdk1.6.0_25\bin\javac" -Xlint:-options -deprecation -g -source 1.6 -ta

rget 1.6 -c...' failed : 1

 

== ERRORS FOUND ==

 

src\minecraft\net\minecraft\src\RenderBlocks.java:5659: 'else' without 'if'

            else

            ^

 

1 error

==================

 

Client recompile failed, correct source then rerun updatemd5

!! Can not find server sources, try decompiling !!

=================================== Minecraft Forge Setup Finished =======================

==========

Drücken Sie eine beliebige Taste . . .

 

Crazy Brain...

Posted

STILL a modified jar, so we arnt support 1.2.5 development.

Also use the damn spoiler tags -.-

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

Belive me or not. i downloaded a untouched jar from the www . i puted inside /mcp/bin. and started the forge installer. and ok sry cant read spioler with my mobil phone thats why i dont like them.

Crazy Brain...

Posted

Yes but you're lieing because it wouldnt say its modified if it wasnt modified.

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

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Version 1.19 - Forge 41.0.63 I want to create a wolf entity that I can ride, so far it seems to be working, but the problem is that when I get on the wolf, I can’t control it. I then discovered that the issue is that the server doesn’t detect that I’m riding the wolf, so I’m struggling with synchronization. However, it seems to not be working properly. As I understand it, the server receives the packet but doesn’t register it correctly. I’m a bit new to Java, and I’ll try to provide all the relevant code and prints *The comments and prints are translated by chatgpt since they were originally in Spanish* Thank you very much in advance No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. MountableWolfEntity package com.vals.valscraft.entity; import com.vals.valscraft.network.MountSyncPacket; import com.vals.valscraft.network.NetworkHandler; import net.minecraft.client.Minecraft; import net.minecraft.network.syncher.EntityDataAccessor; import net.minecraft.network.syncher.EntityDataSerializers; import net.minecraft.network.syncher.SynchedEntityData; import net.minecraft.server.MinecraftServer; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.Mob; import net.minecraft.world.entity.ai.attributes.AttributeSupplier; import net.minecraft.world.entity.ai.attributes.Attributes; import net.minecraft.world.entity.animal.Wolf; import net.minecraft.world.entity.player.Player; import net.minecraft.world.entity.Entity; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraft.world.level.Level; import net.minecraft.world.phys.Vec3; import net.minecraftforge.event.TickEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.network.PacketDistributor; public class MountableWolfEntity extends Wolf { private boolean hasSaddle; private static final EntityDataAccessor<Byte> DATA_ID_FLAGS = SynchedEntityData.defineId(MountableWolfEntity.class, EntityDataSerializers.BYTE); public MountableWolfEntity(EntityType<? extends Wolf> type, Level level) { super(type, level); this.hasSaddle = false; } @Override protected void defineSynchedData() { super.defineSynchedData(); this.entityData.define(DATA_ID_FLAGS, (byte)0); } public static AttributeSupplier.Builder createAttributes() { return Wolf.createAttributes() .add(Attributes.MAX_HEALTH, 20.0) .add(Attributes.MOVEMENT_SPEED, 0.3); } @Override public InteractionResult mobInteract(Player player, InteractionHand hand) { ItemStack itemstack = player.getItemInHand(hand); if (itemstack.getItem() == Items.SADDLE && !this.hasSaddle()) { if (!player.isCreative()) { itemstack.shrink(1); } this.setSaddle(true); return InteractionResult.SUCCESS; } else if (!level.isClientSide && this.hasSaddle()) { player.startRiding(this); MountSyncPacket packet = new MountSyncPacket(true); // 'true' means the player is mounted NetworkHandler.CHANNEL.sendToServer(packet); // Ensure the server handles the packet return InteractionResult.SUCCESS; } return InteractionResult.PASS; } @Override public void travel(Vec3 travelVector) { if (this.isVehicle() && this.getControllingPassenger() instanceof Player) { System.out.println("The wolf has a passenger."); System.out.println("The passenger is a player."); Player player = (Player) this.getControllingPassenger(); // Ensure the player is the controller this.setYRot(player.getYRot()); this.yRotO = this.getYRot(); this.setXRot(player.getXRot() * 0.5F); this.setRot(this.getYRot(), this.getXRot()); this.yBodyRot = this.getYRot(); this.yHeadRot = this.yBodyRot; float forward = player.zza; float strafe = player.xxa; if (forward <= 0.0F) { forward *= 0.25F; } this.flyingSpeed = this.getSpeed() * 0.1F; this.setSpeed((float) this.getAttributeValue(Attributes.MOVEMENT_SPEED) * 1.5F); this.setDeltaMovement(new Vec3(strafe, travelVector.y, forward).scale(this.getSpeed())); this.calculateEntityAnimation(this, false); } else { // The wolf does not have a passenger or the passenger is not a player System.out.println("No player is mounted, or the passenger is not a player."); super.travel(travelVector); } } public boolean hasSaddle() { return this.hasSaddle; } public void setSaddle(boolean hasSaddle) { this.hasSaddle = hasSaddle; } @Override protected void dropEquipment() { super.dropEquipment(); if (this.hasSaddle()) { this.spawnAtLocation(Items.SADDLE); this.setSaddle(false); } } @SubscribeEvent public static void onServerTick(TickEvent.ServerTickEvent event) { if (event.phase == TickEvent.Phase.START) { MinecraftServer server = net.minecraftforge.server.ServerLifecycleHooks.getCurrentServer(); if (server != null) { for (ServerPlayer player : server.getPlayerList().getPlayers()) { if (player.isPassenger() && player.getVehicle() instanceof MountableWolfEntity) { MountableWolfEntity wolf = (MountableWolfEntity) player.getVehicle(); System.out.println("Tick: " + player.getName().getString() + " is correctly mounted on " + wolf); } } } } } private boolean lastMountedState = false; @Override public void tick() { super.tick(); if (!this.level.isClientSide) { // Only on the server boolean isMounted = this.isVehicle() && this.getControllingPassenger() instanceof Player; // Only print if the state changed if (isMounted != lastMountedState) { if (isMounted) { Player player = (Player) this.getControllingPassenger(); // Verify the passenger is a player System.out.println("Server: Player " + player.getName().getString() + " is now mounted."); } else { System.out.println("Server: The wolf no longer has a passenger."); } lastMountedState = isMounted; } } } @Override public void addPassenger(Entity passenger) { super.addPassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(true)); } } } @Override public void removePassenger(Entity passenger) { super.removePassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is no longer mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(false)); } } } @Override public boolean isControlledByLocalInstance() { Entity entity = this.getControllingPassenger(); return entity instanceof Player; } @Override public void positionRider(Entity passenger) { if (this.hasPassenger(passenger)) { double xOffset = Math.cos(Math.toRadians(this.getYRot() + 90)) * 0.4; double zOffset = Math.sin(Math.toRadians(this.getYRot() + 90)) * 0.4; passenger.setPos(this.getX() + xOffset, this.getY() + this.getPassengersRidingOffset() + passenger.getMyRidingOffset(), this.getZ() + zOffset); } } } MountSyncPacket package com.vals.valscraft.network; import com.vals.valscraft.entity.MountableWolfEntity; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.server.level.ServerLevel; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.player.Player; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class MountSyncPacket { private final boolean isMounted; public MountSyncPacket(boolean isMounted) { this.isMounted = isMounted; } public void encode(FriendlyByteBuf buffer) { buffer.writeBoolean(isMounted); } public static MountSyncPacket decode(FriendlyByteBuf buffer) { return new MountSyncPacket(buffer.readBoolean()); } public void handle(NetworkEvent.Context context) { context.enqueueWork(() -> { ServerPlayer player = context.getSender(); // Get the player from the context if (player != null) { // Verifies if the player has dismounted if (!isMounted) { Entity vehicle = player.getVehicle(); if (vehicle instanceof MountableWolfEntity wolf) { // Logic to remove the player as a passenger wolf.removePassenger(player); System.out.println("Server: Player " + player.getName().getString() + " is no longer mounted."); } } } }); context.setPacketHandled(true); // Marks the packet as handled } } networkHandler package com.vals.valscraft.network; import com.vals.valscraft.valscraft; import net.minecraft.resources.ResourceLocation; import net.minecraftforge.network.NetworkRegistry; import net.minecraftforge.network.simple.SimpleChannel; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class NetworkHandler { private static final String PROTOCOL_VERSION = "1"; public static final SimpleChannel CHANNEL = NetworkRegistry.newSimpleChannel( new ResourceLocation(valscraft.MODID, "main"), () -> PROTOCOL_VERSION, PROTOCOL_VERSION::equals, PROTOCOL_VERSION::equals ); public static void init() { int packetId = 0; // Register the mount synchronization packet CHANNEL.registerMessage( packetId++, MountSyncPacket.class, MountSyncPacket::encode, MountSyncPacket::decode, (msg, context) -> msg.handle(context.get()) // Get the context with context.get() ); } }  
    • Do you use features of inventory profiles next (ipnext) or is there a change without it?
    • Remove rubidium - you are already using embeddium, which is a fork of rubidium
  • Topics

×
×
  • Create New...

Important Information

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