Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • User Submitted Tutorials
  • Small tip for maintaining multiple mod versions
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
felinoid

Small tip for maintaining multiple mod versions

By felinoid, July 19, 2020 in User Submitted Tutorials

  • Reply to this topic
  • Start new topic

Recommended Posts

felinoid    5

felinoid

felinoid    5

  • Tree Puncher
  • felinoid
  • Members
  • 5
  • 36 posts
Posted July 19, 2020

Suppose you have a mod for 1.15.x, which you're about to update to 1.16.x (or any other two versions, really), and after you update you intend to keep adding new features to 1.16.x while back porting them to 1.15.x. And presumably you're using git branches for the different versions, or a similar version control system. Then just after you update the mod to 1.16 but before you add anything new, merge the 1.16 branch back into the 1.15 branch and overwrite all the files with the previous 1.15 versions. That way in the future when you merge new features from 1.16, git will have at least some respect for the version differences instead of treating it as a fast forward. You'll still need to modify any new code, but at least you shouldn't have to undo all the 1.16 compatibility changes from existing code too. Maybe this should have been obvious, but if I missed it for so long others might have as well.

  • Quote

Share this post


Link to post
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • diesieben07
      Meine Inkompetenz kennt mal wieder keine Grenzen.(Forge 1.16.1)

      By diesieben07 · Posted 18 minutes ago

      Threads merged. Please keep this forum in English.   Make sure your anti virus does not block the jar file. Also ensure you only download it from https://files.minecraftforge.net/.
    • Mounty
      Meine Inkompetenz kennt mal wieder keine Grenzen.(Forge 1.16.1)

      By Mounty · Posted 24 minutes ago

      Ich versuche seit geraumer Zeit Minecraft Forge für die 1.16.1.   Zu niemandens Überraschung bin Ich auch hierbei glorreich gescheitert. Um spezifischer zu sein zeigt es mir nach dem skip ".... . jar wurde blockiert, da dieser Dateityp ihr Gerät könnte " an .   Ich habe nun 2 Auswahlmöglichkeiten:  1.Beibehalten  2.Löschen  Da 2teres selbst für mich offensichtlich falsch erscheint ich schnell schon lächerlich vont"beibehalten" aus. Meine Anstrengungen endeten aber im Nichts, da die Datei einfach auf meinen Pc sitzt, nichts macht und sich mein Wissen nach auch nichts mit ihr anstellen lässt.   Ich würde mich sehr freuen wenn, wenn, der weiß wie man mit einem Pc auf Grundlevel umgeht mir bei meiner Inkompetenz helfen könnte. 
    • diesieben07
      Meine Inkompetenz kennt mal wieder keine Grenzen.(Forge 1.16.1)

      By diesieben07 · Posted 39 minutes ago

      ?
    • Danebi
      Как применить нбт к предмету.

      By Danebi · Posted 42 minutes ago

      This is an english forum. Talk in english. 30 minutes to download 7 MB?
    • Mounty
      Meine Inkompetenz kennt mal wieder keine Grenzen.(Forge 1.16.1)

      By Mounty · Posted 43 minutes ago

      !
  • Topics

    • Mounty
      3
      Meine Inkompetenz kennt mal wieder keine Grenzen.(Forge 1.16.1)

      By Mounty
      Started 43 minutes ago

    • Amperka_pro
      5
      Как применить нбт к предмету.

      By Amperka_pro
      Started 2 hours ago

    • MistyMarshes
      9
      [1.16.4] Get IChunk World / get current World for the overworld.

      By MistyMarshes
      Started 13 hours ago

    • CHRISTMASDOG24
      3
      minecraft forge not working

      By CHRISTMASDOG24
      Started 1 hour ago

    • Rimural
      14
      Forge 1.16.4 keeps Crashing

      By Rimural
      Started 13 hours ago

  • Who's Online (See full list)

    • Nuparu00
    • diesieben07
    • displaynamexx
    • maddiemojo330
    • ElpisII
    • Mounty
  • All Activity
  • Home
  • Mod Developer Central
  • User Submitted Tutorials
  • Small tip for maintaining multiple mod versions
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community