Devs - Possible permanent fix for the offset issue?

Discussion in 'Suggestions' started by rtracy, May 19, 2026 at 5:20 PM.

  1. rtracy

    rtracy Lieutenant

    Joined:
    Mar 8, 2021
    Messages:
    32
    Likes Received:
    12
    I have a suggestion for a future release that might help with the offset issue if your code base would allow it. You could make all item ids for default game be negative and custom ids be positive. We did this in an application once to make it so we did not have to increment an offset every once in a while and then make all the custom items have to fix theirs. It would completely eliminate this issue happening ever again. Just a thought.
     
    #1
  2. Taelyn

    Taelyn Administrator Staff Member Community Manager

    • Developer
    • Administrator
    Joined:
    Oct 4, 2021
    Messages:
    995
    Likes Received:
    1,380
    It wont happen anymore anyway, there is no posibility to increase the Ids again,
    Neither needed, about a year or 3 ago (or even longer) we added the ModApi.Application.GetBlockAndItemMapping()
    with this you automaticly get the right id and do not have to add any offset in your code
     
    #2

Share This Page