Interface Raider

    • Method Detail

      • getPatrolTarget

        @Nullable
        Block getPatrolTarget()
        Gets the block the raider is targeting to patrol.
        Returns:
        target block or null
      • setPatrolTarget

        void setPatrolTarget​(@Nullable
                             Block block)
        Sets the block the raider is targeting to patrol.
        Parameters:
        block - target block or null. Must be in same world as the entity
      • isPatrolLeader

        boolean isPatrolLeader()
        Gets whether this entity is a patrol leader.
        Returns:
        patrol leader status
      • setPatrolLeader

        void setPatrolLeader​(boolean leader)
        Sets whether this entity is a patrol leader.
        Parameters:
        leader - patrol leader status