Jump to content

Forge won't install correctly w/ MCP


DanielRuns

Recommended Posts

I really hate to make my first post a problem but I need help. Whenever I try to add forge to MCP it gives me this message-

 

=================================== 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
== 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 138.70 seconds
== Reformating client ==
> Cleaning sources
> Replacing OpenGL constants
> Reformating sources
- Done in 7.97 seconds
!! renaming disabled !!
!! Missing server jar file. Aborting !!
!! recompile disabled !!
Stripping META-INF from minecraft.jar
Skipping: META-INF/MANIFEST.MF
Skipping: META-INF/CODESIGN.SF
Skipping: META-INF/CODESIGN.RSA
Applying Forge ModLoader patches
patching file net/minecraft/client/Minecraft.java.patch
patching file minecraft/net/minecraft/client/Minecraft.java
patching file net/minecraft/src/BlockDispenser.java.patch
patching file minecraft/net/minecraft/src/BlockDispenser.java
patching file net/minecraft/src/ChunkProvider.java.patch
patching file minecraft/net/minecraft/src/ChunkProvider.java
patching file net/minecraft/src/EntityItem.java.patch
patching file minecraft/net/minecraft/src/EntityItem.java
patching file net/minecraft/src/EntityList.java.patch
patching file minecraft/net/minecraft/src/EntityList.java
patching file net/minecraft/src/GenLayerBiome.java.patch
patching file minecraft/net/minecraft/src/GenLayerBiome.java
patching file net/minecraft/src/GuiCreateWorld.java.patch
patching file minecraft/net/minecraft/src/GuiCreateWorld.java
patching file net/minecraft/src/GuiMainMenu.java.patch
patching file minecraft/net/minecraft/src/GuiMainMenu.java
patching file net/minecraft/src/NetClientHandler.java.patch
patching file minecraft/net/minecraft/src/NetClientHandler.java
patching file net/minecraft/src/PanelCrashReport.java.patch
patching file minecraft/net/minecraft/src/PanelCrashReport.java
patching file net/minecraft/src/RenderBlocks.java.patch
patching file minecraft/net/minecraft/src/RenderBlocks.java
Hunk #13 FAILED at 3272.
Hunk #14 FAILED at 3395.
Hunk #15 FAILED at 3518.
Hunk #16 FAILED at 3641.
Hunk #17 succeeded at 2871 with fuzz 1 (offset -794 lines).
Hunk #18 succeeded at 2953 (offset -794 lines).
Hunk #19 succeeded at 2969 (offset -794 lines).
Hunk #20 succeeded at 2985 (offset -794 lines).
Hunk #21 succeeded at 3001 (offset -794 lines).
Hunk #22 succeeded at 4509 (offset -794 lines).
Hunk #23 succeeded at 4569 (offset -794 lines).
4 out of 23 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/RenderBlocks.java.rej
patching file net/minecraft/src/RenderEngine.java.patch
patching file minecraft/net/minecraft/src/RenderEngine.java
patching file net/minecraft/src/RenderManager.java.patch
patching file minecraft/net/minecraft/src/RenderManager.java
patching file net/minecraft/src/RenderPlayer.java.patch
patching file minecraft/net/minecraft/src/RenderPlayer.java
patching file net/minecraft/src/SlotCrafting.java.patch
patching file minecraft/net/minecraft/src/SlotCrafting.java
patching file net/minecraft/src/SlotFurnace.java.patch
patching file minecraft/net/minecraft/src/SlotFurnace.java
patching file net/minecraft/src/StringTranslate.java.patch
patching file minecraft/net/minecraft/src/StringTranslate.java
patching file net/minecraft/src/TextureCompassFX.java.patch
patching file minecraft/net/minecraft/src/TextureCompassFX.java
patching file net/minecraft/src/TextureFlamesFX.java.patch
patching file minecraft/net/minecraft/src/TextureFlamesFX.java
patching file net/minecraft/src/TextureLavaFlowFX.java.patch
patching file minecraft/net/minecraft/src/TextureLavaFlowFX.java
patching file net/minecraft/src/TextureLavaFX.java.patch
patching file minecraft/net/minecraft/src/TextureLavaFX.java
patching file net/minecraft/src/TexturePackList.java.patch
patching file minecraft/net/minecraft/src/TexturePackList.java
patching file net/minecraft/src/TexturePortalFX.java.patch
patching file minecraft/net/minecraft/src/TexturePortalFX.java
patching file net/minecraft/src/TextureWatchFX.java.patch
patching file minecraft/net/minecraft/src/TextureWatchFX.java
patching file net/minecraft/src/TextureWaterFlowFX.java.patch
patching file minecraft/net/minecraft/src/TextureWaterFlowFX.java
patching file net/minecraft/src/TextureWaterFX.java.patch
patching file minecraft/net/minecraft/src/TextureWaterFX.java
patching file net/minecraft/src/TileEntity.java.patch
patching file minecraft/net/minecraft/src/TileEntity.java
patching file net/minecraft/src/TileEntityFurnace.java.patch
patching file minecraft/net/minecraft/src/TileEntityFurnace.java
patching file net/minecraft/src/TileEntityRenderer.java.patch
patching file minecraft/net/minecraft/src/TileEntityRenderer.java
patching file net/minecraft/src/World.java.patch
patching file minecraft/net/minecraft/src/World.java
patching file net/minecraft/src/WorldProvider.java.patch
patching file minecraft/net/minecraft/src/WorldProvider.java
patching file net/minecraft/src/WorldType.java.patch
patching file minecraft/net/minecraft/src/WorldType.java
== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==
== Updating client ==
> Adding javadoc
> Renaming sources
- Done in 3.89 seconds
Applying forge patches
patching file net/minecraft/client/Minecraft.java.patch
patching file minecraft/net/minecraft/client/Minecraft.java
patching file net/minecraft/src/AnvilChunkLoader.java.patch
patching file minecraft/net/minecraft/src/AnvilChunkLoader.java
patching file net/minecraft/src/AnvilSaveHandler.java.patch
patching file minecraft/net/minecraft/src/AnvilSaveHandler.java
patching file net/minecraft/src/Block.java.patch
patching file minecraft/net/minecraft/src/Block.java
patching file net/minecraft/src/BlockButton.java.patch
patching file minecraft/net/minecraft/src/BlockButton.java
patching file net/minecraft/src/BlockChest.java.patch
patching file minecraft/net/minecraft/src/BlockChest.java
patching file net/minecraft/src/BlockContainer.java.patch
patching file minecraft/net/minecraft/src/BlockContainer.java
patching file net/minecraft/src/BlockCrops.java.patch
patching file minecraft/net/minecraft/src/BlockCrops.java
patching file net/minecraft/src/BlockDoor.java.patch
patching file minecraft/net/minecraft/src/BlockDoor.java
patching file net/minecraft/src/BlockFire.java.patch
patching file minecraft/net/minecraft/src/BlockFire.java
patching file net/minecraft/src/BlockLadder.java.patch
patching file minecraft/net/minecraft/src/BlockLadder.java
patching file net/minecraft/src/BlockLeaves.java.patch
patching file minecraft/net/minecraft/src/BlockLeaves.java
patching file net/minecraft/src/BlockLever.java.patch
patching file minecraft/net/minecraft/src/BlockLever.java
patching file net/minecraft/src/BlockLog.java.patch
patching file minecraft/net/minecraft/src/BlockLog.java
patching file net/minecraft/src/BlockNetherStalk.java.patch
patching file minecraft/net/minecraft/src/BlockNetherStalk.java
patching file net/minecraft/src/BlockPistonBase.java.patch
patching file minecraft/net/minecraft/src/BlockPistonBase.java
patching file net/minecraft/src/BlockPressurePlate.java.patch
patching file minecraft/net/minecraft/src/BlockPressurePlate.java
patching file net/minecraft/src/BlockRail.java.patch
patching file minecraft/net/minecraft/src/BlockRail.java
patching file net/minecraft/src/BlockRedstoneRepeater.java.patch
patching file minecraft/net/minecraft/src/BlockRedstoneRepeater.java
patching file net/minecraft/src/BlockRedstoneWire.java.patch
patching file minecraft/net/minecraft/src/BlockRedstoneWire.java
patching file net/minecraft/src/BlockSnow.java.patch
patching file minecraft/net/minecraft/src/BlockSnow.java
patching file net/minecraft/src/BlockTallGrass.java.patch
patching file minecraft/net/minecraft/src/BlockTallGrass.java
patching file net/minecraft/src/BlockTorch.java.patch
patching file minecraft/net/minecraft/src/BlockTorch.java
patching file net/minecraft/src/BlockTrapDoor.java.patch
patching file minecraft/net/minecraft/src/BlockTrapDoor.java
patching file net/minecraft/src/BlockVine.java.patch
patching file minecraft/net/minecraft/src/BlockVine.java
patching file net/minecraft/src/Chunk.java.patch
patching file minecraft/net/minecraft/src/Chunk.java
patching file net/minecraft/src/ChunkProvider.java.patch
patching file minecraft/net/minecraft/src/ChunkProvider.java
patching file net/minecraft/src/ContainerCreative.java.patch
patching file minecraft/net/minecraft/src/ContainerCreative.java
patching file net/minecraft/src/ContainerFurnace.java.patch
patching file minecraft/net/minecraft/src/ContainerFurnace.java
patching file net/minecraft/src/CraftingManager.java.patch
patching file minecraft/net/minecraft/src/CraftingManager.java
patching file net/minecraft/src/EffectRenderer.java.patch
patching file minecraft/net/minecraft/src/EffectRenderer.java
patching file net/minecraft/src/Enchantment.java.patch
patching file minecraft/net/minecraft/src/Enchantment.java
patching file net/minecraft/src/EnchantmentHelper.java.patch
patching file minecraft/net/minecraft/src/EnchantmentHelper.java
patching file net/minecraft/src/Entity.java.patch
patching file minecraft/net/minecraft/src/Entity.java
patching file net/minecraft/src/EntityEnderman.java.patch
patching file minecraft/net/minecraft/src/EntityEnderman.java
patching file net/minecraft/src/EntityItem.java.patch
patching file minecraft/net/minecraft/src/EntityItem.java
patching file net/minecraft/src/EntityLiving.java.patch
patching file minecraft/net/minecraft/src/EntityLiving.java
patching file net/minecraft/src/EntityMinecart.java.patch
patching file minecraft/net/minecraft/src/EntityMinecart.java
patching file net/minecraft/src/EntityMooshroom.java.patch
patching file minecraft/net/minecraft/src/EntityMooshroom.java
patching file net/minecraft/src/EntityOcelot.java.patch
patching file minecraft/net/minecraft/src/EntityOcelot.java
patching file net/minecraft/src/EntityPlayer.java.patch
patching file minecraft/net/minecraft/src/EntityPlayer.java
patching file net/minecraft/src/EntityRenderer.java.patch
patching file minecraft/net/minecraft/src/EntityRenderer.java
patching file net/minecraft/src/EntitySheep.java.patch
patching file minecraft/net/minecraft/src/EntitySheep.java
patching file net/minecraft/src/Explosion.java.patch
patching file minecraft/net/minecraft/src/Explosion.java
patching file net/minecraft/src/FurnaceRecipes.java.patch
patching file minecraft/net/minecraft/src/FurnaceRecipes.java
patching file net/minecraft/src/GuiAchievements.java.patch
patching file minecraft/net/minecraft/src/GuiAchievements.java
patching file net/minecraft/src/GuiControls.java.patch
patching file minecraft/net/minecraft/src/GuiControls.java
patching file net/minecraft/src/GuiIngame.java.patch
patching file minecraft/net/minecraft/src/GuiIngame.java
patching file net/minecraft/src/Item.java.patch
patching file minecraft/net/minecraft/src/Item.java
patching file net/minecraft/src/ItemBow.java.patch
patching file minecraft/net/minecraft/src/ItemBow.java
patching file net/minecraft/src/ItemBucket.java.patch
patching file minecraft/net/minecraft/src/ItemBucket.java
patching file net/minecraft/src/ItemDye.java.patch
patching file minecraft/net/minecraft/src/ItemDye.java
patching file net/minecraft/src/ItemHoe.java.patch
patching file minecraft/net/minecraft/src/ItemHoe.java
patching file net/minecraft/src/ItemMap.java.patch
patching file minecraft/net/minecraft/src/ItemMap.java
patching file net/minecraft/src/ItemRenderer.java.patch
patching file minecraft/net/minecraft/src/ItemRenderer.java
patching file net/minecraft/src/ItemShears.java.patch
patching file minecraft/net/minecraft/src/ItemShears.java
patching file net/minecraft/src/ItemTool.java.patch
patching file minecraft/net/minecraft/src/ItemTool.java
patching file net/minecraft/src/MovingObjectPosition.java.patch
patching file minecraft/net/minecraft/src/MovingObjectPosition.java
patching file net/minecraft/src/NetClientHandler.java.patch
patching file minecraft/net/minecraft/src/NetClientHandler.java
patching file net/minecraft/src/NetworkManager.java.patch
patching file minecraft/net/minecraft/src/NetworkManager.java
patching file net/minecraft/src/Packet53BlockChange.java.patch
patching file minecraft/net/minecraft/src/Packet53BlockChange.java
patching file net/minecraft/src/PlayerController.java.patch
patching file minecraft/net/minecraft/src/PlayerController.java
patching file net/minecraft/src/PlayerControllerCreative.java.patch
patching file minecraft/net/minecraft/src/PlayerControllerCreative.java
patching file net/minecraft/src/PlayerControllerMP.java.patch
patching file minecraft/net/minecraft/src/PlayerControllerMP.java
patching file net/minecraft/src/PlayerControllerSP.java.patch
patching file minecraft/net/minecraft/src/PlayerControllerSP.java
patching file net/minecraft/src/RailLogic.java.patch
patching file minecraft/net/minecraft/src/RailLogic.java
patching file net/minecraft/src/RenderBiped.java.patch
patching file minecraft/net/minecraft/src/RenderBiped.java
patching file net/minecraft/src/RenderBlocks.java.patch
patching file minecraft/net/minecraft/src/RenderBlocks.java
Hunk #8 FAILED at 3609.
Hunk #9 FAILED at 3732.
Hunk #10 FAILED at 3855.
Hunk #11 FAILED at 3978.
Hunk #12 succeeded at 3296 (offset -794 lines).
Hunk #13 succeeded at 3312 (offset -794 lines).
Hunk #14 succeeded at 3328 (offset -794 lines).
Hunk #15 succeeded at 3344 (offset -794 lines).
4 out of 15 hunks FAILED -- saving rejects to file minecraft/net/minecraft/src/RenderBlocks.java.rej
patching file net/minecraft/src/RenderEngine.java.patch
patching file minecraft/net/minecraft/src/RenderEngine.java
patching file net/minecraft/src/RenderGlobal.java.patch
patching file minecraft/net/minecraft/src/RenderGlobal.java
patching file net/minecraft/src/RenderItem.java.patch
patching file minecraft/net/minecraft/src/RenderItem.java
patching file net/minecraft/src/RenderManager.java.patch
patching file minecraft/net/minecraft/src/RenderManager.java
patching file net/minecraft/src/RenderPlayer.java.patch
patching file minecraft/net/minecraft/src/RenderPlayer.java
patching file net/minecraft/src/RenderSnowMan.java.patch
patching file minecraft/net/minecraft/src/RenderSnowMan.java
patching file net/minecraft/src/SlotCrafting.java.patch
patching file minecraft/net/minecraft/src/SlotCrafting.java
patching file net/minecraft/src/SoundManager.java.patch
patching file minecraft/net/minecraft/src/SoundManager.java
patching file net/minecraft/src/SoundPool.java.patch
patching file minecraft/net/minecraft/src/SoundPool.java
patching file net/minecraft/src/SpawnerAnimals.java.patch
patching file minecraft/net/minecraft/src/SpawnerAnimals.java
patching file net/minecraft/src/StatList.java.patch
patching file minecraft/net/minecraft/src/StatList.java
patching file net/minecraft/src/Teleporter.java.patch
patching file minecraft/net/minecraft/src/Teleporter.java
patching file net/minecraft/src/Tessellator.java.patch
patching file minecraft/net/minecraft/src/Tessellator.java
patching file net/minecraft/src/TileEntity.java.patch
patching file minecraft/net/minecraft/src/TileEntity.java
patching file net/minecraft/src/TileEntityBrewingStand.java.patch
patching file minecraft/net/minecraft/src/TileEntityBrewingStand.java
patching file net/minecraft/src/TileEntityFurnace.java.patch
patching file minecraft/net/minecraft/src/TileEntityFurnace.java
patching file net/minecraft/src/TileEntityRendererPiston.java.patch
patching file minecraft/net/minecraft/src/TileEntityRendererPiston.java
patching file net/minecraft/src/World.java.patch
patching file minecraft/net/minecraft/src/World.java
patching file net/minecraft/src/WorldGenBigMushroom.java.patch
patching file minecraft/net/minecraft/src/WorldGenBigMushroom.java
patching file net/minecraft/src/WorldGenDeadBush.java.patch
patching file minecraft/net/minecraft/src/WorldGenDeadBush.java
patching file net/minecraft/src/WorldGenDungeons.java.patch
patching file minecraft/net/minecraft/src/WorldGenDungeons.java
patching file net/minecraft/src/WorldGenForest.java.patch
patching file minecraft/net/minecraft/src/WorldGenForest.java
patching file net/minecraft/src/WorldGenHugeTrees.java.patch
patching file minecraft/net/minecraft/src/WorldGenHugeTrees.java
patching file net/minecraft/src/WorldGenMinable.java.patch
patching file minecraft/net/minecraft/src/WorldGenMinable.java
patching file net/minecraft/src/WorldGenShrub.java.patch
patching file minecraft/net/minecraft/src/WorldGenShrub.java
patching file net/minecraft/src/WorldGenSwamp.java.patch
patching file minecraft/net/minecraft/src/WorldGenSwamp.java
patching file net/minecraft/src/WorldGenTaiga1.java.patch
patching file minecraft/net/minecraft/src/WorldGenTaiga1.java
patching file net/minecraft/src/WorldGenTaiga2.java.patch
patching file minecraft/net/minecraft/src/WorldGenTaiga2.java
patching file net/minecraft/src/WorldGenTallGrass.java.patch
patching file minecraft/net/minecraft/src/WorldGenTallGrass.java
patching file net/minecraft/src/WorldGenTrees.java.patch
patching file minecraft/net/minecraft/src/WorldGenTrees.java
patching file net/minecraft/src/WorldProvider.java.patch
patching file minecraft/net/minecraft/src/WorldProvider.java
patching file net/minecraft/src/WorldProviderEnd.java.patch
patching file minecraft/net/minecraft/src/WorldProviderEnd.java
patching file net/minecraft/src/WorldProviderHell.java.patch
patching file minecraft/net/minecraft/src/WorldProviderHell.java
patching file net/minecraft/src/WorldProviderSurface.java.patch
patching file minecraft/net/minecraft/src/WorldProviderSurface.java
patching file net/minecraft/src/WorldRenderer.java.patch
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 1.98 seconds
== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==
== Recompiling client ==
> Cleaning bin
> Recompiling
'"javac" -Xlint:-options -deprecation -g -source 1.6 -target 1.6 -classpath "lib:lib/*:jars/bin/minec...' failed : 1

