Navigation

    CCBlueX Forum

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

    Check for empty block and return

    General
    2
    3
    76
    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.
    • FaaatPotato
      FaaatPotato last edited by FaaatPotato

      if i put this in update it isnt working:

      if (mc.theWorld.getCollidingBoundingBoxes(mc.thePlayer, mc.thePlayer.getEntityBoundingBox().offset(0, -0.1, 0).expand(0, 0.1, 0)).isEmpty()) return;
      

      i dont know exactly how this works, but i wanted to check for an empty block -0.1 below the player and if its empty return.

      anyone knows how to? xd ty

      A 1 Reply Last reply Reply Quote 0
      • A
        Aftery @FaaatPotato last edited by

        @faaatpotato 8b5be1af-53cf-40f7-8871-162574ffff2e-image.png

        FaaatPotato 1 Reply Last reply Reply Quote 1
        • FaaatPotato
          FaaatPotato @Aftery last edited by

          @aftery ok :axocry:

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors