Jump to content

Recommended Posts

Posted

Forge version: 50.2.0
Minecraft version: 1.20.6

Downloads:

Intro:

Today, we release our second recommended build for 1.20.6. Even while not being the poster boy of the 1.20 era, Forge 50 was the target of many enhancements to Forge as a whole which have benefited versions that have come before and will come after. Additionally, it has continued to receive several updates that keep it in a good state. This new build of contains a handful of backported convenience features for modders, but also contains many cleanups and bugfixes as well.

As the 1.21 lifecycle of Minecraft continues to stabilize, we will continue to maintain active support for the 1.20 versions of the game as described by our tiered support system. This means that until Minecraft 1.22 is released, we will continue to make 1.20 a target for backports, bug fixes, and applicable new features.

New:

  • Change tick event to have pre/post classes (#9890)
  • Make HangingSignBlockEntity useable with custom BlockEntityTypes (#10038)
  • Fire `OnDatapackSyncEvent` when a player joins a server (#10077, #10172)
  • Optionally supply FMLJavaModLoadingContext as a param to mod constructors, backport of #10074 (#10083)
    • Before:
      public MyMod() {
          // getting the mod bus - uses FMLJavaModLoadingContext
          var modBus = FMLJavaModLoadingContext.get().getModEventBus();
       
          // registering configs - uses ModLoadingContext
          ModLoadingContext.get().registerConfig(/* ... */);
          // ...
      }
    • After:
      public MyMod(FMLJavaModLoadingContext context) {
          // getting the mod bus
          var modBus = context.getModEventBus();
      
          // registering configs
          context.registerConfig(/* ... */);
          // ...
      }
  • Backport some Vanilla 1.21 `ResourceLocation` methods (#10084, #10405)
  • Use the new fire() and Result#isAllowed/isDenied/isDefault methods from EventBus, backport of #10028 (#10091)
  • Bump CoreMods to 5.2.4, which adds new features such as ES6, better documentation, and long-awaited bug fixes (changelog, #10265, #10265)
  • Skip processing Forge classes in `RuntimeDistCleaner` (#10210)
  • Skip processing Forge classes in `RuntimeEnumExtender` (#10218)
  • Skip processing Vanilla classes in the `CapabilityTokenSubclass` transformer (#10223)
  • Simplify memory usage display on loading screen (#10235)
  • Add a way to render tooltips from Formatted text and TooltipComponents elements, backport of #10056 (#10290)
  • Deprecate `@ObjectHolder` and skip processing internal classes which do not use it (#10230)
  • Add a way to render tooltips from Formatted text and TooltipComponents elements (#10056, #10291)
  • Update Gradle to 8.12.1, reflected in MDK (#10355)
  • Add various extensions to GameTestHelper to make writing game tests easier (#10341)
  • Add VillagerType#registerBiomeType (#10310)
  • Add fast graphics render type to block model jsons, fixes #10389 (#10397)
  • Re-introduce IForgeItem.damageItem when an item takes damage (#10374, #10451)
  • Re-introduce ItemStack Capabilities (#10364)
    • ICapabilitySerializable is unusable with itemstack capabilities. It is up to the modder to save persistent data using data components.
  • Bump various dependencies, which include further cleanup and optmizations (#10387)
    • One notable dependency bump is EventBus, which includes:
      • Reduced memory usage
      • Further performance improvements
      • Unregistered listeners are now immediately reclaimable by the garbage collector, fixes EventBus#39
  • Add '#forge:chorus_additionally_grows_on' tag for similar mechanics to '#minecraft:azalea_grows_on' but for chorus (#10455)
  • Speed up mod annotation scanning by ~30% (#10468)
    • This was done by using the ClassReader flags SKIP_CODE, SKIP_DEBUG, and SKIP_FRAMES

Fixed:

  • Fix boat travel distance being incorrect, fixes #9997
  • Fix NPE when calling ForgeHooks.getDefaultCreatorModId(ItemStack) on Spawn Eggs, fixes #10002
  • Cleanup FML Bindings which fixes some minor bugs (#10004)
  • Fix Bogged and Wolf armor not being shearable by custom shears, fixes #10005
  • Fix ClientTickEvent not firing properly
  • Fix conditional checking swallowing decoding errors when loading registry entries from datapacks, fixes #9995
  • Fix falling block entities not rendering as moving blocks (#10006)
  • Choose the default JarJar mod file type based on the parent Jar, fixes #8878 (#10021)
  • Fix matrix stack translations for `RenderHighlightEvent` (#10051)
  • Fix `onPlaceItemIntoWorld` always resetting item stack when in creative mode (#10048)
  • Fix network channels not initializing during server transfers, fixes #10067
  • Add missed @user_jvm_args.txt to run.bat (#10092)
  • Fix highlighted item tooltip rendering twice, fixes #10112
  • Remove unneeded boat patch, backport of #10061 (#10087)
  • Add client config to allow mipmap lowering to be disabled, fixes #10155, (#10254)
  • Add optional fix of use item duration, disabled by default and found in the server config (#10248)
  • Fix incorrect method reference in TntBlock.explode() (#10329)
  • Fix JOpt Simple needing a strict version requirement declaration (#10314, #10350)
    • Your build.gradle file no longer needs to declare jopt-simple strictly 5.0.4!
  • Fix issues in VillagerTrades.EmeraldsForVillagerTypeItem related to custom Villager Types (#10310)
  • Fix issue with shields not disabling correctly (#10319)
    • This also fixes a long-standing bug since 1.19 where the Warden would be unable to disable shields.
  • Fix corrupted and invalidly symlinked worlds crashing on level select (#10437)
  • Update tag context to AddReloadListenerEvent, fixes using custom tags in GlobalLootModifiers (#10440)

Announcements



×
×
  • Create New...

Important Information

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