Jump to content

[solved] Linux installation problem - 1.6.4 src recommended (how to install ?)


Recommended Posts

Posted

Edit: problem seem to be solved. Something basic indeed - I just had to use installer :-) I just didn't thought that there is working installer for Linux :)

 

 

Hello. It is my first attempt to install Forge - so maybe I am missing something simple or basic. I am running gentoo Linux on AMD64 and I tried two different approaches to install and run FML.  I am using IcedTea JDK at the moment.

 

Here is what I tried (in both cases I used recommended source version of 1.6.4 FML, and I have minecraft 1.6.4)

 

1. Inside the .zip file I have found README-MinecraftForge.txt, and it says:

 

Copy all files from this zip to your minecraft.jar, thats it.

Thats it, you're done, during first run FML will download all needed libraries for you.

and

Astyle is required for the patches to apply properly, so either install wine, or astyle

  Instalation instructions are distro specific, so I can not give them here.

 

I have astyle and wine installed on my system. I did copy all files to my minecraft.jar. Jar is 20 times bigger now, than before, it is starting normally, that's all. When I try to edit profiles I can't choose forge as my version - I still see only standard versions there. So I guess FML is not installed - maybe I am wrong ? Anyway videos that I have found on YT show, that after installing Forge I should be able to change minecraft version to version with "forge" in it's name. I don't have such possibility.

 

2. Second way  - I found this page: http://www.minecraftforge.net/wiki/Installation/Source

I unpacked .zip to forge directory. (source version 1.6.4 recommended, again). I ran install.sh. It downloaded tons of libraries, assets, sounds etc. Everything seems to be fine - only lines that indicate problems are:

"scalac" is not found on the PATH.  Scala files will not be recompiled
(several times) and

== Reformating client==                                                                                                                                                                                                                                                     

> Cleaning sources                                                                                                                                                                                                                                                           

> Replacing OpenGL constants                                                                                                                                                                                                                                                 

> Reformating sources                                                                                                                                                                                                                                                         

- Done in 4.28 seconds                                                                                                                                                                                                                                                       

!! renaming disabled !!                                                                                                                                                                                                                                                       

!! recompile disabled !!                                                                                                                                                                                                                                                     

== MCP 8.09 (data: 8.11, client: 1.6.4, server: 1.6.4) ==                                                                                                                                                                                                                     

"scalac" is not found on the PATH.  Scala files will not be recompiled                                                                                                                                                                                                       

# found wine, ff, ff patches, srgs, name csvs, doc csvs, param csvs, astyle, astyle config, rg, ss                                                                                                                                                                           

 

 

Here's full console:

 

 

================ Forge ModLoader Setup Start ===================

MCP Detected already, not downloading

Setting up MCP

Patching commands.py

patching file commands.py

    Commands patch applied successfully

Copying FML conf

Creating Repackaged data

    Creating re-packaged srg

    Creating re-packaged exc

    Creating re-packaged MCP patches

== MCP 8.09 (data: 8.11, client: 1.6.4, server: 1.6.4) ==

"scalac" is not found on the PATH.  Scala files will not be recompiled

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

> Cleaning temp

> Cleaning src

> Cleaning bin

> Cleaning reobf

> Cleaning jars

> Cleaning logs

Backing up client

Backing up server

Gathering assets list from http://s3.amazonaws.com/Minecraft.Resources

    No new assets need to download

== MCP 8.09 (data: 8.11, client: 1.6.4, server: 1.6.4) ==

"scalac" is not found on the PATH.  Scala files will not be recompiled

# found wine, ff, ff patches, srgs, name csvs, doc csvs, param csvs, astyle, astyle config, rg, ss

== Decompiling client using fernflower ==

> Creating SRGs

> Applying SpecialSource

Stripping META-INF from jars/versions/1.6.4/1.6.4.jar

    Skipping: META-INF/MANIFEST.MF                                                                                                                                                                                                                                           

    Skipping: META-INF/MOJANGCS.SF                                                                                                                                                                                                                                           

    Skipping: META-INF/MOJANGCS.RSA                                                                                                                                                                                                                                           

> Compiling AccessTransformer                                                                                                                                                                                                                                                 

> Compiling MCPMerger                                                                                                                                                                                                                                                         

