CCBlueX Forum

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

    [Request] Scripting help

    Requests
    3
    6
    182
    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.
    • H
      Hookie last edited by

      can somebody please tell how you get a script to return the name of an item that has been renamed using an anvil. appreciate it

      1 Reply Last reply Reply Quote 0
      • H
        Hookie last edited by

        For Example:

        I rename a diamond sword with name "cookie" using item nametag
        how would i make a script to return the value of the diamond sword name

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

          @hookie mc.thePlayer.getHeldItem().getDisplayName()

          notautismatall H 2 Replies Last reply Reply Quote 1
          • notautismatall
            notautismatall @CzechHek last edited by

            @czechhek doesn't work if he's holding another item

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

              @notautismatall ofc, .getDisplayName() is the point

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

                @czechhek
                i apprecitate bro you're a big help, i don't know how code java, and i learned javascript basics a week ago this is quite useful thanks man.

                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