Jump to content

Forge 10.12 Minecraft 1.7.2


LexManos

Recommended Posts

Forge Version: 10.12.0.1024

Minecraft Version: 1.7.2

Downloads:

 

So, it's been a while since I posted one of these.

I can tell you one thing, the 1.7 update was a dusey.

For those over you who don't know, Mojang did MAJOR work in the 1.7 update.

Complete conversion of the networking system.

Complete conversion of the Item and Block registry system.

 

Now every Minecraft update is a pain in the but, but typically there are only small sub-systems that change and we can typically match ~90% of the Minecraft code base back to what it was in the previous version. However in this case, because of those two above changes, {and other minor changes done} only about 40% of the MC code base could be mapped. Which means that we had to go through and deobfusicate the rest of it.

 

Some of those changes that Mojang did actually completely broke the current tools that we had in place. I won't go into much detail, but without MAJOR edits the current tools could not decompile minecraft into recompile-able code. So we got to work, You can see some of the technical side of things here (and subsequent commits). As well as the overall changes you can see on the Forge github.

 

In addition, since 1.7 was a MAJOR change, it allowed us to take the opportunity to clean up the Minecraft modding scene a bit. Try to move it into a more organized, expansive, and standard format. With the introduction of 'ForgeGradle'. This is mainly directed twards the modders, but for those who don't know, Gradle is a java based build automation toolset. It allows for Modders to have a clean environment with a clear separation of Mojang's code from there code. If you take a look at some of the open source mods out there (Like IronChests) You can see how it organizes the code structure, removes the necessity of custom build setup scripts, tings like that.  One of the MAJOR benifits, is that it a industry standard tool, that allows for full expansion and customization.

 

It opens up a world of possibilities... Right now, it can publish mods to file servers, maven servers, ftp servers, wherever and however you want. In the fiture I would not be surprised if mod hosting servies such as FTB, Technic, or Curse come along and make there own plugins. That allow the modder to automate the uploading and distribution of there mods. Combine it with it's ability to apply a digital signature to jar files. Think about it, EVERY mod out there AUTOMCATICALLY uploading to FTB/Technic/Curse. EVERY mod out there being signed by the mod author. All launchers being able to verify that signature so that you KNOW that you have a mod from the author that you trust. This is a major stepping stone into making the modding community a better place for everyone.

 

Anyways, so that took some time to put into place. AbrarSyed our resident gradle expert has been working his but off to make that, and the other projects that we're working on. Combine it with some just horrible timing. Minecon, New years, a crapload of personal real life shit i've had to take care of. Waiting for KingLemming for the fluids, a bunch of stuff. It was just a pain in the rear. All I can say is sorry for the delay, BUT a 1.7.2 build HAS been available for modders and end users since December 26th :P

 

Either way, we are still not done with all the cool new toys we are giving out to modders, but as it sits Forge is pretty much good to go for 1.7.2 development. 1.7.4 is a relatively small update, so once thing settle down a bit we'll poke it to that version. However I advise {and have been for a while} that all modders start development on 1.7.2, as 1.7.4 update will be super easy.

 

Before we get to the nitty gritty one MAJOR change in Forge/FML needs to be rought up.

FML is now in control of the Block and Item registry, and all references to items should be using obects instead of ids.

What does this mean?

Unless a modder extremely derps something up, there should be NO more ID issues, as far as the end modder/user is concered IDs should NOT EXIST at all.

Load a world sent to you by a friend? No problem

Connect to a server? No problem

Add new mods to your pack? No problem

As long as modders don't do something stupid you should never have to see another 'id' in a config ever again.

 

I'm bad at typing, so lets get down to the nitty gritty, as always this is a highly condensed version see the changelog for full details:

 

Minecraft Forge 10.12.0 Changelog:

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

Updated to Minecraft 1.7.2.

New:


  •  
  • Compleetly new network trnalsation layer on top of Vanilla's protocol that allows Mods full netty channels. {Super awesome network stuff that kills 'unknown packet id' :P}
     
  • IDs will be synchronized when loading a world or connecting to a server. {No more ID issues whoot!}
     
  • New build system that allows for easier modder updates and expanded functionality.
     
  • New logging system
     
  • New graphics on the Server list GUI that tells you what type of server it is and what mods they have loaded. {If it's a modded server}
     
  • Moved Forge's event system into FML. Removing the need for reflection and causing a increase in performance.
     
  • Reworked command line auth for Mojang's new auth system to allow modders to debug real servers in dev.
     
  • Added Launch4J wrapper to the installer so that windows users have a easier time running it. {Same system Mojang uses for there launcher exe}
     
  • New version check added to Forge, to notify when important release are made. Can be disabled in config.
     
  • New more expansive hooks for harvesting/effenecy.
     
  • New network related events.
     
  • Exposed more ItemStack senstive functions.
     
  • Moved model system to resource location based opposed to URL based.
     
  • Created crowdin for Forge translations {to be integrated into build later}, added a few new languages.
     
  • New simple event driven networking system to complement netty system.
     
  • New world backup system when updating 1.6 worlds to 1.7.
     
  • Enabled recipe sorting by default, this should address the issues with conflicting/hidden recipies. As long as modders address it correctly.
     
  • New pretty formatting of bad packet data, cuz pretty is better then random hex ;)
     
  • New hook for custom records and sound location.
     
  • New events for when a player uses a item {similiar to a bow}
     
  • New weather renderer hook.
     
  • Many many more

Bug Fix: Lets jsut say a lot, over 200 commits worth :P

 

Parting words: As I stated above this is a BIG update. I'm sure I misplaced one or two parentheses or something, so if you do have an issue please report it correctly and respectfully. Thank you.

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

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • They were already updated, and just to double check I even did a cleanup and fresh update from that same page. I'm quite sure drivers are not the problem here. 
    • i tried downloading the drivers but it says no AMD graphics hardware has been detected    
    • Update your AMD/ATI drivers - get the drivers from their website - do not update via system  
    • As the title says i keep on crashing on forge 1.20.1 even without any mods downloaded, i have the latest drivers (nvidia) and vanilla minecraft works perfectly fine for me logs: https://pastebin.com/5UR01yG9
    • Hello everyone, I'm making this post to seek help for my modded block, It's a special block called FrozenBlock supposed to take the place of an old block, then after a set amount of ticks, it's supposed to revert its Block State, Entity, data... to the old block like this :  The problem I have is that the system breaks when handling multi blocks (I tried some fix but none of them worked) :  The bug I have identified is that the function "setOldBlockFields" in the item's "setFrozenBlock" function gets called once for the 1st block of multiblock getting frozen (as it should), but gets called a second time BEFORE creating the first FrozenBlock with the data of the 1st block, hence giving the same data to the two FrozenBlock :   Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=head] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@73681674 BlockEntityData : id:"minecraft:bed",x:3,y:-60,z:-6} Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=3, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=2, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} here is the code inside my custom "freeze" item :    @Override     public @NotNull InteractionResult useOn(@NotNull UseOnContext pContext) {         if (!pContext.getLevel().isClientSide() && pContext.getHand() == InteractionHand.MAIN_HAND) {             BlockPos blockPos = pContext.getClickedPos();             BlockPos secondBlockPos = getMultiblockPos(blockPos, pContext.getLevel().getBlockState(blockPos));             if (secondBlockPos != null) {                 createFrozenBlock(pContext, secondBlockPos);             }             createFrozenBlock(pContext, blockPos);             return InteractionResult.SUCCESS;         }         return super.useOn(pContext);     }     public static void createFrozenBlock(UseOnContext pContext, BlockPos blockPos) {         BlockState oldState = pContext.getLevel().getBlockState(blockPos);         BlockEntity oldBlockEntity = oldState.hasBlockEntity() ? pContext.getLevel().getBlockEntity(blockPos) : null;         CompoundTag oldBlockEntityData = oldState.hasBlockEntity() ? oldBlockEntity.serializeNBT() : null;         if (oldBlockEntity != null) {             pContext.getLevel().removeBlockEntity(blockPos);         }         BlockState FrozenBlock = setFrozenBlock(oldState, oldBlockEntity, oldBlockEntityData);         pContext.getLevel().setBlockAndUpdate(blockPos, FrozenBlock);     }     public static BlockState setFrozenBlock(BlockState blockState, @Nullable BlockEntity blockEntity, @Nullable CompoundTag blockEntityData) {         BlockState FrozenBlock = BlockRegister.FROZEN_BLOCK.get().defaultBlockState();         ((FrozenBlock) FrozenBlock.getBlock()).setOldBlockFields(blockState, blockEntity, blockEntityData);         return FrozenBlock;     }  
  • Topics

×
×
  • Create New...

Important Information

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