> Running MCPMerger                                                                                                                                                                                                                                                           

> Running AccessTransformer                                                                                                                                                                                                                                                   

    Forge config detected                                                                                                                                                                                                                                                     

> Really Applying SpecialSource                                                                                                                                                                                                                                               

> Applying MCInjector                                                                                                                                                                                                                                                         

> Filtering classes                                                                                                                                                                                                                                                           

> Decompiling                                                                                                                                                                                                                                                                 

> Unpacking jar                                                                                                                                                                                                                                                               

> Copying sources                                                                                                                                                                                                                                                             

> Applying fernflower fixes                                                                                                                                                                                                                                                   

> Applying patches                                                                                                                                                                                                                                                           

> Cleaning comments                                                                                                                                                                                                                                                           

- Done in 78.28 seconds                                                                                                                                                                                                                                                       

== Reformating client ==                                                                                                                                                                                                                                                     

> Cleaning sources                                                                                                                                                                                                                                                           

> Replacing OpenGL constants                                                                                                                                                                                                                                                 

> Reformating sources                                                                                                                                                                                                                                                         

- Done in 4.28 seconds                                                                                                                                                                                                                                                       

!! renaming disabled !!                                                                                                                                                                                                                                                       

!! recompile disabled !!                                                                                                                                                                                                                                                     

== MCP 8.09 (data: 8.11, client: 1.6.4, server: 1.6.4) ==                                                                                                                                                                                                                     

"scalac" is not found on the PATH.  Scala files will not be recompiled                                                                                                                                                                                                       

# found wine, ff, ff patches, srgs, name csvs, doc csvs, param csvs, astyle, astyle config, rg, ss                                                                                                                                                                           

== Recompiling client ==                                                                                                                                                                                                                                                     

> Cleaning bin                                                                                                                                                                                                                                                               

> Recompiling                                                                                                                                                                                                                                                                 

- Done in 8.17 seconds                                                                                                                                                                                                                                                       

> Generating client md5s                                                                                                                                                                                                                                                     

Applying Forge ModLoader patches                                                                                                                                                                                                                                             

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

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

patching file minecraft/net/minecraft/entity/EntityTracker.java                                                                                                                                                                                                               

patching file minecraft/net/minecraft/entity/EntityTrackerEntry.java

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

patching file minecraft/net/minecraft/entity/passive/EntityVillager.java

patching file minecraft/net/minecraft/entity/monster/EntitySlime.java

patching file minecraft/net/minecraft/entity/item/EntityItem.java

patching file minecraft/net/minecraft/entity/boss/IBossDisplayData.java

patching file minecraft/net/minecraft/entity/player/EntityPlayer.java

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

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

patching file minecraft/net/minecraft/client/resources/LanguageManager.java

patching file minecraft/net/minecraft/client/renderer/RenderBlocks.java

patching file minecraft/net/minecraft/client/renderer/entity/RenderVillager.java

patching file minecraft/net/minecraft/client/multiplayer/NetClientHandler.java

patching file minecraft/net/minecraft/client/multiplayer/GuiConnecting.java

patching file minecraft/net/minecraft/client/settings/GameSettings.java

patching file minecraft/net/minecraft/client/gui/GuiMainMenu.java

patching file minecraft/net/minecraft/client/gui/GuiCreateWorld.java

patching file minecraft/net/minecraft/stats/StatFileWriter.java

patching file minecraft/net/minecraft/logging/LogAgent.java

patching file minecraft/net/minecraft/server/MinecraftServer.java

patching file minecraft/net/minecraft/server/ServerListenThread.java

patching file minecraft/net/minecraft/server/integrated/IntegratedServerListenThread.java

patching file minecraft/net/minecraft/server/integrated/IntegratedServer.java

patching file minecraft/net/minecraft/server/management/ServerConfigurationManager.java

patching file minecraft/net/minecraft/server/dedicated/DedicatedServer.java

patching file minecraft/net/minecraft/crash/CallableSuspiciousClasses.java

patching file minecraft/net/minecraft/crash/CrashReport.java

patching file minecraft/net/minecraft/util/ResourceLocation.java

patching file minecraft/net/minecraft/util/StringTranslate.java

patching file minecraft/net/minecraft/util/CryptManager.java

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

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

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

patching file minecraft/net/minecraft/world/chunk/storage/AnvilChunkLoader.java

patching file minecraft/net/minecraft/world/storage/SaveHandler.java

patching file minecraft/net/minecraft/world/storage/WorldInfo.java

patching file minecraft/net/minecraft/world/storage/MapData.java

patching file minecraft/net/minecraft/world/gen/ChunkProviderServer.java

patching file minecraft/net/minecraft/world/gen/layer/GenLayerBiome.java

patching file minecraft/net/minecraft/world/gen/structure/StructureVillagePieces.java

patching file minecraft/net/minecraft/network/TcpConnection.java

patching file minecraft/net/minecraft/network/NetworkListenThread.java

patching file minecraft/net/minecraft/network/MemoryConnection.java

patching file minecraft/net/minecraft/network/NetServerHandler.java

patching file minecraft/net/minecraft/network/NetLoginHandler.java

patching file minecraft/net/minecraft/network/packet/Packet1Login.java

patching file minecraft/net/minecraft/network/packet/Packet.java

patching file minecraft/net/minecraft/network/packet/NetHandler.java

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

patching file minecraft/net/minecraft/item/Item.java

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

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

== MCP 8.09 (data: 8.11, client: 1.6.4, server: 1.6.4) ==

"scalac" is not found on the PATH.  Scala files will not be recompiled

== Updating client ==

> Adding javadoc

> Renaming sources

- Done in 1.60 seconds

== MCP 8.09 (data: 8.11, client: 1.6.4, server: 1.6.4) ==

"scalac" is not found on the PATH.  Scala files will not be recompiled

== Recompiling client ==

> Cleaning bin

> Recompiling

- Done in 9.36 seconds

> Generating client md5s

================  Forge ModLoader Setup End  ===================

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

Applying forge patches

Applying Minecraft Forge patches

patching file minecraft/net/minecraft/inventory/SlotBrewingStandIngredient.java

patching file minecraft/net/minecraft/inventory/SlotArmor.java

patching file minecraft/net/minecraft/inventory/Slot.java

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

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

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

patching file minecraft/net/minecraft/inventory/ContainerEnchantment.java

patching file minecraft/net/minecraft/inventory/ContainerRepair.java

patching file minecraft/net/minecraft/inventory/SlotBrewingStandPotion.java

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

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

patching file minecraft/net/minecraft/entity/EntityLivingBase.java

patching file minecraft/net/minecraft/entity/passive/EntityMooshroom.java

patching file minecraft/net/minecraft/entity/passive/EntitySheep.java

patching file minecraft/net/minecraft/entity/passive/EntityVillager.java

patching file minecraft/net/minecraft/entity/passive/EntityOcelot.java

patching file minecraft/net/minecraft/entity/monster/EntityEnderman.java

patching file minecraft/net/minecraft/entity/item/EntityMinecartContainer.java

patching file minecraft/net/minecraft/entity/item/EntityMinecartHopper.java

patching file minecraft/net/minecraft/entity/item/EntityMinecart.java

patching file minecraft/net/minecraft/entity/item/EntityEnderPearl.java

patching file minecraft/net/minecraft/entity/item/EntityMinecartEmpty.java

patching file minecraft/net/minecraft/entity/item/EntityMinecartFurnace.java

patching file minecraft/net/minecraft/entity/item/EntityItem.java

patching file minecraft/net/minecraft/entity/boss/EntityDragon.java

patching file minecraft/net/minecraft/entity/boss/EntityWither.java

patching file minecraft/net/minecraft/entity/player/EntityPlayer.java

patching file minecraft/net/minecraft/entity/player/EntityPlayerMP.java

patching file minecraft/net/minecraft/entity/player/InventoryPlayer.java

patching file minecraft/net/minecraft/entity/effect/EntityLightningBolt.java

patching file minecraft/net/minecraft/entity/ai/EntityAIAttackOnCollide.java

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

patching file minecraft/net/minecraft/client/audio/SoundManager.java

patching file minecraft/net/minecraft/client/entity/EntityOtherPlayerMP.java

patching file minecraft/net/minecraft/client/entity/EntityPlayerSP.java

patching file minecraft/net/minecraft/client/model/ModelRenderer.java

patching file minecraft/net/minecraft/client/model/ModelBase.java

patching file minecraft/net/minecraft/client/model/PositionTextureVertex.java

patching file minecraft/net/minecraft/client/model/TexturedQuad.java

patching file minecraft/net/minecraft/client/model/ModelBox.java

patching file minecraft/net/minecraft/client/renderer/OpenGlHelper.java

patching file minecraft/net/minecraft/client/renderer/RenderGlobal.java

patching file minecraft/net/minecraft/client/renderer/EntityRenderer.java

patching file minecraft/net/minecraft/client/renderer/ItemRenderer.java

patching file minecraft/net/minecraft/client/renderer/RenderBlocks.java

patching file minecraft/net/minecraft/client/renderer/WorldRenderer.java

patching file minecraft/net/minecraft/client/renderer/Tessellator.java

patching file minecraft/net/minecraft/client/renderer/entity/RenderPlayer.java

patching file minecraft/net/minecraft/client/renderer/entity/RenderManager.java

patching file minecraft/net/minecraft/client/renderer/entity/RenderSnowMan.java

patching file minecraft/net/minecraft/client/renderer/entity/RenderItem.java

patching file minecraft/net/minecraft/client/renderer/entity/RenderBiped.java

patching file minecraft/net/minecraft/client/renderer/entity/RendererLivingEntity.java

patching file minecraft/net/minecraft/client/renderer/texture/TextureMap.java

patching file minecraft/net/minecraft/client/renderer/texture/TextureAtlasSprite.java

patching file minecraft/net/minecraft/client/renderer/texture/Stitcher.java

patching file minecraft/net/minecraft/client/renderer/tileentity/TileEntityChestRenderer.java

patching file minecraft/net/minecraft/client/multiplayer/NetClientHandler.java

patching file minecraft/net/minecraft/client/multiplayer/ChunkProviderClient.java

patching file minecraft/net/minecraft/client/multiplayer/WorldClient.java

patching file minecraft/net/minecraft/client/multiplayer/PlayerControllerMP.java

patching file minecraft/net/minecraft/client/particle/EffectRenderer.java

patching file minecraft/net/minecraft/client/particle/EntityDiggingFX.java

patching file minecraft/net/minecraft/client/particle/EntityFireworkStarterFX.java

patching file minecraft/net/minecraft/client/gui/GuiIngame.java

patching file minecraft/net/minecraft/client/gui/GuiChat.java

patching file minecraft/net/minecraft/client/gui/GuiControls.java

patching file minecraft/net/minecraft/client/gui/GuiSlot.java

patching file minecraft/net/minecraft/client/gui/GuiCreateWorld.java

patching file minecraft/net/minecraft/client/gui/inventory/GuiContainerCreative.java

patching file minecraft/net/minecraft/client/gui/inventory/GuiContainer.java

patching file minecraft/net/minecraft/client/gui/achievement/GuiAchievements.java

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

patching file minecraft/net/minecraft/block/BlockTripWireSource.java

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

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

patching file minecraft/net/minecraft/block/BlockCocoa.java

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

patching file minecraft/net/minecraft/block/BlockPumpkin.java

patching file minecraft/net/minecraft/block/BlockFluid.java

patching file minecraft/net/minecraft/block/BlockPane.java

patching file minecraft/net/minecraft/block/BlockComparator.java

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

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

patching file minecraft/net/minecraft/block/BlockFlower.java

patching file minecraft/net/minecraft/block/BlockRailBase.java

patching file minecraft/net/minecraft/block/BlockMushroom.java

patching file minecraft/net/minecraft/block/BlockMycelium.java

patching file minecraft/net/minecraft/block/BlockGrass.java

patching file minecraft/net/minecraft/block/BlockCactus.java

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

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

patching file minecraft/net/minecraft/block/BlockSkull.java

patching file minecraft/net/minecraft/block/BlockBaseRailLogic.java

patching file minecraft/net/minecraft/block/BlockReed.java

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

patching file minecraft/net/minecraft/block/BlockStem.java

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

patching file minecraft/net/minecraft/block/BlockSand.java

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

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

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

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

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

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

patching file minecraft/net/minecraft/block/BlockPortal.java

patching file minecraft/net/minecraft/block/BlockFlowing.java

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

patching file minecraft/net/minecraft/block/BlockSapling.java

patching file minecraft/net/minecraft/block/BlockFarmland.java

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

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

patching file minecraft/net/minecraft/server/MinecraftServer.java

patching file minecraft/net/minecraft/server/integrated/IntegratedServer.java

patching file minecraft/net/minecraft/server/management/PlayerInstance.java

patching file minecraft/net/minecraft/server/management/ServerConfigurationManager.java

patching file minecraft/net/minecraft/server/gui/StatsComponent.java

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

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

patching file minecraft/net/minecraft/crash/CrashReportCategory.java

patching file minecraft/net/minecraft/crash/CallableSuspiciousClasses.java

patching file minecraft/net/minecraft/crash/CrashReport.java

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

patching file minecraft/net/minecraft/util/WeightedRandomChestContent.java

patching file minecraft/net/minecraft/world/IBlockAccess.java

patching file minecraft/net/minecraft/world/ChunkCache.java

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

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

patching file minecraft/net/minecraft/world/WorldServerMulti.java

patching file minecraft/net/minecraft/world/WorldServer.java

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

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

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

patching file minecraft/net/minecraft/world/chunk/Chunk.java

patching file minecraft/net/minecraft/world/chunk/storage/AnvilSaveHandler.java

patching file minecraft/net/minecraft/world/chunk/storage/AnvilChunkLoader.java

patching file minecraft/net/minecraft/world/biome/WorldChunkManager.java

patching file minecraft/net/minecraft/world/biome/BiomeDecorator.java

patching file minecraft/net/minecraft/world/biome/BiomeGenBase.java

patching file minecraft/net/minecraft/world/storage/MapData.java

patching file minecraft/net/minecraft/world/gen/MapGenCaves.java

patching file minecraft/net/minecraft/world/gen/ChunkProviderGenerate.java

patching file minecraft/net/minecraft/world/gen/ChunkProviderServer.java

patching file minecraft/net/minecraft/world/gen/ChunkProviderEnd.java

patching file minecraft/net/minecraft/world/gen/MapGenRavine.java

patching file minecraft/net/minecraft/world/gen/ChunkProviderHell.java

patching file minecraft/net/minecraft/world/gen/layer/GenLayer.java

patching file minecraft/net/minecraft/world/gen/feature/WorldGenBigMushroom.java

patching file minecraft/net/minecraft/world/gen/feature/WorldGenBigTree.java

patching file minecraft/net/minecraft/world/gen/feature/WorldGenTaiga1.java

patching file minecraft/net/minecraft/world/gen/feature/WorldGenSwamp.java

patching file minecraft/net/minecraft/world/gen/feature/WorldGenTrees.java

patching file minecraft/net/minecraft/world/gen/feature/WorldGenTaiga2.java

patching file minecraft/net/minecraft/world/gen/feature/WorldGenHugeTrees.java

patching file minecraft/net/minecraft/world/gen/feature/WorldGenDungeons.java

patching file minecraft/net/minecraft/world/gen/feature/WorldGenTallGrass.java

patching file minecraft/net/minecraft/world/gen/feature/WorldGenForest.java

patching file minecraft/net/minecraft/world/gen/feature/WorldGenMinable.java

patching file minecraft/net/minecraft/world/gen/feature/WorldGenDeadBush.java

patching file minecraft/net/minecraft/world/gen/feature/WorldGenShrub.java

patching file minecraft/net/minecraft/world/gen/structure/ComponentVillageHouse2.java

patching file minecraft/net/minecraft/world/gen/structure/ComponentVillageStartPiece.java

patching file minecraft/net/minecraft/world/gen/structure/ComponentStrongholdRoomCrossing.java

patching file minecraft/net/minecraft/world/gen/structure/ComponentVillage.java

patching file minecraft/net/minecraft/world/gen/structure/ComponentScatteredFeatureJunglePyramid.java

patching file minecraft/net/minecraft/world/gen/structure/ComponentStrongholdLibrary.java

patching file minecraft/net/minecraft/world/gen/structure/MapGenStructure.java

patching file minecraft/net/minecraft/world/gen/structure/ComponentMineshaftCorridor.java

patching file minecraft/net/minecraft/world/gen/structure/ComponentScatteredFeatureDesertPyramid.java

patching file minecraft/net/minecraft/world/gen/structure/StructureStart.java

patching file minecraft/net/minecraft/world/gen/structure/ComponentStrongholdChestCorridor.java

patching file minecraft/net/minecraft/world/gen/structure/StructureComponent.java

patching file minecraft/net/minecraft/world/gen/structure/MapGenStronghold.java

patching file minecraft/net/minecraft/network/NetServerHandler.java

patching file minecraft/net/minecraft/network/packet/Packet52MultiBlockChange.java

patching file minecraft/net/minecraft/network/packet/Packet51MapChunk.java

patching file minecraft/net/minecraft/network/packet/Packet56MapChunks.java

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

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

patching file minecraft/net/minecraft/item/EnumRarity.java

patching file minecraft/net/minecraft/item/EnumArmorMaterial.java

patching file minecraft/net/minecraft/item/EnumToolMaterial.java

patching file minecraft/net/minecraft/item/BehaviorDispenseArmor.java

patching file minecraft/net/minecraft/item/ItemBucketMilk.java

patching file minecraft/net/minecraft/item/ItemStack.java

patching file minecraft/net/minecraft/item/ItemArmor.java

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

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

patching file minecraft/net/minecraft/item/ItemSeeds.java

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

patching file minecraft/net/minecraft/item/Item.java

patching file minecraft/net/minecraft/item/ItemSeedFood.java

patching file minecraft/net/minecraft/item/ItemFlintAndSteel.java

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

patching file minecraft/net/minecraft/item/ItemInWorldManager.java

patching file minecraft/net/minecraft/item/ItemBlock.java

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

patching file minecraft/net/minecraft/item/crafting/CraftingManager.java

patching file minecraft/net/minecraft/item/crafting/RecipeFireworks.java

patching file minecraft/net/minecraft/item/crafting/FurnaceRecipes.java

patching file minecraft/net/minecraft/village/VillageCollection.java

patching file minecraft/net/minecraft/nbt/NBTTagList.java

patching file minecraft/net/minecraft/nbt/CompressedStreamTools.java

patching file minecraft/net/minecraft/potion/PotionEffect.java

patching file minecraft/net/minecraft/command/CommandHandler.java

patching file minecraft/net/minecraft/creativetab/CreativeTabs.java

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

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

patching file minecraft/net/minecraft/tileentity/TileEntityHopper.java

patching file minecraft/net/minecraft/tileentity/TileEntityBeacon.java

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

== MCP 8.09 (data: 8.11, client: 1.6.4, server: 1.6.4) ==

"scalac" is not found on the PATH.  Scala files will not be recompiled

== Updating client ==

> Adding javadoc

> Renaming sources

- Done in 1.07 seconds

== MCP 8.09 (data: 8.11, client: 1.6.4, server: 1.6.4) ==

"scalac" is not found on the PATH.  Scala files will not be recompiled

== Recompiling client ==

> Cleaning bin

> Recompiling

- Done in 9.80 seconds

> Generating client md5s

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

 

 

 

So I have this forge folder now (almost 200 MB) and don't know what to do with it.

 

 

3. I have just tried 3rd attempt - this time with universal installer. When I run it, then

michal@localhost ~/.minecraft $ java -jar minecraftforge-universal-1.6.4-9.11.1.916.jar

We appear to be missing one or more essential library files.

You will need to add them to your server before FML and Forge will run successfully.java.lang.ClassNotFoundException: net.minecraft.launchwrapper.Launch

        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

        at java.security.AccessController.doPrivileged(Native Method)                                                                                                                                                                                                         

        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)                                                                                                                                                                                                         

        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)                                                                                                                                                                                                             

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)                                                                                                                                                                                                     

        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)                                                                                                                                                                                                             

        at java.lang.Class.forName0(Native Method)                                                                                                                                                                                                                           

        at java.lang.Class.forName(Class.java:266)                                                                                                                                                                                                                           

        at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:30)                                                                                                                                                                                       

        at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:17)                                                                                                                                                                                     

 

I tried to download http://files.minecraftforge.net/fmllibs/fml_libs15.zip , placed them in the ~/.minecraft/lib directory - nothing changed.

  • 1 month later...
Posted

The src versions is for writing mods.

You want to use the installer if you want to install it into your client -.-

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

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

    • 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.