CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How i can get "timer" and "timerSpeed" in MCP?

    Off-Topic
    4
    9
    370
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • [deleted]
      [deleted] last edited by

      Please, help me. I cant get it using field and etc. Also i cant use mixins

      1 Reply Last reply Reply Quote 0
      • Foreheadchan_
        Foreheadchan_ last edited by

        private Minecraft mc = Minecraft.getMinecraft();

        mc.timer.timerSpeed = floatVal;

        1 Reply Last reply Reply Quote 0
        • [deleted]
          [deleted] last edited by

          Did you read the question? i cant access mc.timer.

          Foreheadchan_ 1 Reply Last reply Reply Quote 0
          • Foreheadchan_
            Foreheadchan_ @[deleted] last edited by

            @wtf then u can't do it, L

            [deleted] 1 Reply Last reply Reply Quote 0
            • [deleted]
              [deleted] @Foreheadchan_ last edited by [deleted]

              @Foreheadchan_ mhm, i said, that mc has no timer line.
              EDIT: then, how ccbluex got it?

              icewormy3 1 Reply Last reply Reply Quote 0
              • icewormy3
                icewormy3 @[deleted] last edited by

                @wtf just go in to the Timer class and change timerSpeed visibility to public. Then go into the Minecraft class and change timer to public aswell

                [deleted] CzechHek 2 Replies Last reply Reply Quote 1
                • [deleted]
                  [deleted] @icewormy3 last edited by

                  @icewormy3 lol, thank you so much!

                  1 Reply Last reply Reply Quote 0
                  • CzechHek
                    CzechHek @icewormy3 last edited by

                    @icewormy3 said in How i can get "timer" and "timerSpeed" in MCP?:

                    @wtf just go in to the Timer class and change timerSpeed visibility to public. Then go into the Minecraft class and change timer to public aswell

                    He just said that there isn't any timer line tho.

                    [deleted] 1 Reply Last reply Reply Quote 0
                    • [deleted]
                      [deleted] @CzechHek last edited by

                      @CzechHek no, icewormy3's method is working.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      About
                      • Terms of Service
                      • Privacy Policy
                      • Status
                      • Contact Us
                      Downloads
                      • Releases
                      • Source code
                      • License
                      Docs
                      • Tutorials
                      • CustomHUD
                      • AutoSettings
                      • ScriptAPI
                      Community
                      • Forum
                      • Guilded
                      • YouTube
                      • Twitter
                      • D.Tube