1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

BedWars Trap

Discussion in 'Plugin Help' started by WEATHERCRAFTYT1, Mar 8, 2021.

  1. WEATHERCRAFTYT1

    WEATHERCRAFTYT1 Baby Zombie

    Messages:
    121
    This is bit hard but Im trying to code some bedwars traps just like in hypixel. Im planning so that when the player buys and trap, it will build a barrier so that when any player who crosses near thier bed it will give them blindness. Is that possible and how?
     
    Last edited: Mar 8, 2021
  2. Mcbeany

    Mcbeany Spider Jockey

    Messages:
    33
    GitHub:
    mcbeany
    it is possible
     
  3. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Yep it's possible
     
  4. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Use an AABB from a corner to another, then use AxisAlignedBB->isVectorInside($playerPosition)
     
  5. WEATHERCRAFTYT1

    WEATHERCRAFTYT1 Baby Zombie

    Messages:
    121
    Seems a bit Confusing can you deep into it.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.