== ERRORS FOUND ==

src/minecraft/net/minecraft/src/forge/ForgeHooks.java:359: warning: [deprecation] net.minecraft.src.forge.ISpecialMobSpawnHandler in net.minecraft.src.forge has been deprecated
    static LinkedList<ISpecialMobSpawnHandler> specialMobSpawnHandlers = new LinkedList<ISpecialMobSpawnHandler>();
                      ^

src/minecraft/net/minecraft/src/forge/MinecraftForge.java:164: warning: [deprecation] net.minecraft.src.forge.ISpecialMobSpawnHandler in net.minecraft.src.forge has been deprecated
    public static void registerSpecialMobSpawnHandler(ISpecialMobSpawnHandler handler)
                                                      ^

src/minecraft/net/minecraft/src/RenderBlocks.java:3209: missing return statement
    }
    ^

src/minecraft/net/minecraft/src/ModLoader.java:387: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
        return ReflectionHelper.getPrivateValue(instanceclass, instance, fieldindex);
                                               ^

src/minecraft/net/minecraft/src/ModLoader.java:401: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
        return ReflectionHelper.getPrivateValue(instanceclass, instance, field);
                                               ^

3 errors
2 warnings
==================

Client recompile failed, correct source then rerun updatemd5
!! Can not find server sources, try decompiling !!
=================================== Minecraft Forge Setup Finished =================================

 

What I do-

1. Extract mcp 62

2. Extract the forge source into the mcp directory

3. Place my "bin" folder into mcp's "jars" folder

4 Run install.sh with terminal

5. Get an Error message

 

[side note] I've used forge and mcp before but it has always worked, with one exception, my RenderBlocks.java is always screwed up.

 

[Edit] If I'm just being stupid and this isn't actually an error, can somebody please tell me why render blocks never works.

Link to comment
Share on other sites

What.. the.. hell...

Why is it trying to patch everything twice.

Anyways, if you wanna do me a favor, delete all the .path files inside the forge folder.

And run the install, then e-mail me a zip of the resulting MCP folder to [email protected]

Its odd...

 

Seems you're decompiling to something odd..

Aside from that, update your JDK thats what causes the Reflection related errors.

 

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

Link to comment
Share on other sites

Alright I did that. I wasn't sure what you meant by the path files, so I just sent my entire mcp folder. Also I'm ragsd77194. I sent you a completely new mcp folder but I got the same error message so it should be fine. This appears to be working okay when I load it in eclipse; I just have to use fast lighting because of the BlockRender.java error.

 

 

Link to comment
Share on other sites

Ah I ment the .patch files, inside for forge/fml/patches and forge/patches/

 

Your renderblocks issue is derived from this:

ERROR: Method func_22330_a (Lnet/minecraft/src/Block;IIIFFF)Z couldn't be decompiled.

No clue what causes it.

 

Anyways update your jre/jdk and see if that helps.

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

Link to comment
Share on other sites

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • So I saw that mixin is shipped as a library with forge, but is it available for 1.7.10 ?  
    • So I've read the EULA, and lets be straight...     If I split my modpack(of my mods, yeah I'm nuts) into several(many) individual mods(like just one boss) with minor additions(plus not working together), then have a complete/modpack version on patreon/onlyfans having each addon work together... Would people buy my idea?
    • German A1 – C1, TestDAF, Goethe B1, B2, C1, C2, valid GOETHE certificate German A1 – C1, TestDAF, Goethe B1, B2, C1, C2, valid GOETHE certificate(+27(838-80-8170
    • Done, it still crashed. New log https://paste.ee/p/kYv6e
    • I am migrating a mod from 1.16.5 to 1.20.2 The version for 1.16.5 can be found here https://github.com/beothorn/automataCraft For the block called automata_start, it uses TileEntities and has blockstates, model/block and textures on json files. This is currently working fine on 1.16.5 https://github.com/beothorn/automataCraft/tree/master/src/main/resources/assets/automata For 1.20.2 I migrated the logic from TileEntities to BlockEntity. The mod is working fine. All blocks and Items are working with the correct textures except for the textures for each state of the automata_start block. No changes where made to the json files. This is the branch I am working on (there were some refactorings, but all is basically the same): https://github.com/beothorn/automataCraft/tree/1_20/src/main/resources/assets/automata The only difference I can think that may be related is that i had to implement createBlockStateDefinition on the BaseEntityBlock: https://github.com/beothorn/automataCraft/blob/1_20/src/main/java/br/com/isageek/automata/automata/AutomataStartBlock.java#L43 This is driving me crazy. I know the jsons are being loaded as I put a breakpoint at `net.minecraft.client.resources.model.ModelBakery#loadModel` and I can see BlockModelDefinition.fromJsonElement being called with automata_start. I also printed the state from the arguments of the tick function call and they look correct (https://github.com/beothorn/automataCraft/blob/1_20/src/main/java/br/com/isageek/automata/automata/Ticker.java#L32 ): blockState Block{automata:automata_start}[state=loadreplaceables] In game, all I see is the no textures. I think it is weird it is not the "missing texture" texture so I think it may be related to the material, but I had no success tweaking it (https://github.com/beothorn/automataCraft/blob/1_20/src/main/java/br/com/isageek/automata/automata/AutomataStartBlock.java#L37).   public static final Property<AutomataStartState> state = EnumProperty.create("state", AutomataStartState.class); private final AtomicReference<RegistryObject<BlockEntityType<?>>> blockEntityType; private final Map<String, RegistryObject<Block>> registeredBlocks; public AutomataStartBlock( final AtomicReference<RegistryObject<BlockEntityType<?>>> blockEntityType, final Map<String, RegistryObject<Block>> registeredBlocks ) { super(BlockBehaviour.Properties.of().mapColor(MapColor.STONE).strength(1.5F, 6.0F)); this.blockEntityType = blockEntityType; this.registeredBlocks = registeredBlocks; this.registerDefaultState(this.getStateDefinition().any().setValue(state, AutomataStartState.LOAD_REPLACEABLES)); } @Override protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> stateBuilder) { stateBuilder.add(state); }     So my cry for help is, anyone has any ideas? Is there a way to easily debug this, for example somewhere where I can list the textures for a given state, or make sure this is loaded?   Thanks in advance for the hints
  • Topics

×
×
  • Create New...

Important Information

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