Uploaded image for project: 'Minecraft API'
  1. Minecraft API
  2. MCAPI-315

Time API (or Game-Ticks API)

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Labels:

      Description

      Proposed Addition:
      Making the Game Ticks independent from Sun and Moon position.

      Specific Features:
      .) Make Game-Ticks non-changeable
      .) Add a changeable SkyOffset Value, which is used to get the position of Sun and Moon. Specifically this will be a changeable Offset that will only be used by functions that require the time of day. Other Game-Tick based Functions like water spread or redstone torches will rely on the unchanged game-tick value.

      Justification and use cases:
      This will make Mods or plugins that use either only night or day possible without breaking various Functions that rely on game-ticks.
      This System with an offset value for the Sun or Moon position is an adaption of the widely used system in computers to avoid changing the internal timer by using offsets and is very practical as it doesn't break things.

      Challenges faced:
      Many Vanilla Functions would have to be rewritten to work with the differntiation between Sky Offset and Game-Ticks

      //EDIT: Seems like it's a duplicate of MCAPI-197

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ferdi265 Ferdinand B.
            Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: